/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...] |
/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...] |
/external/marisa-trie/tools/ |
cmdopt.c | 20 h->nextchar = NULL; 27 h->nextchar = NULL; 50 if (*h->nextchar == '\0') { 52 h->nextchar = h->argv[h->optind]; 57 h->optarg = h->nextchar; 69 h->optopt = *h->nextchar++; 130 len = cmdopt_match_len(h->longopts[i].name, h->nextchar); 133 h->nextchar -= len; 146 h->nextchar += max; 152 if (*h->nextchar == '=') [all...] |
cmdopt.h | 38 char *nextchar; // Next character. member in struct:cmdopt_t_
|
/external/marisa-trie/v0_1_5/tools/ |
cmdopt.c | 20 h->nextchar = NULL; 27 h->nextchar = NULL; 50 if (*h->nextchar == '\0') { 52 h->nextchar = h->argv[h->optind]; 57 h->optarg = h->nextchar; 69 h->optopt = *h->nextchar++; 130 len = cmdopt_match_len(h->longopts[i].name, h->nextchar); 133 h->nextchar -= len; 146 h->nextchar += max; 152 if (*h->nextchar == '=') [all...] |
cmdopt.h | 38 char *nextchar; // Next character. member in struct:cmdopt_t_
|
/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...] |
/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/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
ComposedCharIter.java | 105 if (nextChar == Normalizer.DONE) { 108 return nextChar != Normalizer.DONE; 121 if (nextChar == Normalizer.DONE) { 124 curChar = nextChar; 125 nextChar = Normalizer.DONE; 164 nextChar=c; 170 private int nextChar = Normalizer.DONE;
|
/external/libphonenumber/libphonenumber/src/com/google/i18n/phonenumbers/ |
AsYouTypeFormatter.java | 291 * @param nextChar the most recently entered digit of a phone number. Formatting characters are 297 public String inputDigit(char nextChar) { 298 currentOutput = inputDigitWithOptionToRememberPosition(nextChar, false); 303 * Same as {@link #inputDigit}, but remembers the position where {@code nextChar} is inserted, so 306 * inserted/removed in front of {@code nextChar}. 308 public String inputDigitAndRememberPosition(char nextChar) { 309 currentOutput = inputDigitWithOptionToRememberPosition(nextChar, true); 314 private String inputDigitWithOptionToRememberPosition(char nextChar, boolean rememberPosition) { 315 accruedInput.append(nextChar); 321 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/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/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...] |
/external/jmonkeyengine/engine/src/core/com/jme3/font/ |
BitmapFont.java | 137 public float getCharacterAdvance(char curChar, char nextChar, float size){
143 advance += c.getKerning(nextChar) * size;
147 private int findKerningAmount(int newLineLastChar, int nextChar) {
151 return c.getKerning(nextChar);
190 // kerningAmount(nextChar)
|
/external/llvm/lib/TableGen/ |
TGLexer.cpp | 138 int NextChar = 0; 145 NextChar = peekNextChar(i++); 146 } while (isdigit(NextChar)); 148 if (NextChar == 'x' || NextChar == 'b') { 156 if (NextChar == 'b') 163 if (NextChar == 'x') 170 if (isalpha(NextChar) || NextChar == '_')
|
/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...] |