HomeSort by relevance Sort by last modified time
    Searched refs:lookahead (Results 1 - 25 of 149) sorted by null

1 2 3 4 5 6

  /external/bison/src/
ielr.h 43 symbol_number lookahead, state ***predecessors,
  /external/apache-xml/src/main/java/org/apache/xalan/templates/
AVT.java 196 String lookahead = null; // next token local
201 if (lookahead != null)
203 t = lookahead;
204 lookahead = null;
228 lookahead = tokenizer.nextToken();
230 if (lookahead.equals("{"))
234 buffer.append(lookahead);
236 lookahead = null;
242 else if(lookahead.equals("\"") || lookahead.equals("\'")
    [all...]
  /cts/tools/dasm/src/java_cup/
lalr_item.java 7 * a set of lookahead symbols (terminal). (The first two of these parts
16 * that B has already been parsed, and that we will expect to see a lookahead
20 * Items may initially be missing some items from their lookahead sets.
22 * to be updated if symbols are added to its lookahead set. During
23 * "lookahead propagation", we add symbols to various lookahead sets and
40 * @param look the set of lookahead symbols.
55 * @param look the set of lookahead symbols.
64 /** Constructor with default position and empty lookahead set.
76 /** The lookahead symbols of the item. *
80 public terminal_set lookahead() {return _lookahead;}; method in class:lalr_item
    [all...]
lalr_item_set.java 9 * (i.e., ignoring differences in their lookahead sets).<p>
112 /** Add a singleton item, merging lookahead sets if the item is already
126 /* if so, merge this lookahead into the original and leave it */
129 other.lookahead().add(itm.lookahead());
232 * differing lookahead sets are merged by creating a new item with the same
233 * core and the union of the lookahead sets (the LA in LALR stands for
234 * "lookahead merged" and this is where the merger is). This routine
265 /* create the lookahead set based on first after dot */
266 new_lookaheads = itm.calc_lookahead(itm.lookahead());
    [all...]
lalr_state.java 196 /** Propagate lookahead sets through the constructed viable prefix
198 in the creation of another such that its lookahead is included in the
200 to the lookahead of one item to be included in other items that it
236 * the beginning and EOF as expected lookahead). Then for each state
291 /* build item with dot at front of start production and EOF lookahead */
294 itm.lookahead().add(terminal.EOF);
407 /* propagate complete lookahead sets throughout the states */
415 /** Propagate lookahead sets out of this state. This recursively
470 /* if its completed (dot at end) then reduce under the lookahead */
475 /* consider each lookahead symbol *
    [all...]
  /external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Headers/
ANTLRUnbufferedCommonTreeNodeStreamState.h 39 NSMutableArray *lookahead; variable
60 - (NSMutableArray *) lookahead;
  /external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/A/Headers/
ANTLRUnbufferedCommonTreeNodeStreamState.h 39 NSMutableArray *lookahead; variable
60 - (NSMutableArray *) lookahead;
  /external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/Current/Headers/
ANTLRUnbufferedCommonTreeNodeStreamState.h 39 NSMutableArray *lookahead; variable
60 - (NSMutableArray *) lookahead;
  /external/antlr/antlr-3.4/runtime/ObjC/Framework/
ANTLRUnbufferedCommonTreeNodeStreamState.h 39 NSMutableArray *lookahead; variable
60 - (NSMutableArray *) lookahead;
  /external/opencv3/3rdparty/zlib/
deflate.c 338 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 ||
    [all...]
  /external/pdfium/third_party/zlib_v128/
deflate.c 337 if (wrap == 2 || (wrap == 1 && s->status != INIT_STATE) || s->lookahead)
363 while (s->lookahead >= MIN_MATCH) {
365 n = s->lookahead - (MIN_MATCH-1);
375 s->lookahead = MIN_MATCH-1;
378 s->strstart += s->lookahead;
380 s->insert = s->lookahead;
381 s->lookahead = 0;
898 if (strm->avail_in != 0 || s->lookahead != 0 ||
932 if (s->lookahead == 0) {
    [all...]
  /external/zlib/src/
deflate.c 338 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 ||
    [all...]
  /external/owasp/sanitizer/src/main/org/owasp/html/
HtmlLexer.java 222 private final LinkedList<HtmlToken> lookahead = Lists.newLinkedList(); field in class:HtmlLexer
224 if (!lookahead.isEmpty()) {
225 return lookahead.remove();
234 while (lookahead.size() <= i && splitter.hasNext()) {
235 lookahead.add(splitter.next());
237 return lookahead.size() > i ? lookahead.get(i) : null;
241 lookahead.addFirst(token);
  /external/icu/icu4c/source/common/
ruleiter.h 169 * options. This is useful in conjunction with the lookahead() method.
183 * sequence of calls is to call skipIgnored(), then call lookahead(), then
184 * parse the string returned by lookahead(), then call jumpahead() to
191 UnicodeString& lookahead(UnicodeString& result, int32_t maxLookAhead = -1) const;
195 * This is useful in conjunction with the lookahead() method.
ruleiter.cpp 74 c = lookahead(tempEscape, MAX_U_NOTATION_LEN).unescapeAt(offset);
111 UnicodeString& RuleCharacterIterator::lookahead(UnicodeString& result, int32_t maxLookAhead) const { function in class:RuleCharacterIterator
  /external/webrtc/webrtc/modules/audio_processing/utility/
delay_estimator_wrapper.h 89 // - max_lookahead : Maximum amount of non-causal lookahead allowed. The
90 // actual amount of lookahead used can be controlled by
91 // WebRtc_set_lookahead(...). The default |lookahead| is
96 // Using lookahead can detect cases in which a near-end
102 // A value of zero is the typical no-lookahead case.
107 // [-|lookahead|,... ,|history_size|-|lookahead|)
149 // Sets the amount of |lookahead| to use. Valid values are [0, max_lookahead]
155 // - lookahead : The amount of lookahead to be used
    [all...]
delay_estimator_wrapper.c 353 int WebRtc_set_lookahead(void* handle, int lookahead) {
357 if ((lookahead > self->binary_handle->near_history_size - 1) ||
358 (lookahead < 0)) {
361 self->binary_handle->lookahead = lookahead;
362 return self->binary_handle->lookahead;
369 return self->binary_handle->lookahead;
delay_estimator.c 419 self->lookahead = max_lookahead;
504 int lookahead = 0; local
506 lookahead = self->lookahead;
507 self->lookahead -= delay_shift;
508 if (self->lookahead < 0) {
509 self->lookahead = 0;
511 if (self->lookahead > self->near_history_size - 1) {
512 self->lookahead = self->near_history_size - 1;
514 return lookahead - self->lookahead
    [all...]
delay_estimator.h 57 // For dynamically changing the lookahead when using SoftReset...().
58 int lookahead; member in struct:__anon26591
198 // the lookahead (i.e. the lookahead should be subtracted from the returned
  /external/lzma/C/
7zDec.c 144 size_t lookahead = (1 << 18); local
145 if (lookahead > inSize)
146 lookahead = (size_t)inSize;
147 res = inStream->Look((void *)inStream, (const void **)&inBuf, &lookahead);
152 SizeT inProcessed = (SizeT)lookahead, dicPos = state.dicPos;
155 lookahead -= inProcessed;
161 if (state.dicBufSize != outSize || lookahead != 0 ||
194 size_t lookahead = (1 << 18); local
195 if (lookahead > inSize)
196 lookahead = (size_t)inSize;
    [all...]
  /external/apache-xml/src/main/java/org/apache/xml/utils/
NamespaceSupport2.java 392 private String lookahead=null; field in class:PrefixForUriEnumerator
406 if(lookahead!=null)
414 lookahead=prefix;
425 String tmp=lookahead;
426 lookahead=null;
  /external/harfbuzz_ng/src/
hb-ot-layout-gsubgpos-private.hh 904 const USHORT lookahead[],
913 skippy_iter.set_match_func (match_func, match_data, lookahead);
1658 const ArrayOf<USHORT> &lookahead = StructAfter<ArrayOf<USHORT> > (input); local
1672 const ArrayOf<USHORT> &lookahead = StructAfter<ArrayOf<USHORT> > (input); local
1686 const ArrayOf<USHORT> &lookahead = StructAfter<ArrayOf<USHORT> > (input); local
1699 const ArrayOf<USHORT> &lookahead = StructAfter<ArrayOf<USHORT> > (input); local
1714 const ArrayOf<USHORT> &lookahead = StructAfter<ArrayOf<USHORT> > (input); local
2013 const OffsetArrayOf<Coverage> &lookahead = StructAfter<OffsetArrayOf<Coverage> > (input); local
2034 const OffsetArrayOf<Coverage> &lookahead = StructAfter<OffsetArrayOf<Coverage> > (input); local
2053 const OffsetArrayOf<Coverage> &lookahead = StructAfter<OffsetArrayOf<Coverage> > (input); local
2080 const OffsetArrayOf<Coverage> &lookahead = StructAfter<OffsetArrayOf<Coverage> > (input); local
2100 const OffsetArrayOf<Coverage> &lookahead = StructAfter<OffsetArrayOf<Coverage> > (input); local
    [all...]
  /cts/tools/dasm/src/java_cup/runtime/
lr_parser.java 20 * (using the current state and the current lookahead token as indexes) to
26 * table is consulted (using the new state and current lookahead token as
236 /** The current lookahead token. */
355 * @param cur_token the current lookahead token.
367 * @param cur_token the current lookahead token.
745 * found, then we fail. Next a small number of "lookahead" or "parse
751 * to "parse ahead" though the buffered lookahead tokens. The "parse ahead"
775 /* read ahead to create lookahead we can parse multiple times */
789 if (lookahead[0].sym == EOF_sym())
804 /* do the real parse (including actions) across the lookahead */
877 protected token lookahead[]; field in class:lr_parser
    [all...]
  /external/selinux/sepolgen/src/sepolgen/
yacc.py 188 lookahead = None # Current lookahead symbol
189 lookaheadstack = [ ] # Stack of lookahead symbols
226 # Get the next symbol on the input. If a 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
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/sepolgen/
yacc.py 188 lookahead = None # Current lookahead symbol
189 lookaheadstack = [ ] # Stack of lookahead symbols
226 # Get the next symbol on the input. If a 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
    [all...]

Completed in 993 milliseconds

1 2 3 4 5 6