/systemd-251/src/test/ |
D | test-hashmap.c | 117 assert_se(hashmap_contains(m, "foo")); in TEST() 126 assert_se(hashmap_contains(m, "xxx")); in TEST() 140 assert_se(hashmap_contains(m, "foo")); in TEST() 148 assert_se(hashmap_contains(m, "xxx")); in TEST()
|
D | test-hashmap-plain.c | 560 TEST(hashmap_contains) { in TEST() argument 569 assert_se(!hashmap_contains(m, "Key 1")); in TEST() 571 assert_se(hashmap_contains(m, "Key 1")); in TEST() 572 assert_se(!hashmap_contains(m, "Key 2")); in TEST() 574 assert_se(!hashmap_contains(NULL, "Key 1")); in TEST() 720 assert_se(hashmap_contains(h, UINT_TO_PTR(i)) == (i % 3 == 1)); in TEST() 985 assert_se(hashmap_contains(m, "foo")); in TEST() 995 assert_se(hashmap_contains(m, "xxx")); in TEST()
|
/systemd-251/src/resolve/ |
D | resolved-dns-trust-anchor.c | 35 …hashmap_contains(d->positive_by_key, &DNS_RESOURCE_KEY_CONST(DNS_CLASS_IN, DNS_TYPE_DNSKEY, name))… in dns_trust_anchor_knows_domain_positive() 36 … hashmap_contains(d->positive_by_key, &DNS_RESOURCE_KEY_CONST(DNS_CLASS_IN, DNS_TYPE_DS, name)); in dns_trust_anchor_knows_domain_positive() 568 …if (hashmap_contains(d->positive_by_key, &DNS_RESOURCE_KEY_CONST(DNS_CLASS_IN, DNS_TYPE_DS, name))) in dns_trust_anchor_lookup_negative() 571 …if (hashmap_contains(d->positive_by_key, &DNS_RESOURCE_KEY_CONST(DNS_CLASS_IN, DNS_TYPE_KEY, name)… in dns_trust_anchor_lookup_negative()
|
/systemd-251/src/network/wait-online/ |
D | manager.c | 25 !hashmap_contains(m->command_line_interfaces_by_name, link->ifname)) in manager_ignore_link() 61 if (!hashmap_contains(m->command_line_interfaces_by_name, l->ifname)) { in manager_link_is_online()
|
/systemd-251/src/shared/ |
D | journal-util.c | 83 return hashmap_contains(j->errors, INT_TO_PTR(-EACCES)); in journal_access_blocked()
|
D | discover-image.c | 593 if (hashmap_contains(h, pretty)) in image_discover() 612 if (class == IMAGE_MACHINE && !hashmap_contains(h, ".host")) { in image_discover()
|
D | mount-util.c | 326 !(top_autofs || hashmap_contains(todo, prefix))) { in bind_remount_recursive_with_mountinfo()
|
/systemd-251/src/xdg-autostart-generator/ |
D | xdg-autostart-generator.c | 70 if (hashmap_contains(all_services, name)) { in enumerate_xdg_autostart()
|
/systemd-251/src/basic/ |
D | conf-files.c | 58 if (hashmap_contains(h, de->d_name)) { in files_add()
|
D | unit-file.c | 539 if (hashmap_contains(ids, de->d_name)) in unit_file_build_name_map()
|
D | hashmap.h | 188 static inline bool hashmap_contains(Hashmap *h, const void *key) { in hashmap_contains() function
|
/systemd-251/src/libsystemd/sd-bus/ |
D | bus-track.c | 300 return hashmap_contains(track->names, name) ? name : NULL; in sd_bus_track_contains()
|
/systemd-251/src/libsystemd-network/ |
D | sd-dhcp-server.c | 864 if (hashmap_contains(server->static_leases_by_address, UINT32_TO_PTR(address))) in address_is_in_pool() 1058 if (hashmap_contains(server->bound_leases_by_address, UINT32_TO_PTR(address)) || in address_available() 1059 hashmap_contains(server->static_leases_by_address, UINT32_TO_PTR(address)) || in address_available()
|
/systemd-251/src/sysusers/ |
D | sysusers.c | 954 if (hashmap_contains(database_by_uid, UID_TO_PTR(uid))) in uid_is_ok() 1183 if (hashmap_contains(database_by_gid, GID_TO_PTR(gid))) in gid_is_ok() 1186 if (hashmap_contains(database_by_uid, UID_TO_PTR(gid))) in gid_is_ok()
|
/systemd-251/src/sysv-generator/ |
D | sysv-generator.c | 747 if (hashmap_contains(all_services, name)) in enumerate_sysv()
|
/systemd-251/src/home/ |
D | homed-home.c | 106 if (hashmap_contains(m->homes_by_name, hr->user_name)) in home_new() 109 if (hashmap_contains(m->homes_by_uid, UID_TO_PTR(hr->uid))) in home_new() 112 if (sysfs && hashmap_contains(m->homes_by_sysfs, sysfs)) in home_new()
|
/systemd-251/src/libsystemd/sd-netlink/ |
D | sd-netlink.c | 223 } while (hashmap_contains(nl->reply_callbacks, UINT32_TO_PTR(picked))); in netlink_seal_message()
|
/systemd-251/src/login/ |
D | logind-dbus.c | 874 if (hashmap_contains(m->sessions, id)) { in method_create_session() 888 } while (hashmap_contains(m->sessions, id)); in method_create_session()
|
/systemd-251/src/libsystemd/sd-event/ |
D | sd-event.c | 1427 if (hashmap_contains(e->child_sources, PID_TO_PTR(pid))) in sd_event_add_child() 1523 if (hashmap_contains(e->child_sources, PID_TO_PTR(pid))) in sd_event_add_child_pidfd()
|
/systemd-251/src/core/ |
D | unit.c | 255 if (hashmap_contains(u->manager->units, name)) in unit_add_name() 4653 …if (hashmap_contains(u->requires_mounts_for, path)) /* Exit quickly if the path is already covered… in unit_require_mounts_for()
|
D | execute.c | 2740 if (r == -ENOENT && (missing_ok || hashmap_contains(context->set_credentials, id))) { in load_credential()
|
/systemd-251/src/analyze/ |
D | analyze-security.c | 591 if (hashmap_contains(s, syscall) != allow_list) { in syscall_names_in_filter()
|