/systemd-251/src/basic/ |
D | percent-util.c | 15 n = strndupa_safe(p, pc - p); in parse_parts_value_whole() 40 n = strndupa_safe(p, dot - p); in parse_parts_value_with_tenths_place() 43 n = strndupa_safe(p, pc - p); in parse_parts_value_with_tenths_place() 84 n = strndupa_safe(p, dot - p); in parse_parts_value_with_hundredths_place() 87 n = strndupa_safe(p, pc - p); in parse_parts_value_with_hundredths_place()
|
D | env-util.c | 391 name = strndupa_safe(p, t - p); in strv_env_replace_consume() 476 t = strndupa_safe(name, k); in strv_env_get_n() 795 n = strndupa_safe(assignment, e - assignment); in putenv_dup()
|
D | time-util.c | 677 t = strndupa_safe(t, k - t); in parse_timestamp_impl() 686 t = strndupa_safe(t, k - t); in parse_timestamp_impl() 698 t = strndupa_safe(t, utc - t); in parse_timestamp_impl() 730 t = strndupa_safe(t, e - t - 1); in parse_timestamp_impl() 941 t = strndupa_safe(t, last_space - t); in parse_timestamp()
|
D | devnum-util.c | 26 major = strndupa_safe(s, n); in parse_devnum()
|
D | procfs-util.c | 111 nr = strndupa_safe(p, n); in procfs_tasks_get_current()
|
D | alloc-util.h | 211 #define strndupa_safe(s, n) \ macro
|
D | mkdir.c | 121 path = strndupa_safe(path, e - path); in mkdir_parents_internal()
|
D | mountpoint-util.c | 159 copied = strndupa_safe(s, slash - s); in filename_possibly_with_slash_suffix()
|
/systemd-251/src/network/generator/ |
D | network-generator.c | 506 mtu = strndupa_safe(value, p - value); in parse_cmdline_ip_mtu_mac() 542 buf = strndupa_safe(p + 1, q - p - 1); in parse_ip_address_one() 549 buf = strndupa_safe(p, q - p); in parse_ip_address_one() 580 q = strndupa_safe(*value, p - *value); in parse_netmask_or_prefixlen() 619 hostname = strndupa_safe(value, p - value); in parse_cmdline_ip_address() 631 ifname = strndupa_safe(value, p - value); in parse_cmdline_ip_address() 640 dhcp_type = strndupa_safe(value, p - value); in parse_cmdline_ip_address() 675 dns = strndupa_safe(value, p - value); in parse_cmdline_ip_address() 697 ifname = strndupa_safe(value, p - value); in parse_cmdline_ip_interface() 704 dhcp_type = strndupa_safe(value, p - value); in parse_cmdline_ip_interface() [all …]
|
/systemd-251/src/shared/ |
D | pager.c | 313 page = strndupa_safe(desc, e - desc); in show_man_page() 314 section = strndupa_safe(e + 1, desc + k - e - 2); in show_man_page()
|
D | journal-importer.c | 319 t = strndupa_safe(line, sep - line); in journal_importer_process_data() 338 t = strndupa_safe(line, n - 1); in journal_importer_process_data()
|
D | bus-get-properties.c | 133 s = is_soft ? strndupa_safe(property, is_soft - property) : property; in bus_property_get_rlimit()
|
D | uid-range.c | 125 b = strndupa_safe(s, t - s); in uid_range_add_str()
|
D | bus-unit-util.c | 610 path = strndupa_safe(eq, e - eq); in bus_append_cgroup_property() 636 path = strndupa_safe(eq, e - eq); in bus_append_cgroup_property() 670 path = strndupa_safe(eq, e - eq); in bus_append_cgroup_property() 701 path = strndupa_safe(eq, e - eq); in bus_append_cgroup_property() 2534 field = strndupa_safe(assignment, eq - assignment); in bus_append_unit_property_assignment()
|
D | bus-unit-procs.c | 49 pp = strndupa_safe(path, e - path); in add_cgroup()
|
D | dns-domain.c | 677 prefix = strndupa_safe(name, saved_before - name); in dns_name_change_suffix() 1025 s = strndupa_safe(label, n); in dns_service_name_label_is_valid()
|
D | selinux-util.c | 620 path = strndupa_safe(un->sun_path, in mac_selinux_bind()
|
/systemd-251/coccinelle/ |
D | strdupa.cocci | 11 + strndupa_safe(x, n)
|
/systemd-251/src/boot/ |
D | bless-boot.c | 171 z = strndupa_safe(e, k); in parse_counter() 187 z = strndupa_safe(e, k); in parse_counter()
|
/systemd-251/src/test/ |
D | test-hexdecoct.c | 89 answer = strndupa_safe(strempty(s), l); in test_unhexmem_one() 195 str = strndupa_safe(mem, len); in test_unbase32hexmem_one()
|
/systemd-251/src/coredump/ |
D | coredump-vacuum.c | 65 u = strndupa_safe(p, e - p); in uid_from_file_name()
|
/systemd-251/src/core/ |
D | dbus-util.c | 120 char *n = strndupa_safe(name, strlen(name) - 4); in bus_set_transient_usec_internal()
|
/systemd-251/src/locale/ |
D | keymap-util.c | 646 l = strndupa_safe(c->x11_layout, strcspn(c->x11_layout, ",")); in find_legacy_keymap() 648 v = strndupa_safe(c->x11_variant, in find_legacy_keymap()
|
/systemd-251/src/fstab-generator/ |
D | fstab-generator.c | 721 a = strndupa_safe(arg_root_what + 1, sep - arg_root_what - 1); in sysroot_is_nfsroot() 733 a = strndupa_safe(arg_root_what, sep - arg_root_what); in sysroot_is_nfsroot()
|
/systemd-251/src/backlight/ |
D | backlight.c | 391 ss = strndupa_safe(argv[2], sysname - argv[2]); in run()
|