/bionic/libc/arch-mips/string/ |
H A D | memchr.c | 76 do_bytes (const op_t* w, unsigned char ch) argument 79 for (; *p != ch; ++p); 86 return do_bytes(in, ch); \ 109 unsigned char ch = (unsigned char) c_in; variable 115 if (*p == ch) 121 mask_c = ch | (ch << 8); 180 if (*p == ch)
|
H A D | strchr.c | 57 if (a.b.B##i != ch) { \ 67 return do_bytes(w + cnt, ch); \ 72 do_bytes (const op_t* w, unsigned char ch) argument 99 const unsigned char ch = c; variable 105 for ( ; *p != ch && ((size_t) p % op_size) != 0; p++) 109 if (*p != ch) { 112 mask_c = ch | (ch << 8);
|
/bionic/libc/arch-x86/atom/string/ |
H A D | sse2-memchr-atom.S | 284 mov %ah, %ch 285 and $15, %ch 444 mov %ah, %ch 445 and $15, %ch
|
H A D | sse2-memrchr-atom.S | 734 mov %cl, %ch 749 mov %ch, %cl 756 xor %ch, %ch
|
H A D | sse2-strchr-atom.S | 194 mov %dl, %ch 195 and $15, %ch 239 mov %dh, %ch 240 and $15, %ch
|
H A D | sse2-strlen-atom.S | 366 mov %dh, %ch 367 and $15, %ch 473 mov %dh, %ch 474 and $15, %ch
|
H A D | sse2-strrchr-atom.S | 311 mov %ch, %dh 314 test $0x01, %ch 316 test $0x02, %ch 318 test $0x04, %ch 332 test $0x10, %ch 334 test $0x20, %ch 336 test $0x40, %ch 642 mov %ch, %dh 645 test $0x01, %ch 647 test $0x02, %ch [all...] |
H A D | sse2-wcscmp-atom.S | 126 mov %al, %ch 140 and $15, %ch 207 and $15, %ch 290 and $15, %ch 352 and $15, %ch 435 and $15, %ch
|
H A D | sse2-wcslen-atom.S | 248 mov %dh, %ch 249 and $15, %ch
|
H A D | sse2-wcsrchr-atom.S | 297 test $15, %ch 381 test $15, %ch
|
H A D | ssse3-memcmp-atom.S | 2374 cmp %bh, %ch
|
H A D | ssse3-strcmp-atom.S | 2064 test $0x01, %ch 2067 test $0x02, %ch 2070 test $0x04, %ch 2073 test $0x08, %ch 2076 test $0x10, %ch 2079 test $0x20, %ch 2082 test $0x40, %ch
|
H A D | ssse3-strlcat-atom.S | 1059 mov %dh, %ch 1060 and $15, %ch
|
H A D | ssse3-strlcpy-atom.S | 1236 mov %dh, %ch 1237 and $15, %ch
|
/bionic/libc/arch-x86/silvermont/string/ |
H A D | sse4-memcmp-slm.S | 450 cmp %bh, %ch 601 cmp %bh, %ch 761 cmp %bh, %ch 942 cmp %bh, %ch
|
/bionic/libc/arch-x86_64/string/ |
H A D | sse2-strcpy-slm.S | 1078 xor %ch, %ch 1079 movb %ch, (%rdi) 1091 xor %ch, %ch 1092 movb %ch, 1(%rdi) 1104 xor %ch, %ch 1105 movb %ch, 2(%rdi) 1119 xor %ch, [all...] |
/bionic/libc/bionic/ |
H A D | fortify.cpp | 285 char* __strchr_chk(const char* p, int ch, size_t s_len) { argument 290 if (*p == static_cast<char>(ch)) { 393 char* __strrchr_chk(const char* p, int ch, size_t s_len) { argument 398 if (*p == static_cast<char>(ch)) {
|
H A D | libc_logging.cpp | 146 int ch = *p; local 147 unsigned d = static_cast<unsigned>(ch - '0'); 171 char ch; local 173 ch = '0' + d; 175 ch = (caps ? 'A' : 'a') + (d - 10); 177 *p++ = ch; 192 char ch = buf[i]; local 194 buf[j] = ch; 219 static void SendRepeat(Out& o, char ch, int count) { argument 221 memset(pad, ch, sizeo [all...] |
H A D | mbrtoc32.cpp | 57 uint8_t ch; local 58 if (mbsinit(state) && (((ch = static_cast<uint8_t>(*s)) & ~0x7f) == 0)) { 61 *pc32 = ch; 63 return (ch != '\0' ? 1 : 0); 82 ch = bytes_so_far > 0 ? mbstate_get_byte(state, 0) : static_cast<uint8_t>(*s); 83 if ((ch & 0x80) == 0) { 87 } else if ((ch & 0xe0) == 0xc0) { 91 } else if ((ch & 0xf0) == 0xe0) { 95 } else if ((ch & 0xf8) == 0xf0) {
|
H A D | ndk_cruft.cpp | 131 static inline int digitval(int ch) { argument 134 d = (unsigned)(ch - '0'); 137 d = (unsigned)(ch - 'a'); 140 d = (unsigned)(ch - 'A'); 324 char* index(const char* str, int ch) { argument 325 return strchr(str, ch);
|
H A D | strchr.cpp | 33 char* strchr(const char* p, int ch) { argument 34 return __strchr_chk(p, ch, __BIONIC_FORTIFY_UNKNOWN_SIZE);
|
H A D | strchrnul.cpp | 17 extern "C" const char* strchrnul(const char* s, int ch) { argument 18 while (*s && *s != ch) {
|
H A D | strrchr.cpp | 33 char* strrchr(const char* p, int ch) { argument 34 return __strrchr_chk(p, ch, __BIONIC_FORTIFY_UNKNOWN_SIZE);
|
/bionic/libc/dns/nameser/ |
H A D | ns_name.c | 882 special(int ch) { argument 883 switch (ch) { 907 printable(int ch) { argument 908 return (ch > 0x20 && ch < 0x7f); 916 mklower(int ch) { argument 917 if (ch >= 0x41 && ch <= 0x5A) 918 return (ch + 0x20); 919 return (ch); [all...] |
H A D | ns_ttl.c | 84 int ch; local 86 for (p = odst; (ch = *p) != '\0'; p++) 87 if (isascii(ch) && isupper(ch)) 88 *p = tolower(ch); 99 int ch, digits, dirty; local 105 while ((ch = *src++) != '\0') { 106 if (!isascii(ch) || !isprint(ch)) 108 if (isdigit(ch)) { [all...] |