/bionic/libm/ |
H A D | digittoint.c | 32 __LIBC_HIDDEN__ int digittoint(char ch) { argument 33 int d = ch - '0'; 37 d = ch - 'a'; 41 d = ch - 'A';
|
H A D | freebsd-compat.h | 30 int digittoint(char ch);
|
/bionic/libc/bionic/ |
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 | strrchr.cpp | 33 char* strrchr(const char* p, int ch) { argument 34 return __strrchr_chk(p, ch, __BIONIC_FORTIFY_UNKNOWN_SIZE);
|
H A D | __strchr_chk.cpp | 33 extern "C" char* __strchr_chk(const char* p, int ch, size_t s_len) { argument 38 if (*p == static_cast<char>(ch)) {
|
H A D | __strrchr_chk.cpp | 33 extern "C" char* __strrchr_chk(const char *p, int ch, size_t s_len) { argument 38 if (*p == (char) ch) {
|
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 | 125 static inline int digitval(int ch) { argument 128 d = (unsigned)(ch - '0'); 131 d = (unsigned)(ch - 'a'); 134 d = (unsigned)(ch - 'A'); 302 extern "C" char* index(const char* str, int ch) { argument 303 return strchr(str, ch);
|
H A D | libc_logging.cpp | 143 int ch = *p; local 144 unsigned d = static_cast<unsigned>(ch - '0'); 168 char ch; local 170 ch = '0' + d; 172 ch = (caps ? 'A' : 'a') + (d - 10); 174 *p++ = ch; 189 char ch = buf[i]; local 191 buf[j] = ch; 216 static void SendRepeat(Out& o, char ch, int count) { argument 218 memset(pad, ch, sizeo [all...] |
/bionic/libc/dns/nameser/ |
H A D | ns_ttl.c | 90 int ch; local 92 for (p = odst; (ch = *p) != '\0'; p++) 93 if (isascii(ch) && isupper(ch)) 94 *p = tolower(ch); 105 int ch, digits, dirty; local 111 while ((ch = *src++) != '\0') { 112 if (!isascii(ch) || !isprint(ch)) 114 if (isdigit(ch)) { [all...] |
H A D | ns_name.c | 888 special(int ch) { argument 889 switch (ch) { 913 printable(int ch) { argument 914 return (ch > 0x20 && ch < 0x7f); 922 mklower(int ch) { argument 923 if (ch >= 0x41 && ch <= 0x5A) 924 return (ch + 0x20); 925 return (ch); [all...] |
/bionic/libc/dns/resolv/ |
H A D | res_comp.c | 172 int pch = PERIOD, ch = *dn++; local 174 while (ch != '\0') { 177 if (periodchar(ch)) { 180 if (!borderchar(ch)) 183 if (!borderchar(ch)) 186 if (!middlechar(ch)) 189 pch = ch, ch = nch; 215 int ch, escaped = 0; local 222 while ((ch 243 int ch; local [all...] |
/bionic/libc/dns/net/ |
H A D | base64.c | 221 int state, ch; local 230 while ((ch = (u_char) *src++) != '\0') { 231 if (isspace(ch)) /* Skip whitespace anywhere. */ 234 if (ch == Pad64) 237 pos = strchr(Base64, ch); 293 if (ch == Pad64) { /* We got a pad char. */ 294 ch = *src++; /* Skip it, get next. */ 302 for (; ch != '\0'; ch = (u_char) *src++) 303 if (!isspace(ch)) [all...] |
/bionic/libc/upstream-openbsd/lib/libc/net/ |
H A D | inet_pton.c | 76 int saw_digit, octets, ch; local 82 while ((ch = *src++) != '\0') { 85 if ((pch = strchr(digits, ch)) != NULL) { 96 } else if (ch == '.' && saw_digit) { 130 int ch, saw_xdigit, count_xdigit; local 143 while ((ch = *src++) != '\0') { 146 if ((pch = strchr((xdigits = xdigits_l), ch)) == NULL) 147 pch = strchr((xdigits = xdigits_u), ch); 159 if (ch == ':') { 178 if (ch [all...] |
/bionic/libc/upstream-openbsd/lib/libc/stdio/ |
H A D | fgetwc.c | 63 int ch = __sgetc(fp); local 65 if (ch == EOF) { 69 c = ch;
|
H A D | vfwprintf.c | 282 wchar_t ch; /* character from fmt */ local 470 for (cp = fmt; (ch = *fmt) != '\0' && ch != '%'; fmt++) 479 if (ch == '\0') 490 rflag: ch = *fmt++; 491 reswitch: switch (ch) { 528 if ((ch = *fmt++) == '*') { 534 while (is_digit(ch)) { 535 APPEND_DIGIT(n, ch); 536 ch 1123 int ch; /* character from fmt */ local [all...] |
H A D | vfprintf.c | 276 int ch; /* character from fmt */ local 514 rflag: ch = *fmt++; 515 reswitch: switch (ch) { 552 if ((ch = *fmt++) == '*') { 558 while (is_digit(ch)) { 559 APPEND_DIGIT(n, ch); 560 ch = *fmt++; 562 if (ch == '$') { 585 APPEND_DIGIT(n, ch); 586 ch 1139 int ch; /* character from fmt */ local [all...] |
/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/upstream-netbsd/lib/libc/regex/ |
H A D | engine.c | 134 static states step(struct re_guts *g, sopno start, sopno stop, states bef, int ch, states aft); 145 static void print(struct match *m, char *caption, states st, int ch, FILE *d); 151 static char *pchar(int ch); 955 == states bef, int ch, states aft); 972 int ch, /* character or NONCHAR code */ 992 assert(!NONCHAR(ch) || ch != (char)OPND(s)); 993 if (ch == (char)OPND(s)) 997 if (ch == BOL || ch 967 step( struct re_guts *g, sopno start, sopno stop, states bef, int ch, states aft) argument 1091 print( struct match *m, char *caption, states st, int ch, FILE *d) argument 1165 pchar( int ch) argument [all...] |
H A D | regcomp.c | 140 static int othercase(int ch); 141 static void bothcases(struct parse *p, int ch); 142 static void ordinary(struct parse *p, int ch); 1021 == static int othercase(int ch); 1023 static int /* if no counterpart, return ch */ 1025 int ch) 1027 assert(isalpha(ch)); 1028 if (isupper(ch)) 1029 return(tolower(ch)); 1030 else if (islower(ch)) 1024 othercase( int ch) argument 1043 bothcases( struct parse *p, int ch) argument 1073 ordinary( struct parse *p, int ch) argument [all...] |
/bionic/libc/kernel/uapi/linux/usb/ |
H A D | audio.h | 189 #define UAC_DT_FEATURE_UNIT_SIZE(ch) (7 + ((ch) + 1) * 2) 190 #define DECLARE_UAC_FEATURE_UNIT_DESCRIPTOR(ch) struct uac_feature_unit_descriptor_##ch { __u8 bLength; __u8 bDescriptorType; __u8 bDescriptorSubtype; __u8 bUnitID; __u8 bSourceID; __u8 bControlSize; __le16 bmaControls[ch + 1]; __u8 iFeature; } __attribute__ ((packed))
|
/bionic/libc/arch-x86/atom/string/ |
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-strchr-atom.S | 194 mov %dl, %ch 195 and $15, %ch 239 mov %dh, %ch 240 and $15, %ch
|
H A D | sse2-memchr-atom.S | 284 mov %ah, %ch 285 and $15, %ch 444 mov %ah, %ch 445 and $15, %ch
|
/bionic/libc/kernel/uapi/sound/ |
H A D | hdspm.h | 170 struct hdspm_channelfader ch[HDSPM_MIXER_CHANNELS]; member in struct:hdspm_mixer
|