Home
last modified time | relevance | path

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

123

/external/javassist/src/main/javassist/compiler/
DParser.java27 public boolean hasMore() { return lex.lookAhead() >= 0; } in hasMore()
46 if (lex.lookAhead() == Identifier && lex.lookAhead(1) == '(') { in parseMember1()
63 if (isConstructor || lex.lookAhead() == '(') in parseMember1()
78 if (lex.lookAhead() == '=') { in parseField()
111 if (lex.lookAhead() != ')') in parseMethod1()
114 int t = lex.lookAhead(); in parseMethod1()
127 if (lex.lookAhead() == THROWS) { in parseMethod1()
131 if (lex.lookAhead() == ',') in parseMethod1()
148 if (lex.lookAhead() == ';') in parseMethod2()
169 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 …]
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()
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()
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()
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()
DAlertInfoParser.java77 while (lexer.lookAhead(0) != '\n') { in parse()
85 if (this.lexer.lookAhead(0) == '<') { in parse()
104 if ( 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()
/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 …]
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()
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()
/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.java140 frames[iter.lookAhead()] = firstFrame(method, maxLocals, maxStack); in analyze()
195 mergeJsr(queue, frames[pos], subroutines[target], pos, lookAhead(iter, pos)); in analyzeNextEntry()
197 merge(queue, frame, lookAhead(iter, pos)); in analyzeNextEntry()
203 merge(queue, frame, lookAhead(iter, pos)); in analyzeNextEntry()
261 int next = iter.lookAhead(); in getNext()
268 private int lookAhead(CodeIterator iter, int pos) throws BadBytecode { in lookAhead() method in Analyzer
272 return iter.lookAhead(); in lookAhead()
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
DCollationIterator.java713 int lookAhead = 1; in nextCE32FromContraction() local
738 sinceMatch < lookAhead)) { in nextCE32FromContraction()
748 lookAhead -= sinceMatch - 1; in nextCE32FromContraction()
753 d, suffixes, ce32, lookAhead, c); in nextCE32FromContraction()
765 ++lookAhead; in nextCE32FromContraction()
774 int lookAhead, int c) { in nextCE32FromDiscontiguousContraction() argument
800 ++lookAhead; in nextCE32FromDiscontiguousContraction()
817 if(lookAhead > 2) { in nextCE32FromDiscontiguousContraction()
819 backwardNumCodePoints(lookAhead); in nextCE32FromDiscontiguousContraction()
821 for(int i = 3; i < lookAhead; ++i) { in nextCE32FromDiscontiguousContraction()
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/
DCollationIterator.java715 int lookAhead = 1; in nextCE32FromContraction() local
740 sinceMatch < lookAhead)) { in nextCE32FromContraction()
750 lookAhead -= sinceMatch - 1; in nextCE32FromContraction()
755 d, suffixes, ce32, lookAhead, c); in nextCE32FromContraction()
767 ++lookAhead; in nextCE32FromContraction()
776 int lookAhead, int c) { in nextCE32FromDiscontiguousContraction() argument
802 ++lookAhead; in nextCE32FromDiscontiguousContraction()
819 if(lookAhead > 2) { in nextCE32FromDiscontiguousContraction()
821 backwardNumCodePoints(lookAhead); in nextCE32FromDiscontiguousContraction()
823 for(int i = 3; i < lookAhead; ++i) { in nextCE32FromDiscontiguousContraction()
/external/icu/icu4c/source/i18n/
Dcollationiterator.cpp497 int32_t lookAhead = 1; in nextCE32FromContraction() local
522 sinceMatch < lookAhead)) { in nextCE32FromContraction()
532 lookAhead -= sinceMatch - 1; in nextCE32FromContraction()
537 d, suffixes, ce32, lookAhead, c, errorCode); in nextCE32FromContraction()
549 ++lookAhead; in nextCE32FromContraction()
559 int32_t lookAhead, UChar32 c, in nextCE32FromDiscontiguousContraction() argument
588 ++lookAhead; in nextCE32FromDiscontiguousContraction()
609 if(lookAhead > 2) { in nextCE32FromDiscontiguousContraction()
611 backwardNumCodePoints(lookAhead, errorCode); in nextCE32FromDiscontiguousContraction()
613 for(int32_t i = 3; i < lookAhead; ++i) { in nextCE32FromDiscontiguousContraction()

123