/cts/tools/dasm/src/dasm/ |
Scanner.java | 81 protected int nextChar; 111 nextChar = 0; 113 if (nextChar == -1) throw new DasmError("empty source file"); 134 nextChar = inputReader.read(); 135 switch (nextChar) { 141 nextChar = '\n'; 148 line.append((char) nextChar); 160 if (nextChar != ';') { 163 } while (isWhitespace(nextChar)); 164 if (nextChar != ';') return [all...] |
/external/chromium_org/third_party/simplejson/ |
scanner.py | 34 nextchar = string[idx] 38 if nextchar == '"': 40 elif nextchar == '{': 43 elif nextchar == '[': 45 elif nextchar == 'n' and string[idx:idx + 4] == 'null': 47 elif nextchar == 't' and string[idx:idx + 4] == 'true': 49 elif nextchar == 'f' and string[idx:idx + 5] == 'false': 60 elif nextchar == 'N' and string[idx:idx + 3] == 'NaN': 62 elif nextchar == 'I' and string[idx:idx + 8] == 'Infinity': 64 elif nextchar == '-' and string[idx:idx + 9] == '-Infinity' [all...] |
decoder.py | 190 nextchar = s[end:end + 1] 191 # Normally we expect nextchar == '"' 192 if nextchar != '"': 193 if nextchar in _ws: 195 nextchar = s[end:end + 1] 197 if nextchar == '}': 205 elif nextchar != '"': 238 nextchar = s[end] 239 if nextchar in _ws: 241 nextchar = s[end [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/json/ |
scanner.py | 30 nextchar = string[idx] 34 if nextchar == '"': 36 elif nextchar == '{': 39 elif nextchar == '[': 41 elif nextchar == 'n' and string[idx:idx + 4] == 'null': 43 elif nextchar == 't' and string[idx:idx + 4] == 'true': 45 elif nextchar == 'f' and string[idx:idx + 5] == 'false': 56 elif nextchar == 'N' and string[idx:idx + 3] == 'NaN': 58 elif nextchar == 'I' and string[idx:idx + 8] == 'Infinity': 60 elif nextchar == '-' and string[idx:idx + 9] == '-Infinity' [all...] |
decoder.py | 156 nextchar = s[end:end + 1] 157 # Normally we expect nextchar == '"' 158 if nextchar != '"': 159 if nextchar in _ws: 161 nextchar = s[end:end + 1] 163 if nextchar == '}': 171 elif nextchar != '"': 201 nextchar = s[end] 202 if nextchar in _ws: 204 nextchar = s[end [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/json/ |
scanner.py | 30 nextchar = string[idx] 34 if nextchar == '"': 36 elif nextchar == '{': 39 elif nextchar == '[': 41 elif nextchar == 'n' and string[idx:idx + 4] == 'null': 43 elif nextchar == 't' and string[idx:idx + 4] == 'true': 45 elif nextchar == 'f' and string[idx:idx + 5] == 'false': 56 elif nextchar == 'N' and string[idx:idx + 3] == 'NaN': 58 elif nextchar == 'I' and string[idx:idx + 8] == 'Infinity': 60 elif nextchar == '-' and string[idx:idx + 9] == '-Infinity' [all...] |
decoder.py | 156 nextchar = s[end:end + 1] 157 # Normally we expect nextchar == '"' 158 if nextchar != '"': 159 if nextchar in _ws: 161 nextchar = s[end:end + 1] 163 if nextchar == '}': 171 elif nextchar != '"': 201 nextchar = s[end] 202 if nextchar in _ws: 204 nextchar = s[end [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
shlex.py | 124 nextchar = self.instream.read(1) 125 if nextchar == '\n': 129 "I see character:", repr(nextchar) 134 if not nextchar: 137 elif nextchar in self.whitespace: 144 elif nextchar in self.commenters: 147 elif self.posix and nextchar in self.escape: 149 self.state = nextchar 150 elif nextchar in self.wordchars: 151 self.token = nextchar [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
shlex.py | 124 nextchar = self.instream.read(1) 125 if nextchar == '\n': 129 "I see character:", repr(nextchar) 134 if not nextchar: 137 elif nextchar in self.whitespace: 144 elif nextchar in self.commenters: 147 elif self.posix and nextchar in self.escape: 149 self.state = nextchar 150 elif nextchar in self.wordchars: 151 self.token = nextchar [all...] |
/external/antlr/antlr-3.4/runtime/C/src/ |
antlr3inputstream.c | 264 input->nextChar = input->data; /* Input at first character */ 321 if ((pANTLR3_UINT8)(input->nextChar) < (((pANTLR3_UINT8)input->data) + input->sizeBuf)) 327 if ((ANTLR3_UCHAR)(*((pANTLR3_UINT8)input->nextChar)) == input->newlineChar) 333 input->currentLine = (void *)(((pANTLR3_UINT8)input->nextChar) + 1); 338 input->nextChar = (void *)(((pANTLR3_UINT8)input->nextChar) + 1); 356 if (( ((pANTLR3_UINT8)input->nextChar) + la - 1) >= (((pANTLR3_UINT8)input->data) + input->sizeBuf)) 362 return (ANTLR3_UCHAR)(*((pANTLR3_UINT8)input->nextChar + la - 1)); 383 if (( ((pANTLR3_UINT8)input->nextChar) + la - 1) >= (((pANTLR3_UINT8)input->data) + input->sizeBuf)) 389 return (ANTLR3_UCHAR)toupper((*((pANTLR3_UINT8)input->nextChar + la - 1))) [all...] |
antlr3filestream.c | 164 if ( (ANTLR3_UINT8)(*((pANTLR3_UINT8)input->nextChar)) == 0xEF 165 && (ANTLR3_UINT8)(*((pANTLR3_UINT8)input->nextChar+1)) == 0xBB 166 && (ANTLR3_UINT8)(*((pANTLR3_UINT8)input->nextChar+2)) == 0xBF 171 input->nextChar = (void *)((pANTLR3_UINT8)input->nextChar + 3); 186 if ( (ANTLR3_UINT8)(*((pANTLR3_UINT8)input->nextChar)) == 0xFE 187 && (ANTLR3_UINT8)(*((pANTLR3_UINT8)input->nextChar+1)) == 0xFF 192 input->nextChar = (void *)((pANTLR3_UINT8)input->nextChar + 2); 196 else if ( (ANTLR3_UINT8)(*((pANTLR3_UINT8)input->nextChar)) == 0xF [all...] |
/external/apache-harmony/support/src/test/java/tests/support/ |
Support_Configuration.java | 223 int mode = NONE, unicode = 0, count = 0, nextChar; 227 while ((nextChar = in.read()) != -1) { 229 int digit = Character.digit((char) nextChar, 16); 238 if (nextChar != '\n') { 244 switch (nextChar) { 252 nextChar = '\b'; 255 nextChar = '\f'; 258 nextChar = '\n'; 261 nextChar = '\r'; 264 nextChar = '\t' [all...] |
/frameworks/base/core/java/android/os/ |
PatternMatcher.java | 125 char nextChar = pattern.charAt(0); 127 char c = nextChar; 129 nextChar = ip < NP ? pattern.charAt(ip) : 0; 132 c = nextChar; 134 nextChar = ip < NP ? pattern.charAt(ip) : 0; 136 if (nextChar == '*') { 144 nextChar = pattern.charAt(ip); 147 if (nextChar == '\\') { 149 nextChar = ip < NP ? pattern.charAt(ip) : 0; 152 if (match.charAt(im) == nextChar) { [all...] |
/libcore/support/src/test/java/tests/support/ |
Support_Configuration.java | 306 int mode = NONE, unicode = 0, count = 0, nextChar; 310 while ((nextChar = in.read()) != -1) { 312 int digit = Character.digit((char) nextChar, 16); 321 if (nextChar != '\n') { 327 switch (nextChar) { 335 nextChar = '\b'; 338 nextChar = '\f'; 341 nextChar = '\n'; 344 nextChar = '\r'; 347 nextChar = '\t' [all...] |
/ndk/sources/host-tools/make-3.81/ |
getopt.c | 140 static char *nextchar; variable 394 nextchar = NULL; 459 updating `optind' and `nextchar' so that the next call to `getopt' can 531 if (nextchar == NULL || *nextchar == '\0') 604 nextchar = (argv[optind] + 1 635 for (nameend = nextchar; *nameend && *nameend != '='; nameend++) 641 if (!strncmp (p->name, nextchar, nameend - nextchar)) 643 if ((unsigned int) (nameend - nextchar) [all...] |
/external/chromium_org/base/json/ |
json_parser.cc | 242 if (!CanConsume(1) || (NextChar() && GetNextToken() != T_END_OF_INPUT)) { 343 const char* JSONParser::NextChar() { 411 NextChar(); 427 char next_char = *NextChar(); 431 char next_char = *NextChar(); 439 next_char = *NextChar(); 444 NextChar(); 494 NextChar(); 509 NextChar(); 517 NextChar(); [all...] |
/external/libphonenumber/java/src/com/android/i18n/phonenumbers/ |
AsYouTypeFormatter.java | 290 * @param nextChar the most recently entered digit of a phone number. Formatting characters are 296 public String inputDigit(char nextChar) { 297 currentOutput = inputDigitWithOptionToRememberPosition(nextChar, false); 302 * Same as {@link #inputDigit}, but remembers the position where {@code nextChar} is inserted, so 305 * inserted/removed in front of {@code nextChar}. 307 public String inputDigitAndRememberPosition(char nextChar) { 308 currentOutput = inputDigitWithOptionToRememberPosition(nextChar, true); 313 private String inputDigitWithOptionToRememberPosition(char nextChar, boolean rememberPosition) { 314 accruedInput.append(nextChar); 320 if (!isDigitOrLeadingPlusSign(nextChar)) { [all...] |
/external/nist-sip/java/gov/nist/core/ |
LexerCore.java | 185 char nextChar = getNextChar(); 186 tok.tokenValue = String.valueOf(nextChar); 187 if (isAlpha(nextChar)) { 189 } else if (isDigit(nextChar)) { 192 tok.tokenType = (int) nextChar; 322 char nextChar = lookAhead(0); 323 return isTokenChar(nextChar); 331 char nextChar = lookAhead(0); 332 if (isAlphaDigit(nextChar)) { 336 switch (nextChar) { 727 char nextchar = lookAhead(0); local [all...] |
/external/chromium_org/third_party/icu/source/i18n/ |
csrmbcs.h | 21 // by providing a nextChar() function that fills in an instance of IteratedChar 88 virtual UBool nextChar(IteratedChar *it, InputText *textIn) = 0; 101 UBool nextChar(IteratedChar *it, InputText *det); 132 UBool nextChar(IteratedChar *it, InputText *det); 175 UBool nextChar(IteratedChar* it, InputText* det); 194 UBool nextChar(IteratedChar* it, InputText* det);
|
/external/icu/icu4c/source/i18n/ |
csrmbcs.h | 21 // by providing a nextChar() function that fills in an instance of IteratedChar 88 virtual UBool nextChar(IteratedChar *it, InputText *textIn) const = 0; 101 UBool nextChar(IteratedChar *it, InputText *det) const; 132 UBool nextChar(IteratedChar *it, InputText *det) const; 175 UBool nextChar(IteratedChar* it, InputText* det) const; 194 UBool nextChar(IteratedChar* it, InputText* det) const;
|
/external/chromium_org/chrome/browser/ui/app_list/search/ |
tokenized_string_char_iterator_unittest.cc | 34 ASSERT_FALSE(iter->NextChar()); 48 iter.NextChar(); 77 if (iter.NextChar())
|
/external/chromium_org/components/policy/core/common/ |
preg_parser_win.cc | 54 int NextChar(const uint8** cursor, const uint8* end) { 95 while ((current = NextChar(cursor, end)) > 0x0000) 253 if (NextChar(&cursor, end) != kDelimBracketOpen) 266 int current = NextChar(&cursor, end); 270 current = NextChar(&cursor, end); 276 current = NextChar(&cursor, end); 282 current = NextChar(&cursor, end); 291 current = NextChar(&cursor, end);
|
/external/chromium_org/third_party/skia/animations/ |
text#1.xml | 40 <post target="nextChar" /> 48 <event kind="user" id="nextChar" >
|
/libcore/luni/src/main/java/java/util/ |
Properties.java | 282 char nextChar, buf[] = new char[40]; 293 nextChar = (char) intVal; 301 int digit = Character.digit(nextChar, 16); 312 if (nextChar != '\n') { 318 switch (nextChar) { 326 nextChar = '\b'; 329 nextChar = '\f'; 332 nextChar = '\n'; 335 nextChar = '\r'; 338 nextChar = '\t' [all...] |
/frameworks/base/core/java/com/google/android/util/ |
AbstractMessageParser.java | 70 private int nextChar; 102 this.nextChar = 0; 146 while (nextChar < text.length()) { 147 if (!isWordBreak(nextChar)) { 148 if (!wasSmiley || !isSmileyBreak(nextChar)) { 259 nextChar = text.length(); 268 int start = nextChar; 270 char ch = text.charAt(nextChar++); 280 } while (!isWordBreak(nextChar)); 282 addToken(new Html(text.substring(start, nextChar), buf.toString())) [all...] |