Searched refs:ascii_strcasecmp_n (Results 1 - 4 of 4) sorted by relevance
/systemd/src/test/ |
H A D | test-string-util.c | 58 assert_se(ascii_strcasecmp_n("", "", 0) == 0); 59 assert_se(ascii_strcasecmp_n("", "", 1) == 0); 60 assert_se(ascii_strcasecmp_n("", "a", 1) < 0); 61 assert_se(ascii_strcasecmp_n("", "a", 2) < 0); 62 assert_se(ascii_strcasecmp_n("a", "", 1) > 0); 63 assert_se(ascii_strcasecmp_n("a", "", 2) > 0); 64 assert_se(ascii_strcasecmp_n("a", "a", 1) == 0); 65 assert_se(ascii_strcasecmp_n("a", "a", 2) == 0); 66 assert_se(ascii_strcasecmp_n("a", "b", 1) < 0); 67 assert_se(ascii_strcasecmp_n(" [all...] |
/systemd/src/shared/ |
H A D | dns-domain.c | 566 if (ascii_strcasecmp_n(la, lb, r) != 0) 600 if (r != q || ascii_strcasecmp_n(ln, ls, r) != 0) { 635 if (ascii_strcasecmp_n(ln, lp, r) != 0) 676 if (r != q || ascii_strcasecmp_n(ln, ls, r) != 0) { 1263 if (r != q || ascii_strcasecmp_n(la, lb, r) != 0) {
|
/systemd/src/basic/ |
H A D | string-util.h | 135 int ascii_strcasecmp_n(const char *a, const char *b, size_t n);
|
H A D | string-util.c | 349 int ascii_strcasecmp_n(const char *a, const char *b, size_t n) { function 367 r = ascii_strcasecmp_n(a, b, MIN(n, m));
|
Completed in 33 milliseconds