/external/jackson-core/src/test/java/com/fasterxml/jackson/core/read/ |
D | NextXxxAccessTest.java | 132 assertToken(JsonToken.START_OBJECT, p.currentToken()); in _testIsNextTokenName1() 135 assertToken(JsonToken.FIELD_NAME, p.currentToken()); in _testIsNextTokenName1() 139 assertToken(JsonToken.VALUE_NUMBER_INT, p.currentToken()); in _testIsNextTokenName1() 143 assertToken(JsonToken.FIELD_NAME, p.currentToken()); in _testIsNextTokenName1() 149 assertToken(JsonToken.FIELD_NAME, p.currentToken()); in _testIsNextTokenName1() 153 assertToken(JsonToken.VALUE_STRING, p.currentToken()); in _testIsNextTokenName1() 156 assertToken(JsonToken.END_OBJECT, p.currentToken()); in _testIsNextTokenName1() 160 assertNull(p.currentToken()); in _testIsNextTokenName1() 168 assertToken(JsonToken.FIELD_NAME, p.currentToken()); in _testIsNextTokenName1() 172 assertToken(JsonToken.VALUE_NUMBER_INT, p.currentToken()); in _testIsNextTokenName1() [all …]
|
/external/apache-velocity-engine/velocity-engine-core/src/main/java/org/apache/velocity/runtime/directive/ |
D | MacroParseException.java | 52 … public MacroParseException(final String msg, final String templateName, final Token currentToken) in MacroParseException() argument 55 this.currentToken = currentToken; in MacroParseException() 78 if ((currentToken != null) && (currentToken.next != null)) in getLineNumber() 80 return currentToken.next.beginLine; in getLineNumber() 82 else if (currentToken != null) in getLineNumber() 84 return currentToken.beginLine; in getLineNumber() 100 if ((currentToken != null) && (currentToken.next != null)) in getColumnNumber() 102 return currentToken.next.beginColumn; in getColumnNumber() 104 else if (currentToken != null) in getColumnNumber() 106 return currentToken.beginColumn; in getColumnNumber() [all …]
|
/external/chromium-trace/catapult/third_party/polymer/components/web-animations-js/src/ |
D | dimension-handler.js | 26 var currentToken; 30 currentToken = matchResult[0]; 32 currentToken = undefined; 38 var result = Number(currentToken); 45 if (currentToken !== '(') 49 if (currentToken !== ')') 58 while (currentToken === '*' || currentToken === '/') { 59 var operator = currentToken; 73 while (currentToken === '+' || currentToken === '-') { 74 var operator = currentToken;
|
/external/apache-velocity-engine/velocity-engine-core/src/main/java/org/apache/velocity/runtime/parser/ |
D | TemplateParseException.java | 128 if ((currentToken != null) && (currentToken.next != null)) in getLineNumber() 130 return currentToken.next.beginLine; in getLineNumber() 145 if ((currentToken != null) && (currentToken.next != null)) in getColumnNumber() 147 return currentToken.next.beginColumn; in getColumnNumber() 201 Token tok = currentToken.next; in getMessage()
|
D | ParseException.java | 63 currentToken = currentTokenVal; in ParseException() 109 public Token currentToken; field in ParseException 160 Token tok = currentToken.next; in getMessage() 170 …retval += "\" at line " + currentToken.next.beginLine + ", column " + currentToken.next.beginColum… in getMessage()
|
/external/apache-velocity-engine/velocity-engine-core/src/main/java/org/apache/velocity/exception/ |
D | ParseErrorException.java | 125 if (pex.currentToken != null && pex.currentToken.next != null) in ParseErrorException() 127 columnNumber = pex.currentToken.next.beginColumn; in ParseErrorException() 128 lineNumber = pex.currentToken.next.beginLine; in ParseErrorException() 160 if (pex2.currentToken != null && pex2.currentToken.next != null) in ParseErrorException() 162 columnNumber = pex2.currentToken.next.beginColumn; in ParseErrorException() 163 lineNumber = pex2.currentToken.next.beginLine; in ParseErrorException()
|
/external/jazzer-api/driver/src/main/java/com/code_intelligence/jazzer/driver/ |
D | Opt.java | 149 StringBuilder currentToken = new StringBuilder(); in splitOnUnescapedSeparator() local 154 currentToken.append(c); in splitOnUnescapedSeparator() 160 if (currentToken.length() > 0) { in splitOnUnescapedSeparator() 161 tokens.add(currentToken.toString()); in splitOnUnescapedSeparator() 163 currentToken.setLength(0); in splitOnUnescapedSeparator() 165 currentToken.append(c); in splitOnUnescapedSeparator() 168 if (currentToken.length() > 0) { in splitOnUnescapedSeparator() 169 tokens.add(currentToken.toString()); in splitOnUnescapedSeparator()
|
/external/smali/smalidea/src/main/java/org/jf/smalidea/ |
D | PsiBuilderTokenStream.java | 51 @Nullable private CommonToken currentToken = null; field in PsiBuilderTokenStream 60 if (currentToken == null) { in LT() 63 return currentToken; in LT() 69 return currentToken==null?0:1; in range() 98 currentToken = new CommonToken(elementType.tokenId, psiBuilder.getTokenText()); in buildCurrentToken() 100 currentToken = new InvalidToken("", psiBuilder.getTokenText()); in buildCurrentToken() 105 currentToken = new CommonToken(Token.EOF); in buildCurrentToken()
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/generated/com/github/javaparser/ |
D | ParseException.java | 47 currentToken = currentTokenVal; in ParseException() 77 public Token currentToken; field in ParseException 100 private static String initialise(Token currentToken, in initialise() argument 119 Token tok = currentToken.next; in initialise() 132 …retval += "\" at line " + currentToken.next.beginLine + ", column " + currentToken.next.beginColum… in initialise()
|
/external/protobuf/java/core/src/main/java/com/google/protobuf/ |
D | TextFormat.java | 919 private String currentToken; field in TextFormat.Tokenizer 992 return currentToken.length() == 0; in atEnd() 1014 currentToken = ""; in nextToken() 1018 currentToken = matcher.group(); in nextToken() 1022 currentToken = String.valueOf(text.charAt(pos)); in nextToken() 1043 if (currentToken.equals(token)) { in tryConsume() 1063 if (currentToken.length() == 0) { in lookingAtInteger() 1067 final char c = currentToken.charAt(0); in lookingAtInteger() 1073 return currentToken.equals(text); in lookingAt() 1081 for (int i = 0; i < currentToken.length(); i++) { in consumeIdentifier() [all …]
|
/external/cronet/third_party/protobuf/java/core/src/main/java/com/google/protobuf/ |
D | TextFormat.java | 919 private String currentToken; field in TextFormat.Tokenizer 992 return currentToken.length() == 0; in atEnd() 1014 currentToken = ""; in nextToken() 1018 currentToken = matcher.group(); in nextToken() 1022 currentToken = String.valueOf(text.charAt(pos)); in nextToken() 1043 if (currentToken.equals(token)) { in tryConsume() 1063 if (currentToken.length() == 0) { in lookingAtInteger() 1067 final char c = currentToken.charAt(0); in lookingAtInteger() 1073 return currentToken.equals(text); in lookingAt() 1081 for (int i = 0; i < currentToken.length(); i++) { in consumeIdentifier() [all …]
|
/external/jackson-core/src/test/java/com/fasterxml/jackson/core/json/ |
D | TestParserOverrides.java | 48 assertNull(jp.currentToken()); in _testTokenAccess() 50 assertNull(jp.currentToken()); in _testTokenAccess() 53 assertToken(JsonToken.START_ARRAY, jp.currentToken()); in _testTokenAccess() 55 assertNull(jp.currentToken()); in _testTokenAccess() 72 assertNull(jp.currentToken()); in _testCurrentName() 97 assertNull(jp.currentToken()); in _testCurrentName()
|
/external/apache-http/src/org/apache/http/message/ |
D | BasicTokenIterator.java | 75 protected String currentToken; field in BasicTokenIterator 102 return (this.currentToken != null); in hasNext() 117 if (this.currentToken == null) { in nextToken() 121 final String result = this.currentToken; in nextToken() 190 this.currentToken = null; in findNext() 195 this.currentToken = createToken(this.currentHeader, start, end); in findNext()
|
/external/antlr/runtime/ObjC/Framework/examples/lexertest-simple/ |
D | main.m | 12 id<Token> currentToken; 13 while ((currentToken = [[lexer nextToken] retain]) && currentToken.type != TokenTypeEOF) { 14 NSLog(@"%@", currentToken);
|
/external/antlr/runtime/ObjC/Framework/examples/combined/ |
D | main.m | 13 id<Token> currentToken; 14 while ((currentToken = [lexer nextToken]) && currentToken.type != TokenTypeEOF) { 15 NSLog(@"%@", currentToken);
|
/external/javaparser/javaparser-core/generated-sources/javacc/com/github/javaparser/ |
D | ParseException.java | 73 currentToken = currentTokenVal; in ParseException() 103 public Token currentToken; field in ParseException 126 private static String initialise(Token currentToken, in initialise() argument 150 Token tok = currentToken.next; in initialise() 167 ….append(EOL).append(INDENT).append("at line " + currentToken.next.beginLine + ", column " + curren… in initialise()
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-generated-sources/com/github/javaparser/ |
D | ParseException.java | 65 currentToken = currentTokenVal; in ParseException() 95 public Token currentToken; field in ParseException 118 private static String initialise(Token currentToken, in initialise() argument 142 Token tok = currentToken.next; in initialise() 159 ….append(EOL).append(INDENT).append("at line " + currentToken.next.beginLine + ", column " + curren… in initialise()
|
/external/apache-commons-bcel/src/examples/Mini/ |
D | ParseException.java | 51 currentToken = currentTokenVal; in ParseException() 88 public Token currentToken; field in ParseException 134 Token tok = currentToken.next; in getMessage() 146 …retval += "\" at line " + currentToken.next.beginLine + ", column " + currentToken.next.beginColum… in getMessage()
|
/external/antlr/runtime/ObjC/Framework/examples/fuzzy/ |
D | main.m | 16 id<Token> currentToken; 17 while ((currentToken = [lex nextToken]) && currentToken.type != TokenTypeEOF) { 18 NSLog(@"### %@", [currentToken toString]);
|
/external/antlr/runtime/ObjC/Framework/examples/hoistedPredicates/ |
D | main.m | 15 // Token *currentToken; 16 // while ((currentToken = [lexer nextToken]) && [currentToken type] != TokenTypeEOF) { 17 // NSLog(@"%@", currentToken);
|
/external/antlr/runtime/ObjC/Framework/examples/scopes/ |
D | main.m | 16 // CommonToken *currentToken; 17 // while ((currentToken = [lexer nextToken]) && currentToken.type != TokenTypeEOF) { 18 // NSLog(@"%@", currentToken);
|
/external/antlr/runtime/ObjC/Framework/examples/treerewrite/ |
D | main.m | 14 // id<Token> currentToken; 15 // while ((currentToken = [lexer nextToken]) && [currentToken type] != TokenTypeEOF) { 16 // NSLog(@"%@", currentToken);
|
/external/antlr/runtime/ObjC/Framework/examples/LL-star/ |
D | main.m | 16 // CommonToken *currentToken; 17 // while ((currentToken = [lexer nextToken]) && currentToken.type != TokenTypeEOF) { 18 // NSLog(@"%@", [currentToken toString]);
|
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/module/ |
D | TestTypeModifiers.java | 161 …if (jp.currentToken() != JsonToken.START_OBJECT) throw new IOException("Wrong token: "+jp.currentT… in deserialize() 162 … (jp.nextToken() != JsonToken.FIELD_NAME) throw new IOException("Wrong token: "+jp.currentToken()); in deserialize() 164 …extToken() != JsonToken.VALUE_NUMBER_INT) throw new IOException("Wrong token: "+jp.currentToken()); in deserialize() 166 … (jp.nextToken() != JsonToken.END_OBJECT) throw new IOException("Wrong token: "+jp.currentToken()); in deserialize() 184 …if (jp.currentToken() != JsonToken.START_ARRAY) throw new IOException("Wrong token: "+jp.currentTo… in deserialize() 185 …extToken() != JsonToken.VALUE_NUMBER_INT) throw new IOException("Wrong token: "+jp.currentToken()); in deserialize() 187 …f (jp.nextToken() != JsonToken.END_ARRAY) throw new IOException("Wrong token: "+jp.currentToken()); in deserialize()
|
/external/javassist/src/main/javassist/compiler/ |
D | Lex.java | 31 private Token currentToken; field in Lex 44 currentToken = new Token(); in Lex() 55 return get(currentToken); in get() 57 currentToken = t = lookAheadTokens; in get() 72 lookAheadTokens = tk = currentToken; // reuse an object! in lookAhead() 84 currentToken = tk; in lookAhead() 89 return currentToken.textValue; in getString() 93 return currentToken.longValue; in getLong() 97 return currentToken.doubleValue; in getDouble()
|