Home
last modified time | relevance | path

Searched refs:ascii_strcasecmp_nn (Results 1 – 4 of 4) sorted by relevance

/systemd-251/src/test/
Dtest-string-util.c116 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/
Dstring-util.h127 int ascii_strcasecmp_nn(const char *a, size_t n, const char *b, size_t m);
Dstring-util.c238 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/
Ddns-domain.c528 r = ascii_strcasecmp_nn(la, r, lb, q); in dns_name_compare_func()