/systemd-251/src/analyze/ |
D | analyze-time-data.c | 165 …if (t->firmware_time > 0 && !strextend(&text, FORMAT_TIMESPAN(t->firmware_time - t->loader_time, U… in pretty_boot_time() 167 …if (t->loader_time > 0 && !strextend(&text, FORMAT_TIMESPAN(t->loader_time, USEC_PER_MSEC), " (loa… in pretty_boot_time() 169 …if (t->kernel_done_time > 0 && !strextend(&text, FORMAT_TIMESPAN(t->kernel_done_time, USEC_PER_MSE… in pretty_boot_time() 171 …if (t->initrd_time > 0 && !strextend(&text, FORMAT_TIMESPAN(t->userspace_time - t->initrd_time, US… in pretty_boot_time() 174 …if (!strextend(&text, FORMAT_TIMESPAN(t->finish_time - t->userspace_time, USEC_PER_MSEC), " (users… in pretty_boot_time() 178 …if (!strextend(&text, "= ", FORMAT_TIMESPAN(t->firmware_time + t->finish_time, USEC_PER_MSEC), " … in pretty_boot_time() 184 …if (!strextend(&text, "\n", unit_id, " reached after ", FORMAT_TIMESPAN(activated_time - base, USE… in pretty_boot_time() 189 if (!strextend(&text, "\n", unit_id, " was never reached.")) in pretty_boot_time() 194 if (!strextend(&text, "\nCould not get time to reach ", unit_id, ".")) in pretty_boot_time() 199 if (!strextend(&text, "\ncould not find default.target.")) in pretty_boot_time()
|
/systemd-251/src/sysupdate/ |
D | sysupdate-pattern.c | 470 if (!strextend(&j, e->literal)) in pattern_format() 479 if (!strextend(&j, fields->version)) in pattern_format() 489 if (!strextend(&j, sd_id128_to_string(fields->partition_uuid, formatted))) in pattern_format() 556 if (!strextend(&j, one_zero(fields->no_auto))) in pattern_format() 565 if (!strextend(&j, one_zero(fields->read_only))) in pattern_format() 574 if (!strextend(&j, one_zero(fields->growfs))) in pattern_format() 589 if (!strextend(&j, h)) in pattern_format()
|
/systemd-251/src/test/ |
D | test-execute.c | 526 assert_se(strextend(result, buf)); in on_spawn_io() 670 assert_se(strextend(&data, "[Service]\n")); in test_exec_mount_apivfs() 671 assert_se(strextend(&data, "ExecStart=", fullpath_touch, " /aaa\n")); in test_exec_mount_apivfs() 672 assert_se(strextend(&data, "ExecStart=", fullpath_test, " -f /aaa\n")); in test_exec_mount_apivfs() 673 assert_se(strextend(&data, "BindReadOnlyPaths=", fullpath_touch, "\n")); in test_exec_mount_apivfs() 674 assert_se(strextend(&data, "BindReadOnlyPaths=", fullpath_test, "\n")); in test_exec_mount_apivfs() 677 assert_se(strextend(&data, "BindReadOnlyPaths=", *p, "\n")); in test_exec_mount_apivfs()
|
D | test-string-util.c | 226 TEST(strextend) { in TEST() argument 229 assert_se(strextend(&str, NULL)); in TEST() 231 assert_se(strextend(&str, "", "0", "", "", "123")); in TEST() 233 assert_se(strextend(&str, "456", "78", "9")); in TEST()
|
/systemd-251/src/busctl/ |
D | busctl-introspect.c | 408 … if (!strextend(&context->member_signature, argument_type)) in parse_xml_node() 411 … if (!strextend(&context->member_result, argument_type)) in parse_xml_node() 543 … if (!strextend(&context->member_signature, argument_type)) in parse_xml_node()
|
/systemd-251/src/basic/ |
D | env-util.c | 604 if (!strextend(&r, t)) in replace_env_n() 657 if (!strextend(&r, t)) in replace_env_n() 673 if (!strextend(&r, t)) in replace_env_n()
|
D | string-util.h | 165 #define strextend(x, ...) strextend_with_separator_internal(x, NULL, __VA_ARGS__, NULL) macro
|
D | chase-symlinks.c | 220 if (!strextend(&done, "/")) in chase_symlinks()
|
D | unit-name.c | 571 if (!strextend(&n, "_", hash, suffix)) in unit_name_hash_long()
|
D | cgroup-util.c | 1673 if (!strextend(&s, escaped, "/")) in cg_slice_to_path() 1683 if (!strextend(&s, e)) in cg_slice_to_path()
|
/systemd-251/src/escape/ |
D | escape.c | 219 if (!strextend(&e, ".", arg_suffix)) in run()
|
/systemd-251/src/portable/ |
D | portable.c | 937 if (!strextend(&text, ":", escaped)) in make_marker_text() 941 if (!strextend(&text, PORTABLE_DROPIN_MARKER_END "\n")) in make_marker_text() 992 if (!strextend(&text, in install_chroot_dropin() 1003 … if (!strextend(&text, extension_setting_from_image(ext->type), ext->path, "\n")) in install_chroot_dropin()
|
/systemd-251/src/shared/ |
D | conf-parser.c | 369 if (!strextend(&continuation, l)) { in config_parse() 630 if (!strextend(&dropin_dirname, ".d")) in config_get_stats_by_path_one()
|
D | bus-unit-util.c | 1250 if (!strextend(&unescaped, "\n")) in bus_append_execute_property()
|
/systemd-251/src/libsystemd/sd-bus/ |
D | bus-message.c | 1470 e = strextend(&c->signature, CHAR_TO_STR(type)); in message_append_basic() 1663 e = strextend(&c->signature, CHAR_TO_STR(SD_BUS_TYPE_STRING)); in sd_bus_message_append_string_space() 1767 e = strextend(&c->signature, CHAR_TO_STR(SD_BUS_TYPE_ARRAY), contents); in bus_message_open_array() 1852 e = strextend(&c->signature, CHAR_TO_STR(SD_BUS_TYPE_VARIANT)); in bus_message_open_variant() 1920 …e = strextend(&c->signature, CHAR_TO_STR(SD_BUS_TYPE_STRUCT_BEGIN), contents, CHAR_TO_STR(SD_BUS_T… in bus_message_open_struct() 2775 e = strextend(&c->signature, CHAR_TO_STR(SD_BUS_TYPE_STRING)); in sd_bus_message_append_string_memfd()
|
D | sd-bus.c | 1582 if (!strextend(&a, ",argv7=-punix:path%3d%24%7bXDG_RUNTIME_DIR%7d/bus")) in bus_set_address_machine()
|
/systemd-251/src/sysext/ |
D | sysext.c | 261 if (!strextend(&options, separator ? ":" : "", escaped)) in mount_overlayfs()
|
/systemd-251/src/machine/ |
D | machinectl.c | 210 if (!strextend(&addresses, in call_get_addresses()
|
/systemd-251/src/udev/ |
D | udev-rules.c | 1242 if (!strextend(&continuation, line)) in udev_rules_parse_file()
|
/systemd-251/src/network/ |
D | networkd-route.c | 583 (void) strextend(&gw_alloc, "@", m->ifname); in log_route_debug()
|
D | networkctl.c | 1054 if (!strextend(&gateway, " (", description, ")")) in dump_gateways()
|
/systemd-251/src/tmpfiles/ |
D | tmpfiles.c | 3752 if (!strextend(&t, "\n\t", j)) in run()
|