/systemd-251/src/test/ |
D | test-extract-word.c | 46 assert_se(extract_first_word(&p, &t, NULL, EXTRACT_UNQUOTE) > 0); in TEST() 51 assert_se(extract_first_word(&p, &t, NULL, EXTRACT_UNQUOTE) > 0); in TEST() 67 assert_se(extract_first_word(&p, &t, NULL, EXTRACT_UNQUOTE) == -EINVAL); in TEST() 77 assert_se(extract_first_word(&p, &t, NULL, EXTRACT_UNQUOTE) == -EINVAL); in TEST() 87 assert_se(extract_first_word(&p, &t, NULL, EXTRACT_UNQUOTE) == 1); in TEST() 90 assert_se(extract_first_word(&p, &t, NULL, EXTRACT_UNQUOTE) == 1); in TEST() 93 assert_se(extract_first_word(&p, &t, NULL, EXTRACT_UNQUOTE) == 1); in TEST() 111 assert_se(extract_first_word(&p, &t, NULL, EXTRACT_UNQUOTE) == -EINVAL); in TEST() 115 assert_se(extract_first_word(&p, &t, NULL, EXTRACT_UNQUOTE|EXTRACT_RELAX) > 0); in TEST() 121 assert_se(extract_first_word(&p, &t, NULL, EXTRACT_UNQUOTE|EXTRACT_RELAX) > 0); in TEST() [all …]
|
D | test-strv.c | 211 r = strv_split_full(&s, quoted, WHITESPACE, EXTRACT_UNQUOTE); in test_strv_unquote_one() 248 r = strv_split_full(&s, quoted, WHITESPACE, EXTRACT_UNQUOTE); in test_invalid_unquote_one() 291 …se(strv_split_full(&l, " 'one' \" two\t three \" ' four five'", NULL, EXTRACT_UNQUOTE) == 3); in TEST() 297 …rv_split_full(&l, " 'one' \" two\t three \" ' four five", NULL, EXTRACT_UNQUOTE) == -EINVAL); in TEST() 301 …v_split_full(&l, " 'one' \" two\t three \" ' four five", NULL, EXTRACT_UNQUOTE | EXTRACT_REL… in TEST() 307 …v_split_full(&l, " 'one' \" two\t three \"' four five'", NULL, EXTRACT_UNQUOTE | EXTRACT_REL… in TEST() 313 … EXTRACT_UNQUOTE | EXTRACT_RELAX | EXTRACT_UNESCAPE_RELAX) == 2); in TEST() 318 …assert_se(strv_split_full(&l, "\\", NULL, EXTRACT_UNQUOTE | EXTRACT_RELAX | EXTRACT_UNESCAPE_RELAX… in TEST() 354 assert_se(strv_split_full(&l, "", NULL, EXTRACT_UNQUOTE) == 0); in TEST() 359 assert_se(strv_split_full(&l, "", WHITESPACE, EXTRACT_UNQUOTE) == 0); in TEST() [all …]
|
D | test-string-util.c | 408 r = extract_first_word(&test, &word, NULL, EXTRACT_UNQUOTE); in check()
|
/systemd-251/src/basic/ |
D | extract-word.c | 30 assert(!FLAGS_SET(flags, EXTRACT_KEEP_QUOTE | EXTRACT_UNQUOTE)); in extract_first_word() 128 if (flags & EXTRACT_UNQUOTE) in extract_first_word() 148 … else if (IN_SET(c, '\'', '"') && (flags & (EXTRACT_KEEP_QUOTE | EXTRACT_UNQUOTE))) { in extract_first_word() 150 if (flags & EXTRACT_UNQUOTE) in extract_first_word()
|
D | extract-word.h | 12 …EXTRACT_UNQUOTE = 1 << 5, /* Ignore separators in quoting with "" and '', and rem… enumerator
|
D | cap-list.c | 106 r = extract_first_word(&p, &word, NULL, EXTRACT_UNQUOTE); in capability_set_from_string()
|
D | proc-cmdline.c | 50 … r = extract_first_word(&q, &word, NULL, EXTRACT_UNQUOTE|EXTRACT_RELAX|EXTRACT_RETAIN_ESCAPE); in proc_cmdline_extract_first()
|
D | env-util.c | 716 … r = strv_split_full(&m, e, WHITESPACE, EXTRACT_RELAX|EXTRACT_UNQUOTE); in replace_env_argv()
|
D | strv.c | 313 r = extract_first_word(&s, &tuple, NULL, EXTRACT_UNQUOTE|EXTRACT_RETAIN_ESCAPE); in strv_split_colon_pairs()
|
/systemd-251/src/shared/ |
D | bus-unit-util.c | 349 r = extract_first_word(&eq, &path, NULL, EXTRACT_UNQUOTE|EXTRACT_CUNESCAPE); in bus_append_exec_command() 354 r = strv_split_full(&l, eq, NULL, EXTRACT_UNQUOTE|EXTRACT_CUNESCAPE); in bus_append_exec_command() 502 return bus_append_strv(m, "DisableControllers", eq, EXTRACT_UNQUOTE); in bus_append_cgroup_property() 507 return bus_append_strv(m, "DelegateControllers", eq, EXTRACT_UNQUOTE); in bus_append_cgroup_property() 980 return bus_append_strv(m, field, eq, EXTRACT_UNQUOTE); in bus_append_execute_property() 1039 return bus_append_strv(m, field, eq, EXTRACT_UNQUOTE|EXTRACT_CUNESCAPE); in bus_append_execute_property() 1433 r = extract_first_word(&p, &word, NULL, EXTRACT_UNQUOTE); in bus_append_execute_property() 1521 …r = extract_first_word(&p, &source, ":" WHITESPACE, EXTRACT_UNQUOTE|EXTRACT_DONT_COALESCE_SEPARATO… in bus_append_execute_property() 1534 …r = extract_first_word(&p, &destination, ":" WHITESPACE, EXTRACT_UNQUOTE|EXTRACT_DONT_COALESCE_SEP… in bus_append_execute_property() 1547 r = extract_first_word(&p, &options, NULL, EXTRACT_UNQUOTE); in bus_append_execute_property() [all …]
|
D | securebits-util.c | 45 r = extract_first_word(&p, &word, NULL, EXTRACT_UNQUOTE); in secure_bits_from_string()
|
D | net-condition.c | 257 r = extract_first_word(&p, &word, NULL, EXTRACT_UNQUOTE|EXTRACT_RETAIN_ESCAPE); in config_parse_match_strv() 377 r = extract_first_word(&p, &word, NULL, EXTRACT_CUNESCAPE|EXTRACT_UNQUOTE); in config_parse_match_property()
|
D | condition.c | 123 r = extract_first_word(&p, &word, NULL, EXTRACT_UNQUOTE|EXTRACT_RELAX); in condition_test_kernel_command_line() 231 r = extract_first_word(&p, &word, NULL, EXTRACT_UNQUOTE); in condition_test_kernel_version() 284 r = extract_first_word(¶meter, &condition, NULL, EXTRACT_UNQUOTE); in condition_test_osrelease()
|
D | cpu-set-util.c | 156 r = extract_first_word(&p, &word, WHITESPACE ",", EXTRACT_UNQUOTE); in parse_cpu_set_full()
|
/systemd-251/src/core/ |
D | load-fragment.c | 488 r = extract_first_word(&p, &word, NULL, EXTRACT_UNQUOTE); in config_parse_unit_path_strv_printf() 872 …r = extract_first_word_and_warn(&p, &firstword, NULL, EXTRACT_UNQUOTE|EXTRACT_CUNESCAPE, unit, fil… in config_parse_exec() 997 …r = extract_first_word_and_warn(&p, &word, NULL, EXTRACT_UNQUOTE|EXTRACT_CUNESCAPE, unit, filename… in config_parse_exec() 2797 r = extract_first_word(&p, &word, NULL, EXTRACT_CUNESCAPE|EXTRACT_UNQUOTE); in config_parse_environ() 2862 r = extract_first_word(&p, &word, NULL, EXTRACT_UNQUOTE); in config_parse_pass_environ() 2937 r = extract_first_word(&p, &word, NULL, EXTRACT_CUNESCAPE|EXTRACT_UNQUOTE); in config_parse_unset_environ() 3011 r = extract_first_word(&p, &word, NULL, EXTRACT_CUNESCAPE|EXTRACT_UNQUOTE); in config_parse_log_extra_fields() 3223 r = extract_first_word(&p, &word, NULL, EXTRACT_UNQUOTE); in config_parse_unit_requires_mounts_for() 3492 r = extract_first_word(&p, &word, NULL, EXTRACT_UNQUOTE); in config_parse_syscall_archs() 3606 r = extract_first_word(&p, &word, NULL, EXTRACT_UNQUOTE); in config_parse_address_families() [all …]
|
D | device.c | 420 r = extract_first_word(&wants, &word, NULL, EXTRACT_UNQUOTE); in device_add_udev_wants() 652 r = extract_first_word(&alias, &word, NULL, EXTRACT_UNQUOTE); in device_process_new()
|
/systemd-251/src/resolve/ |
D | resolved-conf.c | 119 r = extract_first_word(&string, &word, NULL, EXTRACT_UNQUOTE); in manager_parse_search_domains_and_warn() 343 EXTRACT_UNQUOTE|EXTRACT_CUNESCAPE|EXTRACT_UNESCAPE_RELAX); in config_parse_dnssd_txt()
|
D | resolvconf-compat.c | 84 r = extract_first_word(&string, &word, NULL, EXTRACT_UNQUOTE); in parse_search_domain()
|
D | resolved-dns-trust-anchor.c | 212 r = extract_first_word(&p, &domain, NULL, EXTRACT_UNQUOTE); in dns_trust_anchor_load_positive() 382 r = extract_first_word(&p, &domain, NULL, EXTRACT_UNQUOTE); in dns_trust_anchor_load_negative()
|
/systemd-251/src/locale/ |
D | keymap-util.c | 246 r = strv_split_full(&a, l, WHITESPACE, EXTRACT_UNQUOTE); in x11_read_data() 269 r = strv_split_full(&a, l, WHITESPACE, EXTRACT_UNQUOTE); in x11_read_data() 444 r = strv_split_full(&b, l, WHITESPACE, EXTRACT_UNQUOTE); in read_next_mapping()
|
/systemd-251/src/udev/ |
D | udev-builtin.c | 112 …r = strv_split_full(&argv, command, NULL, EXTRACT_UNQUOTE | EXTRACT_RELAX | EXTRACT_RETAIN_ESCAPE); in udev_builtin_run()
|
/systemd-251/src/network/netdev/ |
D | vlan.c | 149 r = extract_first_word(&p, &w, NULL, EXTRACT_CUNESCAPE|EXTRACT_UNQUOTE); in config_parse_vlan_qos_maps()
|
/systemd-251/src/sysv-generator/ |
D | sysv-generator.c | 323 r = extract_first_word(&text, &word, NULL, EXTRACT_UNQUOTE|EXTRACT_RELAX); in handle_provides() 392 r = extract_first_word(&text, &word, NULL, EXTRACT_UNQUOTE|EXTRACT_RELAX); in handle_dependencies()
|
/systemd-251/src/xdg-autostart-generator/ |
D | xdg-autostart-service.c | 390 r = strv_split_full(&exec_split, exec, NULL, EXTRACT_UNQUOTE | EXTRACT_RELAX); in xdg_autostart_format_exec_start()
|
/systemd-251/src/journal-remote/ |
D | journal-remote-main.c | 133 r = strv_split_full(&words, getter, WHITESPACE, EXTRACT_UNQUOTE); in spawn_getter()
|