Home
last modified time | relevance | path

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

/bionic/libc/upstream-freebsd/lib/libc/string/
Dwcscasecmp.c38 wchar_t c1, c2; in wcscasecmp() local
41 c1 = towlower(*s1); in wcscasecmp()
43 if (c1 != c2) in wcscasecmp()
44 return ((int)c1 - c2); in wcscasecmp()
Dwcsncasecmp.c38 wchar_t c1, c2; in wcsncasecmp() local
43 c1 = towlower(*s1); in wcsncasecmp()
45 if (c1 != c2) in wcsncasecmp()
46 return ((int)c1 - c2); in wcsncasecmp()
/bionic/linker/
Dlinker_utils.cpp90 char c1 = in_ptr[1]; in normalize_path() local
91 if (c1 == '.') { in normalize_path()
106 } else if (c1 == '/') { in normalize_path()
/bionic/libc/dns/resolv/
Dres_cache.c891 int c1, c2; in _dnsPacket_isEqualDomainName() local
897 c1 = *p1++; in _dnsPacket_isEqualDomainName()
899 if (c1 != c2) in _dnsPacket_isEqualDomainName()
902 if (c1 == 0) { in _dnsPacket_isEqualDomainName()
907 if (c1 >= 64) { in _dnsPacket_isEqualDomainName()
911 if ((p1+c1 > end1) || (p2+c1 > end2)) { in _dnsPacket_isEqualDomainName()
916 if (memcmp(p1, p2, c1) != 0) in _dnsPacket_isEqualDomainName()
918 p1 += c1; in _dnsPacket_isEqualDomainName()
919 p2 += c1; in _dnsPacket_isEqualDomainName()
/bionic/libc/kernel/uapi/linux/android/
Dbinder.h23 #define B_PACK_CHARS(c1,c2,c3,c4) ((((c1) << 24)) | (((c2) << 16)) | (((c3) << 8)) | (c4)) argument
/bionic/tests/
Dstring_test.cpp832 int c1 = 'A'; in TEST() local
834 memset(state.ptr1, c1, state.MAX_LEN); in TEST()
835 memset(state.ptr2, c1, state.MAX_LEN); in TEST()
840 int expected = (static_cast<int>(c1) - static_cast<int>(c2)); in TEST()
854 int c1 = rand() & mask; in TEST() local
856 wmemset(state.ptr1, c1, state.MAX_LEN); in TEST()
857 wmemset(state.ptr2, c1, state.MAX_LEN); in TEST()
862 int expected = (static_cast<int>(c1) - static_cast<int>(c2)); in TEST()
Dstdio_test.cpp1027 char c1; in TEST() member
1040 EXPECT_EQ('!', c1); in TEST()
1050 s.s1, &s.i1, &s.i2, s.cs1, s.s2, &s.c1, &s.d1, &s.f1, s.s3)); in TEST()
1056 s.s1, &s.i1, &s.i2, s.cs1, s.s2, &s.c1, &s.d1, &s.f1, s.s3)); in TEST()
/bionic/libc/upstream-netbsd/lib/libc/regex/
Dregcomp.c160 static int samesets(struct re_guts *g, int c1, int c2);
1584 int c1, in samesets() argument
1590 unsigned uc1 = (unsigned char)c1; in samesets()