Home
last modified time | relevance | path

Searched refs:stopIndex (Results 1 – 25 of 66) sorted by relevance

123

/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/
DCommonTree.cs57 protected int stopIndex = -1; field in Antlr.Runtime.Tree.CommonTree
77 this.stopIndex = node.stopIndex; in CommonTree()
210 if ( stopIndex == -1 && Token != null )
214 return stopIndex;
219 stopIndex = value;
255 if ( startIndex < 0 || stopIndex < 0 ) in SetUnknownTokenBoundaries()
256 startIndex = stopIndex = Token.TokenIndex; in SetUnknownTokenBoundaries()
270 if ( startIndex >= 0 && stopIndex >= 0 ) in SetUnknownTokenBoundaries()
278 stopIndex = lastChild.TokenStopIndex; in SetUnknownTokenBoundaries()
/external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Tree/
DCommonTree.cs57 protected int stopIndex = -1; field in Antlr.Runtime.Tree.CommonTree
75 this.stopIndex = node.stopIndex; in CommonTree()
163 if (stopIndex == -1 && token != null) {
166 return stopIndex;
169 stopIndex = value;
196 if (startIndex < 0 || stopIndex < 0) { in SetUnknownTokenBoundaries()
197 startIndex = stopIndex = token.TokenIndex; in SetUnknownTokenBoundaries()
204 if (startIndex >= 0 && stopIndex >= 0) in SetUnknownTokenBoundaries()
210 stopIndex = lastChild.TokenStopIndex; in SetUnknownTokenBoundaries()
/external/antlr/runtime/Java/src/main/java/org/antlr/runtime/tree/
DCommonTree.java45 protected int startIndex=-1, stopIndex=-1; field in CommonTree
59 this.stopIndex = node.stopIndex; in CommonTree()
133 if ( stopIndex==-1 && token!=null ) { in getTokenStopIndex()
136 return stopIndex; in getTokenStopIndex()
141 stopIndex = index; in setTokenStopIndex()
150 if ( startIndex<0 || stopIndex<0 ) { in setUnknownTokenBoundaries()
151 startIndex = stopIndex = token.getTokenIndex(); in setUnknownTokenBoundaries()
158 if ( startIndex>=0 && stopIndex>=0 ) return; // already set in setUnknownTokenBoundaries()
163 stopIndex = lastChild.getTokenStopIndex(); in setUnknownTokenBoundaries()
/external/antlr/runtime/ObjC/Framework/
DCommonTree.m74 stopIndex = -1;
88 stopIndex = aNode.stopIndex;
102 stopIndex = -1;
116 // stopIndex = token.stopIndex;
117 stopIndex = -1;
131 // stopIndex = token.stopIndex;
132 stopIndex = -1;
161 copy.stopIndex = stopIndex;
246 if ( stopIndex == -1 && token != nil ) {
249 return stopIndex;
[all …]
DRuleMemo.m38 @synthesize stopIndex;
54 stopIndex = nil;
65 stopIndex = aStopIndex;
76 copy.stopIndex = stopIndex;
85 if (stopIndex != nil) aCnt++;
111 return aMatchMemo.stopIndex;
123 return aMatchMemo.stopIndex;
146 return stopIndex;
151 if ( aStopIndex != stopIndex ) {
152 if ( stopIndex ) [stopIndex release];
[all …]
DBufferedTokenStream.h84 - (AMutableArray *)getFrom:(NSInteger)startIndex To:(NSInteger) stopIndex;
93 - (AMutableArray *)getTokensFrom:(NSInteger)startIndex To:(NSInteger)stopIndex;
94 - (AMutableArray *)getTokensFrom:(NSInteger)startIndex To:(NSInteger)stopIndex With:(ANTLRBitSet *)…
95 - (AMutableArray *)getTokensFrom:(NSInteger)startIndex To:(NSInteger)stopIndex WithList:(AMutableAr…
96 - (AMutableArray *)getTokensFrom:(NSInteger)startIndex To:(NSInteger)stopIndex WithType:(NSInteger)…
98 - (NSString *) toStringFromStart:(NSInteger)startIndex ToEnd:(NSInteger)stopIndex;
99 - (NSString *) toStringFromToken:(id<Token>)startIndex ToToken:(id<Token>)stopIndex;
DBufferedTokenStream.m215 - (AMutableArray *)getFrom:(NSInteger)startIndex To:(NSInteger)stopIndex
217 if ( startIndex < 0 || stopIndex < 0 )
224 if ( stopIndex >= [tokens count] )
225 stopIndex = [tokens count]-1;
226 for (NSInteger i = startIndex; i <= stopIndex; i++) {
289 - (AMutableArray *)getTokensFrom:(NSInteger) startIndex To:(NSInteger) stopIndex
291 return [self getTokensFrom:startIndex To:stopIndex With:(ANTLRBitSet *)nil];
298 - (AMutableArray *)getTokensFrom:(NSInteger)startIndex To:(NSInteger)stopIndex With:(ANTLRBitSet *)…
304 if ( stopIndex >= [tokens count] )
305 stopIndex = [tokens count]-1;
[all …]
DCommonToken.m47 @synthesize stopIndex;
140 stopIndex = 0;
158 stopIndex = aStop;
162 text = [input substringWithRange:NSMakeRange(startIndex, (stopIndex-startIndex)+1)];
182 stopIndex = oldToken.stopIndex;
230 copy.stopIndex = stopIndex;
274 if ( startIndex < n && stopIndex < n) {
275 return [input substringWithRange:NSMakeRange(startIndex, (stopIndex-startIndex)+1)];
355 return stopIndex;
360 stopIndex = aStop;
[all …]
DRuleMemo.h38 ACNumber *stopIndex; variable
42 @property (retain, getter=getStopIndex, setter=setStopIndex:) ACNumber *stopIndex;
DHashRule.m164 ACNumber *stopIndex;
171 stopIndex = [aRule getStopIndex:aStartIndex];
172 return stopIndex;
187 [aRule setStartIndex:aRule.stopIndex];
230 [aRule setStartIndex:aRule.stopIndex];
DCommonTree.h34 NSInteger stopIndex; variable
88 @property (assign) NSInteger stopIndex;
/external/antlr/runtime/JavaScript/src/org/antlr/runtime/tree/
DCommonTree.js12 this.stopIndex = -1;
27 this.stopIndex = node.stopIndex;
96 return this.stopIndex;
100 this.stopIndex = index;
/external/skqp/src/gpu/
DGrDrawingManager.cpp71 void GrDrawingManager::OpListDAG::removeOpLists(int startIndex, int stopIndex) { in removeOpLists() argument
72 for (int i = startIndex; i < stopIndex; ++i) { in removeOpLists()
282 int startIndex, stopIndex; in flush() local
297 while (alloc.assign(&startIndex, &stopIndex, &error)) { in flush()
299 for (int i = startIndex; i < stopIndex; ++i) { in flush()
310 if (this->executeOpLists(startIndex, stopIndex, &flushState, &numOpListsExecuted)) { in flush()
353 bool GrDrawingManager::executeOpLists(int startIndex, int stopIndex, GrOpFlushState* flushState, in executeOpLists() argument
355 SkASSERT(startIndex <= stopIndex && stopIndex <= fDAG.numOpLists()); in executeOpLists()
359 startIndex, stopIndex, 0, fDAG.numOpLists()); in executeOpLists()
360 for (int i = startIndex; i < stopIndex; ++i) { in executeOpLists()
[all …]
/external/skia/src/gpu/
DGrDrawingManager.cpp66 void GrDrawingManager::OpListDAG::removeOpLists(int startIndex, int stopIndex) { in removeOpLists() argument
67 for (int i = startIndex; i < stopIndex; ++i) { in removeOpLists()
296 int startIndex, stopIndex; in flush() local
310 while (alloc.assign(&startIndex, &stopIndex, &error)) { in flush()
312 for (int i = startIndex; i < stopIndex; ++i) { in flush()
323 if (this->executeOpLists(startIndex, stopIndex, &flushState, &numOpListsExecuted)) { in flush()
373 bool GrDrawingManager::executeOpLists(int startIndex, int stopIndex, GrOpFlushState* flushState, in executeOpLists() argument
375 SkASSERT(startIndex <= stopIndex && stopIndex <= fDAG.numOpLists()); in executeOpLists()
379 startIndex, stopIndex, 0, fDAG.numOpLists()); in executeOpLists()
380 for (int i = startIndex; i < stopIndex; ++i) { in executeOpLists()
[all …]
/external/antlr/runtime/ActionScript/project/src/org/antlr/runtime/tree/
DCommonTree.as45 public var startIndex:int=-1, stopIndex:int=-1;
58 this.stopIndex = node.stopIndex;
126 if ( stopIndex==-1 && _token!=null ) {
129 return stopIndex;
133 stopIndex = index;
/external/aac/libSBRenc/src/
Dnf_est.cpp199 INT stopIndex, /*!< Stop index. */ in qmfBasedNoiseFloorDetection() argument
222 FIXP_DBL invIndex = GetInvInt(stopIndex - startIndex); in qmfBasedNoiseFloorDetection()
235 for (k = startIndex; k < stopIndex; k++) { in qmfBasedNoiseFloorDetection()
242 for (k = startIndex; k < stopIndex; k++) { in qmfBasedNoiseFloorDetection()
251 for (k = startIndex; k < stopIndex; k++) { in qmfBasedNoiseFloorDetection()
258 for (k = startIndex; k < stopIndex; k++) { in qmfBasedNoiseFloorDetection()
Dinvf_est.cpp247 INT stopIndex, /*!< Stop index. */ in calculateDetectorValues() argument
262 invIndex = GetInvInt(stopIndex - startIndex); in calculateDetectorValues()
273 for (j = startIndex; j < stopIndex; j++) { in calculateDetectorValues()
516 INT stopIndex, /*!< Stop index. */ in FDKsbrEnc_qmfInverseFilteringDetector() argument
531 stopChannel, startIndex, stopIndex, in FDKsbrEnc_qmfInverseFilteringDetector()
/external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/
DBaseRecognizer.cs855 int stopIndex; in GetRuleMemoization()
856 if (!state.ruleMemo[ruleIndex].TryGetValue(ruleStartIndex, out stopIndex)) in GetRuleMemoization()
859 return stopIndex; in GetRuleMemoization()
876 int stopIndex = GetRuleMemoization(ruleIndex, input.Index); in AlreadyParsedRule()
877 if (stopIndex == MemoRuleUnknown) { in AlreadyParsedRule()
880 if (stopIndex == MemoRuleFailed) { in AlreadyParsedRule()
885 input.Seek(stopIndex + 1); // jump to one past stop token in AlreadyParsedRule()
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime/
DBaseRecognizer.cs967 int stopIndex; in GetRuleMemoization()
968 if ( !state.ruleMemo[ruleIndex].TryGetValue( ruleStartIndex, out stopIndex ) ) in GetRuleMemoization()
971 return stopIndex; in GetRuleMemoization()
989 int stopIndex = GetRuleMemoization( ruleIndex, input.Index ); in AlreadyParsedRule()
990 if ( stopIndex == MemoRuleUnknown ) in AlreadyParsedRule()
994 if ( stopIndex == MemoRuleFailed ) in AlreadyParsedRule()
1002 input.Seek( stopIndex + 1 ); // jump to one past stop token in AlreadyParsedRule()
/external/skqp/tests/
DResourceAllocatorTest.cpp100 int startIndex, stopIndex; in overlap_test() local
102 alloc.assign(&startIndex, &stopIndex, &error); in overlap_test()
123 int startIndex, stopIndex; in non_overlap_test() local
125 alloc.assign(&startIndex, &stopIndex, &error); in non_overlap_test()
351 int startIndex, stopIndex; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
353 alloc.assign(&startIndex, &stopIndex, &error); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/external/skia/tests/
DResourceAllocatorTest.cpp100 int startIndex, stopIndex; in overlap_test() local
102 alloc.assign(&startIndex, &stopIndex, &error); in overlap_test()
123 int startIndex, stopIndex; in non_overlap_test() local
125 alloc.assign(&startIndex, &stopIndex, &error); in non_overlap_test()
351 int startIndex, stopIndex; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
353 alloc.assign(&startIndex, &stopIndex, &error); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/external/antlr/runtime/C/src/
Dantlr3baserecognizer.c1860 ANTLR3_MARKER stopIndex; in getRuleMemoization() local
1893 stopIndex = 0; in getRuleMemoization()
1898 stopIndex = (ANTLR3_MARKER)(entry->data.intVal); in getRuleMemoization()
1901 if (stopIndex == 0) in getRuleMemoization()
1906 return stopIndex; in getRuleMemoization()
1920 ANTLR3_MARKER stopIndex; in alreadyParsedRule() local
1964 stopIndex = recognizer->getRuleMemoization(recognizer, ruleIndex, is->index(is)); in alreadyParsedRule()
1966 if (stopIndex == MEMO_RULE_UNKNOWN) in alreadyParsedRule()
1971 if (stopIndex == MEMO_RULE_FAILED) in alreadyParsedRule()
1977 is->seek(is, stopIndex+1); in alreadyParsedRule()
[all …]
/external/antlr/runtime/Cpp/tests/
Dt004.cpp66 size_t stopIndex = ((const char*)token->get_stopIndex()) - data.c_str(); in testValid() local
71 << '\t' << (stopIndex == ExpectedTokens[i].stop ? "OK" : "Fail") in testValid()
Dt009.cpp67 size_t stopIndex = ((const char*)token->get_stopIndex()) - data.c_str(); in testValid() local
72 << '\t' << (stopIndex == ExpectedTokens[i].stop ? "OK" : "Fail") in testValid()
Dt007.cpp66 size_t stopIndex = ((const char*)token->get_stopIndex()) - data.c_str(); in testValid() local
71 << '\t' << (stopIndex == ExpectedTokens[i].stop ? "OK" : "Fail") in testValid()

123