Searched refs:cellescape (Results 1 – 6 of 6) sorted by relevance
/systemd-251/src/test/ |
D | test-string-util.c | 133 TEST(cellescape) { in TEST() argument 136 assert_se(streq(cellescape(buf, 1, ""), "")); in TEST() 137 assert_se(streq(cellescape(buf, 1, "1"), "")); in TEST() 138 assert_se(streq(cellescape(buf, 1, "12"), "")); in TEST() 140 assert_se(streq(cellescape(buf, 2, ""), "")); in TEST() 141 assert_se(streq(cellescape(buf, 2, "1"), "1")); in TEST() 142 assert_se(streq(cellescape(buf, 2, "12"), ".")); in TEST() 143 assert_se(streq(cellescape(buf, 2, "123"), ".")); in TEST() 145 assert_se(streq(cellescape(buf, 3, ""), "")); in TEST() 146 assert_se(streq(cellescape(buf, 3, "1"), "1")); in TEST() [all …]
|
D | test-ellipsize.c | 30 cellescape(buf, sizeof buf, n), in test_ellipsize_mem_one()
|
/systemd-251/src/shared/ |
D | journal-importer.c | 232 cellescape(buf, sizeof buf, value)); in process_special_field() 249 cellescape(buf, sizeof buf, value)); in process_special_field() 265 cellescape(buf, sizeof buf, value)); in process_special_field() 273 … log_notice("Unknown dunder line __%s, ignoring.", cellescape(buf, sizeof buf, value)); in process_special_field() 321 cellescape(buf, sizeof buf, t)); in journal_importer_process_data() 340 cellescape(buf, sizeof buf, t)); in journal_importer_process_data()
|
/systemd-251/src/basic/ |
D | string-util.h | 152 char *cellescape(char *buf, size_t len, const char *s);
|
D | string-util.c | 445 char *cellescape(char *buf, size_t len, const char *s) { in cellescape() function
|
D | process-util.c | 120 cellescape(escaped, COMM_MAX_LEN, comm); in get_process_comm()
|