Home
last modified time | relevance | path

Searched refs:c1 (Results 1 – 6 of 6) sorted by relevance

/bionic/libc/upstream-freebsd/lib/libc/string/
Dwcscasecmp.c36 wchar_t c1, c2; in wcscasecmp() local
39 c1 = towlower(*s1); in wcscasecmp()
41 if (c1 != c2) in wcscasecmp()
42 return ((int)c1 - c2); in wcscasecmp()
Dwcsncasecmp.c36 wchar_t c1, c2; in wcsncasecmp() local
41 c1 = towlower(*s1); in wcsncasecmp()
43 if (c1 != c2) in wcsncasecmp()
44 return ((int)c1 - c2); in wcsncasecmp()
/bionic/libc/kernel/uapi/linux/
Dbinder.h22 #define B_PACK_CHARS(c1,c2,c3,c4) ((((c1) << 24)) | (((c2) << 16)) | (((c3) << 8)) | (c4)) argument
/bionic/libc/dns/resolv/
Dres_cache.c874 int c1, c2; in _dnsPacket_isEqualDomainName() local
880 c1 = *p1++; in _dnsPacket_isEqualDomainName()
882 if (c1 != c2) in _dnsPacket_isEqualDomainName()
885 if (c1 == 0) { in _dnsPacket_isEqualDomainName()
890 if (c1 >= 64) { in _dnsPacket_isEqualDomainName()
894 if ((p1+c1 > end1) || (p2+c1 > end2)) { in _dnsPacket_isEqualDomainName()
899 if (memcmp(p1, p2, c1) != 0) in _dnsPacket_isEqualDomainName()
901 p1 += c1; in _dnsPacket_isEqualDomainName()
902 p2 += c1; in _dnsPacket_isEqualDomainName()
/bionic/tests/
Dstring_test.cpp815 int c1 = 'A'; in TEST() local
817 memset(state.ptr1, c1, state.MAX_LEN); in TEST()
818 memset(state.ptr2, c1, state.MAX_LEN); in TEST()
823 int expected = (static_cast<int>(c1) - static_cast<int>(c2)); in TEST()
837 int c1 = rand() & mask; in TEST() local
839 wmemset(state.ptr1, c1, state.MAX_LEN); in TEST()
840 wmemset(state.ptr2, c1, state.MAX_LEN); in TEST()
845 int expected = (static_cast<int>(c1) - static_cast<int>(c2)); in TEST()
/bionic/libc/upstream-netbsd/lib/libc/regex/
Dregcomp.c160 static int samesets(struct re_guts *g, int c1, int c2);
1585 int c1, in samesets() argument
1591 unsigned uc1 = (unsigned char)c1; in samesets()