Home
last modified time | relevance | path

Searched refs:EXTRACT_UNQUOTE (Results 1 – 25 of 34) sorted by relevance

12

/systemd-251/src/test/
Dtest-extract-word.c46 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 …]
Dtest-strv.c211 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()
313EXTRACT_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 …]
Dtest-string-util.c408 r = extract_first_word(&test, &word, NULL, EXTRACT_UNQUOTE); in check()
/systemd-251/src/basic/
Dextract-word.c30 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()
Dextract-word.h12EXTRACT_UNQUOTE = 1 << 5, /* Ignore separators in quoting with "" and '', and rem… enumerator
Dcap-list.c106 r = extract_first_word(&p, &word, NULL, EXTRACT_UNQUOTE); in capability_set_from_string()
Dproc-cmdline.c50 … r = extract_first_word(&q, &word, NULL, EXTRACT_UNQUOTE|EXTRACT_RELAX|EXTRACT_RETAIN_ESCAPE); in proc_cmdline_extract_first()
Denv-util.c716 … r = strv_split_full(&m, e, WHITESPACE, EXTRACT_RELAX|EXTRACT_UNQUOTE); in replace_env_argv()
Dstrv.c313 r = extract_first_word(&s, &tuple, NULL, EXTRACT_UNQUOTE|EXTRACT_RETAIN_ESCAPE); in strv_split_colon_pairs()
/systemd-251/src/shared/
Dbus-unit-util.c349 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 …]
Dsecurebits-util.c45 r = extract_first_word(&p, &word, NULL, EXTRACT_UNQUOTE); in secure_bits_from_string()
Dnet-condition.c257 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()
Dcondition.c123 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(&parameter, &condition, NULL, EXTRACT_UNQUOTE); in condition_test_osrelease()
Dcpu-set-util.c156 r = extract_first_word(&p, &word, WHITESPACE ",", EXTRACT_UNQUOTE); in parse_cpu_set_full()
/systemd-251/src/core/
Dload-fragment.c488 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 …]
Ddevice.c420 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/
Dresolved-conf.c119 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()
Dresolvconf-compat.c84 r = extract_first_word(&string, &word, NULL, EXTRACT_UNQUOTE); in parse_search_domain()
Dresolved-dns-trust-anchor.c212 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/
Dkeymap-util.c246 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/
Dudev-builtin.c112 …r = strv_split_full(&argv, command, NULL, EXTRACT_UNQUOTE | EXTRACT_RELAX | EXTRACT_RETAIN_ESCAPE); in udev_builtin_run()
/systemd-251/src/network/netdev/
Dvlan.c149 r = extract_first_word(&p, &w, NULL, EXTRACT_CUNESCAPE|EXTRACT_UNQUOTE); in config_parse_vlan_qos_maps()
/systemd-251/src/sysv-generator/
Dsysv-generator.c323 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/
Dxdg-autostart-service.c390 r = strv_split_full(&exec_split, exec, NULL, EXTRACT_UNQUOTE | EXTRACT_RELAX); in xdg_autostart_format_exec_start()
/systemd-251/src/journal-remote/
Djournal-remote-main.c133 r = strv_split_full(&words, getter, WHITESPACE, EXTRACT_UNQUOTE); in spawn_getter()

12