Searched refs:toIndex (Results 1 - 25 of 55) sorted by relevance

123

/external/guava/guava/src/com/google/common/collect/
H A DRegularImmutableSortedMap.java100 private ImmutableSortedMap<K, V> getSubMap(int fromIndex, int toIndex) { argument
101 if (fromIndex == 0 && toIndex == size()) {
103 } else if (fromIndex == toIndex) {
107 keySet.getSubSet(fromIndex, toIndex),
108 valueList.subList(fromIndex, toIndex));
H A DSingletonImmutableList.java66 @Override public ImmutableList<E> subList(int fromIndex, int toIndex) { argument
67 Preconditions.checkPositionIndexes(fromIndex, toIndex, 1);
68 return (fromIndex == toIndex) ? ImmutableList.<E>of() : this;
H A DForwardingList.java110 public List<E> subList(int fromIndex, int toIndex) { argument
111 return delegate().subList(fromIndex, toIndex);
214 @Beta protected List<E> standardSubList(int fromIndex, int toIndex) { argument
215 return Lists.subListImpl(this, fromIndex, toIndex);
H A DImmutableSortedAsList.java81 ImmutableList<E> subListUnchecked(int fromIndex, int toIndex) { argument
83 super.subListUnchecked(fromIndex, toIndex), comparator())
H A DRegularImmutableList.java96 ImmutableList<E> subListUnchecked(int fromIndex, int toIndex) { argument
98 array, offset + fromIndex, toIndex - fromIndex);
H A DImmutableList.java375 * fromIndex}, inclusive, and {@code toIndex}, exclusive. (If {@code
376 * fromIndex} and {@code toIndex} are equal, the empty immutable list is
380 public ImmutableList<E> subList(int fromIndex, int toIndex) { argument
381 checkPositionIndexes(fromIndex, toIndex, size());
382 int length = toIndex - fromIndex;
389 return subListUnchecked(fromIndex, toIndex);
395 * toIndex - fromIndex > 1}, after index validation has already been
398 ImmutableList<E> subListUnchecked(int fromIndex, int toIndex) { argument
399 return new SubList(fromIndex, toIndex - fromIndex);
423 public ImmutableList<E> subList(int fromIndex, int toIndex) { argument
546 subList(int fromIndex, int toIndex) argument
[all...]
H A DLists.java687 int fromIndex, int toIndex) {
688 checkPositionIndexes(fromIndex, toIndex, size()); // for GWT
689 return charactersOf(string.substring(fromIndex, toIndex));
798 @Override protected void removeRange(int fromIndex, int toIndex) { argument
799 subList(fromIndex, toIndex).clear();
814 @Override public List<T> subList(int fromIndex, int toIndex) { argument
815 checkPositionIndexes(fromIndex, toIndex, size());
817 reversePosition(toIndex), reversePosition(fromIndex)));
973 final List<E> list, int fromIndex, int toIndex) {
992 return wrapper.subList(fromIndex, toIndex);
686 subList( int fromIndex, int toIndex) argument
972 subListImpl( final List<E> list, int fromIndex, int toIndex) argument
[all...]
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.JavaExtensions/
H A DListExtensions.cs206 public static IList subList( this IList list, int fromIndex, int toIndex )
208 return new SubList( list, fromIndex, toIndex );
213 // .Take( toIndex - fromIndex + 1 )
217 public static IList<T> subList<T>( this IList<T> list, int fromIndex, int toIndex )
219 return new SubList<T>( list, fromIndex, toIndex );
223 // .Take( toIndex - fromIndex + 1 )
227 public static IList<T> subList<T>( this List<T> list, int fromIndex, int toIndex )
229 return new SubList<T>( list, fromIndex, toIndex );
233 // .Take( toIndex - fromIndex + 1 )
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
H A DForwardingImmutableList.java49 public ImmutableList<E> subList(int fromIndex, int toIndex) { argument
50 return unsafeDelegateList(delegateList().subList(fromIndex, toIndex));
H A DLists.java653 int fromIndex, int toIndex) {
654 checkPositionIndexes(fromIndex, toIndex, size()); // for GWT
655 return charactersOf(string.substring(fromIndex, toIndex));
764 @Override protected void removeRange(int fromIndex, int toIndex) { argument
765 subList(fromIndex, toIndex).clear();
780 @Override public List<T> subList(int fromIndex, int toIndex) { argument
781 checkPositionIndexes(fromIndex, toIndex, size());
783 reversePosition(toIndex), reversePosition(fromIndex)));
939 final List<E> list, int fromIndex, int toIndex) {
958 return wrapper.subList(fromIndex, toIndex);
652 subList( int fromIndex, int toIndex) argument
938 subListImpl( final List<E> list, int fromIndex, int toIndex) argument
[all...]
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/
H A DTokenRewriteStream.as141 public function replaceRange(fromIndex:int, toIndex:int, text:Object, programName:String = DEFAULT_PROGRAM_NAME):void {
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):void {
164 replaceRange(fromIndex, toIndex, null, programName);
484 public function ReplaceOp(fromIndex:int, toIndex:int, text:Object) {
486 lastIndex = toIndex;
[all...]
/external/proguard/src/proguard/
H A DDataEntryWriterFactory.java41 * @param toIndex the end index in the class path.
46 int toIndex)
51 for (int index = toIndex - 1; index >= fromIndex; index--)
44 createDataEntryWriter(ClassPath classPath, int fromIndex, int toIndex) argument
H A DInputReader.java150 int toIndex,
153 for (int index = fromIndex; index < toIndex; index++)
147 readInput(String messagePrefix, ClassPath classPath, int fromIndex, int toIndex, DataEntryReader reader) argument
/external/guava/guava/src/com/google/common/primitives/
H A DBytes.java333 @Override public List<Byte> subList(int fromIndex, int toIndex) { argument
335 checkPositionIndexes(fromIndex, toIndex, size);
336 if (fromIndex == toIndex) {
339 return new ByteArrayAsList(array, start + fromIndex, start + toIndex);
H A DBooleans.java419 @Override public List<Boolean> subList(int fromIndex, int toIndex) { argument
421 checkPositionIndexes(fromIndex, toIndex, size);
422 if (fromIndex == toIndex) {
425 return new BooleanArrayAsList(array, start + fromIndex, start + toIndex);
H A DChars.java537 @Override public List<Character> subList(int fromIndex, int toIndex) { argument
539 checkPositionIndexes(fromIndex, toIndex, size);
540 if (fromIndex == toIndex) {
543 return new CharArrayAsList(array, start + fromIndex, start + toIndex);
H A DFloats.java520 @Override public List<Float> subList(int fromIndex, int toIndex) { argument
522 checkPositionIndexes(fromIndex, toIndex, size);
523 if (fromIndex == toIndex) {
526 return new FloatArrayAsList(array, start + fromIndex, start + toIndex);
H A DShorts.java581 @Override public List<Short> subList(int fromIndex, int toIndex) { argument
583 checkPositionIndexes(fromIndex, toIndex, size);
584 if (fromIndex == toIndex) {
587 return new ShortArrayAsList(array, start + fromIndex, start + toIndex);
H A DDoubles.java524 @Override public List<Double> subList(int fromIndex, int toIndex) { argument
526 checkPositionIndexes(fromIndex, toIndex, size);
527 if (fromIndex == toIndex) {
530 return new DoubleArrayAsList(array, start + fromIndex, start + toIndex);
/external/v8/test/mjsunit/
H A Dmirror-string.js66 assertEquals(fromJSON.toIndex, kMaxProtocolStringLength);
/external/guava/guava-gwt/src-super/com/google/common/primitives/super/com/google/common/primitives/
H A DChars.java486 @Override public List<Character> subList(int fromIndex, int toIndex) { argument
488 checkPositionIndexes(fromIndex, toIndex, size);
489 if (fromIndex == toIndex) {
492 return new CharArrayAsList(array, start + fromIndex, start + toIndex);
H A DDoubles.java519 @Override public List<Double> subList(int fromIndex, int toIndex) { argument
521 checkPositionIndexes(fromIndex, toIndex, size);
522 if (fromIndex == toIndex) {
525 return new DoubleArrayAsList(array, start + fromIndex, start + toIndex);
H A DFloats.java516 @Override public List<Float> subList(int fromIndex, int toIndex) { argument
518 checkPositionIndexes(fromIndex, toIndex, size);
519 if (fromIndex == toIndex) {
522 return new FloatArrayAsList(array, start + fromIndex, start + toIndex);
H A DInts.java528 @Override public List<Integer> subList(int fromIndex, int toIndex) { argument
530 checkPositionIndexes(fromIndex, toIndex, size);
531 if (fromIndex == toIndex) {
534 return new IntArrayAsList(array, start + fromIndex, start + toIndex);
H A DShorts.java529 @Override public List<Short> subList(int fromIndex, int toIndex) { argument
531 checkPositionIndexes(fromIndex, toIndex, size);
532 if (fromIndex == toIndex) {
535 return new ShortArrayAsList(array, start + fromIndex, start + toIndex);

Completed in 6266 milliseconds

123