Home
last modified time | relevance | path

Searched refs:strextend (Results 1 – 22 of 22) sorted by relevance

/systemd-251/src/analyze/
Danalyze-time-data.c165 …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/
Dsysupdate-pattern.c470 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/
Dtest-execute.c526 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()
Dtest-string-util.c226 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/
Dbusctl-introspect.c408 … 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/
Denv-util.c604 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()
Dstring-util.h165 #define strextend(x, ...) strextend_with_separator_internal(x, NULL, __VA_ARGS__, NULL) macro
Dchase-symlinks.c220 if (!strextend(&done, "/")) in chase_symlinks()
Dunit-name.c571 if (!strextend(&n, "_", hash, suffix)) in unit_name_hash_long()
Dcgroup-util.c1673 if (!strextend(&s, escaped, "/")) in cg_slice_to_path()
1683 if (!strextend(&s, e)) in cg_slice_to_path()
/systemd-251/src/escape/
Descape.c219 if (!strextend(&e, ".", arg_suffix)) in run()
/systemd-251/src/portable/
Dportable.c937 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/
Dconf-parser.c369 if (!strextend(&continuation, l)) { in config_parse()
630 if (!strextend(&dropin_dirname, ".d")) in config_get_stats_by_path_one()
Dbus-unit-util.c1250 if (!strextend(&unescaped, "\n")) in bus_append_execute_property()
/systemd-251/src/libsystemd/sd-bus/
Dbus-message.c1470 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()
Dsd-bus.c1582 if (!strextend(&a, ",argv7=-punix:path%3d%24%7bXDG_RUNTIME_DIR%7d/bus")) in bus_set_address_machine()
/systemd-251/src/sysext/
Dsysext.c261 if (!strextend(&options, separator ? ":" : "", escaped)) in mount_overlayfs()
/systemd-251/src/machine/
Dmachinectl.c210 if (!strextend(&addresses, in call_get_addresses()
/systemd-251/src/udev/
Dudev-rules.c1242 if (!strextend(&continuation, line)) in udev_rules_parse_file()
/systemd-251/src/network/
Dnetworkd-route.c583 (void) strextend(&gw_alloc, "@", m->ifname); in log_route_debug()
Dnetworkctl.c1054 if (!strextend(&gateway, " (", description, ")")) in dump_gateways()
/systemd-251/src/tmpfiles/
Dtmpfiles.c3752 if (!strextend(&t, "\n\t", j)) in run()