Home
last modified time | relevance | path

Searched refs:toIndex (Results 1 – 25 of 47) sorted by relevance

12

/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.JavaExtensions/
DListExtensions.cs206 public static IList subList( this IList list, int fromIndex, int toIndex ) in subList() argument
208 return new SubList( list, fromIndex, toIndex ); in subList()
217 public static IList<T> subList<T>( this IList<T> list, int fromIndex, int toIndex ) in subList() argument
219 return new SubList<T>( list, fromIndex, toIndex ); in subList()
227 public static IList<T> subList<T>( this List<T> list, int fromIndex, int toIndex ) in subList() argument
229 return new SubList<T>( list, fromIndex, toIndex ); in subList()
/external/guava/guava/src/com/google/common/collect/
DImmutableSortedAsList.java61 @Override public ImmutableList<E> subList(int fromIndex, int toIndex) { in subList() argument
62 Preconditions.checkPositionIndexes(fromIndex, toIndex, size()); in subList()
63 return (fromIndex == toIndex) ? ImmutableList.<E>of() in subList()
65 backingList.subList(fromIndex, toIndex), backingSet.comparator()) in subList()
DForwardingList.java110 public List<E> subList(int fromIndex, int toIndex) { in subList() argument
111 return delegate().subList(fromIndex, toIndex); in subList()
213 @Beta protected List<E> standardSubList(int fromIndex, int toIndex) { in standardSubList() argument
214 return Lists.subListImpl(this, fromIndex, toIndex); in standardSubList()
DRegularImmutableList.java117 @Override public ImmutableList<E> subList(int fromIndex, int toIndex) { in subList() argument
118 Preconditions.checkPositionIndexes(fromIndex, toIndex, size); in subList()
119 return (fromIndex == toIndex) in subList()
122 array, offset + fromIndex, toIndex - fromIndex); in subList()
DLists.java573 int fromIndex, int toIndex) {
574 return charactersOf(string.substring(fromIndex, toIndex));
683 @Override public List<Character> subList(int fromIndex, int toIndex) {
684 return charactersOf(sequence.subSequence(fromIndex, toIndex));
773 @Override protected void removeRange(int fromIndex, int toIndex) {
774 subList(fromIndex, toIndex).clear();
801 @Override public List<T> subList(int fromIndex, int toIndex) {
802 checkPositionIndexes(fromIndex, toIndex, size());
804 reversePosition(toIndex), reversePosition(fromIndex)));
967 final List<E> list, int fromIndex, int toIndex) {
[all …]
DSingletonImmutableList.java107 @Override public ImmutableList<E> subList(int fromIndex, int toIndex) { in subList() argument
108 Preconditions.checkPositionIndexes(fromIndex, toIndex, 1); in subList()
109 return (fromIndex == toIndex) ? ImmutableList.<E>of() : this; in subList()
DTransformedImmutableList.java93 @Override public ImmutableList<E> subList(int fromIndex, int toIndex) {
94 return new TransformedView(backingList.subList(fromIndex, toIndex));
DEmptyImmutableList.java118 @Override public ImmutableList<Object> subList(int fromIndex, int toIndex) { in subList() argument
119 checkPositionIndexes(fromIndex, toIndex, 0); in subList()
/external/guava/guava/src/com/google/common/primitives/
DBytes.java327 @Override public List<Byte> subList(int fromIndex, int toIndex) { in subList() argument
329 checkPositionIndexes(fromIndex, toIndex, size); in subList()
330 if (fromIndex == toIndex) { in subList()
333 return new ByteArrayAsList(array, start + fromIndex, start + toIndex); in subList()
DBooleans.java410 @Override public List<Boolean> subList(int fromIndex, int toIndex) { in subList() argument
412 checkPositionIndexes(fromIndex, toIndex, size); in subList()
413 if (fromIndex == toIndex) { in subList()
416 return new BooleanArrayAsList(array, start + fromIndex, start + toIndex); in subList()
DDoubles.java472 @Override public List<Double> subList(int fromIndex, int toIndex) { in subList() argument
474 checkPositionIndexes(fromIndex, toIndex, size); in subList()
475 if (fromIndex == toIndex) { in subList()
478 return new DoubleArrayAsList(array, start + fromIndex, start + toIndex); in subList()
DFloats.java469 @Override public List<Float> subList(int fromIndex, int toIndex) { in subList() argument
471 checkPositionIndexes(fromIndex, toIndex, size); in subList()
472 if (fromIndex == toIndex) { in subList()
475 return new FloatArrayAsList(array, start + fromIndex, start + toIndex); in subList()
DChars.java526 @Override public List<Character> subList(int fromIndex, int toIndex) { in subList() argument
528 checkPositionIndexes(fromIndex, toIndex, size); in subList()
529 if (fromIndex == toIndex) { in subList()
532 return new CharArrayAsList(array, start + fromIndex, start + toIndex); in subList()
DShorts.java531 @Override public List<Short> subList(int fromIndex, int toIndex) { in subList() argument
533 checkPositionIndexes(fromIndex, toIndex, size); in subList()
534 if (fromIndex == toIndex) { in subList()
537 return new ShortArrayAsList(array, start + fromIndex, start + toIndex); in subList()
DInts.java533 @Override public List<Integer> subList(int fromIndex, int toIndex) { in subList() argument
535 checkPositionIndexes(fromIndex, toIndex, size); in subList()
536 if (fromIndex == toIndex) { in subList()
539 return new IntArrayAsList(array, start + fromIndex, start + toIndex); in subList()
DLongs.java518 @Override public List<Long> subList(int fromIndex, int toIndex) { in subList() argument
520 checkPositionIndexes(fromIndex, toIndex, size); in subList()
521 if (fromIndex == toIndex) { in subList()
524 return new LongArrayAsList(array, start + fromIndex, start + toIndex); in subList()
/external/guava/guava-gwt/src-super/com/google/common/primitives/super/com/google/common/primitives/
DChars.java475 @Override public List<Character> subList(int fromIndex, int toIndex) { in subList() argument
477 checkPositionIndexes(fromIndex, toIndex, size); in subList()
478 if (fromIndex == toIndex) { in subList()
481 return new CharArrayAsList(array, start + fromIndex, start + toIndex); in subList()
DLongs.java451 @Override public List<Long> subList(int fromIndex, int toIndex) { in subList() argument
453 checkPositionIndexes(fromIndex, toIndex, size); in subList()
454 if (fromIndex == toIndex) { in subList()
457 return new LongArrayAsList(array, start + fromIndex, start + toIndex); in subList()
DShorts.java479 @Override public List<Short> subList(int fromIndex, int toIndex) { in subList() argument
481 checkPositionIndexes(fromIndex, toIndex, size); in subList()
482 if (fromIndex == toIndex) { in subList()
485 return new ShortArrayAsList(array, start + fromIndex, start + toIndex); in subList()
DInts.java477 @Override public List<Integer> subList(int fromIndex, int toIndex) { in subList() argument
479 checkPositionIndexes(fromIndex, toIndex, size); in subList()
480 if (fromIndex == toIndex) { in subList()
483 return new IntArrayAsList(array, start + fromIndex, start + toIndex); in subList()
/external/proguard/src/proguard/
DDataEntryWriterFactory.java46 int toIndex) in createDataEntryWriter() argument
51 for (int index = toIndex - 1; index >= fromIndex; index--) in createDataEntryWriter()
DInputReader.java192 int toIndex, in readInput() argument
195 for (int index = fromIndex; index < toIndex; index++) in readInput()
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/
DTokenRewriteStream.as141 …public function replaceRange(fromIndex:int, toIndex:int, text:Object, programName:String = DEFAULT…
142 if ( fromIndex > toIndex || fromIndex<0 || toIndex<0 || toIndex >= tokens.length ) {
143 throw new Error("replace: range invalid: "+fromIndex+".."+toIndex+"(size="+tokens.length+")");
145 var op:RewriteOperation = new ReplaceOp(fromIndex, toIndex, text);
163 …public function removeRange(fromIndex:int, toIndex:int, programName:String = DEFAULT_PROGRAM_NAME)…
164 replaceRange(fromIndex, toIndex, null, programName);
484 public function ReplaceOp(fromIndex:int, toIndex:int, text:Object) {
486 lastIndex = toIndex;
502 public function DeleteOp(fromIndex:int, toIndex:int) {
503 super(fromIndex, toIndex, null);
/external/chromium/chrome/browser/ui/cocoa/bookmarks/
Dbookmark_button.h180 - (void)moveButtonFromIndex:(NSInteger)fromIndex toIndex:(NSInteger)toIndex;
/external/chromium/chrome/browser/ui/cocoa/tabs/
Dtab_strip_model_observer_bridge.mm70 @selector(tabMovedWithContents:fromIndex:toIndex:)]) {
73 toIndex:to_index];

12