/bionic/libc/private/ |
bionic_ctype.h | 32 static inline bool IsAlpha(int ch) { 33 return (ch >= 'A' && ch <= 'Z') || (ch >= 'a' && ch <= 'z'); 36 static inline bool IsDigit(int ch) { 37 return (ch >= '0' && ch <= '9'); 40 static inline bool IsSpace(int ch) { 41 return (ch == ' ') || (ch >= '\t' && ch <= '\r') [all...] |
/packages/apps/Contacts/src/com/android/contacts/datepicker/ |
ICU.java | 17 char ch = pattern.charAt(i); local 18 if (ch == 'd' || ch == 'L' || ch == 'M' || ch == 'y') { 19 if (ch == 'd' && !sawDay) { 22 } else if ((ch == 'L' || ch == 'M') && !sawMonth) { 25 } else if ((ch == 'y') && !sawYear) { 29 } else if (ch == 'G') [all...] |
/bionic/libc/bionic/ |
strchrnul.cpp | 17 extern "C" const char* strchrnul(const char* s, int ch) { 18 while (*s && *s != ch) {
|
strchr.cpp | 32 char* strchr(const char* p, int ch) { 33 return __strchr_chk(p, ch, __BIONIC_FORTIFY_UNKNOWN_SIZE);
|
strrchr.cpp | 32 char* strrchr(const char* p, int ch) { 33 return __strrchr_chk(p, ch, __BIONIC_FORTIFY_UNKNOWN_SIZE);
|
/external/clang/test/SemaCXX/ |
prefetch-enum.cpp | 8 char ch; local 9 __builtin_prefetch(&ch, 0, A);
|
/external/caliper/examples/src/main/java/examples/ |
CharacterBenchmark.java | 58 for (int ch = 0; ch < 65536; ++ch) { 59 dummy ^= ((char) ch == ' '); 64 for (int ch = 0; ch < 65536; ++ch) { 65 dummy ^= (ch == ' '); 75 for (int ch = 0; ch < 65536; ++ch) [all...] |
/libcore/benchmarks/src/benchmarks/regression/ |
CharacterBenchmark.java | 62 for (int ch = 0; ch < 65536; ++ch) { 63 dummy ^= ((char) ch == ' '); 68 for (int ch = 0; ch < 65536; ++ch) { 69 dummy ^= (ch == ' '); 79 for (int ch = 0; ch < 65536; ++ch) [all...] |
/external/syslinux/core/include/ |
ctype.h | 25 static inline int isspace(int ch) 28 if ((ch == ' ') || 29 (ch == '\f') || 30 (ch == '\n') || 31 (ch == '\r') || 32 (ch == '\t') || 33 (ch == '\v'))
|
/external/syslinux/com32/lib/ |
fputc.c | 11 unsigned char ch = c; local 13 return _fwrite(&ch, 1, f) == 1 ? ch : EOF;
|
putchar.c | 13 unsigned char ch = c; local 15 return _fwrite(&ch, 1, stdout) == 1 ? ch : EOF;
|
/packages/apps/Dialer/java/com/android/dialer/smartdial/map/ |
SmartDialMap.java | 32 protected boolean isValidDialpadCharacter(char ch) { 33 return isValidDialpadAlphabeticChar(ch) || isValidDialpadNumericChar(ch); 42 protected boolean isValidDialpadAlphabeticChar(char ch) { 43 return getCharToKeyMap().containsKey(ch); 49 protected boolean isValidDialpadNumericChar(char ch) { 50 return '0' <= ch && ch <= '9'; 62 protected Optional<Byte> getDialpadIndex(char ch) { 63 if (isValidDialpadNumericChar(ch)) { [all...] |
/external/tensorflow/tensorflow/core/lib/strings/ |
scanner.h | 172 static bool IsLetter(char ch) { 173 return (ch >= 'a' && ch <= 'z') || (ch >= 'A' && ch <= 'Z'); 176 static bool IsLowerLetter(char ch) { return ch >= 'a' && ch <= 'z'; } 178 static bool IsDigit(char ch) { return ch >= '0' && ch <= '9'; [all...] |
/frameworks/av/media/libstagefright/codecs/mp3dec/src/ |
pvmp3_get_side_info.cpp | 119 int32 ch, gr; local 140 for (ch = 0; ch < stereo; ch++) 143 si->ch[ch].scfsi[0] = (tmp << 28) >> 31; /* 1 */ 144 si->ch[ch].scfsi[1] = (tmp << 29) >> 31; /* 1 */ 145 si->ch[ch].scfsi[2] = (tmp << 30) >> 31; /* 1 * [all...] |
/bionic/libm/ |
digittoint.c | 32 __LIBC_HIDDEN__ int digittoint(char ch) { 33 int d = ch - '0'; 37 d = ch - 'a'; 41 d = ch - 'A';
|
/external/syslinux/dos/ |
conio.c | 22 int putchar(int ch) 24 if (ch == '\n') 26 asm("movb $0x02,%%ah ; int $0x21": :"d"(ch)); 27 return ch;
|
/external/icu/icu4j/perf-tests/src/com/ibm/icu/dev/test/perf/ |
UCharacterPerf.java | 49 for (int ch = MIN_; ch < MAX_; ch ++) { 50 UCharacter.digit(ch, 10); 64 for (char ch = (char)MIN_; ch < (char)MAX_; ch ++) { 65 Character.digit(ch, 10); 79 for (int ch = MIN_; ch < MAX_; ch ++) [all...] |
/prebuilts/ndk/r16/sources/android/support/src/ |
iswblank.cpp | 31 int iswblank(wint_t ch) { 32 return isblank(ch);
|
/external/libcups/cups/ |
string-private.h | 96 _cups_isalnum(int ch) /* I - Character to test */ 98 return ((ch >= '0' && ch <= '9') || 99 (ch >= 'A' && ch <= 'Z') || 100 (ch >= 'a' && ch <= 'z')); 104 _cups_isalpha(int ch) /* I - Character to test */ 106 return ((ch >= 'A' && ch <= 'Z') | [all...] |
/packages/apps/Email/src/com/beetstra/jutf7/ |
Base64Util.java | 75 final char ch = this.alphabet[i];
local 76 if (ch >= 128)
77 throw new IllegalArgumentException("invalid character in alphabet: " + ch);
78 inverseAlphabet[ch] = i;
86 * @param ch The character, as a ASCII encoded byte
90 int getSextet(final byte ch) {
91 if (ch >= 128)
93 return inverseAlphabet[ch];
99 * @param ch The character
100 * @return true if the alphabet contains <code>ch</code>, false otherwise [all...] |
/external/syslinux/utils/ |
syslinux2ansi | 12 while ( read(STDIN, $ch, 1) > 0 ) { 13 if ( $ch eq "\x1A" ) { # <SUB> <Ctrl-Z> EOF 15 } elsif ( $ch eq "\x0C" ) { # <FF> <Ctrl-L> Clear screen 17 } elsif ( $ch eq "\x0F" ) { # <SI> <Ctrl-O> Attribute change 36 } elsif ( $ch eq "\x18" ) { # <CAN> <Ctrl-X> Display image 40 } elsif ( (ord($ch) & ~07) == 0x10 ) { # Mode controls 41 $enable = (ord($ch) & 0x01); # Emulate the text screen 42 } elsif ( $ch eq "\x0D" ) { # <CR> <Ctrl-M> Carriage return 44 } elsif ( $ch eq "\x0A" ) { # <LF> <Ctrl-J> Line feed 48 print $ch if ( $enable ) [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/ |
unicodectype.c | 54 /* Returns the titlecase Unicode characters corresponding to ch or just
55 ch if no titlecase mapping is known. */
57 Py_UNICODE _PyUnicode_ToTitlecase(register Py_UNICODE ch)
59 const _PyUnicode_TypeRecord *ctype = gettyperecord(ch);
68 return ch + delta;
74 int _PyUnicode_IsTitlecase(Py_UNICODE ch)
76 const _PyUnicode_TypeRecord *ctype = gettyperecord(ch);
84 int _PyUnicode_ToDecimalDigit(Py_UNICODE ch)
86 const _PyUnicode_TypeRecord *ctype = gettyperecord(ch);
91 int _PyUnicode_IsDecimalDigit(Py_UNICODE ch)
[all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/ |
unicodectype.c | 54 /* Returns the titlecase Unicode characters corresponding to ch or just
55 ch if no titlecase mapping is known. */
57 Py_UNICODE _PyUnicode_ToTitlecase(register Py_UNICODE ch)
59 const _PyUnicode_TypeRecord *ctype = gettyperecord(ch);
68 return ch + delta;
74 int _PyUnicode_IsTitlecase(Py_UNICODE ch)
76 const _PyUnicode_TypeRecord *ctype = gettyperecord(ch);
84 int _PyUnicode_ToDecimalDigit(Py_UNICODE ch)
86 const _PyUnicode_TypeRecord *ctype = gettyperecord(ch);
91 int _PyUnicode_IsDecimalDigit(Py_UNICODE ch)
[all...] |
/external/python/cpython2/Objects/ |
unicodectype.c | 54 /* Returns the titlecase Unicode characters corresponding to ch or just 55 ch if no titlecase mapping is known. */ 57 Py_UNICODE _PyUnicode_ToTitlecase(register Py_UNICODE ch) 59 const _PyUnicode_TypeRecord *ctype = gettyperecord(ch); 68 return ch + delta; 74 int _PyUnicode_IsTitlecase(Py_UNICODE ch) 76 const _PyUnicode_TypeRecord *ctype = gettyperecord(ch); 84 int _PyUnicode_ToDecimalDigit(Py_UNICODE ch) 86 const _PyUnicode_TypeRecord *ctype = gettyperecord(ch); 91 int _PyUnicode_IsDecimalDigit(Py_UNICODE ch) [all...] |
/device/linaro/bootloader/arm-trusted-firmware/plat/rockchip/rk3399/include/shared/ |
dram_regs.h | 75 #define SYS_REG_ENC_ROW_3_4(n, ch) ((n) << (30 + (ch))) 76 #define SYS_REG_DEC_ROW_3_4(n, ch) (((n) >> (30 + (ch))) & 0x1) 77 #define SYS_REG_ENC_CHINFO(ch) (1 << (28 + (ch))) 78 #define SYS_REG_DEC_CHINFO(n, ch) (((n) >> (28 + (ch))) & 0x1) 83 #define SYS_REG_ENC_RANK(n, ch) (((n) - 1) << (11 + (ch) * 16) [all...] |