Searched refs:ascii_strcasecmp_nn (Results 1 – 4 of 4) sorted by relevance
/systemd-251/src/test/ |
D | test-string-util.c | 116 TEST(ascii_strcasecmp_nn) { in TEST() argument 117 assert_se(ascii_strcasecmp_nn("", 0, "", 0) == 0); in TEST() 118 assert_se(ascii_strcasecmp_nn("", 0, "", 1) < 0); in TEST() 119 assert_se(ascii_strcasecmp_nn("", 1, "", 0) > 0); in TEST() 120 assert_se(ascii_strcasecmp_nn("", 1, "", 1) == 0); in TEST() 122 assert_se(ascii_strcasecmp_nn("aaaa", 4, "aaAa", 4) == 0); in TEST() 123 assert_se(ascii_strcasecmp_nn("aaa", 3, "aaAa", 4) < 0); in TEST() 124 assert_se(ascii_strcasecmp_nn("aaa", 4, "aaAa", 4) < 0); in TEST() 125 assert_se(ascii_strcasecmp_nn("aaaa", 4, "aaA", 3) > 0); in TEST() 126 assert_se(ascii_strcasecmp_nn("aaaa", 4, "AAA", 4) > 0); in TEST() [all …]
|
/systemd-251/src/basic/ |
D | string-util.h | 127 int ascii_strcasecmp_nn(const char *a, size_t n, const char *b, size_t m);
|
D | string-util.c | 238 int ascii_strcasecmp_nn(const char *a, size_t n, const char *b, size_t m) { in ascii_strcasecmp_nn() function
|
/systemd-251/src/shared/ |
D | dns-domain.c | 528 r = ascii_strcasecmp_nn(la, r, lb, q); in dns_name_compare_func()
|