Home
last modified time | relevance | path

Searched refs:t_str_ltrim (Results 1 – 3 of 3) sorted by relevance

/dports/mail/dovecot/dovecot-2.3.17/src/lib/
H A Dtest-strfuncs.c263 test_assert(strcmp(t_str_ltrim("", " "), "") == 0); in test_t_str_ltrim()
264 test_assert(strcmp(t_str_ltrim(" ", " "), "") == 0); in test_t_str_ltrim()
265 test_assert(strcmp(t_str_ltrim(" \t ", "\t "), "") == 0); in test_t_str_ltrim()
266 test_assert(strcmp(t_str_ltrim(" \t f", "\t "), "f") == 0); in test_t_str_ltrim()
267 test_assert(strcmp(t_str_ltrim("foo", ""), "foo") == 0); in test_t_str_ltrim()
268 test_assert(strcmp(t_str_ltrim("foo", " "), "foo") == 0); in test_t_str_ltrim()
269 test_assert(strcmp(t_str_ltrim("foo ", " "), "foo ") == 0); in test_t_str_ltrim()
270 test_assert(strcmp(t_str_ltrim(" foo", " "), "foo") == 0); in test_t_str_ltrim()
271 test_assert(strcmp(t_str_ltrim(" foo ", " "), "foo ") == 0); in test_t_str_ltrim()
272 test_assert(strcmp(t_str_ltrim("\tfoo ", "\t "), "foo ") == 0); in test_t_str_ltrim()
[all …]
H A Dstrfuncs.h70 const char *t_str_ltrim(const char *str, const char *chars);
H A Dstrfuncs.c518 const char *t_str_ltrim(const char *str, const char *chars) in t_str_ltrim() function