Home
last modified time | relevance | path

Searched refs:strextendf (Results 1 – 8 of 8) sorted by relevance

/systemd-251/src/home/
Dhomework-mount.c166 … return strextendf(text, UID_FMT " " UID_FMT " " UID_FMT "\n", start, start, next_start - start); in append_identity_range()
172 …return strextendf(text, UID_FMT " " UID_FMT " " UID_FMT "\n", start+1, start+1, next_start - start… in append_identity_range()
175 …return strextendf(text, UID_FMT " " UID_FMT " " UID_FMT "\n", start, start, next_start - start - 1… in append_identity_range()
177 return strextendf(text, in append_identity_range()
202 r = strextendf(&text, UID_FMT " " UID_FMT " " UID_FMT "\n", stored_uid, exposed_uid, 1); in make_userns()
221 … r = strextendf(&text, UID_FMT " " UID_FMT " " UID_FMT "\n", UID_MAPPED_ROOT, UID_MAPPED_ROOT, 1); in make_userns()
/systemd-251/src/sysupdate/
Dsysupdate-pattern.c499 r = strextendf(&j, "%" PRIx64, fields->partition_flags); in pattern_format()
509 r = strextendf(&j, "%" PRIu64, fields->mtime); in pattern_format()
519 r = strextendf(&j, "%03o", fields->mode); in pattern_format()
529 r = strextendf(&j, "%" PRIu64, fields->size); in pattern_format()
538 r = strextendf(&j, "%" PRIu64, fields->tries_done); in pattern_format()
547 r = strextendf(&j, "%" PRIu64, fields->tries_left); in pattern_format()
/systemd-251/src/shared/
Dkillall.c90 r = strextendf(&lst_child, ", " PID_FMT " (%s)", PTR_TO_PID(p), s); in log_children_no_yet_killed()
92 r = strextendf(&lst_child, ", " PID_FMT, PTR_TO_PID(p)); in log_children_no_yet_killed()
Dmount-util.c1074 if (strextendf(&line, in make_userns()
/systemd-251/src/test/
Dtest-string-util.c908 TEST(strextendf) { in TEST() argument
911 assert_se(strextendf(&p, "<%i>", 77) >= 0); in TEST()
914 assert_se(strextendf(&p, "<%i>", 99) >= 0); in TEST()
917 assert_se(strextendf(&p, "<%80i>", 88) >= 0); in TEST()
920 assert_se(strextendf(&p, "<%08x>", 0x1234) >= 0); in TEST()
/systemd-251/src/basic/
Dstring-util.h168 #define strextendf(x, ...) strextendf_with_separator(x, NULL, __VA_ARGS__) macro
/systemd-251/src/network/
Dnetworkd-route.c585 (void) strextendf(&gw_alloc, "@%"PRIu32, m->ifindex); in log_route_debug()
587 (void) strextendf(&gw_alloc, ":%"PRIu32, m->weight + 1); in log_route_debug()
/systemd-251/src/nspawn/
Dnspawn.c3060 if (strextendf(&arg_machine, "-%016" PRIx64, random_u64()) < 0) in determine_names()
4117 return strextendf(p, in add_one_uid_map()