/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/source/chunk/ |
D | BaseMediaChunkIterator.java | 26 private final long fromIndex; field in BaseMediaChunkIterator 38 public BaseMediaChunkIterator(long fromIndex, long toIndex) { in BaseMediaChunkIterator() argument 39 this.fromIndex = fromIndex; in BaseMediaChunkIterator() 57 currentIndex = fromIndex - 1; in reset() 66 if (currentIndex < fromIndex || currentIndex > toIndex) { in checkInBounds()
|
/external/guava/guava/src/com/google/common/primitives/ |
D | UnsignedInts.java | 230 public static void sort(int[] array, int fromIndex, int toIndex) { in sort() argument 232 checkPositionIndexes(fromIndex, toIndex, array.length); in sort() 233 for (int i = fromIndex; i < toIndex; i++) { in sort() 236 Arrays.sort(array, fromIndex, toIndex); in sort() 237 for (int i = fromIndex; i < toIndex; i++) { in sort() 259 public static void sortDescending(int[] array, int fromIndex, int toIndex) { in sortDescending() argument 261 checkPositionIndexes(fromIndex, toIndex, array.length); in sortDescending() 262 for (int i = fromIndex; i < toIndex; i++) { in sortDescending() 265 Arrays.sort(array, fromIndex, toIndex); in sortDescending() 266 for (int i = fromIndex; i < toIndex; i++) { in sortDescending()
|
D | UnsignedLongs.java | 196 public static void sort(long[] array, int fromIndex, int toIndex) { in sort() argument 198 checkPositionIndexes(fromIndex, toIndex, array.length); in sort() 199 for (int i = fromIndex; i < toIndex; i++) { in sort() 202 Arrays.sort(array, fromIndex, toIndex); in sort() 203 for (int i = fromIndex; i < toIndex; i++) { in sort() 225 public static void sortDescending(long[] array, int fromIndex, int toIndex) { in sortDescending() argument 227 checkPositionIndexes(fromIndex, toIndex, array.length); in sortDescending() 228 for (int i = fromIndex; i < toIndex; i++) { in sortDescending() 231 Arrays.sort(array, fromIndex, toIndex); in sortDescending() 232 for (int i = fromIndex; i < toIndex; i++) { in sortDescending()
|
D | UnsignedBytes.java | 470 public static void sort(byte[] array, int fromIndex, int toIndex) { 472 checkPositionIndexes(fromIndex, toIndex, array.length); 473 for (int i = fromIndex; i < toIndex; i++) { 476 Arrays.sort(array, fromIndex, toIndex); 477 for (int i = fromIndex; i < toIndex; i++) { 499 public static void sortDescending(byte[] array, int fromIndex, int toIndex) { 501 checkPositionIndexes(fromIndex, toIndex, array.length); 502 for (int i = fromIndex; i < toIndex; i++) { 505 Arrays.sort(array, fromIndex, toIndex); 506 for (int i = fromIndex; i < toIndex; i++) {
|
D | Floats.java | 418 public static void sortDescending(float[] array, int fromIndex, int toIndex) { in sortDescending() argument 420 checkPositionIndexes(fromIndex, toIndex, array.length); in sortDescending() 421 Arrays.sort(array, fromIndex, toIndex); in sortDescending() 422 reverse(array, fromIndex, toIndex); in sortDescending() 446 public static void reverse(float[] array, int fromIndex, int toIndex) { in reverse() argument 448 checkPositionIndexes(fromIndex, toIndex, array.length); in reverse() 449 for (int i = fromIndex, j = toIndex - 1; i < j; i++, j--) { in reverse() 579 public List<Float> subList(int fromIndex, int toIndex) { in subList() argument 581 checkPositionIndexes(fromIndex, toIndex, size); in subList() 582 if (fromIndex == toIndex) { in subList() [all …]
|
D | Chars.java | 452 public static void sortDescending(char[] array, int fromIndex, int toIndex) { in sortDescending() argument 454 checkPositionIndexes(fromIndex, toIndex, array.length); in sortDescending() 455 Arrays.sort(array, fromIndex, toIndex); in sortDescending() 456 reverse(array, fromIndex, toIndex); in sortDescending() 480 public static void reverse(char[] array, int fromIndex, int toIndex) { in reverse() argument 482 checkPositionIndexes(fromIndex, toIndex, array.length); in reverse() 483 for (int i = fromIndex, j = toIndex - 1; i < j; i++, j--) { in reverse() 583 public List<Character> subList(int fromIndex, int toIndex) { in subList() argument 585 checkPositionIndexes(fromIndex, toIndex, size); in subList() 586 if (fromIndex == toIndex) { in subList() [all …]
|
D | Ints.java | 471 public static void sortDescending(int[] array, int fromIndex, int toIndex) { in sortDescending() argument 473 checkPositionIndexes(fromIndex, toIndex, array.length); in sortDescending() 474 Arrays.sort(array, fromIndex, toIndex); in sortDescending() 475 reverse(array, fromIndex, toIndex); in sortDescending() 499 public static void reverse(int[] array, int fromIndex, int toIndex) { in reverse() argument 501 checkPositionIndexes(fromIndex, toIndex, array.length); in reverse() 502 for (int i = fromIndex, j = toIndex - 1; i < j; i++, j--) { in reverse() 637 public List<Integer> subList(int fromIndex, int toIndex) { in subList() argument 639 checkPositionIndexes(fromIndex, toIndex, size); in subList() 640 if (fromIndex == toIndex) { in subList() [all …]
|
D | Doubles.java | 423 public static void sortDescending(double[] array, int fromIndex, int toIndex) { in sortDescending() argument 425 checkPositionIndexes(fromIndex, toIndex, array.length); in sortDescending() 426 Arrays.sort(array, fromIndex, toIndex); in sortDescending() 427 reverse(array, fromIndex, toIndex); in sortDescending() 451 public static void reverse(double[] array, int fromIndex, int toIndex) { in reverse() argument 453 checkPositionIndexes(fromIndex, toIndex, array.length); in reverse() 454 for (int i = fromIndex, j = toIndex - 1; i < j; i++, j--) { in reverse() 593 public List<Double> subList(int fromIndex, int toIndex) { in subList() argument 595 checkPositionIndexes(fromIndex, toIndex, size); in subList() 596 if (fromIndex == toIndex) { in subList() [all …]
|
D | Shorts.java | 472 public static void sortDescending(short[] array, int fromIndex, int toIndex) { in sortDescending() argument 474 checkPositionIndexes(fromIndex, toIndex, array.length); in sortDescending() 475 Arrays.sort(array, fromIndex, toIndex); in sortDescending() 476 reverse(array, fromIndex, toIndex); in sortDescending() 500 public static void reverse(short[] array, int fromIndex, int toIndex) { in reverse() argument 502 checkPositionIndexes(fromIndex, toIndex, array.length); in reverse() 503 for (int i = fromIndex, j = toIndex - 1; i < j; i++, j--) { in reverse() 630 public List<Short> subList(int fromIndex, int toIndex) { in subList() argument 632 checkPositionIndexes(fromIndex, toIndex, size); in subList() 633 if (fromIndex == toIndex) { in subList() [all …]
|
/external/guava/android/guava/src/com/google/common/primitives/ |
D | UnsignedInts.java | 230 public static void sort(int[] array, int fromIndex, int toIndex) { in sort() argument 232 checkPositionIndexes(fromIndex, toIndex, array.length); in sort() 233 for (int i = fromIndex; i < toIndex; i++) { in sort() 236 Arrays.sort(array, fromIndex, toIndex); in sort() 237 for (int i = fromIndex; i < toIndex; i++) { in sort() 259 public static void sortDescending(int[] array, int fromIndex, int toIndex) { in sortDescending() argument 261 checkPositionIndexes(fromIndex, toIndex, array.length); in sortDescending() 262 for (int i = fromIndex; i < toIndex; i++) { in sortDescending() 265 Arrays.sort(array, fromIndex, toIndex); in sortDescending() 266 for (int i = fromIndex; i < toIndex; i++) { in sortDescending()
|
D | UnsignedBytes.java | 470 public static void sort(byte[] array, int fromIndex, int toIndex) { 472 checkPositionIndexes(fromIndex, toIndex, array.length); 473 for (int i = fromIndex; i < toIndex; i++) { 476 Arrays.sort(array, fromIndex, toIndex); 477 for (int i = fromIndex; i < toIndex; i++) { 499 public static void sortDescending(byte[] array, int fromIndex, int toIndex) { 501 checkPositionIndexes(fromIndex, toIndex, array.length); 502 for (int i = fromIndex; i < toIndex; i++) { 505 Arrays.sort(array, fromIndex, toIndex); 506 for (int i = fromIndex; i < toIndex; i++) {
|
D | UnsignedLongs.java | 196 public static void sort(long[] array, int fromIndex, int toIndex) { in sort() argument 198 checkPositionIndexes(fromIndex, toIndex, array.length); in sort() 199 for (int i = fromIndex; i < toIndex; i++) { in sort() 202 Arrays.sort(array, fromIndex, toIndex); in sort() 203 for (int i = fromIndex; i < toIndex; i++) { in sort() 225 public static void sortDescending(long[] array, int fromIndex, int toIndex) { in sortDescending() argument 227 checkPositionIndexes(fromIndex, toIndex, array.length); in sortDescending() 228 for (int i = fromIndex; i < toIndex; i++) { in sortDescending() 231 Arrays.sort(array, fromIndex, toIndex); in sortDescending() 232 for (int i = fromIndex; i < toIndex; i++) { in sortDescending()
|
D | Floats.java | 418 public static void sortDescending(float[] array, int fromIndex, int toIndex) { in sortDescending() argument 420 checkPositionIndexes(fromIndex, toIndex, array.length); in sortDescending() 421 Arrays.sort(array, fromIndex, toIndex); in sortDescending() 422 reverse(array, fromIndex, toIndex); in sortDescending() 446 public static void reverse(float[] array, int fromIndex, int toIndex) { in reverse() argument 448 checkPositionIndexes(fromIndex, toIndex, array.length); in reverse() 449 for (int i = fromIndex, j = toIndex - 1; i < j; i++, j--) { in reverse() 579 public List<Float> subList(int fromIndex, int toIndex) { in subList() argument 581 checkPositionIndexes(fromIndex, toIndex, size); in subList() 582 if (fromIndex == toIndex) { in subList() [all …]
|
D | Chars.java | 452 public static void sortDescending(char[] array, int fromIndex, int toIndex) { in sortDescending() argument 454 checkPositionIndexes(fromIndex, toIndex, array.length); in sortDescending() 455 Arrays.sort(array, fromIndex, toIndex); in sortDescending() 456 reverse(array, fromIndex, toIndex); in sortDescending() 480 public static void reverse(char[] array, int fromIndex, int toIndex) { in reverse() argument 482 checkPositionIndexes(fromIndex, toIndex, array.length); in reverse() 483 for (int i = fromIndex, j = toIndex - 1; i < j; i++, j--) { in reverse() 583 public List<Character> subList(int fromIndex, int toIndex) { in subList() argument 585 checkPositionIndexes(fromIndex, toIndex, size); in subList() 586 if (fromIndex == toIndex) { in subList() [all …]
|
D | Ints.java | 469 public static void sortDescending(int[] array, int fromIndex, int toIndex) { in sortDescending() argument 471 checkPositionIndexes(fromIndex, toIndex, array.length); in sortDescending() 472 Arrays.sort(array, fromIndex, toIndex); in sortDescending() 473 reverse(array, fromIndex, toIndex); in sortDescending() 497 public static void reverse(int[] array, int fromIndex, int toIndex) { in reverse() argument 499 checkPositionIndexes(fromIndex, toIndex, array.length); in reverse() 500 for (int i = fromIndex, j = toIndex - 1; i < j; i++, j--) { in reverse() 630 public List<Integer> subList(int fromIndex, int toIndex) { in subList() argument 632 checkPositionIndexes(fromIndex, toIndex, size); in subList() 633 if (fromIndex == toIndex) { in subList() [all …]
|
D | Shorts.java | 472 public static void sortDescending(short[] array, int fromIndex, int toIndex) { in sortDescending() argument 474 checkPositionIndexes(fromIndex, toIndex, array.length); in sortDescending() 475 Arrays.sort(array, fromIndex, toIndex); in sortDescending() 476 reverse(array, fromIndex, toIndex); in sortDescending() 500 public static void reverse(short[] array, int fromIndex, int toIndex) { in reverse() argument 502 checkPositionIndexes(fromIndex, toIndex, array.length); in reverse() 503 for (int i = fromIndex, j = toIndex - 1; i < j; i++, j--) { in reverse() 630 public List<Short> subList(int fromIndex, int toIndex) { in subList() argument 632 checkPositionIndexes(fromIndex, toIndex, size); in subList() 633 if (fromIndex == toIndex) { in subList() [all …]
|
D | Doubles.java | 421 public static void sortDescending(double[] array, int fromIndex, int toIndex) { in sortDescending() argument 423 checkPositionIndexes(fromIndex, toIndex, array.length); in sortDescending() 424 Arrays.sort(array, fromIndex, toIndex); in sortDescending() 425 reverse(array, fromIndex, toIndex); in sortDescending() 449 public static void reverse(double[] array, int fromIndex, int toIndex) { in reverse() argument 451 checkPositionIndexes(fromIndex, toIndex, array.length); in reverse() 452 for (int i = fromIndex, j = toIndex - 1; i < j; i++, j--) { in reverse() 586 public List<Double> subList(int fromIndex, int toIndex) { in subList() argument 588 checkPositionIndexes(fromIndex, toIndex, size); in subList() 589 if (fromIndex == toIndex) { in subList() [all …]
|
/external/okhttp/okio/okio/src/main/java/okio/ |
D | RealBufferedSource.java | 303 @Override public long indexOf(byte b, long fromIndex) throws IOException { in indexOf() argument 305 while (fromIndex >= buffer.size) { in indexOf() 309 while ((index = buffer.indexOf(b, fromIndex)) == -1) { in indexOf() 310 fromIndex = buffer.size; in indexOf() 320 @Override public long indexOf(ByteString bytes, long fromIndex) throws IOException { in indexOf() argument 323 fromIndex = indexOf(bytes.getByte(0), fromIndex); in indexOf() 324 if (fromIndex == -1) { in indexOf() 327 if (rangeEquals(fromIndex, bytes)) { in indexOf() 328 return fromIndex; in indexOf() 330 fromIndex++; in indexOf() [all …]
|
/external/okhttp/repackaged/okio/okio/src/main/java/com/android/okhttp/okio/ |
D | RealBufferedSource.java | 304 @Override public long indexOf(byte b, long fromIndex) throws IOException { in indexOf() argument 306 while (fromIndex >= buffer.size) { in indexOf() 310 while ((index = buffer.indexOf(b, fromIndex)) == -1) { in indexOf() 311 fromIndex = buffer.size; in indexOf() 321 @Override public long indexOf(ByteString bytes, long fromIndex) throws IOException { in indexOf() argument 324 fromIndex = indexOf(bytes.getByte(0), fromIndex); in indexOf() 325 if (fromIndex == -1) { in indexOf() 328 if (rangeEquals(fromIndex, bytes)) { in indexOf() 329 return fromIndex; in indexOf() 331 fromIndex++; in indexOf() [all …]
|
/external/apache-xml/src/main/java/org/apache/xml/utils/ |
D | XMLStringDefault.java | 440 public int indexOf(int ch, int fromIndex) in indexOf() argument 442 return m_str.indexOf(ch, fromIndex); in indexOf() 488 public int lastIndexOf(int ch, int fromIndex) in lastIndexOf() argument 490 return m_str.lastIndexOf(ch, fromIndex); in lastIndexOf() 563 public int indexOf(String str, int fromIndex) in indexOf() argument 565 return m_str.indexOf(str, fromIndex); in indexOf() 611 public int lastIndexOf(String str, int fromIndex) in lastIndexOf() argument 613 return m_str.lastIndexOf(str, fromIndex); in lastIndexOf()
|
D | XMLString.java | 374 public abstract int indexOf(int ch, int fromIndex); in indexOf() argument 416 public abstract int lastIndexOf(int ch, int fromIndex); in lastIndexOf() argument 482 public abstract int indexOf(String str, int fromIndex); in indexOf() argument 524 public abstract int lastIndexOf(String str, int fromIndex); in lastIndexOf() argument
|
/external/hamcrest/hamcrest-library/src/main/java/org/hamcrest/text/ |
D | StringContainsInOrder.java | 18 int fromIndex = 0; in matchesSafely() local 21 fromIndex = s.indexOf(substring, fromIndex); in matchesSafely() 22 if (fromIndex == -1) { in matchesSafely()
|
/external/cldr/tools/java/org/unicode/cldr/draft/ |
D | UnmodifiableBitSet.java | 43 public void clear(int fromIndex, int toIndex) { in clear() argument 53 public void flip(int fromIndex, int toIndex) { in flip() argument 68 public void set(int fromIndex, int toIndex) { in set() argument 73 public void set(int fromIndex, int toIndex, boolean value) { in set() argument
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/ |
D | MediaSourceList.java | 166 int fromIndex, int toIndex, ShuffleOrder shuffleOrder) { in removeMediaSourceRange() argument 167 Assertions.checkArgument(fromIndex >= 0 && fromIndex <= toIndex && toIndex <= getSize()); in removeMediaSourceRange() 169 removeMediaSourcesInternal(fromIndex, toIndex); in removeMediaSourceRange() 207 int fromIndex, int toIndex, int newFromIndex, ShuffleOrder shuffleOrder) { in moveMediaSourceRange() argument 209 fromIndex >= 0 && fromIndex <= toIndex && toIndex <= getSize() && newFromIndex >= 0); in moveMediaSourceRange() 211 if (fromIndex == toIndex || fromIndex == newFromIndex) { in moveMediaSourceRange() 214 int startIndex = Math.min(fromIndex, newFromIndex); in moveMediaSourceRange() 215 int newEndIndex = newFromIndex + (toIndex - fromIndex) - 1; in moveMediaSourceRange() 218 moveMediaSourceHolders(mediaSourceHolders, fromIndex, toIndex, newFromIndex); in moveMediaSourceRange() 383 private void removeMediaSourcesInternal(int fromIndex, int toIndex) { in removeMediaSourcesInternal() argument [all …]
|
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime.JavaExtensions/ |
D | ListExtensions.cs | 206 public static IList subList( this IList list, int fromIndex, int toIndex ) in subList() argument 208 return new SubList( list, fromIndex, toIndex ); in subList() 217 public static IList<T> subList<T>( this IList<T> list, int fromIndex, int toIndex ) in subList() argument 219 return new SubList<T>( list, fromIndex, toIndex ); in subList() 227 public static IList<T> subList<T>( this List<T> list, int fromIndex, int toIndex ) in subList() argument 229 return new SubList<T>( list, fromIndex, toIndex ); in subList()
|