Searched refs:strshorten (Results 1 – 8 of 8) sorted by relevance
/systemd-251/src/test/ |
D | test-string-util.c | 290 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()
|
D | test-condition.c | 350 strshorten(u.release, 4); in TEST()
|
/systemd-251/src/shared/ |
D | hostname-setup.c | 64 strshorten(h, HOST_NAME_MAX); in shorten_overlong()
|
D | mkfs-util.c | 76 strshorten(q, 11); in mangle_fat_label()
|
/systemd-251/src/basic/ |
D | string-util.h | 157 char* strshorten(char *s, size_t l);
|
D | string-util.c | 515 char* strshorten(char *s, size_t l) { in strshorten() function
|
/systemd-251/src/systemctl/ |
D | systemctl-edit.c | 483 strshorten(contents_start, contents_end - contents_start); in trim_edit_markers()
|
/systemd-251/src/resolve/ |
D | resolvectl.c | 949 strshorten(hashed, 56); in resolve_openpgp()
|