Home
last modified time | relevance | path

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

1234

/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;
DANTLRUnbufferedCommonTreeNodeStream.h54 NSMutableArray *lookahead; variable
70 @property (retain, getter=getLookahead, setter=setLookahead:) 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;
897 if (strm->avail_in != 0 || s->lookahead != 0 ||
931 if (s->lookahead == 0) {
1120 s->lookahead = 0;
[all …]
/external/qemu/distrib/zlib-1.2.3/
Ddeflate.c786 if (strm->avail_in != 0 || s->lookahead != 0 ||
1002 s->lookahead = 0;
1070 if ((uInt)nice_match > s->lookahead) nice_match = s->lookahead;
1166 if ((uInt)best_len <= s->lookahead) return (uInt)best_len;
1167 return s->lookahead;
1225 return (uInt)len <= s->lookahead ? (uInt)len : s->lookahead;
1275 more = (unsigned)(s->window_size -(ulg)s->lookahead -(ulg)s->strstart);
1279 if (more == 0 && s->strstart == 0 && s->lookahead == 0) {
1342 n = read_buf(s->strm, s->window + s->strstart + s->lookahead, more);
1343 s->lookahead += n;
[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/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/Versions/A/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/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/icu4c/tools/genrb/
Dparse.c81 struct Lookahead lookahead[MAX_LOOKAHEAD + 1]; member
130 …state->lookahead[i].type = getNextToken(state->buffer, &state->lookahead[i].value, &state->lookahe… in initLookahead()
146 ustr_deinit(&state->lookahead[i].value); in cleanupLookahead()
147 ustr_deinit(&state->lookahead[i].comment); in cleanupLookahead()
158 result = state->lookahead[state->lookaheadPosition].type; in getToken()
162 *tokenValue = &state->lookahead[state->lookaheadPosition].value; in getToken()
167 *linenumber = state->lookahead[state->lookaheadPosition].line; in getToken()
172 ustr_cpy(comment, &(state->lookahead[state->lookaheadPosition].comment), status); in getToken()
177 ustr_setlen(&state->lookahead[i].comment, 0, status); in getToken()
178 ustr_setlen(&state->lookahead[i].value, 0, status); in getToken()
[all …]
/external/openfst/
Dconfigure.ac21 src/extensions/lookahead/Makefile
66 [lookahead-fsts],
68 [--enable-lookahead-fsts],
/external/webrtc/src/modules/audio_processing/utility/
Ddelay_estimator.c93 int lookahead) { in WebRtc_CreateBinaryDelayEstimator() argument
95 int history_size = max_delay + lookahead; in WebRtc_CreateBinaryDelayEstimator()
103 if (lookahead < 0) { in WebRtc_CreateBinaryDelayEstimator()
123 self->near_history_size = lookahead + 1; in WebRtc_CreateBinaryDelayEstimator()
Ddelay_estimator_wrapper.h51 int lookahead);
Ddelay_estimator.h55 int lookahead);
Ddelay_estimator_wrapper.c169 int lookahead) { in WebRtc_CreateDelayEstimator() argument
195 lookahead) != 0) { in WebRtc_CreateDelayEstimator()
/external/bison/tests/
Dglr-regression.at562 ## Duplicated user destructor for lookahead. See ##
566 AT_SETUP([Duplicated user destructor for lookahead])
1073 ## Incorrect lookahead during deterministic GLR. See ##
1078 AT_SETUP([Incorrect lookahead during deterministic GLR])
1085 - Defaulted state after lookahead: yychar != YYEMPTY.
1087 - User action changing the lookahead. */
1209 ## Incorrect lookahead during nondeterministic GLR. ##
1212 AT_SETUP([Incorrect lookahead during nondeterministic GLR])
1217 - Conflicting actions (split-off parse, which copies lookahead need,
1220 - Merged deferred actions (lookahead need and RHS from different stack
[all …]
/external/icu4c/common/
Druleiter.cpp73 c = lookahead(tempEscape, MAX_U_NOTATION_LEN).unescapeAt(offset); in next()
110 UnicodeString& RuleCharacterIterator::lookahead(UnicodeString& result, int32_t maxLookAhead) const { in lookahead() function in RuleCharacterIterator
Druleiter.h191 UnicodeString& lookahead(UnicodeString& result, int32_t maxLookAhead = -1) const;
/external/openfst/src/extensions/
DMakefile.am14 lookaheaddir = lookahead directory
/external/llvm/test/CodeGen/ARM/
D2011-06-29-MergeGlobalsAlign.ll8 @lookahead = internal unnamed_addr global i32 0, align 4
/external/harfbuzz/src/
Dharfbuzz-shaper.cpp708 hb_uint32 lookahead = i + 1; in HB_GetWordBoundaries() local
709 while (lookahead < stringLength) { in HB_GetWordBoundaries()
710 hb_uint32 testbrk = HB_GetWordClass(string[lookahead]); in HB_GetWordBoundaries()
711 … if (testbrk == HB_Word_Format && HB_GetSentenceClass(string[lookahead]) != HB_Sentence_Sep) { in HB_GetWordBoundaries()
712 ++lookahead; in HB_GetWordBoundaries()
717 while (i < lookahead) in HB_GetWordBoundaries()
777 hb_uint32 lookahead = i + 1; in HB_GetSentenceBoundaries() local
778 while (lookahead < stringLength) { in HB_GetSentenceBoundaries()
779 hb_uint32 sbrk = HB_GetSentenceClass(string[lookahead]); in HB_GetSentenceBoundaries()
786 ++lookahead; in HB_GetSentenceBoundaries()
[all …]
/external/antlr/antlr-3.4/runtime/Python/tests/
Dt019lexer.g41 * ever match since k=1 lookahead in the QID loop of '.' will make it loop.

1234