Searched refs:ch (Results 1 - 25 of 43) sorted by last modified time

12

/bionic/libc/arch-mips/string/
H A Dmemchr.c76 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 Dstrchr.c57 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 Dsse2-memchr-atom.S284 mov %ah, %ch
285 and $15, %ch
444 mov %ah, %ch
445 and $15, %ch
H A Dsse2-memrchr-atom.S734 mov %cl, %ch
749 mov %ch, %cl
756 xor %ch, %ch
H A Dsse2-strchr-atom.S194 mov %dl, %ch
195 and $15, %ch
239 mov %dh, %ch
240 and $15, %ch
H A Dsse2-strlen-atom.S366 mov %dh, %ch
367 and $15, %ch
473 mov %dh, %ch
474 and $15, %ch
H A Dsse2-strrchr-atom.S311 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 Dsse2-wcscmp-atom.S126 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 Dsse2-wcslen-atom.S248 mov %dh, %ch
249 and $15, %ch
H A Dsse2-wcsrchr-atom.S297 test $15, %ch
381 test $15, %ch
H A Dssse3-memcmp-atom.S2374 cmp %bh, %ch
H A Dssse3-strcmp-atom.S2064 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 Dssse3-strlcat-atom.S1059 mov %dh, %ch
1060 and $15, %ch
H A Dssse3-strlcpy-atom.S1236 mov %dh, %ch
1237 and $15, %ch
/bionic/libc/arch-x86/silvermont/string/
H A Dsse4-memcmp-slm.S450 cmp %bh, %ch
601 cmp %bh, %ch
761 cmp %bh, %ch
942 cmp %bh, %ch
/bionic/libc/arch-x86_64/string/
H A Dsse2-strcpy-slm.S1078 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 Dfortify.cpp285 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 Dlibc_logging.cpp146 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 Dmbrtoc32.cpp57 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 Dndk_cruft.cpp131 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 Dstrchr.cpp33 char* strchr(const char* p, int ch) { argument
34 return __strchr_chk(p, ch, __BIONIC_FORTIFY_UNKNOWN_SIZE);
H A Dstrchrnul.cpp17 extern "C" const char* strchrnul(const char* s, int ch) { argument
18 while (*s && *s != ch) {
H A Dstrrchr.cpp33 char* strrchr(const char* p, int ch) { argument
34 return __strrchr_chk(p, ch, __BIONIC_FORTIFY_UNKNOWN_SIZE);
/bionic/libc/dns/nameser/
H A Dns_name.c882 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 Dns_ttl.c84 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...]

Completed in 273 milliseconds

12