Searched refs:c1 (Results 1 – 8 of 8) sorted by relevance
/bionic/libc/upstream-freebsd/lib/libc/string/ |
D | wcscasecmp.c | 38 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()
|
D | wcsncasecmp.c | 38 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/ |
D | linker_utils.cpp | 90 char c1 = in_ptr[1]; in normalize_path() local 91 if (c1 == '.') { in normalize_path() 106 } else if (c1 == '/') { in normalize_path()
|
/bionic/libc/kernel/uapi/linux/android/ |
D | binder.h | 11 #define B_PACK_CHARS(c1,c2,c3,c4) ((((c1) << 24)) | (((c2) << 16)) | (((c3) << 8)) | (c4)) argument
|
/bionic/libc/dns/resolv/ |
D | res_cache.c | 891 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/tests/ |
D | string_test.cpp | 844 int c1 = 'A'; in TEST() local 846 memset(state.ptr1, c1, state.MAX_LEN); in TEST() 847 memset(state.ptr2, c1, state.MAX_LEN); in TEST() 852 int expected = (static_cast<int>(c1) - static_cast<int>(c2)); in TEST() 866 int c1 = rand() & mask; in TEST() local 868 wmemset(state.ptr1, c1, state.MAX_LEN); in TEST() 869 wmemset(state.ptr2, c1, state.MAX_LEN); in TEST() 874 int expected = (static_cast<int>(c1) - static_cast<int>(c2)); in TEST()
|
D | stdio_test.cpp | 1088 char c1; in TEST() member 1101 EXPECT_EQ('!', c1); in TEST() 1111 s.s1, &s.i1, &s.i2, s.cs1, s.s2, &s.c1, &s.d1, &s.f1, s.s3)); in TEST() 1117 s.s1, &s.i1, &s.i2, s.cs1, s.s2, &s.c1, &s.d1, &s.f1, s.s3)); in TEST() 3554 int16_t c1; in TEST() local 3555 EXPECT_EQ(1, sscanf("<0xFFFF>", "<%w16i>", &c1)); in TEST() 3556 EXPECT_EQ(-1, c1); in TEST() 3654 int16_t c1; in TEST() local 3655 EXPECT_EQ(1, swscanf(L"<0xFFFF>", L"<%w16i>", &c1)); in TEST() 3656 EXPECT_EQ(-1, c1); in TEST()
|
/bionic/libc/upstream-netbsd/lib/libc/regex/ |
D | regcomp.c | 147 static int p_range_cmp(wchar_t c1, wchar_t c2); 1147 p_range_cmp(wchar_t c1, wchar_t c2) in p_range_cmp() argument 1150 return __wcollate_range_cmp(c1, c2); in p_range_cmp() 1155 s1[0] = c1; in p_range_cmp() 1163 s1[0] = (char)c1; in p_range_cmp()
|