Home
last modified time | relevance | path

Searched refs:strv_equal (Results 1 – 25 of 28) sorted by relevance

12

/systemd-251/src/test/
Dtest-conf-files.c112 assert_se(strv_equal(s, STRV_MAKE(foo2))); in test_conf_files_insert_one()
116 assert_se(strv_equal(s, STRV_MAKE(foo2))); in test_conf_files_insert_one()
120 assert_se(strv_equal(s, STRV_MAKE(foo2))); in test_conf_files_insert_one()
124 assert_se(strv_equal(s, STRV_MAKE(foo1))); in test_conf_files_insert_one()
128 assert_se(strv_equal(s, STRV_MAKE(bar2, foo1))); in test_conf_files_insert_one()
132 assert_se(strv_equal(s, STRV_MAKE(bar2, foo1, zzz3))); in test_conf_files_insert_one()
139 assert_se(strv_equal(s, STRV_MAKE(bar2, foo1, zzz3))); in test_conf_files_insert_one()
144 assert_se(strv_equal(s, STRV_MAKE(bar2, foo1, zzz3))); in test_conf_files_insert_one()
148 assert_se(strv_equal(s, STRV_MAKE(bar2, foo1, whatever, zzz3))); in test_conf_files_insert_one()
Dtest-strv.c269 assert_se(strv_equal(l, (char**) input_table_multiple)); in TEST()
275 assert_se(strv_equal(l, (char**) input_table_multiple)); in TEST()
282 assert_se(strv_equal(l, (char**) input_table_multiple)); in TEST()
287 assert_se(strv_equal(l, (char**) input_table_multiple)); in TEST()
292 assert_se(strv_equal(l, (char**) input_table_quoted)); in TEST()
302 assert_se(strv_equal(l, (char**) input_table_quoted)); in TEST()
308 assert_se(strv_equal(l, (char**) input_table_quoted_joined)); in TEST()
314 assert_se(strv_equal(l, (char**) input_table_quoted_joined)); in TEST()
319 assert_se(strv_equal(l, STRV_MAKE("\\"))); in TEST()
324 assert_se(strv_equal(l, STRV_MAKE("\\"))); in TEST()
[all …]
Dtest-path-lookup.c33 assert_se(strv_equal(lp_with_env.search_path, STRV_MAKE(systemd_unit_path))); in test_paths_one()
117 assert_se(strv_equal(gp_with_env, STRV_MAKE(systemd_generator_path))); in test_generator_binary_paths_one()
118 assert_se(strv_equal(env_gp_with_env, STRV_MAKE(systemd_env_generator_path))); in test_generator_binary_paths_one()
Dtest-serialize.c133 assert_se(strv_equal(strv, strv2)); in TEST()
144 assert_se(strv_equal(env, STRV_MAKE("A=1", "B=2", "FOO%%=a\177b\nc\td e"))); in TEST()
189 assert_se(strv_equal(env, env2)); in TEST()
Dtest-os-util.c69 assert_se(strv_equal(pairs, STRV_MAKE("ID", "the-id", in TEST()
Dtest-ordered-set.c107 assert_se(strv_equal(final, STRV_MAKE("1", "22", "333", "11", "33"))); in TEST()
Dtest-exec-util.c444 assert_se(strv_equal(opts, STRV_MAKE("ignore-failure", "ambient", "no-env-expand"))); in TEST()
449 assert_se(strv_equal(empty_opts, STRV_MAKE_EMPTY)); in TEST()
Dtest-env-file.c163 assert_se(strv_equal(l, STRV_MAKE(j))); in TEST()
Dtest-specifier.c33 assert_se(strv_equal(x, b)); in test_specifier_escape_strv_one()
Dtest-conf-parser.c67 assert_se(strv_equal(expected, strv)); in test_config_parse_strv_one()
Dtest-hashmap-plain.c988 assert_se(strv_equal(s, STRV_MAKE("bar", "BAR"))); in TEST()
998 assert_se(strv_equal(s, STRV_MAKE("bar", "BAR"))); in TEST()
Dtest-engine.c216 …assert_se(strv_equal(unit_with_multiple_dashes->documentation, STRV_MAKE("man:test", "man:override… in main()
/systemd-251/src/xdg-autostart-generator/
Dtest-xdg-autostart.c69 assert_se(strv_equal(service->only_show_in, STRV_MAKE("A", "B"))); in test_xdg_desktop_parse_one()
70 assert_se(strv_equal(service->not_show_in, STRV_MAKE("C", "D\\;", "E"))); in test_xdg_desktop_parse_one()
/systemd-251/src/network/
Dtest-networkd-conf.c230 …assert_se(strv_equal(names, STRV_MAKE("!hoge", "!hogehoge", "!foo", "!baz", "aaa", "bbb", "ccc"))); in TEST()
241 assert_se(strv_equal(names, in TEST()
/systemd-251/src/cryptenroll/
Dcryptenroll-password.c70 if (strv_equal(passwords, passwords2)) { in enroll_password()
Dcryptenroll-tpm2.c111 if (strv_equal(pin, pin2)) { in get_pin()
/systemd-251/src/busctl/
Dtest-busctl-introspect.c361 assert_se(strv_equal(l, expected)); in TEST()
/systemd-251/src/home/
Duser-record-util.c890 if (strv_equal(h->password, e)) in user_record_set_password()
894 if (strv_equal(h->password, password)) in user_record_set_password()
952 if (strv_equal(h->token_pin, e)) in user_record_set_token_pin()
956 if (strv_equal(h->token_pin, pin)) in user_record_set_token_pin()
/systemd-251/src/shared/
Dpager.c115 if (strv_isempty(pager_args) || strv_equal(pager_args, STRV_MAKE("cat"))) in pager_open()
Dbus-polkit.c285 !strv_equal(q->details, (char**) details)) in bus_verify_polkit_async()
/systemd-251/src/basic/
Dstrv.h58 static inline bool strv_equal(char * const *a, char * const *b) { in strv_equal() function
/systemd-251/src/resolve/
Dresolvectl.c2064 if (!strv_equal(dns, STRV_MAKE(""))) in call_dns()
2171 if (!strv_equal(domain, STRV_MAKE(""))) in call_domain()
2470 clear = strv_equal(argv + 2, STRV_MAKE("")); in verb_nta()
/systemd-251/src/libsystemd/sd-netlink/
Dtest-netlink.c583 assert_se(strv_equal(names_in, names_out)); in test_strv()
/systemd-251/src/portable/
Dportablectl.c182 } else if (strv_equal(l, STRV_MAKE("-"))) { in determine_matches()
/systemd-251/src/core/
Dservice.c2884 found = strv_equal(argv, command->argv) && streq(command->path, path); in service_deserialize_exec_command()
2892 if (strv_equal(command->argv, argv) && streq(command->path, path)) in service_deserialize_exec_command()

12