/frameworks/native/libs/input/ |
InputDevice.cpp | 39 static bool isValidNameChar(char ch) { 40 return isascii(ch) && (isdigit(ch) || isalpha(ch) || ch == '-' || ch == '_'); 47 char ch = name[i]; local 48 if (!isValidNameChar(ch)) { 49 ch = '_'; 51 path.append(&ch, 1) [all...] |
/libcore/libdvm/src/main/java/java/lang/reflect/ |
AccessibleObject.java | 292 char ch = as[len].charAt(0); local 293 if (ch == 'I') 295 else if (ch == 'B') 297 else if (ch == 'J') 299 else if (ch == 'F') 301 else if (ch == 'D') 303 else if (ch == 'S') 305 else if (ch == 'C') 307 else if (ch == 'Z') 309 else if (ch == 'V') //XXX: is it a working branch [all...] |
/libcore/luni/src/main/java/libcore/reflect/ |
Types.java | 142 char ch = as[len].charAt(0); local 143 if (ch == 'I') { 145 } else if (ch == 'B') { 147 } else if (ch == 'J') { 149 } else if (ch == 'F') { 151 } else if (ch == 'D') { 153 } else if (ch == 'S') { 155 } else if (ch == 'C') { 157 } else if (ch == 'Z') { 159 } else if (ch == 'V') [all...] |
/external/antlr/antlr-3.4/runtime/C/src/ |
antlr3inputstream.c | 781 UTF32 ch; local 807 ch = *((UTF16*)input->nextChar); 816 if (ch >= UNI_SUR_HIGH_START && ch <= UNI_SUR_HIGH_END) { 860 UTF32 ch; local 880 ch = *nextChar++; 885 if (ch >= UNI_SUR_HIGH_START && ch <= UNI_SUR_HIGH_END) 1063 UTF32 ch; local 1140 UTF32 ch; local 1282 UTF32 ch; local 1361 UTF32 ch; local 1808 ANTLR3_UCHAR ch; local 1874 ANTLR3_UCHAR ch; local [all...] |
/external/apache-xml/src/main/java/org/apache/xml/utils/ |
XMLString.java | 41 * @param ch A non-null reference to a ContentHandler. 45 public abstract void dispatchCharactersEvents(org.xml.sax.ContentHandler ch) 329 * specified character. If a character with value <code>ch</code> occurs 334 * this.charAt(<i>k</i>) == ch 339 * @param ch a character. 344 public abstract int indexOf(int ch); 350 * If a character with value <code>ch</code> occurs in the character 356 * (this.charAt(<i>k</i>) == ch) && (<i>k</i> >= fromIndex) 367 * @param ch a character. 374 public abstract int indexOf(int ch, int fromIndex) [all...] |
XMLStringDefault.java | 49 * @param ch A non-null reference to a ContentHandler. 53 public void dispatchCharactersEvents(org.xml.sax.ContentHandler ch) 392 * specified character. If a character with value <code>ch</code> occurs 397 * this.charAt(<i>k</i>) == ch 402 * @param ch a character. 407 public int indexOf(int ch) 409 return m_str.indexOf(ch); 416 * If a character with value <code>ch</code> occurs in the character 422 * (this.charAt(<i>k</i>) == ch) && (<i>k</i> >= fromIndex) 433 * @param ch a character [all...] |
/external/arduino/hardware/arduino/cores/arduino/ |
WString.h | 62 int indexOf( char ch ) const; 63 int indexOf( char ch, unsigned int fromIndex ) const; 66 int lastIndexOf( char ch ) const; 67 int lastIndexOf( char ch, unsigned int fromIndex ) const; 71 void setCharAt(unsigned int index, const char ch);
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/ |
DERNumericString.java | 169 char ch = str.charAt(i); local 171 if (ch > 0x007f) 176 if (('0' <= ch && ch <= '9') || ch == ' ')
|
/external/chromium_org/third_party/icu/source/i18n/ |
csrucode.cpp | 86 int32_t ch = getChar(input, i); local 88 if (ch < 0 || ch >= 0x10FFFF || (ch >= 0xD800 && ch <= 0xDFFF)) {
|
/external/e2fsprogs/e2fsck/ |
message.c | 170 unsigned char ch; local 176 ch = *cp++; 177 if (ch > 128) { 179 ch -= 128; 181 if ((ch < 32) || (ch == 0x7f)) { 183 ch ^= 0x40; /* ^@, ^A, ^B; ^? for DEL */ 185 fputc(ch, stdout); 236 static _INLINE_ void expand_at_expression(e2fsck_t ctx, char ch, 244 if (ch == *cpp[0] [all...] |
/external/icu4c/layout/ |
LEFontInstance.h | 40 * @param ch - the input character 46 virtual LEUnicode32 mapChar(LEUnicode32 ch) const = 0; 196 * <code>TRUE</code> if <code>mapCharToGlyph(ch)</code> 199 * @param ch - the character to be tested 201 * @return <code>TRUE</code> if the font can render ch. 205 virtual le_bool canDisplay(LEUnicode32 ch) const; 222 * <code>mapCharToGlyph(ch, mapper)</code> on each one. It also handles surrogate 247 * @param ch - the character 257 virtual LEGlyphID mapCharToGlyph(LEUnicode32 ch, const LECharMapper *mapper, le_bool filterZeroWidth) const; 264 * @param ch - the characte [all...] |
/external/apache-http/src/org/apache/http/message/ |
BasicHeaderValueParser.java | 177 char ch = buffer.charAt(cursor.getPos() - 1); local 178 if (ch != ELEM_DELIMITER) { 244 char ch = buffer.charAt(pos); local 245 if (HTTP.isWhitespace(ch)) { 260 char ch = buffer.charAt(cursor.getPos() - 1); local 261 if (ch == ELEM_DELIMITER) { 304 private static boolean isOneOf(final char ch, final char[] chs) { 307 if (ch == chs[i]) { 335 char ch = buffer.charAt(pos); local 336 if (ch == '=') 366 char ch = buffer.charAt(pos); local [all...] |
/external/chromium_org/media/base/ |
audio_buffer.cc | 166 for (int ch = 0; ch < channel_count_; ++ch) { 168 reinterpret_cast<const float*>(channel_data_[ch]) + 170 memcpy(dest->channel(ch) + dest_frame_offset, 180 for (int ch = 0; ch < channel_count_; ++ch) { 182 reinterpret_cast<const int16*>(channel_data_[ch]) + 184 float* dest_data = dest->channel(ch) + dest_frame_offset [all...] |
channel_mixer.cc | 97 void AccountFor(Channels ch); 98 bool IsUnaccounted(Channels ch); 100 // Helper methods for checking if |ch| exists in either |input_layout_| or 102 bool HasInputChannel(Channels ch); 103 bool HasOutputChannel(Channels ch); 173 for (Channels ch = LEFT; ch < CHANNELS_MAX; 174 ch = static_cast<Channels>(ch + 1)) { 175 int input_ch_index = ChannelOrder(input_layout_, ch); [all...] |
/external/chromium_org/third_party/libjingle/source/talk/xmpp/ |
jid.cc | 184 unsigned char ch = *i; local 185 if (ch <= 0x7F) { 186 result += PrepNodeAscii(ch, &char_valid); 190 result += tolower(ch); 206 char Jid::PrepNodeAscii(char ch, bool* valid) { 208 switch (ch) { 213 return (char)(ch + ('a' - 'A')); 226 return ch; 239 unsigned char ch = *i; local 240 if (ch <= 0x7F) 299 char ch = *i; local 328 unsigned char ch = *i; local [all...] |
/libcore/luni/src/test/java/libcore/xml/ |
KxmlSerializerTest.java | 93 for (int ch = 0; ch <= 0xffff; ++ch) { 94 final String s = Character.toString((char) ch); 95 if (isValidXmlCodePoint(ch)) { 111 for (int ch = 0; ch <= 0xffff; ++ch) { 112 final String s = Character.toString((char) ch); 113 if (isValidXmlCodePoint(ch)) { [all...] |
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/ |
XMPUtilsImpl.java | 189 char ch = 0, nextChar = 0; local 199 ch = catedStr.charAt(itemStart); 200 charKind = classifyCharacter(ch); 217 ch = catedStr.charAt(itemEnd); 218 charKind = classifyCharacter(ch); 231 ch = catedStr.charAt(itemEnd + 1); 232 nextKind = classifyCharacter(ch); 253 char openQuote = ch; 261 ch = catedStr.charAt(itemEnd); 262 charKind = classifyCharacter(ch); 1031 char ch = item.charAt(i); local [all...] |
/external/aac/libAACenc/src/ |
qc_main.cpp | 300 INT n,i,ch; local 305 for (ch=0; ch<cm->elInfo[i].nChannelsInEl; ch++) { 306 phQC[n]->qcElement[i]->qcOutChannel[ch] = phQC[n]->pQcOutChannels[chInc]; 876 int estimatedPnsBits = 0, ch; local 913 INT ch, nChannels = elInfo.nChannelsInEl; local 963 INT ch, nChannels = elInfo.nChannelsInEl; local 1197 int ch; local 1481 INT ch ; local [all...] |
/external/chromium/third_party/libjingle/source/talk/base/ |
urlencode.cc | 102 bool IsValidUrlChar(char ch, bool unsafe_only) { 104 return !(ch <= ' ' || strchr("\\\"^&`<>[]{}", ch)); 106 return isalnum(ch) || strchr("-_.!~*'()", ch); 119 unsigned char ch = static_cast<unsigned char>(*source); local 122 } else if (IsValidUrlChar(ch, unsafe_only)) { 129 *dest++ = digits[(ch >> 4) & 0x0F]; 130 *dest++ = digits[ ch & 0x0F];
|
/external/chromium_org/third_party/libjingle/source/talk/base/ |
urlencode.cc | 102 bool IsValidUrlChar(char ch, bool unsafe_only) { 104 return !(ch <= ' ' || strchr("\\\"^&`<>[]{}", ch)); 106 return isalnum(ch) || strchr("-_.!~*'()", ch); 119 unsigned char ch = static_cast<unsigned char>(*source); local 122 } else if (IsValidUrlChar(ch, unsafe_only)) { 129 *dest++ = digits[(ch >> 4) & 0x0F]; 130 *dest++ = digits[ ch & 0x0F];
|
/external/grub/stage2/ |
fsys_ffs.c | 185 char *rest, ch; local 228 for (rest = dirname; (ch = *rest) && !isspace (ch) && ch != '/'; rest++); 247 *rest = ch; 261 *rest = ch; 270 if (dp->d_ino && print_possibilities && ch != '/' 281 || (print_possibilities && ch != '/'))); 286 *(dirname = rest) = ch;
|
fsys_ufs2.c | 209 char *rest, ch; local 253 for (rest = dirname; (ch = *rest) && !isspace (ch) && ch != '/'; rest++); 268 *rest = ch; 282 *rest = ch; 291 if (dp->d_ino && print_possibilities && ch != '/' 302 || (print_possibilities && ch != '/'))); 307 *(dirname = rest) = ch;
|
/external/icu4c/extra/scrptrun/ |
scrptrun.cpp | 83 int32_t ScriptRun::getPairIndex(UChar32 ch) 88 if (ch >= pairedChars[pairedCharExtra]) { 95 if (ch >= pairedChars[index + probe]) { 100 if (pairedChars[index] != ch) { 126 UChar32 ch = high; local 137 ch = (high - 0xD800) * 0x0400 + low - 0xDC00 + 0x10000; 142 UScriptCode sc = uscript_getScript(ch, &error); 143 int32_t pairIndex = getPairIndex(ch); 192 if (ch >= 0x10000) {
|
/libcore/luni/src/main/java/java/util/jar/ |
Attributes.java | 155 char ch = name.charAt(i); local 156 if (!((ch >= 'a' && ch <= 'z') || (ch >= 'A' && ch <= 'Z') 157 || ch == '_' || ch == '-' || (ch >= '0' && ch <= '9'))) {
|
/external/apache-xml/src/main/java/org/apache/xml/serializer/ |
Encodings.java | 166 char ch = s.charAt(i); local 168 if ('a' <= ch && ch <= 'z') { 170 ch = (char) (ch + ('A' - 'a')); 173 chars[i] = ch; 418 * @param ch the character to test 421 static boolean isHighUTF16Surrogate(char ch) { 422 return ('\uD800' <= ch && ch <= '\uDBFF') [all...] |