Searched refs:startIndex (Results 1 - 25 of 282) sorted by relevance

1234567891011>>

/external/apache-xml/src/main/java/org/apache/xpath/functions/
H A DFuncSubstring.java58 int startIndex;
66 startIndex = 0;
71 startIndex = (start > 0) ? (int) start - 1 : 0;
85 if (startIndex > lenOfS1)
86 startIndex = lenOfS1;
88 substr = s1.substring(startIndex, end);
92 if (startIndex > lenOfS1)
93 startIndex = lenOfS1;
94 substr = s1.substring(startIndex);
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/misc/
H A DUtils.java63 int startIndex = 0;
66 result.append(src.substring(startIndex,endIndex));
70 startIndex = endIndex + replacee.length();
71 endIndex = src.indexOf(replacee,startIndex);
73 result.append(src.substring(startIndex,src.length()));
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Tree/
H A DCommonTree.cs56 protected int startIndex = -1; field in class:Antlr.Runtime.Tree.CommonTree
74 this.startIndex = node.startIndex;
152 if (startIndex == -1 && token != null) {
155 return startIndex;
158 startIndex = value;
196 if (startIndex < 0 || stopIndex < 0) {
197 startIndex = stopIndex = token.TokenIndex;
204 if (startIndex >= 0 && stopIndex >= 0)
209 startIndex
[all...]
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/
H A DCommonTree.cs56 protected int startIndex = -1; field in class:Antlr.Runtime.Tree.CommonTree
76 this.startIndex = node.startIndex;
194 if ( startIndex == -1 && Token != null )
197 return startIndex;
202 startIndex = value;
255 if ( startIndex < 0 || stopIndex < 0 )
256 startIndex = stopIndex = Token.TokenIndex;
270 if ( startIndex >= 0 && stopIndex >= 0 )
277 startIndex
[all...]
/external/proguard/src/proguard/classfile/util/
H A DExternalTypeEnumeration.java81 int startIndex = index;
85 startIndex);
91 startIndex);
98 return descriptor.substring(startIndex, index++).trim();
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/tree/
H A DCommonTree.java45 protected int startIndex=-1, stopIndex=-1; field in class:CommonTree
58 this.startIndex = node.startIndex;
113 if ( startIndex==-1 && token!=null ) {
116 return startIndex;
120 startIndex = index;
140 if ( startIndex<0 || stopIndex<0 ) {
141 startIndex = stopIndex = token.getTokenIndex();
148 if ( startIndex>=0 && stopIndex>=0 ) return; // already set
152 startIndex
[all...]
/external/apache-commons-math/src/main/java/org/apache/commons/math/util/
H A DResizableDoubleArray.java129 * internalArray[startIndex],...,internalArray[startIndex + numElements -1]
132 protected int startIndex = 0; field in class:ResizableDoubleArray
297 if ((startIndex + numElements) > internalArray.length) {
300 internalArray[startIndex + (numElements - 1)] = value;
314 System.arraycopy(internalArray, startIndex, tempArray, 0, numElements);
317 startIndex = 0;
338 double discarded = internalArray[startIndex];
340 if ((startIndex + (numElements + 1)) > internalArray.length) {
344 startIndex
[all...]
H A DCompositeFormat.java118 final int startIndex = pos.getIndex();
119 final int endIndex = startIndex + n;
121 if (source.substring(startIndex, endIndex).compareTo(sb.toString()) == 0) {
142 final int startIndex = pos.getIndex();
147 if (startIndex == endIndex) {
173 final int startIndex = pos.getIndex();
174 final int endIndex = startIndex + expected.length();
175 if ((startIndex >= source.length()) ||
177 (source.substring(startIndex, endIndex).compareTo(expected) != 0)) {
179 pos.setIndex(startIndex);
[all...]
/external/jsilver/src/com/google/streamhtmlparser/util/
H A DJavascriptTokenBuffer.java58 private int startIndex; field in class:JavascriptTokenBuffer
69 startIndex = 0;
82 startIndex = aJavascriptTokenBuffer.startIndex;
117 if (endIndex == startIndex) {
118 startIndex = (endIndex + 1) % buffer.length;
129 if (startIndex == endIndex) {
250 int len = endIndex - startIndex;
/external/icu/icu4c/source/tools/toolutil/
H A Dcollationinfo.h36 static int32_t getDataLength(const int32_t indexes[], int32_t startIndex);
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Headers/
H A 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 *)types;
92 - (NSMutableArray *)getTokensFrom:(NSInteger)startIndex To:(NSInteger)stopIndex WithList:(NSMutableArray *)types;
93 - (NSMutableArray *)getTokensFrom:(NSInteger)startIndex To:(NSInteger)stopIndex WithType:(NSInteger)ttype;
94 - (NSString *) toStringFromStart:(NSInteger)startIndex ToEnd:(NSInteger)stopIndex;
95 - (NSString *) toStringFromToken:(id<ANTLRToken>)startIndex ToToken:(id<ANTLRToken>)stopIndex;
H A DANTLRRuleMemo.h36 NSNumber *startIndex; variable
40 @property (retain, getter=getStartIndex, setter=setStartIndex) NSNumber *startIndex; variable
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/A/Headers/
H A 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 *)types;
92 - (NSMutableArray *)getTokensFrom:(NSInteger)startIndex To:(NSInteger)stopIndex WithList:(NSMutableArray *)types;
93 - (NSMutableArray *)getTokensFrom:(NSInteger)startIndex To:(NSInteger)stopIndex WithType:(NSInteger)ttype;
94 - (NSString *) toStringFromStart:(NSInteger)startIndex ToEnd:(NSInteger)stopIndex;
95 - (NSString *) toStringFromToken:(id<ANTLRToken>)startIndex ToToken:(id<ANTLRToken>)stopIndex;
H A DANTLRRuleMemo.h36 NSNumber *startIndex; variable
40 @property (retain, getter=getStartIndex, setter=setStartIndex) NSNumber *startIndex; variable
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/Current/Headers/
H A 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 *)types;
92 - (NSMutableArray *)getTokensFrom:(NSInteger)startIndex To:(NSInteger)stopIndex WithList:(NSMutableArray *)types;
93 - (NSMutableArray *)getTokensFrom:(NSInteger)startIndex To:(NSInteger)stopIndex WithType:(NSInteger)ttype;
94 - (NSString *) toStringFromStart:(NSInteger)startIndex ToEnd:(NSInteger)stopIndex;
95 - (NSString *) toStringFromToken:(id<ANTLRToken>)startIndex ToToken:(id<ANTLRToken>)stopIndex;
H A DANTLRRuleMemo.h36 NSNumber *startIndex; variable
40 @property (retain, getter=getStartIndex, setter=setStartIndex) NSNumber *startIndex; variable
/external/antlr/antlr-3.4/runtime/ObjC/Framework/
H A 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 *)types;
95 - (AMutableArray *)getTokensFrom:(NSInteger)startIndex To:(NSInteger)stopIndex WithList:(AMutableArray *)types;
96 - (AMutableArray *)getTokensFrom:(NSInteger)startIndex To:(NSInteger)stopIndex WithType:(NSInteger)ttype;
98 - (NSString *) toStringFromStart:(NSInteger)startIndex ToEnd:(NSInteger)stopIndex;
99 - (NSString *) toStringFromToken:(id<ANTLRToken>)startIndex ToToken:(id<ANTLRToken>)stopIndex;
H A DANTLRRuleMemo.h36 NSNumber *startIndex; variable
40 @property (retain, getter=getStartIndex, setter=setStartIndex:) NSNumber *startIndex; variable
/external/skia/gm/
H A Dpathcontourstart.cpp50 drawDirs(canvas, [](const SkRect& rect, SkPath::Direction dir, unsigned startIndex) {
52 path.addRect(rect, dir, startIndex);
56 drawDirs(canvas, [](const SkRect& rect, SkPath::Direction dir, unsigned startIndex) {
58 path.addOval(rect, dir, startIndex);
62 drawDirs(canvas, [](const SkRect& rect, SkPath::Direction dir, unsigned startIndex) {
68 path.addRRect(rrect, dir, startIndex);
72 drawDirs(canvas, [](const SkRect& rect, SkPath::Direction dir, unsigned startIndex) {
77 path.addRRect(rrect, dir, startIndex);
81 drawDirs(canvas, [](const SkRect& rect, SkPath::Direction dir, unsigned startIndex) {
86 path.addRRect(rrect, dir, startIndex);
[all...]
/external/skqp/gm/
H A Dpathcontourstart.cpp50 drawDirs(canvas, [](const SkRect& rect, SkPath::Direction dir, unsigned startIndex) {
52 path.addRect(rect, dir, startIndex);
56 drawDirs(canvas, [](const SkRect& rect, SkPath::Direction dir, unsigned startIndex) {
58 path.addOval(rect, dir, startIndex);
62 drawDirs(canvas, [](const SkRect& rect, SkPath::Direction dir, unsigned startIndex) {
68 path.addRRect(rrect, dir, startIndex);
72 drawDirs(canvas, [](const SkRect& rect, SkPath::Direction dir, unsigned startIndex) {
77 path.addRRect(rrect, dir, startIndex);
81 drawDirs(canvas, [](const SkRect& rect, SkPath::Direction dir, unsigned startIndex) {
86 path.addRRect(rrect, dir, startIndex);
[all...]
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/tree/
H A DCommonTree.js11 this.startIndex = -1;
26 this.startIndex = node.startIndex;
85 return this.startIndex;
89 this.startIndex = index;
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/tree/
H A DCommonTree.as45 public var startIndex:int=-1, stopIndex:int=-1; variable
57 this.startIndex = node.startIndex;
115 if ( startIndex==-1 && _token!=null ) {
118 return startIndex;
122 startIndex = index;
/external/guava/guava-testlib/src/com/google/common/collect/testing/
H A DListIteratorTester.java45 Iterable<E> expectedElements, int startIndex) {
47 KnownOrder.KNOWN_ORDER, startIndex);
43 ListIteratorTester(int steps, Iterable<E> elementsToInsert, Iterable<? extends IteratorFeature> features, Iterable<E> expectedElements, int startIndex) argument
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.JavaExtensions/
H A DStringExtensions.cs60 public static int indexOf( string str, char value, int startIndex )
62 return str.IndexOf( value, startIndex );
72 public static int indexOf( string str, string value, int startIndex )
74 return str.IndexOf( value, startIndex );
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.JavaExtensions/
H A DStringExtensions.cs61 public static int indexOf( this string str, char value, int startIndex )
63 return str.IndexOf( value, startIndex );
73 public static int indexOf( this string str, string value, int startIndex )
75 return str.IndexOf( value, startIndex );

Completed in 648 milliseconds

1234567891011>>