Home
last modified time | relevance | path

Searched refs:ellipsize_mem (Results 1 – 4 of 4) sorted by relevance

/systemd-251/src/test/
Dtest-ellipsize.c38 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/
Dstring-util.h147 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()
Dstring-util.c347 char *ellipsize_mem(const char *s, size_t old_length, size_t new_length, unsigned percent) { in ellipsize_mem() function
/systemd-251/src/shared/
Dlogs-show.c300 e = ellipsize_mem(pos, len, n_columns - prefix, in print_multiline()