/libcore/luni/src/main/java/java/util/ |
BitSet.java | 232 private void checkRange(int fromIndex, int toIndex) { 233 if ((fromIndex | toIndex) < 0 || toIndex < fromIndex) { 234 throw new IndexOutOfBoundsException("fromIndex=" + fromIndex + " toIndex=" + toIndex); 240 * range of bits {@code [fromIndex, toIndex)}, shifted down so that the bit 244 * if {@code fromIndex} or {@code toIndex} is negative, or if 245 * {@code toIndex} is smaller than {@code fromIndex}. 247 public BitSet get(int fromIndex, int toIndex) { 248 checkRange(fromIndex, toIndex); [all...] |
ArrayList.java | 440 @Override protected void removeRange(int fromIndex, int toIndex) { 441 if (fromIndex == toIndex) { 450 if (toIndex > s) { 451 throw new IndexOutOfBoundsException("toIndex " + toIndex 454 if (fromIndex > toIndex) { 456 + " > toIndex " + toIndex); 459 System.arraycopy(a, toIndex, a, fromIndex, s - toIndex); [all...] |
/external/guava/guava/src/com/google/common/collect/ |
ImmutableSortedAsList.java | 61 @Override public ImmutableList<E> subList(int fromIndex, int toIndex) { 62 Preconditions.checkPositionIndexes(fromIndex, toIndex, size()); 63 return (fromIndex == toIndex) ? ImmutableList.<E>of() 65 backingList.subList(fromIndex, toIndex), backingSet.comparator())
|
ForwardingList.java | 110 public List<E> subList(int fromIndex, int toIndex) { 111 return delegate().subList(fromIndex, toIndex); 213 @Beta protected List<E> standardSubList(int fromIndex, int toIndex) { 214 return Lists.subListImpl(this, fromIndex, toIndex);
|
SingletonImmutableList.java | 107 @Override public ImmutableList<E> subList(int fromIndex, int toIndex) { 108 Preconditions.checkPositionIndexes(fromIndex, toIndex, 1); 109 return (fromIndex == toIndex) ? ImmutableList.<E>of() : this;
|
RegularImmutableList.java | 117 @Override public ImmutableList<E> subList(int fromIndex, int toIndex) { 118 Preconditions.checkPositionIndexes(fromIndex, toIndex, size); 119 return (fromIndex == toIndex) 122 array, offset + fromIndex, toIndex - fromIndex);
|
EmptyImmutableList.java | 118 @Override public ImmutableList<Object> subList(int fromIndex, int toIndex) { 119 checkPositionIndexes(fromIndex, toIndex, 0);
|
TransformedImmutableList.java | 93 @Override public ImmutableList<E> subList(int fromIndex, int toIndex) { 94 return new TransformedView(backingList.subList(fromIndex, toIndex));
|
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/editors/ |
StateViewPage.java | 270 * Update GL state from GL call at fromIndex to the call at toIndex. 271 * If fromIndex < toIndex, the GL state will be updated by applying all the transformations 272 * corresponding to calls from (fromIndex + 1) to toIndex (inclusive). 273 * If fromIndex > toIndex, the GL state will be updated by reverting all the calls from 274 * fromIndex (inclusive) to (toIndex + 1). 277 private Set<IGLProperty> updateState(int fromIndex, int toIndex) { 279 assert toIndex >= 0 && toIndex < mGLCalls.size(); 281 if (fromIndex < toIndex) { 282 return applyTransformations(fromIndex, toIndex); [all...] |
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/ |
TokenRewriteStream.as | 141 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/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.JavaExtensions/ |
ListExtensions.cs | 206 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/ |
ObjectPropertiesSection.js | 685 * @param {number} toIndex 688 WebInspector.ArrayGroupingTreeElement = function(object, fromIndex, toIndex, propertyCount) 690 TreeElement.call(this, String.sprintf("[%d \u2026 %d]", fromIndex, toIndex), undefined, true); 692 this._toIndex = toIndex; 706 * @param {number} toIndex 708 WebInspector.ArrayGroupingTreeElement._populateArray = function(treeElement, object, fromIndex, toIndex) 710 WebInspector.ArrayGroupingTreeElement._populateRanges(treeElement, object, fromIndex, toIndex, true); 717 * @param {number} toIndex 721 WebInspector.ArrayGroupingTreeElement._populateRanges = function(treeElement, object, fromIndex, toIndex, topLevel) 723 object.callFunctionJSON(packRanges, [{value: fromIndex}, {value: toIndex}, {value: WebInspector.ArrayGroupingTreeElement._bucketThreshold}, {value: WebInspector.ArrayGroup (…) [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
CsvUtils.java | 97 * @param toIndex the index to end the search at, inclusive. Usually <code>toIndex</code> 101 * <code>toIndex</code>, or <code>toIndex</code> if the character does not occur. 104 final int toIndex) { 105 if (toIndex < 0 || fromIndex > text.length() || fromIndex < toIndex) { 107 "text=" + text + " fromIndex=" + fromIndex + " toIndex=" + toIndex); 110 while (index > toIndex && text.charAt(index - 1) == SPACE) [all...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
NameLookupBuilder.java | 231 * fromIndex and toIndex 239 private void insertNameVariants(long rawContactId, long dataId, int fromIndex, int toIndex, 241 if (fromIndex == toIndex) { 242 insertNameVariant(rawContactId, dataId, toIndex, 251 for (int i = fromIndex; i < toIndex; i++) { 255 insertNameVariants(rawContactId, dataId, fromIndex + 1, toIndex,
|
/external/proguard/src/proguard/ |
DataEntryWriterFactory.java | 41 * @param toIndex the end index in the class path. 46 int toIndex) 51 for (int index = toIndex - 1; index >= fromIndex; index--)
|
InputReader.java | 192 int toIndex, 195 for (int index = fromIndex; index < toIndex; index++)
|
/external/guava/guava/src/com/google/common/primitives/ |
Bytes.java | 327 @Override public List<Byte> subList(int fromIndex, int toIndex) { 329 checkPositionIndexes(fromIndex, toIndex, size); 330 if (fromIndex == toIndex) { 333 return new ByteArrayAsList(array, start + fromIndex, start + toIndex);
|
Booleans.java | 410 @Override public List<Boolean> subList(int fromIndex, int toIndex) { 412 checkPositionIndexes(fromIndex, toIndex, size); 413 if (fromIndex == toIndex) { 416 return new BooleanArrayAsList(array, start + fromIndex, start + toIndex);
|
Chars.java | 526 @Override public List<Character> subList(int fromIndex, int toIndex) { 528 checkPositionIndexes(fromIndex, toIndex, size); 529 if (fromIndex == toIndex) { 532 return new CharArrayAsList(array, start + fromIndex, start + toIndex);
|
Doubles.java | 472 @Override public List<Double> subList(int fromIndex, int toIndex) { 474 checkPositionIndexes(fromIndex, toIndex, size); 475 if (fromIndex == toIndex) { 478 return new DoubleArrayAsList(array, start + fromIndex, start + toIndex);
|
/external/chromium/chrome/browser/ui/cocoa/bookmarks/ |
bookmark_button.h | 180 - (void)moveButtonFromIndex:(NSInteger)fromIndex toIndex:(NSInteger)toIndex;
|
/external/chromium_org/chrome/browser/ui/cocoa/bookmarks/ |
bookmark_button.h | 175 - (void)moveButtonFromIndex:(NSInteger)fromIndex toIndex:(NSInteger)toIndex;
|
/frameworks/support/v4/ics/android/support/v4/view/accessibility/ |
AccessibilityRecordCompatIcs.java | 190 public static void setToIndex(Object record, int toIndex) { 191 ((AccessibilityRecord) record).setToIndex(toIndex);
|
/external/chromium/chrome/browser/ui/cocoa/tabs/ |
tab_strip_model_observer_bridge.h | 73 toIndex:(NSInteger)to;
|
/external/chromium_org/ui/app_list/cocoa/ |
apps_grid_controller.h | 95 toItemIndex:(size_t)toIndex;
|