Home
last modified time | relevance | path

Searched refs:lookahead (Results 1 – 25 of 157) sorted by relevance

1234567

/external/apache-xml/src/main/java/org/apache/xalan/templates/
DAVT.java196 String lookahead = null; // next token in AVT() local
201 if (lookahead != null) in AVT()
203 t = lookahead; in AVT()
204 lookahead = null; in AVT()
228 lookahead = tokenizer.nextToken(); in AVT()
230 if (lookahead.equals("{")) in AVT()
234 buffer.append(lookahead); in AVT()
236 lookahead = null; in AVT()
259 while (null != lookahead) in AVT()
261 if (lookahead.length() == 1) in AVT()
[all …]
/external/antlr/antlr-3.4/runtime/ObjC/Framework/
DANTLRUnbufferedCommonTreeNodeStream.m47 @synthesize lookahead;
68lookahead = [NSMutableArray arrayWithCapacity:INITIAL_LOOKAHEAD_BUFFER_SIZE]; // lookahead is fill…
69 [lookahead retain];
83 [lookahead release]; lookahead = nil;
99 [lookahead removeAllObjects];
103 [lookahead addObject:[NSNull null]];
118 return [lookahead objectAtIndex:(head+k-1) % [lookahead count]];
185 previousNode = [lookahead objectAtIndex:head];
186 head = (head+1) % [lookahead count];
238 head = tail = 0; // wack lookahead buffer and then refill
[all …]
DANTLRUnbufferedCommonTreeNodeStreamState.m35 lookahead = [[NSMutableArray alloc] init];
116 - (NSMutableArray *) lookahead
118 return lookahead;
123 if (lookahead != aLookahead) {
125 [lookahead release];
126 lookahead = aLookahead;
132 [[self lookahead] addObject: lookaheadObject];
136 [[self lookahead] removeObject: lookaheadObject];
DANTLRUnbufferedCommonTreeNodeStreamState.h39 NSMutableArray *lookahead; variable
60 - (NSMutableArray *) lookahead;
/external/zlib/src/
Ddeflate.c338 if (wrap == 2 || (wrap == 1 && s->status != INIT_STATE) || s->lookahead)
364 while (s->lookahead >= MIN_MATCH) {
366 n = s->lookahead - (MIN_MATCH-1);
376 s->lookahead = MIN_MATCH-1;
379 s->strstart += s->lookahead;
381 s->insert = s->lookahead;
382 s->lookahead = 0;
899 if (strm->avail_in != 0 || s->lookahead != 0 ||
933 if (s->lookahead == 0) {
1122 s->lookahead = 0;
[all …]
/external/pdfium/third_party/zlib_v128/
Ddeflate.c337 if (wrap == 2 || (wrap == 1 && s->status != INIT_STATE) || s->lookahead) in deflateSetDictionary()
363 while (s->lookahead >= MIN_MATCH) { in deflateSetDictionary()
365 n = s->lookahead - (MIN_MATCH-1); in deflateSetDictionary()
375 s->lookahead = MIN_MATCH-1; in deflateSetDictionary()
378 s->strstart += s->lookahead; in deflateSetDictionary()
380 s->insert = s->lookahead; in deflateSetDictionary()
381 s->lookahead = 0; in deflateSetDictionary()
898 if (strm->avail_in != 0 || s->lookahead != 0 || in deflate()
932 if (s->lookahead == 0) { in deflate()
1121 s->lookahead = 0; in lm_init()
[all …]
/external/opencv3/3rdparty/zlib/
Ddeflate.c338 if (wrap == 2 || (wrap == 1 && s->status != INIT_STATE) || s->lookahead)
364 while (s->lookahead >= MIN_MATCH) {
366 n = s->lookahead - (MIN_MATCH-1);
376 s->lookahead = MIN_MATCH-1;
379 s->strstart += s->lookahead;
381 s->insert = s->lookahead;
382 s->lookahead = 0;
899 if (strm->avail_in != 0 || s->lookahead != 0 ||
933 if (s->lookahead == 0) {
1122 s->lookahead = 0;
[all …]
/external/harfbuzz_ng/src/
Dhb-ot-layout-gsubgpos-private.hh904 const USHORT lookahead[], in match_lookahead() argument
913 skippy_iter.set_match_func (match_func, match_data, lookahead); in match_lookahead()
1563 const USHORT lookahead[], in chain_context_closure_lookup() argument
1575 lookaheadCount, lookahead, in chain_context_closure_lookup()
1587 const USHORT lookahead[], in chain_context_collect_glyphs_lookup() argument
1599 lookaheadCount, lookahead, in chain_context_collect_glyphs_lookup()
1611 const USHORT lookahead[] HB_UNUSED, in chain_context_would_apply_lookup()
1628 const USHORT lookahead[], in chain_context_apply_lookup() argument
1643 lookaheadCount, lookahead, in chain_context_apply_lookup()
1658 const ArrayOf<USHORT> &lookahead = StructAfter<ArrayOf<USHORT> > (input); in closure() local
[all …]
Dhb-ot-layout-gsub-table.hh913 const OffsetArrayOf<Coverage> &lookahead = StructAfter<OffsetArrayOf<Coverage> > (backtrack); in closure() local
922 count = lookahead.len; in closure()
924 if (!(this+lookahead[i]).intersects (c->glyphs)) in closure()
927 const ArrayOf<GlyphID> &substitute = StructAfter<ArrayOf<GlyphID> > (lookahead); in closure()
939 const OffsetArrayOf<Coverage> &lookahead = StructAfter<OffsetArrayOf<Coverage> > (backtrack); in collect_glyphs() local
949 count = lookahead.len; in collect_glyphs()
951 (this+lookahead[i]).add_coverage (c->after); in collect_glyphs()
953 const ArrayOf<GlyphID> &substitute = StructAfter<ArrayOf<GlyphID> > (lookahead); in collect_glyphs()
979 const OffsetArrayOf<Coverage> &lookahead = StructAfter<OffsetArrayOf<Coverage> > (backtrack); in apply() local
980 const ArrayOf<GlyphID> &substitute = StructAfter<ArrayOf<GlyphID> > (lookahead); in apply()
[all …]
/external/lzma/C/
D7zDec.c144 size_t lookahead = (1 << 18); in SzDecodeLzma() local
145 if (lookahead > inSize) in SzDecodeLzma()
146 lookahead = (size_t)inSize; in SzDecodeLzma()
147 res = inStream->Look((void *)inStream, (const void **)&inBuf, &lookahead); in SzDecodeLzma()
152 SizeT inProcessed = (SizeT)lookahead, dicPos = state.dicPos; in SzDecodeLzma()
155 lookahead -= inProcessed; in SzDecodeLzma()
161 if (state.dicBufSize != outSize || lookahead != 0 || in SzDecodeLzma()
194 size_t lookahead = (1 << 18); in SzDecodeLzma2() local
195 if (lookahead > inSize) in SzDecodeLzma2()
196 lookahead = (size_t)inSize; in SzDecodeLzma2()
[all …]
/external/webrtc/webrtc/modules/audio_processing/utility/
Ddelay_estimator.c419 self->lookahead = max_lookahead; in WebRtc_CreateBinaryDelayEstimator()
504 int lookahead = 0; in WebRtc_SoftResetBinaryDelayEstimator() local
506 lookahead = self->lookahead; in WebRtc_SoftResetBinaryDelayEstimator()
507 self->lookahead -= delay_shift; in WebRtc_SoftResetBinaryDelayEstimator()
508 if (self->lookahead < 0) { in WebRtc_SoftResetBinaryDelayEstimator()
509 self->lookahead = 0; in WebRtc_SoftResetBinaryDelayEstimator()
511 if (self->lookahead > self->near_history_size - 1) { in WebRtc_SoftResetBinaryDelayEstimator()
512 self->lookahead = self->near_history_size - 1; in WebRtc_SoftResetBinaryDelayEstimator()
514 return lookahead - self->lookahead; in WebRtc_SoftResetBinaryDelayEstimator()
538 binary_near_spectrum = self->binary_near_history[self->lookahead]; in WebRtc_ProcessBinarySpectrum()
Ddelay_estimator_wrapper.c353 int WebRtc_set_lookahead(void* handle, int lookahead) { in WebRtc_set_lookahead() argument
357 if ((lookahead > self->binary_handle->near_history_size - 1) || in WebRtc_set_lookahead()
358 (lookahead < 0)) { in WebRtc_set_lookahead()
361 self->binary_handle->lookahead = lookahead; in WebRtc_set_lookahead()
362 return self->binary_handle->lookahead; in WebRtc_set_lookahead()
369 return self->binary_handle->lookahead; in WebRtc_lookahead()
/external/selinux/sepolgen/src/sepolgen/
Dyacc.py188 lookahead = None # Current lookahead symbol
231 if not lookahead:
233 lookahead = get_token() # Get the next token
235 lookahead = lookaheadstack.pop()
236 if not lookahead:
237 lookahead = YaccSymbol()
238 lookahead.type = '$end'
240 … errorlead = ("%s . %s" % (" ".join([xx.type for xx in symstack][1:]), str(lookahead))).lstrip()
244 ltype = lookahead.type
259 symstack.append(lookahead)
[all …]
/external/apache-xml/src/main/java/org/apache/xml/utils/
DNamespaceSupport2.java392 private String lookahead=null; field in PrefixForUriEnumerator
406 if(lookahead!=null) in hasMoreElements()
414 lookahead=prefix; in hasMoreElements()
425 String tmp=lookahead; in nextElement()
426 lookahead=null; in nextElement()
/external/owasp/sanitizer/src/main/org/owasp/html/
DHtmlLexer.java222 private final LinkedList<HtmlToken> lookahead = Lists.newLinkedList(); field in HtmlLexer
224 if (!lookahead.isEmpty()) { in readToken()
225 return lookahead.remove(); in readToken()
234 while (lookahead.size() <= i && splitter.hasNext()) { in peekToken()
235 lookahead.add(splitter.next()); in peekToken()
237 return lookahead.size() > i ? lookahead.get(i) : null; in peekToken()
241 lookahead.addFirst(token); in pushbackToken()
DCssTokens.java458 char lookahead = pos + 1 < cssLimit ? css.charAt(pos + 1) : 0; in lex()
459 if (lookahead == '/' || lookahead == '*') { in lex()
519 char lookahead = pos + 1 < cssLimit ? css.charAt(pos + 1) : 0; in lex()
520 if (isDecimal(lookahead) in lex()
521 || (lookahead == '.' && pos + 2 < cssLimit in lex()
533 } else if (isIdentPart(lookahead)) { in lex()
574 char lookahead = pos + 1 < cssLimit ? css.charAt(pos + 1) : 0; in lex()
575 if (lookahead == '=') { in lex()
578 } else if (ch == '|' && lookahead == '|') { in lex()
/external/apache-xml/src/main/java/org/apache/xpath/compiler/
DXPathParser.java290 final boolean lookahead(char c, int n) in lookahead() method in XPathParser
397 private final boolean lookahead(String s, int n) in lookahead() method in XPathParser
404 String lookahead = (String) m_ops.m_tokenQueue.elementAt(m_queueMark + (n - 1)); in lookahead() local
406 isToken = (lookahead != null) ? lookahead.equals(s) : (s == null); in lookahead()
874 if (tokenIs('!') && lookahead('=', 1)) in EqualityExpr()
1444 else if (lookahead('(', 1) || (lookahead(':', 1) && lookahead('(', 3))) in PrimaryExpr()
1488 if (lookahead(':', 1)) in FunctionCall()
1762 if (lookahead("::", 1)) in Basis()
1833 if (lookahead('(', 1)) in NodeTest()
1871 if (lookahead(':', 1)) in NodeTest()
[all …]
/external/icu/icu4c/source/tools/genrb/
Dparse.cpp109 struct Lookahead lookahead[MAX_LOOKAHEAD + 1]; member
158 …state->lookahead[i].type = getNextToken(state->buffer, &state->lookahead[i].value, &state->lookahe… in initLookahead()
174 ustr_deinit(&state->lookahead[i].value); in cleanupLookahead()
175 ustr_deinit(&state->lookahead[i].comment); in cleanupLookahead()
186 result = state->lookahead[state->lookaheadPosition].type; in getToken()
190 *tokenValue = &state->lookahead[state->lookaheadPosition].value; in getToken()
195 *linenumber = state->lookahead[state->lookaheadPosition].line; in getToken()
200 ustr_cpy(comment, &(state->lookahead[state->lookaheadPosition].comment), status); in getToken()
205 ustr_setlen(&state->lookahead[i].comment, 0, status); in getToken()
206 ustr_setlen(&state->lookahead[i].value, 0, status); in getToken()
[all …]
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/A/Headers/
DANTLRUnbufferedCommonTreeNodeStreamState.h39 NSMutableArray *lookahead; variable
60 - (NSMutableArray *) lookahead;
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/Current/Headers/
DANTLRUnbufferedCommonTreeNodeStreamState.h39 NSMutableArray *lookahead; variable
60 - (NSMutableArray *) lookahead;
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Headers/
DANTLRUnbufferedCommonTreeNodeStreamState.h39 NSMutableArray *lookahead; variable
60 - (NSMutableArray *) lookahead;
/external/aac/libSBRenc/src/
Dtran_det.cpp809 h_sbrFastTransientDetector->lookahead = TRAN_DET_LOOKAHEAD; in FDKsbrEnc_InitSbrFastTransientDetector()
812 buff_size = h_sbrFastTransientDetector->nTimeSlots + h_sbrFastTransientDetector->lookahead; in FDKsbrEnc_InitSbrFastTransientDetector()
917 const int lookahead = h_sbrFastTransientDetector->lookahead; in FDKsbrEnc_fastTransientDetect() local
936 FDKmemclear(transientCandidates+lookahead, nTimeSlots*sizeof(int)); in FDKsbrEnc_fastTransientDetect()
938 for(timeSlot = lookahead; timeSlot < nTimeSlots + lookahead; timeSlot++) { in FDKsbrEnc_fastTransientDetect()
1010 FDK_ASSERT(lookahead >= 2); in FDKsbrEnc_fastTransientDetect()
1011 for(timeSlot = lookahead; timeSlot < nTimeSlots + lookahead; timeSlot++) { in FDKsbrEnc_fastTransientDetect()
1051 for(timeSlot = nTimeSlots; timeSlot < nTimeSlots + lookahead; timeSlot++) { in FDKsbrEnc_fastTransientDetect()
1058 for(timeSlot = 0; timeSlot < lookahead; timeSlot++) { in FDKsbrEnc_fastTransientDetect()
/external/bison/tests/
Dglr-regression.at565 ## Duplicated user destructor for lookahead. See ##
569 AT_SETUP([Duplicated user destructor for lookahead])
1059 ## Incorrect lookahead during deterministic GLR. See ##
1064 AT_SETUP([Incorrect lookahead during deterministic GLR])
1072 - Defaulted state after lookahead: yychar != YYEMPTY.
1074 - User action changing the lookahead. */
1185 ## Incorrect lookahead during nondeterministic GLR. ##
1188 AT_SETUP([Incorrect lookahead during nondeterministic GLR])
1194 - Conflicting actions (split-off parse, which copies lookahead need,
1197 - Merged deferred actions (lookahead need and RHS from different stack
[all …]
/external/icu/icu4c/source/common/
Druleiter.cpp74 c = lookahead(tempEscape, MAX_U_NOTATION_LEN).unescapeAt(offset); in next()
111 UnicodeString& RuleCharacterIterator::lookahead(UnicodeString& result, int32_t maxLookAhead) const { in lookahead() function in RuleCharacterIterator
/external/chromium-trace/catapult/tracing/third_party/jszip/
Djszip.min.js13lookahead&&(h=a.lookahead);do if(c=b,j[c+g]===o&&j[c+g-1]===n&&j[c]===j[f]&&j[++c]===j[f+1]){f+=2,…

1234567