Home
last modified time | relevance | path

Searched refs:strncasecmp (Results 1 – 13 of 13) sorted by relevance

/bionic/tests/
Dstrings_test.cpp55 TEST(STRINGS_TEST, strncasecmp) { in TEST() argument
56 ASSERT_EQ(0, strncasecmp("hello", "HELLO", 3)); in TEST()
57 ASSERT_EQ(0, strncasecmp("abcXX", "ABCYY", 3)); in TEST()
58 ASSERT_LT(strncasecmp("hello1", "hello2", 6), 0); in TEST()
59 ASSERT_GT(strncasecmp("hello2", "hello1", 6), 0); in TEST()
/bionic/libc/upstream-openbsd/lib/libc/string/
Dstrcasecmp.c91 strncasecmp(const char *s1, const char *s2, size_t n) in strncasecmp() function
107 DEF_WEAK(strncasecmp);
Dstrcasestr.c56 } while (strncasecmp(s, find, len) != 0); in strcasestr()
/bionic/libc/bionic/
Dstrings_l.cpp37 return strncasecmp(s1, s2, n); in strncasecmp_l()
/bionic/tests/headers/posix/
Dstrings_h.c37 FUNCTION(strncasecmp, int (*f)(const char*, const char*, size_t)); in strings_h()
/bionic/libc/include/bits/
Dstrcasecmp.h64 int strncasecmp(const char* __s1, const char* __s2, size_t __n) __attribute_pure__;
/bionic/libc/tzcode/
Dstrptime.c226 if (strncasecmp(_ctloc(day[i]), (const char*)bp, len) == 0) in _strptime()
231 if (strncasecmp(_ctloc(abday[i]), (const char*)bp, len) == 0) in _strptime()
250 if (strncasecmp(_ctloc(mon[i]), (const char*)bp, len) == 0) in _strptime()
255 if (strncasecmp(_ctloc(abmon[i]), (const char*)bp, len) == 0) in _strptime()
325 if (strncasecmp(_ctloc(am_pm[0]), (const char*)bp, len) == 0) { in _strptime()
336 if (strncasecmp(_ctloc(am_pm[1]), (const char*)bp, len) == 0) { in _strptime()
/bionic/libc/dns/nameser/
Dns_samedomain.c105 return (strncasecmp(a, b, lb) == 0); in ns_samedomain()
145 return (strncasecmp(cp, b, lb) == 0); in ns_samedomain()
Dns_name.c768 if (ac != bc || strncasecmp((const char *) ++a, in ns_name_eq()
788 strncasecmp((const char *) a->base, in ns_name_owned()
/bionic/libc/dns/resolv/
Dres_debug.c1191 if (strncasecmp(buf, "CLASS", 5) != 0 || in res_nametoclass()
1214 if (strncasecmp(buf, "type", 4) != 0 || in res_nametotype()
/bionic/libc/tools/
Dposix-2013.txt1008 strncasecmp
/bionic/tools/versioner/platforms/
Dlibc.map.txt1016 strncasecmp;
/bionic/libc/
Dlibc.map.txt1016 strncasecmp;