Searched defs:toIndex (Results 1 - 25 of 74) sorted by relevance

123

/external/skia/src/gpu/
H A DGrResourceHandle.h25 int toIndex() const { SkASSERT(this->isValid()); return fValue; } function in class:GrResourceHandle
/external/guava/guava/src/com/google/common/collect/
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 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 DConstraints.java225 @Override public List<E> subList(int fromIndex, int toIndex) { argument
227 delegate.subList(fromIndex, toIndex), constraint);
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 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.java722 int fromIndex, int toIndex) {
723 checkPositionIndexes(fromIndex, toIndex, size()); // for GWT
724 return charactersOf(string.substring(fromIndex, toIndex));
833 @Override protected void removeRange(int fromIndex, int toIndex) { argument
834 subList(fromIndex, toIndex).clear();
849 @Override public List<T> subList(int fromIndex, int toIndex) { argument
850 checkPositionIndexes(fromIndex, toIndex, size());
852 reversePosition(toIndex), reversePosition(fromIndex)));
1008 final List<E> list, int fromIndex, int toIndex) {
1027 return wrapper.subList(fromIndex, toIndex);
721 subList( int fromIndex, int toIndex) argument
1007 subListImpl( final List<E> list, int fromIndex, int toIndex) argument
[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-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 DImmutableList.java236 @Override public ImmutableList<E> subList(int fromIndex, int toIndex) { argument
237 return unsafeDelegateList(Lists.subListImpl(this, fromIndex, toIndex));
/external/mockito/src/test/java/org/mockitousage/stubbing/
H A DStubbingWithDelegateTest.java42 public ArrayList<T> subList(int fromIndex, int toIndex) { argument
52 public Collection<T> subList(int fromIndex, int toIndex) { argument
/external/guava/guava/src/com/google/common/primitives/
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 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 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 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);
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 DInts.java582 @Override public List<Integer> subList(int fromIndex, int toIndex) { argument
584 checkPositionIndexes(fromIndex, toIndex, size);
585 if (fromIndex == toIndex) {
588 return new IntArrayAsList(array, start + fromIndex, start + toIndex);
/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 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);
/external/guava/guava-tests/test/com/google/common/collect/
H A DForwardingListTest.java130 @Override public List<T> subList(int fromIndex, int toIndex) { argument
131 return standardSubList(fromIndex, toIndex);

Completed in 842 milliseconds

123