Home
last modified time | relevance | path

Searched refs:nextChar (Results 1 – 25 of 73) sorted by relevance

123

/external/antlr/runtime/C/src/
Dantlr3inputstream.c264 input->nextChar = input->data; /* Input at first character */ in antlr3InputReset()
321 if ((pANTLR3_UINT8)(input->nextChar) < (((pANTLR3_UINT8)input->data) + input->sizeBuf)) in antlr38BitConsume()
327 if ((ANTLR3_UCHAR)(*((pANTLR3_UINT8)input->nextChar)) == input->newlineChar) in antlr38BitConsume()
333 input->currentLine = (void *)(((pANTLR3_UINT8)input->nextChar) + 1); in antlr38BitConsume()
338 input->nextChar = (void *)(((pANTLR3_UINT8)input->nextChar) + 1); in antlr38BitConsume()
356 …if (( ((pANTLR3_UINT8)input->nextChar) + la - 1) >= (((pANTLR3_UINT8)input->data) + input->sizeBuf… in antlr38BitLA()
362 return (ANTLR3_UCHAR)(*((pANTLR3_UINT8)input->nextChar + la - 1)); in antlr38BitLA()
383 …if (( ((pANTLR3_UINT8)input->nextChar) + la - 1) >= (((pANTLR3_UINT8)input->data) + input->sizeBuf… in antlr38BitLA_ucase()
389 return (ANTLR3_UCHAR)toupper((*((pANTLR3_UINT8)input->nextChar + la - 1))); in antlr38BitLA_ucase()
422 return (ANTLR3_MARKER)(((pANTLR3_UINT8)input->nextChar)); in antlr38BitIndex()
[all …]
Dantlr3filestream.c164 if ( (ANTLR3_UINT8)(*((pANTLR3_UINT8)input->nextChar)) == 0xEF in setupInputStream()
165 && (ANTLR3_UINT8)(*((pANTLR3_UINT8)input->nextChar+1)) == 0xBB in setupInputStream()
166 && (ANTLR3_UINT8)(*((pANTLR3_UINT8)input->nextChar+2)) == 0xBF in setupInputStream()
171 input->nextChar = (void *)((pANTLR3_UINT8)input->nextChar + 3); in setupInputStream()
186 if ( (ANTLR3_UINT8)(*((pANTLR3_UINT8)input->nextChar)) == 0xFE in setupInputStream()
187 && (ANTLR3_UINT8)(*((pANTLR3_UINT8)input->nextChar+1)) == 0xFF in setupInputStream()
192 input->nextChar = (void *)((pANTLR3_UINT8)input->nextChar + 2); in setupInputStream()
196 else if ( (ANTLR3_UINT8)(*((pANTLR3_UINT8)input->nextChar)) == 0xFF in setupInputStream()
197 && (ANTLR3_UINT8)(*((pANTLR3_UINT8)input->nextChar+1)) == 0xFE in setupInputStream()
202 input->nextChar = (void *)((pANTLR3_UINT8)input->nextChar + 2); in setupInputStream()
[all …]
/external/apache-harmony/support/src/test/java/tests/support/
DSupport_Configuration.java223 int mode = NONE, unicode = 0, count = 0, nextChar; in load() local
227 while ((nextChar = in.read()) != -1) { in load()
229 int digit = Character.digit((char) nextChar, 16); in load()
238 if (nextChar != '\n') { in load()
244 switch (nextChar) { in load()
252 nextChar = '\b'; in load()
255 nextChar = '\f'; in load()
258 nextChar = '\n'; in load()
261 nextChar = '\r'; in load()
264 nextChar = '\t'; in load()
[all …]
/external/nist-sip/java/gov/nist/core/
DLexerCore.java185 char nextChar = getNextChar(); in peekNextToken() local
186 tok.tokenValue = String.valueOf(nextChar); in peekNextToken()
187 if (isAlpha(nextChar)) { in peekNextToken()
189 } else if (isDigit(nextChar)) { in peekNextToken()
192 tok.tokenType = (int) nextChar; in peekNextToken()
322 char nextChar = lookAhead(0); in startsId() local
323 return isTokenChar(nextChar); in startsId()
331 char nextChar = lookAhead(0); in startsSafeToken() local
332 if (isAlphaDigit(nextChar)) { in startsSafeToken()
336 switch (nextChar) { in startsSafeToken()
[all …]
/external/antlr/runtime/Cpp/include/
Dantlr3intstream.inl51 const ANTLR_UINT8* nextChar = input->get_nextChar(); local
55 if ( nextChar < ( data + sizeBuf ) )
61 if ((ANTLR_UCHAR)(*(nextChar)) == input->get_newlineChar() )
67 input->set_currentLine(nextChar + 1);
72 input->set_nextChar( nextChar + 1 );
80 const ANTLR_UINT8* nextChar = input->get_nextChar(); local
84 if (( nextChar + la - 1) >= (data + sizeBuf))
91 return (ANTLR_UCHAR)(*(nextChar + la - 1));
93 return (ANTLR_UCHAR)toupper(*(nextChar + la - 1));
207 ANTLR_MARKER nextChar = (ANTLR_MARKER) input->get_nextChar(); local
[all …]
Dantlr3input.hpp158 void set_nextChar( const DataType* nextChar );
309 void set_nextChar( const DataType* nextChar );
/external/icu/android_icu4j/src/main/java/android/icu/text/
DComposedCharIter.java109 if (nextChar == Normalizer.DONE) { in hasNext()
112 return nextChar != Normalizer.DONE; in hasNext()
125 if (nextChar == Normalizer.DONE) { in next()
128 curChar = nextChar; in next()
129 nextChar = Normalizer.DONE; in next()
168 nextChar=c; in findNextChar()
174 private int nextChar = Normalizer.DONE; field in ComposedCharIter
DCharsetRecog_mbcs.java60 for (iter.reset(); nextChar(iter, det);) { in match()
179 abstract boolean nextChar(iteratedChar it, CharsetDetector det); in nextChar() method in CharsetRecog_mbcs
202 boolean nextChar(iteratedChar it, CharsetDetector det) { in nextChar() method in CharsetRecog_mbcs.CharsetRecog_sjis
268 boolean nextChar(iteratedChar it, CharsetDetector det) { in nextChar() method in CharsetRecog_mbcs.CharsetRecog_big5
330 boolean nextChar(iteratedChar it, CharsetDetector det) { in nextChar() method in CharsetRecog_mbcs.CharsetRecog_euc
476 boolean nextChar(iteratedChar it, CharsetDetector det) { in nextChar() method in CharsetRecog_mbcs.CharsetRecog_gb_18030
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DComposedCharIter.java107 if (nextChar == Normalizer.DONE) { in hasNext()
110 return nextChar != Normalizer.DONE; in hasNext()
123 if (nextChar == Normalizer.DONE) { in next()
126 curChar = nextChar; in next()
127 nextChar = Normalizer.DONE; in next()
166 nextChar=c; in findNextChar()
172 private int nextChar = Normalizer.DONE; field in ComposedCharIter
DCharsetRecog_mbcs.java59 for (iter.reset(); nextChar(iter, det);) { in match()
178 abstract boolean nextChar(iteratedChar it, CharsetDetector det); in nextChar() method in CharsetRecog_mbcs
201 boolean nextChar(iteratedChar it, CharsetDetector det) { in nextChar() method in CharsetRecog_mbcs.CharsetRecog_sjis
267 boolean nextChar(iteratedChar it, CharsetDetector det) { in nextChar() method in CharsetRecog_mbcs.CharsetRecog_big5
329 boolean nextChar(iteratedChar it, CharsetDetector det) { in nextChar() method in CharsetRecog_mbcs.CharsetRecog_euc
475 boolean nextChar(iteratedChar it, CharsetDetector det) { in nextChar() method in CharsetRecog_mbcs.CharsetRecog_gb_18030
/external/libphonenumber/repackaged/libphonenumber/src/com/android/i18n/phonenumbers/
DAsYouTypeFormatter.java292 public String inputDigit(char nextChar) { in inputDigit() argument
293 currentOutput = inputDigitWithOptionToRememberPosition(nextChar, false); in inputDigit()
304 public String inputDigitAndRememberPosition(char nextChar) { in inputDigitAndRememberPosition() argument
305 currentOutput = inputDigitWithOptionToRememberPosition(nextChar, true); in inputDigitAndRememberPosition()
310 private String inputDigitWithOptionToRememberPosition(char nextChar, boolean rememberPosition) { in inputDigitWithOptionToRememberPosition() argument
311 accruedInput.append(nextChar); in inputDigitWithOptionToRememberPosition()
317 if (!isDigitOrLeadingPlusSign(nextChar)) { in inputDigitWithOptionToRememberPosition()
321 nextChar = normalizeAndAccrueDigitsAndPlusSign(nextChar, rememberPosition); in inputDigitWithOptionToRememberPosition()
366 String tempNationalNumber = inputDigitHelper(nextChar); in inputDigitWithOptionToRememberPosition()
416 private boolean isDigitOrLeadingPlusSign(char nextChar) { in isDigitOrLeadingPlusSign() argument
[all …]
/external/libphonenumber/libphonenumber/src/com/google/i18n/phonenumbers/
DAsYouTypeFormatter.java288 public String inputDigit(char nextChar) { in inputDigit() argument
289 currentOutput = inputDigitWithOptionToRememberPosition(nextChar, false); in inputDigit()
299 public String inputDigitAndRememberPosition(char nextChar) { in inputDigitAndRememberPosition() argument
300 currentOutput = inputDigitWithOptionToRememberPosition(nextChar, true); in inputDigitAndRememberPosition()
305 private String inputDigitWithOptionToRememberPosition(char nextChar, boolean rememberPosition) { in inputDigitWithOptionToRememberPosition() argument
306 accruedInput.append(nextChar); in inputDigitWithOptionToRememberPosition()
312 if (!isDigitOrLeadingPlusSign(nextChar)) { in inputDigitWithOptionToRememberPosition()
316 nextChar = normalizeAndAccrueDigitsAndPlusSign(nextChar, rememberPosition); in inputDigitWithOptionToRememberPosition()
361 String tempNationalNumber = inputDigitHelper(nextChar); in inputDigitWithOptionToRememberPosition()
411 private boolean isDigitOrLeadingPlusSign(char nextChar) { in isDigitOrLeadingPlusSign() argument
[all …]
/external/icu/icu4c/source/i18n/
Dcsrmbcs.h90 virtual UBool nextChar(IteratedChar *it, InputText *textIn) const = 0;
103 UBool nextChar(IteratedChar *it, InputText *det) const;
134 UBool nextChar(IteratedChar *it, InputText *det) const;
177 UBool nextChar(IteratedChar* it, InputText* det) const;
196 UBool nextChar(IteratedChar* it, InputText* det) const;
Dcsrmbcs.cpp157 while (nextChar(&iter, det)) { in match_mbcs()
244 UBool CharsetRecog_sjis::nextChar(IteratedChar* it, InputText* det) const { in nextChar() function in CharsetRecog_sjis
293 UBool CharsetRecog_euc::nextChar(IteratedChar* it, InputText* det) const { in nextChar() function in CharsetRecog_euc
406 UBool CharsetRecog_big5::nextChar(IteratedChar* it, InputText* det) const in nextChar() function in CharsetRecog_big5
458 UBool CharsetRecog_gb_18030::nextChar(IteratedChar* it, InputText* det) const { in nextChar() function in CharsetRecog_gb_18030
/external/emma/core/java12/com/vladium/util/args/
DOptsParser.java1047 nextChar (); in parse()
1238 nextChar (); in nextToken()
1245 nextChar (); in nextToken()
1252 nextChar (); in nextToken()
1259 nextChar (); in nextToken()
1266 nextChar (); in nextToken()
1273 nextChar (); in nextToken()
1280 nextChar (); in nextToken()
1287 nextChar (); in nextToken()
1296 nextChar (); in nextToken()
[all …]
/external/jdiff/src/jdiff/
DComments.java249 char nextChar = i < text.length()-1 ? text.charAt( i+1) : (char)-1; in convertAtLinks() local
267 if (Character.isWhitespace(nextChar)) continue; in convertAtLinks()
268 if (nextChar == '}') { in convertAtLinks()
271 } else if (!Character.isWhitespace(nextChar)) { in convertAtLinks()
293 if (nextChar == '}') { in convertAtLinks()
311 if (nextChar == '}') { in convertAtLinks()
321 if (nextChar == '}') { in convertAtLinks()
330 if (nextChar == '}') { in convertAtLinks()
/external/protobuf/csharp/src/Google.Protobuf/
DJsonTokenizer.cs690 private char? nextChar; field in Google.Protobuf.JsonTokenizer.JsonTextTokenizer.PushBackReader
698 if (nextChar != null) in Read()
700 char? tmp = nextChar; in Read()
701 nextChar = null; in Read()
720 if (nextChar != null) in PushBack()
724 nextChar = c; in PushBack()
/external/cldr/tools/java/org/unicode/cldr/util/
DTokenizer.java147 cp = nextChar(); in next()
172 cp = nextChar(); in next()
229 cp = nextChar(); in next()
251 private int nextChar() { in nextChar() method in Tokenizer
/external/icu/icu4c/source/tools/genrb/
Drle.c300 UBool nextChar = TRUE; in rleStringToByteArray() local
334 if (nextChar) { in rleStringToByteArray()
337 nextChar = FALSE; in rleStringToByteArray()
341 nextChar = TRUE; in rleStringToByteArray()
/external/antlr/runtime/C/include/
Dantlr3input.h89 void * nextChar; member
250 void * nextChar; member
/external/deqp/executor/
DxeContainerFormatParser.cpp167 int nextChar = getChar(m_elementLen); in advance() local
168 if (curChar == '\n' || (nextChar != (int)END_OF_BUFFER && nextChar != '\n')) in advance()
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/charsetdet/sbcs/
DNGramParser.java26 char nextChar(); in nextChar() method
139 while ((ch = client.nextChar()) != 0) { in parse()
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/
DXMPUtilsImpl.java189 char ch = 0, nextChar = 0; in separateArrayItems() local
280 nextChar = catedStr.charAt(itemEnd + 1); in separateArrayItems()
281 nextKind = classifyCharacter(nextChar); in separateArrayItems()
286 nextChar = 0x3B; in separateArrayItems()
289 if (ch == nextChar) in separateArrayItems()
/external/pdfium/fpdfsdk/
Dfpdfedittext.cpp263 uint32_t nextChar = in LoadSimpleFont() local
266 if (nextChar > kMaxSimpleFontChar || glyphIndex == 0) in LoadSimpleFont()
268 for (uint32_t i = currentChar + 1; i < nextChar; i++) in LoadSimpleFont()
270 currentChar = nextChar; in LoadSimpleFont()
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/charsetdet/mbcs/
DBIG5Tool.java129 while (nextChar(ichar)) { in processDir()
301 boolean nextChar(iteratedChar it) { in nextChar() method in BIG5Tool

123