Home
last modified time | relevance | path

Searched refs:cellescape (Results 1 – 6 of 6) sorted by relevance

/systemd-251/src/test/
Dtest-string-util.c133 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 …]
Dtest-ellipsize.c30 cellescape(buf, sizeof buf, n), in test_ellipsize_mem_one()
/systemd-251/src/shared/
Djournal-importer.c232 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/
Dstring-util.h152 char *cellescape(char *buf, size_t len, const char *s);
Dstring-util.c445 char *cellescape(char *buf, size_t len, const char *s) { in cellescape() function
Dprocess-util.c120 cellescape(escaped, COMM_MAX_LEN, comm); in get_process_comm()