Searched refs:streq_skip_trailing_chars (Results 1 – 4 of 4) sorted by relevance
/systemd-251/src/test/ |
D | test-string-util.c | 958 TEST(streq_skip_trailing_chars) { in TEST() argument 960 assert_se(streq_skip_trailing_chars("foo bar", "foo bar", NULL)); in TEST() 961 assert_se(streq_skip_trailing_chars("foo", "foo", NULL)); in TEST() 962 assert_se(streq_skip_trailing_chars("foo bar ", "foo bar", NULL)); in TEST() 963 assert_se(streq_skip_trailing_chars("foo bar", "foo bar\t\t", NULL)); in TEST() 964 assert_se(streq_skip_trailing_chars("foo bar ", "foo bar\t\t", NULL)); in TEST() 965 assert_se(streq_skip_trailing_chars("foo\nbar", "foo\nbar", NULL)); in TEST() 966 assert_se(streq_skip_trailing_chars("\t\tfoo bar", "\t\tfoo bar", NULL)); in TEST() 967 assert_se(streq_skip_trailing_chars(" foo bar\t", " foo bar\n", NULL)); in TEST() 969 assert_se(!streq_skip_trailing_chars("foobar", "foo bar", NULL)); in TEST() [all …]
|
/systemd-251/src/basic/ |
D | string-util.h | 235 bool streq_skip_trailing_chars(const char *s1, const char *s2, const char *ok);
|
D | string-util.c | 1150 bool streq_skip_trailing_chars(const char *s1, const char *s2, const char *ok) { in streq_skip_trailing_chars() function
|
D | fileio.c | 168 streq_skip_trailing_chars(line, t, NEWLINE)) { in write_string_stream_ts()
|