/packages/apps/Dialer/src/com/android/dialer/dialpad/ |
LatinSmartDialMap.java | 17 public boolean isValidDialpadAlphabeticChar(char ch) { 18 return (ch >= 'a' && ch <= 'z'); 22 public boolean isValidDialpadNumericChar(char ch) { 23 return (ch >= '0' && ch <= '9'); 27 public boolean isValidDialpadCharacter(char ch) { 28 return (isValidDialpadAlphabeticChar(ch) || isValidDialpadNumericChar(ch)); 49 public char normalizeCharacter(char ch) { [all...] |
SmartDialMap.java | 16 public boolean isValidDialpadCharacter(char ch); 21 public boolean isValidDialpadAlphabeticChar(char ch); 26 public boolean isValidDialpadNumericChar(char ch); 31 public byte getDialpadIndex(char ch); 36 public char getDialpadNumericCharacter(char ch); 42 public char normalizeCharacter(char ch);
|
/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 | 33 char* strchr(const char* p, int ch) { 34 return __strchr_chk(p, ch, __BIONIC_FORTIFY_UNKNOWN_SIZE);
|
strrchr.cpp | 33 char* strrchr(const char* p, int ch) { 34 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);
|
builtins-va_arg.cpp | 15 char ch; local 18 ch = *fmt++; 19 if (ch != '%') { 23 ch = *fmt++; 24 switch (ch) { 39 if (ch == '0') {
|
/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...] |
/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/icu/icu4j/perf-tests/src/com/ibm/icu/dev/test/perf/ |
UCharacterPerf.java | 47 for (int ch = MIN_; ch < MAX_; ch ++) { 48 UCharacter.digit(ch, 10); 62 for (char ch = (char)MIN_; ch < (char)MAX_; ch ++) { 63 Character.digit(ch, 10); 77 for (int ch = MIN_; ch < MAX_; ch ++) [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...] |
ModifiedUTF7Charset.java | 44 boolean canEncodeDirectly(char ch) {
45 if (ch == shift())
47 return ch >= 0x20 && ch <= 0x7E;
|
/external/libpng/contrib/arm-neon/ |
linux.c | 45 int ch = fgetc(f); local 47 if (ch == EOF) 60 if (ch <= 32) /* skip control characters and space */ 69 if ((ch & ~0x20) == ch_feature[counter]) 83 if (ch != 10 && ch != 13) 91 if (ch == 32 || ch == 9) 94 if (ch == 58) /* i.e. ':' */ 108 if (ch == 32 || ch == 9 [all...] |
/external/icu/icu4c/source/test/perf/charperf/ |
charperf.h | 19 typedef void (*CharPerfFn)(UChar32 ch); 20 typedef void (*StdLibCharPerfFn)(wchar_t ch); 119 inline void isAlpha(UChar32 ch) 121 u_isalpha(ch); 124 inline void isUpper(UChar32 ch) 126 u_isupper(ch); 129 inline void isLower(UChar32 ch) 131 u_islower(ch); 134 inline void isDigit(UChar32 ch) 136 u_isdigit(ch); [all...] |
/external/nist-sip/java/gov/nist/core/ |
StringTokenizer.java | 75 public static boolean isHexDigit(char ch) { 76 return (ch >= 'A' && ch <= 'F') || 77 (ch >= 'a' && ch <= 'f') || 78 isDigit(ch); 81 public static boolean isAlpha(char ch) { 82 if (ch <= 127) { 83 return ((ch >= 'a' && ch <= 'z') || (ch >= 'A' && ch <= 'Z')) [all...] |
/external/e2fsprogs/lib/et/ |
et_name.c | 25 int ch; local 36 ch = (int)((num >> BITS_PER_CHAR * i) & ((1 << BITS_PER_CHAR) - 1)); 37 if (ch != 0) 38 *p++ = char_set[ch-1];
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
Interruptible.java | 30 package sun.nio.ch;
|
NativeThread.java | 26 package sun.nio.ch;
|
/external/aac/libAACenc/src/ |
psy_main.cpp | 250 int i, ch, n, chInc = 0, resetChannels = 3; local 262 for (ch=0; ch<cm->elInfo[i].nChannelsInEl; ch++) { 264 hPsy->psyElement[i]->psyStatic[ch] = hPsy->pStaticChannels[chInc]; 266 FDKaacEnc_psyInitStates(hPsy, hPsy->psyElement[i]->psyStatic[ch], audioObjectType); 268 hPsy->psyElement[i]->psyStatic[ch]->isLFE = 0; 271 hPsy->psyElement[i]->psyStatic[ch] = hPsy->pStaticChannels[nMaxChannels-1]; 272 hPsy->psyElement[i]->psyStatic[ch]->isLFE = 1; 281 for (ch=0; ch<cm->elInfo[i].nChannelsInEl; ch++) 313 int i, ch; local 455 INT ch; \/* counts through channels *\/ local [all...] |
/external/guava/guava-tests/test/com/google/common/xml/ |
XmlEscapersTest.java | 76 for (char ch = 0; ch < 0x20; ch++) { 77 if (ch == '\t' || ch == '\n' || ch == '\r') { 80 assertEscaping(xmlEscaper, "&#x" + Integer.toHexString(ch).toUpperCase() + ";", ch); 82 assertUnescaped(xmlEscaper, ch); 86 assertEscaping(xmlEscaper, "\uFFFD", ch); [all...] |
/toolchain/binutils/binutils-2.25/libiberty/ |
basename.c | 36 # define IS_DIR_SEPARATOR(ch) ((ch) == DIR_SEPARATOR) 38 # define IS_DIR_SEPARATOR(ch) \ 39 (((ch) == DIR_SEPARATOR) || ((ch) == DIR_SEPARATOR_2))
|
/prebuilts/go/darwin-x86/src/runtime/race/testdata/ |
map_test.go | 13 ch := make(chan bool, 1) 16 ch <- true 19 <-ch 24 ch := make(chan bool, 1) 27 ch <- true 30 <-ch 36 ch := make(chan bool, 1) 39 ch <- true 42 <-ch 47 ch := make(chan bool, 1 [all...] |