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

123

/external/guava/guava/src/com/google/common/collect/
H A DImmutableSortedAsList.java61 @Override public ImmutableList<E> subList(int fromIndex, int toIndex) { argument
62 Preconditions.checkPositionIndexes(fromIndex, toIndex, size());
63 return (fromIndex == toIndex) ? ImmutableList.<E>of()
65 backingList.subList(fromIndex, toIndex), backingSet.comparator())
H A DForwardingList.java110 public List<E> subList(int fromIndex, int toIndex) { argument
111 return delegate().subList(fromIndex, toIndex);
213 @Beta protected List<E> standardSubList(int fromIndex, int toIndex) { argument
214 return Lists.subListImpl(this, fromIndex, toIndex);
H A DSingletonImmutableList.java107 @Override public ImmutableList<E> subList(int fromIndex, int toIndex) { argument
108 Preconditions.checkPositionIndexes(fromIndex, toIndex, 1);
109 return (fromIndex == toIndex) ? ImmutableList.<E>of() : this;
H A DRegularImmutableList.java117 @Override public ImmutableList<E> subList(int fromIndex, int toIndex) { argument
118 Preconditions.checkPositionIndexes(fromIndex, toIndex, size);
119 return (fromIndex == toIndex)
122 array, offset + fromIndex, toIndex - fromIndex);
H A DEmptyImmutableList.java118 @Override public ImmutableList<Object> subList(int fromIndex, int toIndex) { argument
119 checkPositionIndexes(fromIndex, toIndex, 0);
H A DTransformedImmutableList.java93 @Override public ImmutableList<E> subList(int fromIndex, int toIndex) { argument
94 return new TransformedView(backingList.subList(fromIndex, toIndex));
/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/chromium_org/third_party/WebKit/Source/devtools/front_end/sources/
H A DFileBasedSearchResultsPane.js87 var toIndex = Math.min(this._searchResult.searchMatches.length, WebInspector.FileBasedSearchResultsPane.fileMatchesShownAtOnce);
88 if (toIndex < this._searchResult.searchMatches.length) {
89 this._appendSearchMatches(0, toIndex - 1);
90 this._appendShowMoreMatchesElement(toIndex - 1);
92 this._appendSearchMatches(0, toIndex);
126 * @param {number} toIndex
128 _appendSearchMatches: function(fromIndex, toIndex)
139 for (var i = fromIndex; i < toIndex; ++i) {
/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/chromium_org/third_party/WebKit/Source/devtools/front_end/components/
H A DObjectPropertiesSection.js786 * @param {number} toIndex
789 WebInspector.ArrayGroupingTreeElement = function(object, fromIndex, toIndex, propertyCount)
791 TreeElement.call(this, String.sprintf("[%d \u2026 %d]", fromIndex, toIndex), undefined, true);
795 this._toIndex = toIndex;
809 * @param {number} toIndex
811 WebInspector.ArrayGroupingTreeElement._populateArray = function(treeElement, object, fromIndex, toIndex)
813 WebInspector.ArrayGroupingTreeElement._populateRanges(treeElement, object, fromIndex, toIndex, true);
820 * @param {number} toIndex
824 WebInspector.ArrayGroupingTreeElement._populateRanges = function(treeElement, object, fromIndex, toIndex, topLevel)
826 object.callFunctionJSON(packRanges, [{value: fromIndex}, {value: toIndex}, {valu
[all...]
/external/chromium_org/components/devtools_bridge/test/android/javatests/src/org/chromium/components/devtools_bridge/
H A DSocketTunnelClient.java71 int index = toIndex(id);
81 int index = toIndex(id);
91 return mLocks[toIndex(id)] > 0;
98 int index = toIndex(id);
108 private int toIndex(int id) { method in class:SocketTunnelClient.IdRegistry
/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.java194 int toIndex,
197 for (int index = fromIndex; index < toIndex; index++)
191 readInput(String messagePrefix, ClassPath classPath, int fromIndex, int toIndex, DataEntryReader reader) argument
/external/chromium_org/v8/test/mjsunit/
H A Dmirror-string.js66 assertEquals(fromJSON.toIndex, kMaxProtocolStringLength);
/external/guava/guava/src/com/google/common/primitives/
H A DBytes.java327 @Override public List<Byte> subList(int fromIndex, int toIndex) { argument
329 checkPositionIndexes(fromIndex, toIndex, size);
330 if (fromIndex == toIndex) {
333 return new ByteArrayAsList(array, start + fromIndex, start + toIndex);
H A DBooleans.java410 @Override public List<Boolean> subList(int fromIndex, int toIndex) { argument
412 checkPositionIndexes(fromIndex, toIndex, size);
413 if (fromIndex == toIndex) {
416 return new BooleanArrayAsList(array, start + fromIndex, start + toIndex);
H A DChars.java526 @Override public List<Character> subList(int fromIndex, int toIndex) { argument
528 checkPositionIndexes(fromIndex, toIndex, size);
529 if (fromIndex == toIndex) {
532 return new CharArrayAsList(array, start + fromIndex, start + toIndex);
H A DDoubles.java472 @Override public List<Double> subList(int fromIndex, int toIndex) { argument
474 checkPositionIndexes(fromIndex, toIndex, size);
475 if (fromIndex == toIndex) {
478 return new DoubleArrayAsList(array, start + fromIndex, start + toIndex);
H A DFloats.java469 @Override public List<Float> subList(int fromIndex, int toIndex) { argument
471 checkPositionIndexes(fromIndex, toIndex, size);
472 if (fromIndex == toIndex) {
475 return new FloatArrayAsList(array, start + fromIndex, start + toIndex);
H A DInts.java533 @Override public List<Integer> subList(int fromIndex, int toIndex) { argument
535 checkPositionIndexes(fromIndex, toIndex, size);
536 if (fromIndex == toIndex) {
539 return new IntArrayAsList(array, start + fromIndex, start + toIndex);
H A DLongs.java518 @Override public List<Long> subList(int fromIndex, int toIndex) { argument
520 checkPositionIndexes(fromIndex, toIndex, size);
521 if (fromIndex == toIndex) {
524 return new LongArrayAsList(array, start + fromIndex, start + toIndex);
H A DShorts.java531 @Override public List<Short> subList(int fromIndex, int toIndex) { argument
533 checkPositionIndexes(fromIndex, toIndex, size);
534 if (fromIndex == toIndex) {
537 return new ShortArrayAsList(array, start + fromIndex, start + toIndex);
/external/chromium_org/chrome/browser/ui/cocoa/bookmarks/
H A Dbookmark_button.h174 - (void)moveButtonFromIndex:(NSInteger)fromIndex toIndex:(NSInteger)toIndex;
/external/chromium_org/ui/app_list/cocoa/
H A Dapps_grid_controller.h95 toItemIndex:(size_t)toIndex;
/external/guava/guava-gwt/src-super/com/google/common/primitives/super/com/google/common/primitives/
H A DChars.java475 @Override public List<Character> subList(int fromIndex, int toIndex) { argument
477 checkPositionIndexes(fromIndex, toIndex, size);
478 if (fromIndex == toIndex) {
481 return new CharArrayAsList(array, start + fromIndex, start + toIndex);

Completed in 911 milliseconds

123