Home
last modified time | relevance | path

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

123

/external/antlr/antlr-3.4/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/antlr-3.4/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/antlr-3.4/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()
124 if ( stopIndex==-1 && token!=null ) { in getTokenStopIndex()
127 return stopIndex; in getTokenStopIndex()
131 stopIndex = index; in setTokenStopIndex()
140 if ( startIndex<0 || stopIndex<0 ) { in setUnknownTokenBoundaries()
141 startIndex = stopIndex = token.getTokenIndex(); in setUnknownTokenBoundaries()
148 if ( startIndex>=0 && stopIndex>=0 ) return; // already set in setUnknownTokenBoundaries()
153 stopIndex = lastChild.getTokenStopIndex(); in setUnknownTokenBoundaries()
/external/antlr/antlr-3.4/runtime/ObjC/Framework/
DANTLRCommonTree.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 …]
DANTLRRuleMemo.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 …]
DANTLRBufferedTokenStream.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<ANTLRToken>)startIndex ToToken:(id<ANTLRToken>)stopIndex;
DANTLRBufferedTokenStream.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 …]
DANTLRCommonToken.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;
273 return [input substringWithRange:NSMakeRange(startIndex, (stopIndex-startIndex)+1)];
349 return stopIndex;
354 stopIndex = aStop;
389 … stringWithFormat:@"[@%d, %d:%d='%@',<%d>%@,%d:%d]", index, startIndex, stopIndex, txtString, type…
DANTLRRuleMemo.h37 NSNumber *stopIndex; variable
41 @property (retain, getter=getStopIndex, setter=setStopIndex:) NSNumber *stopIndex;
DANTLRHashRule.m164 NSNumber *stopIndex;
171 stopIndex = [aRule getStopIndex:aStartIndex];
172 return stopIndex;
187 [aRule setStartIndex:aRule.stopIndex];
230 [aRule setStartIndex:aRule.stopIndex];
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Headers/
DANTLRBufferedTokenStream.h81 - (NSMutableArray *)getFrom:(NSInteger)startIndex To:(NSInteger) stopIndex;
90 - (NSMutableArray *)getTokensFrom:(NSInteger)startIndex To:(NSInteger)stopIndex;
91 - (NSMutableArray *)getTokensFrom:(NSInteger)startIndex To:(NSInteger)stopIndex With:(ANTLRBitSet *…
92 - (NSMutableArray *)getTokensFrom:(NSInteger)startIndex To:(NSInteger)stopIndex WithList:(NSMutable…
93 - (NSMutableArray *)getTokensFrom:(NSInteger)startIndex To:(NSInteger)stopIndex WithType:(NSInteger…
94 - (NSString *) toStringFromStart:(NSInteger)startIndex ToEnd:(NSInteger)stopIndex;
95 - (NSString *) toStringFromToken:(id<ANTLRToken>)startIndex ToToken:(id<ANTLRToken>)stopIndex;
DANTLRRuleMemo.h37 NSNumber *stopIndex; variable
41 @property (retain, getter=getStopIndex, setter=setStopIndex) NSNumber *stopIndex;
DANTLRHashRule.m165 NSNumber *stopIndex;
172 stopIndex = [aRule getStopIndex:aStartIndex];
173 return stopIndex;
188 [aRule setStartIndex:aRule.stopIndex];
230 [aRule setStartIndex:aRule.stopIndex];
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/A/Headers/
DANTLRBufferedTokenStream.h81 - (NSMutableArray *)getFrom:(NSInteger)startIndex To:(NSInteger) stopIndex;
90 - (NSMutableArray *)getTokensFrom:(NSInteger)startIndex To:(NSInteger)stopIndex;
91 - (NSMutableArray *)getTokensFrom:(NSInteger)startIndex To:(NSInteger)stopIndex With:(ANTLRBitSet *…
92 - (NSMutableArray *)getTokensFrom:(NSInteger)startIndex To:(NSInteger)stopIndex WithList:(NSMutable…
93 - (NSMutableArray *)getTokensFrom:(NSInteger)startIndex To:(NSInteger)stopIndex WithType:(NSInteger…
94 - (NSString *) toStringFromStart:(NSInteger)startIndex ToEnd:(NSInteger)stopIndex;
95 - (NSString *) toStringFromToken:(id<ANTLRToken>)startIndex ToToken:(id<ANTLRToken>)stopIndex;
DANTLRRuleMemo.h37 NSNumber *stopIndex; variable
41 @property (retain, getter=getStopIndex, setter=setStopIndex) NSNumber *stopIndex;
DANTLRHashRule.m165 NSNumber *stopIndex;
172 stopIndex = [aRule getStopIndex:aStartIndex];
173 return stopIndex;
188 [aRule setStartIndex:aRule.stopIndex];
230 [aRule setStartIndex:aRule.stopIndex];
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/Current/Headers/
DANTLRBufferedTokenStream.h81 - (NSMutableArray *)getFrom:(NSInteger)startIndex To:(NSInteger) stopIndex;
90 - (NSMutableArray *)getTokensFrom:(NSInteger)startIndex To:(NSInteger)stopIndex;
91 - (NSMutableArray *)getTokensFrom:(NSInteger)startIndex To:(NSInteger)stopIndex With:(ANTLRBitSet *…
92 - (NSMutableArray *)getTokensFrom:(NSInteger)startIndex To:(NSInteger)stopIndex WithList:(NSMutable…
93 - (NSMutableArray *)getTokensFrom:(NSInteger)startIndex To:(NSInteger)stopIndex WithType:(NSInteger…
94 - (NSString *) toStringFromStart:(NSInteger)startIndex ToEnd:(NSInteger)stopIndex;
95 - (NSString *) toStringFromToken:(id<ANTLRToken>)startIndex ToToken:(id<ANTLRToken>)stopIndex;
DANTLRRuleMemo.h37 NSNumber *stopIndex; variable
41 @property (retain, getter=getStopIndex, setter=setStopIndex) NSNumber *stopIndex;
DANTLRHashRule.m165 NSNumber *stopIndex;
172 stopIndex = [aRule getStopIndex:aStartIndex];
173 return stopIndex;
188 [aRule setStartIndex:aRule.stopIndex];
230 [aRule setStartIndex:aRule.stopIndex];
/external/antlr/antlr-3.4/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/antlr/antlr-3.4/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.cpp170 INT stopIndex, /*!< Stop index. */ in qmfBasedNoiseFloorDetection() argument
182 FIXP_DBL invIndex = GetInvInt(stopIndex-startIndex); in qmfBasedNoiseFloorDetection()
195 for(k = startIndex ; k < stopIndex; k++){ in qmfBasedNoiseFloorDetection()
202 for(k = startIndex ; k < stopIndex; k++){ in qmfBasedNoiseFloorDetection()
213 for(k = startIndex ; k < stopIndex; k++){ in qmfBasedNoiseFloorDetection()
220 for(k = startIndex ; k < stopIndex; k++){ in qmfBasedNoiseFloorDetection()
Dinvf_est.cpp195 INT stopIndex, /*!< Stop index. */ in calculateDetectorValues() argument
210 invIndex = GetInvInt(stopIndex-startIndex); in calculateDetectorValues()
221 for(j=startIndex; j<stopIndex; j++) { in calculateDetectorValues()
425 INT stopIndex, /*!< Stop index. */ in FDKsbrEnc_qmfInverseFilteringDetector() argument
447 stopIndex, in FDKsbrEnc_qmfInverseFilteringDetector()
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/
DBaseRecognizer.cs965 int stopIndex; in GetRuleMemoization()
966 if ( !state.ruleMemo[ruleIndex].TryGetValue( ruleStartIndex, out stopIndex ) ) in GetRuleMemoization()
969 return stopIndex; in GetRuleMemoization()
987 int stopIndex = GetRuleMemoization( ruleIndex, input.Index ); in AlreadyParsedRule()
988 if ( stopIndex == MemoRuleUnknown ) in AlreadyParsedRule()
992 if ( stopIndex == MemoRuleFailed ) in AlreadyParsedRule()
1000 input.Seek( stopIndex + 1 ); // jump to one past stop token in AlreadyParsedRule()
/external/antlr/antlr-3.4/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()

123