Home
last modified time | relevance | path

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

/systemd-251/src/test/
Dtest-string-util.c290 TEST(strshorten) { in TEST() argument
293 assert_se(strlen(strshorten(s, 6)) == 6); in TEST()
294 assert_se(strlen(strshorten(s, 12)) == 6); in TEST()
295 assert_se(strlen(strshorten(s, 2)) == 2); in TEST()
296 assert_se(strlen(strshorten(s, 0)) == 0); in TEST()
Dtest-condition.c350 strshorten(u.release, 4); in TEST()
/systemd-251/src/shared/
Dhostname-setup.c64 strshorten(h, HOST_NAME_MAX); in shorten_overlong()
Dmkfs-util.c76 strshorten(q, 11); in mangle_fat_label()
/systemd-251/src/basic/
Dstring-util.h157 char* strshorten(char *s, size_t l);
Dstring-util.c515 char* strshorten(char *s, size_t l) { in strshorten() function
/systemd-251/src/systemctl/
Dsystemctl-edit.c483 strshorten(contents_start, contents_end - contents_start); in trim_edit_markers()
/systemd-251/src/resolve/
Dresolvectl.c949 strshorten(hashed, 56); in resolve_openpgp()