Home
last modified time | relevance | path

Searched refs:strv_contains (Results 1 – 25 of 53) sorted by relevance

123

/systemd-251/src/home/
Dhomework-password-cache.h23 return strv_contains(cache->pkcs11_passwords, p) || in password_cache_contains()
24 strv_contains(cache->fido2_passwords, p) || in password_cache_contains()
25 strv_contains(cache->keyring_passswords, p); in password_cache_contains()
Dhomectl-pkcs11.c80 if (strv_contains(l, uri)) in add_pkcs11_token_uri()
117 if (strv_contains(pins, pin)) in identity_add_token_pin()
Dhomed-varlink.c291 if (!strv_contains(h->record->member_of, p.group_name)) in vl_method_get_memberships()
318 if (!strv_contains(h->record->member_of, p.group_name)) in vl_method_get_memberships()
Dhomectl-fido2.c44 if (strv_contains(l, escaped)) in add_fido2_credential_id()
/systemd-251/src/udev/
Dtest-udev-event.c42 assert_se(strv_contains(lines, "INTERFACE=lo")); in test_event_spawn_cat()
43 assert_se(strv_contains(lines, "IFINDEX=1")); in test_event_spawn_cat()
61 assert_se(strv_contains(lines, "aaa")); in test_event_spawn_self()
62 assert_se(strv_contains(lines, "bbb")); in test_event_spawn_self()
/systemd-251/src/xdg-autostart-generator/
Dxdg-autostart-condition.c35 if (strv_contains(only_show_in, *d)) in run()
37 if (strv_contains(not_show_in, *d)) in run()
/systemd-251/src/dissect/
Ddissect.c481 COLOR_MARK_BOOL(strv_contains(sysext_scopes, "system"))); in action_dissect()
483 COLOR_MARK_BOOL(strv_contains(sysext_scopes, "initrd"))); in action_dissect()
485 COLOR_MARK_BOOL(strv_contains(sysext_scopes, "portable"))); in action_dissect()
525 … JSON_BUILD_PAIR("useSystemExtension", JSON_BUILD_BOOLEAN(strv_contains(sysext_scopes, "system"))), in action_dissect()
526 … JSON_BUILD_PAIR("useInitRDExtension", JSON_BUILD_BOOLEAN(strv_contains(sysext_scopes, "initrd"))), in action_dissect()
527 …JSON_BUILD_PAIR("usePortableExtension", JSON_BUILD_BOOLEAN(strv_contains(sysext_scopes, "portable"… in action_dissect()
/systemd-251/src/basic/
Dstrv.h21 #define strv_contains(l, s) (!!strv_find((l), (s))) macro
182 #define STR_IN_SET(x, ...) strv_contains(STRV_MAKE(__VA_ARGS__), x)
186 _x && strv_contains(STRV_MAKE(__VA_ARGS__), _x); \
Dstrv.c182 if (filter_duplicates && strv_contains(t, *s)) in strv_extend_strv()
593 if (strv_contains(i+1, *i)) in strv_is_uniq()
737 if (strv_contains(b, *i)) in strv_overlap()
913 if (strv_contains(l, value)) in string_strv_hashmap_put_internal()
Dpath-lookup.c225 return strv_contains((char**) user_data_unit_paths, path); in path_is_user_data_dir()
231 return strv_contains((char**) user_config_unit_paths, path); in path_is_user_config_dir()
Denv-util.c120 if (strv_contains(p + 1, *p)) in strv_env_name_is_valid()
132 if (strv_contains(p + 1, *p)) in strv_env_name_or_assignment_is_valid()
Dprocess-util.c1624 return strv_contains(l, "--help") || in argv_looks_like_help()
1625 strv_contains(l, "-h"); in argv_looks_like_help()
/systemd-251/src/libsystemd/sd-bus/
Dtest-bus-objects.c419 assert_se(strv_contains(lines, " <node name=\"x\"/>")); in client()
420 assert_se(strv_contains(lines, " <node name=\"y\"/>")); in client()
421 assert_se(strv_contains(lines, " <node name=\"z\"/>")); in client()
438 assert_se(strv_contains(lines, n)); in client()
/systemd-251/src/systemctl/
Dsystemctl-list-unit-files.c41 if (!strv_contains(arg_types, dot+1)) in output_show_unit_file()
46 !strv_contains(states, unit_file_state_to_string(u->state))) in output_show_unit_file()
Dsystemctl-list-dependencies.c83 if (strv_contains(*units, *c)) { in list_dependencies_one()
Dsystemctl-logind.c161 if (!strv_contains(sv, in logind_check_inhibitors()
/systemd-251/src/test/
Dtest-set.c87 assert_se(strv_contains(t, "1")); in TEST()
88 assert_se(strv_contains(t, "22")); in TEST()
89 assert_se(strv_contains(t, "333")); in TEST()
Dtest-bpf-foreign-programs.c175 if (strv_contains(bpffs_paths, test_suite[i].bpffs_path)) in pin_programs()
/systemd-251/src/shared/
Duserdb.c438 !strv_contains(except, "io.systemd.Multiplexer") && in userdb_start_query()
439 (!only || strv_contains(only, "io.systemd.Multiplexer"))) { in userdb_start_query()
487 if (strv_contains(except, de->d_name)) in userdb_start_query()
490 if (only && !strv_contains(only, de->d_name)) in userdb_start_query()
1315 … } while (iterator->filter_user_name ? !strv_contains(g->gr_mem, iterator->filter_user_name) : in membershipdb_iterator_get()
Dextension-release.c42 valid = strv_contains( in extension_release_validate()
Dbus-print-properties.c358 if (!filter || strv_contains(filter, name) || in bus_message_print_all_properties()
/systemd-251/src/nss-systemd/
Duserdb-glue.c235 if (strv_contains(g->members, *m)) in nss_pack_group_record()
256 if (strv_contains(g->members, *m)) in nss_pack_group_record()
/systemd-251/src/login/
Dlogind-core.c444 if (strv_contains(m->kill_exclude_users, user)) in manager_shall_kill()
448 return strv_contains(m->kill_only_users, user); in manager_shall_kill()
/systemd-251/src/analyze/
Danalyze-critical-chain.c127 if (strv_contains(*units, *c)) { in list_dependencies_one()
/systemd-251/src/journal-remote/
Dmicrohttpd-util.c145 if (strv_contains((char**)gnutls_log_map[i].names, cat)) { in log_enable_gnutls_category()

123