Home
last modified time | relevance | path

Searched refs:lookAhead (Results 1 – 25 of 86) sorted by relevance

1234

/external/javassist/src/main/javassist/compiler/
DParser.java50 public boolean hasMore() { return lex.lookAhead() >= 0; } in hasMore()
68 if (lex.lookAhead() == Identifier && lex.lookAhead(1) == '(') { in parseMember1()
85 if (isConstructor || lex.lookAhead() == '(') in parseMember1()
99 if (lex.lookAhead() == '=') { in parseField()
132 if (lex.lookAhead() != ')') in parseMethod1()
135 int t = lex.lookAhead(); in parseMethod1()
148 if (lex.lookAhead() == THROWS) { in parseMethod1()
152 if (lex.lookAhead() == ',') in parseMethod1()
169 if (lex.lookAhead() == ';') in parseMethod2()
190 t = lex.lookAhead(); in parseMemberMods()
[all …]
/external/nist-sip/java/gov/nist/javax/sip/parser/
DURLParser.java116 char next = lexer.lookAhead(0); in unreserved()
130 char next = lexer.lookAhead(0); in paramNameOrValue()
158 char next = lexer.lookAhead(0); in uriParam()
195 char next = lexer.lookAhead(0); in reserved()
205 return lexer.lookAhead(0) == '%' && in isEscaped()
206 Lexer.isHexDigit(lexer.lookAhead(1)) && in isEscaped()
207 Lexer.isHexDigit(lexer.lookAhead(2)); in isEscaped()
218 char next = lexer.lookAhead(0); in escaped()
219 char next1 = lexer.lookAhead(1); in escaped()
220 char next2 = lexer.lookAhead(2); in escaped()
[all …]
DAcceptEncodingParser.java94 if (lexer.lookAhead(0) == '\n') { in parse()
98 while (lexer.lookAhead(0) != '\n') { in parse()
100 if (lexer.lookAhead(0) != ';') { in parse()
107 while (lexer.lookAhead(0) == ';') { in parse()
128 if (lexer.lookAhead(0) == ',') { in parse()
DViaParser.java93 while (lexer.lookAhead(0) == ';') { in parseVia()
111 if (lexer.lookAhead(0) == '(') { in parseVia()
116 char ch = lexer.lookAhead(0); in parseVia()
157 char la = lexer.lookAhead(0); in nameValue()
168 if (lexer.lookAhead(0) == '\"') { in nameValue()
213 if (this.lexer.lookAhead(0) == ',') { in parse()
217 if (this.lexer.lookAhead(0) == '\n') in parse()
DServerParser.java71 if (this.lexer.lookAhead(0) == '\n') in parse()
75 while (this.lexer.lookAhead(0) != '\n' in parse()
76 && this.lexer.lookAhead(0) != '\0') { in parse()
77 if (this.lexer.lookAhead(0) == '(') { in parse()
DAcceptLanguageParser.java91 while (lexer.lookAhead(0) != '\n') { in parse()
94 if (lexer.lookAhead(0) != ';') { in parse()
101 while (lexer.lookAhead(0) == ';') { in parse()
122 if (lexer.lookAhead(0) == ',') { in parse()
DInReplyToParser.java74 while (lexer.lookAhead(0) != '\n') { in parse()
80 if (lexer.lookAhead(0) == '@') { in parse()
94 while (lexer.lookAhead(0) == ',') { in parse()
102 if (lexer.lookAhead(0) == '@') { in parse()
DUserAgentParser.java78 if (this.lexer.lookAhead(0) == '\n') in parse()
86 while (this.lexer.lookAhead(0) != '\n' in parse()
87 && this.lexer.lookAhead(0) != '\0') { in parse()
89 if (this.lexer.lookAhead(0) == '(') { in parse()
DAddressParser.java53 if (this.lexer.lookAhead(0) == '<') { in nameAddr()
69 if (this.lexer.lookAhead(0) == '\"') { in nameAddr()
99 char la = lexer.lookAhead(k); in address()
110 char la = lexer.lookAhead(k); in address()
DWarningParser.java82 while (lexer.lookAhead(0) != '\n') { in parse()
103 if (lexer.lookAhead(0) == ':') { in parse()
122 while (lexer.lookAhead(0) == ',') { in parse()
147 if (lexer.lookAhead(0) == ':') { in parse()
DAlertInfoParser.java77 while (lexer.lookAhead(0) != '\n') { in parse()
85 if (this.lexer.lookAhead(0) == '<') { in parse()
104 if ( lexer.lookAhead(0) == ',' ) { in parse()
DContactParser.java60 if (lexer.lookAhead(0) == '*') { in parse()
61 final char next = lexer.lookAhead(1); in parse()
73 char la = lexer.lookAhead(0); in parse()
DTimeStampParser.java80 if (lexer.lookAhead(0) == '.') { in parse()
100 if (lexer.lookAhead(0) != '\n') { in parse()
105 if (lexer.lookAhead(0) == '.') { in parse()
DParametersParser.java54 while (lexer.lookAhead(0) == ';') { in parse()
76 if (lexer.lookAhead(0) != ';') break; in parseNameValueList()
DReasonParser.java73 while (lexer.lookAhead(0) != '\n') { in parse()
82 if (lexer.lookAhead(0) == ',') { in parse()
DChallengeParser.java96 while (lexer.lookAhead(0) != '\n') { in parse()
99 char la = lexer.lookAhead(0); in parse()
DErrorInfoParser.java74 while (lexer.lookAhead(0) != '\n') { in parse()
90 if ( lexer.lookAhead(0) == ',' ) { in parse()
DContentLanguageParser.java74 while (lexer.lookAhead(0) != '\n') { in parse()
83 while (lexer.lookAhead(0) == ',') { in parse()
DRequireParser.java75 while (lexer.lookAhead(0) != '\n') { in parse()
87 while (lexer.lookAhead(0) == ',') { in parse()
/external/nist-sip/java/gov/nist/core/
DLexerCore.java238 char next = lookAhead(0); in match()
262 char next = lookAhead(0); in match()
279 char c = lookAhead(0); in SPorHT()
282 c = lookAhead(0); in SPorHT()
322 char nextChar = lookAhead(0); in startsId()
331 char nextChar = lookAhead(0); in startsSafeToken()
376 char nextChar = lookAhead(0); in ttoken()
434 char nextChar = lookAhead(0); in ttokenSafe()
488 char nextChar = lookAhead(0); in consumeValidChars()
527 if (lookAhead(0) != '\"') in quotedString()
[all …]
DStringTokenizer.java130 public char lookAhead() throws ParseException { in lookAhead() method in StringTokenizer
131 return lookAhead(0); in lookAhead()
134 public char lookAhead(int k) throws ParseException { in lookAhead() method in StringTokenizer
177 char la = lookAhead(0); in getNextToken()
DHostNameParser.java105 char la = lexer.lookAhead(0); in ipv6Reference()
148 char la = lexer.lookAhead(0); in ipv6Reference()
178 if (lexer.lookAhead(0) == '[') { in host()
271 char la = lexer.lookAhead(0); in hostPort()
307 " Illegal character in hostname:" + lexer.lookAhead(0), in hostPort()
/external/nist-sip/java/gov/nist/javax/sip/parser/ims/
DSecurityAgreeParser.java104 char la = lexer.lookAhead(0); in parse()
117 while (lexer.lookAhead(0) != '\n') { in parse()
121 char laInLoop = lexer.lookAhead(0); in parse()
145 if (lexer.lookAhead(0) == ';') in parse()
DPVisitedNetworkIDParser.java96 if (this.lexer.lookAhead(0) == '\"') in parse()
104 char la = lexer.lookAhead(0); in parse()
130 if (this.lexer.lookAhead(0) != '\"') in parseQuotedString()
/external/javassist/src/main/javassist/bytecode/analysis/
DAnalyzer.java139 frames[iter.lookAhead()] = firstFrame(method, maxLocals, maxStack); in analyze()
194 mergeJsr(queue, frames[pos], subroutines[target], pos, lookAhead(iter, pos)); in analyzeNextEntry()
196 merge(queue, frame, lookAhead(iter, pos)); in analyzeNextEntry()
202 merge(queue, frame, lookAhead(iter, pos)); in analyzeNextEntry()
260 int next = iter.lookAhead(); in getNext()
267 private int lookAhead(CodeIterator iter, int pos) throws BadBytecode { in lookAhead() method in Analyzer
271 return iter.lookAhead(); in lookAhead()

1234