Searched refs:ellipsize_mem (Results 1 – 4 of 4) sorted by relevance
/systemd-251/src/test/ |
D | test-ellipsize.c | 38 t1 = ellipsize_mem(n, old_length, new_length, 30); in test_ellipsize_mem_one() 45 t2 = ellipsize_mem(n, old_length, new_length, 90); in test_ellipsize_mem_one() 52 t3 = ellipsize_mem(n, old_length, new_length, 100); in test_ellipsize_mem_one() 66 TEST(ellipsize_mem) { in TEST() argument
|
/systemd-251/src/basic/ |
D | string-util.h | 147 char *ellipsize_mem(const char *s, size_t old_length_bytes, size_t new_length_columns, unsigned per… 149 return ellipsize_mem(s, strlen(s), length, percent); in ellipsize()
|
D | string-util.c | 347 char *ellipsize_mem(const char *s, size_t old_length, size_t new_length, unsigned percent) { in ellipsize_mem() function
|
/systemd-251/src/shared/ |
D | logs-show.c | 300 e = ellipsize_mem(pos, len, n_columns - prefix, in print_multiline()
|