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

1234

/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.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/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.java688 int fromIndex, int toIndex) {
689 checkPositionIndexes(fromIndex, toIndex, size()); // for GWT
690 return charactersOf(string.substring(fromIndex, toIndex));
799 @Override protected void removeRange(int fromIndex, int toIndex) { argument
800 subList(fromIndex, toIndex).clear();
815 @Override public List<T> subList(int fromIndex, int toIndex) { argument
816 checkPositionIndexes(fromIndex, toIndex, size());
818 reversePosition(toIndex), reversePosition(fromIndex)));
974 final List<E> list, int fromIndex, int toIndex) {
993 return wrapper.subList(fromIndex, toIndex);
687 subList( int fromIndex, int toIndex) argument
973 subListImpl( final List<E> list, int fromIndex, int toIndex) argument
[all...]
/external/skia/src/gpu/vk/
H A DGrVkUniformHandler.h40 return fUniforms[u.toIndex()].fVariable;
71 return fUniforms[u.toIndex()];
H A DGrVkProgramDataManager.cpp42 const Uniform& uni = fUniforms[u.toIndex()];
61 const Uniform& uni = fUniforms[u.toIndex()];
81 const Uniform& uni = fUniforms[u.toIndex()];
101 const Uniform& uni = fUniforms[u.toIndex()];
121 const Uniform& uni = fUniforms[u.toIndex()];
141 const Uniform& uni = fUniforms[u.toIndex()];
161 const Uniform& uni = fUniforms[u.toIndex()];
181 const Uniform& uni = fUniforms[u.toIndex()];
201 const Uniform& uni = fUniforms[u.toIndex()];
225 const Uniform& uni = fUniforms[u.toIndex()];
[all...]
/external/skia/src/gpu/gl/
H A DGrGLProgramDataManager.cpp65 const Uniform& uni = fUniforms[u.toIndex()];
82 const Uniform& uni = fUniforms[u.toIndex()];
97 const Uniform& uni = fUniforms[u.toIndex()];
114 const Uniform& uni = fUniforms[u.toIndex()];
129 const Uniform& uni = fUniforms[u.toIndex()];
143 const Uniform& uni = fUniforms[u.toIndex()];
158 const Uniform& uni = fUniforms[u.toIndex()];
176 const Uniform& uni = fUniforms[u.toIndex()];
191 const Uniform& uni = fUniforms[u.toIndex()];
205 const Uniform& uni = fUniforms[u.toIndex()];
[all...]
H A DGrGLUniformHandler.h22 return fUniforms[u.toIndex()].fVariable;
/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);
/external/skia/src/gpu/glsl/
H A DGrGLSLProgramDataManager.h35 int toIndex() const { SkASSERT(this->isValid()); return fValue; } function in class:GrGLSLProgramDataManager::ShaderResourceHandle
/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);

Completed in 759 milliseconds

1234