Home
last modified time | relevance | path

Searched refs:set_put_strdup (Results 1 – 25 of 26) sorted by relevance

12

/systemd-251/src/test/
Dtest-set.c93 TEST(set_put_strdup) { in TEST() argument
96 assert_se(set_put_strdup(&m, "aaa") == 1); in TEST()
97 assert_se(set_put_strdup(&m, "aaa") == 0); in TEST()
98 assert_se(set_put_strdup(&m, "bbb") == 1); in TEST()
99 assert_se(set_put_strdup(&m, "bbb") == 0); in TEST()
100 assert_se(set_put_strdup(&m, "aaa") == 0); in TEST()
208 assert_se(set_put_strdup(&m, "aaa") == 1); in TEST()
234 assert_se(set_put_strdup(&m, "bbb") == 1); in TEST()
235 assert_se(set_put_strdup(&m, "aaa") == 0); in TEST()
336 assert_se(set_put_strdup(&match, "aaa") >= 0); in TEST()
[all …]
/systemd-251/src/busctl/
Dtest-busctl-introspect.c311 assert_se(set_put_strdup(&paths, path) >= 0); in on_path()
324 assert_se(set_put_strdup(&paths, "/") > 0); in TEST()
Dbusctl.c425 r = set_put_strdup(&paths, path); in on_path()
465 r = set_put_strdup(&paths, "/"); in tree_one()
/systemd-251/src/analyze/
Danalyze-syscall-filter.c52 r = set_put_strdup(&syscalls, e); in load_kernel_syscalls()
100 if (set_put_strdup(&known, sys) < 0) in verb_syscall_filters()
Danalyze-filesystems.c43 r = set_put_strdup(&filesystems, p); in load_available_kernel_filesystems()
126 if (set_put_strdup(&known, fs) < 0) in verb_filesystems()
Danalyze-verify-util.c32 r = set_put_strdup(s, unit); in log_syntax_callback()
Danalyze-security.c2097 r = set_put_strdup(&info->system_call_architectures, name); in property_read_syscall_archs()
2589 if (set_put_strdup(&info->system_call_architectures, name) < 0) in get_security_info()
/systemd-251/src/libsystemd/sd-device/
Ddevice-enumerator.c139 r = set_put_strdup(set, subsystem); in sd_device_enumerator_add_match_subsystem()
194 … r = set_put_strdup(match ? &enumerator->match_sysname : &enumerator->nomatch_sysname, sysname); in device_enumerator_add_match_sysname()
217 r = set_put_strdup(&enumerator->match_tag, tag); in sd_device_enumerator_add_match_tag()
237 r = set_put_strdup(&enumerator->match_parent, path); in device_enumerator_add_match_parent_incremental()
Ddevice-monitor.c770 r = set_put_strdup(&m->tag_filter, tag); in sd_device_monitor_filter_add_match_tag()
811 return set_put_strdup(set, syspath); in sd_device_monitor_filter_add_match_parent()
Dsd-device.c1291 added = set_put_strdup(&device->all_tags, tag); in device_add_tag()
1297 r = set_put_strdup(&device->current_tags, tag); in device_add_tag()
1318 r = set_put_strdup(&device->devlinks, devlink); in device_add_devlink()
1910 r = set_put_strdup(&device->sysattrs, p ?: de->d_name); in device_sysattrs_read_all_internal()
/systemd-251/src/shared/
Ddevnode-acl.c188 r = set_put_strdup(&nodes, node); in devnode_acl_all()
Dbus-wait-for-jobs.c323 return set_put_strdup(&d->jobs, path); in bus_wait_for_jobs_add()
Delf-util.c364 r = set_put_strdup(c->modules, name); in parse_package_metadata()
/systemd-251/src/basic/
Dset.h132 #define set_put_strdup(s, p) set_put_strdup_full(s, &string_hash_ops_free, p) macro
Dconf-files.c82 r = set_put_strdup(&masked, de->d_name); in files_add()
Dunit-file.c638 r = set_put_strdup(names, name); in add_name()
/systemd-251/src/core/
Dbpf-lsm.c364 r = set_put_strdup(filesystems, name); in lsm_bpf_parse_filesystem()
Dmount.c1996set_put_strdup(&gone, mount->parameters_proc_self_mountinfo.what) < 0) in mount_process_proc_self_mountinfo()
2060 set_put_strdup(&around, mount->parameters_proc_self_mountinfo.what) < 0) in mount_process_proc_self_mountinfo()
Ddbus-cgroup.c2046 r = set_put_strdup(&c->restrict_network_interfaces, *s); in bus_cgroup_set_property()
Dunit.c4385 r = set_put_strdup(&u->manager->unit_path_cache, p); in unit_write_setting()
/systemd-251/src/nspawn/
Dnspawn-cgroup.c235 r = set_put_strdup(&controllers, l); in get_process_controllers()
/systemd-251/src/resolve/
Dresolved-dns-trust-anchor.c193 r = set_put_strdup(&d->negative_by_name, name); in dns_trust_anchor_add_builtin_negative()
Dresolved-link-bus.c733 r = set_put_strdup(&ns, *i); in bus_link_method_set_dnssec_negative_trust_anchors()
/systemd-251/src/portable/
Dportable.c1593 r = set_put_strdup(&unit_files, de->d_name); in portable_detach()
1773 r = set_put_strdup(&unit_files, de->d_name); in portable_get_state_internal()
/systemd-251/src/network/
Dnetworkd-link-bus.c511 r = set_put_strdup(&ns, *i); in bus_link_method_set_dnssec_negative_trust_anchors()

12