/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
D | ArraysTest.java | 3033 byte[] result = Arrays.copyOfRange(byteArray, 0,arraySize*2); in test_copyOfRange_$BII() 3041 result = Arrays.copyOfRange(byteArray,0, arraySize/2); in test_copyOfRange_$BII() 3046 result = Arrays.copyOfRange(byteArray,0, 0); in test_copyOfRange_$BII() 3049 Arrays.copyOfRange((byte[])null, 0,arraySize); in test_copyOfRange_$BII() 3055 Arrays.copyOfRange((byte[])null, -1,arraySize); in test_copyOfRange_$BII() 3061 Arrays.copyOfRange((byte[])null, 0,-1); in test_copyOfRange_$BII() 3067 Arrays.copyOfRange(byteArray, -1,arraySize); in test_copyOfRange_$BII() 3073 Arrays.copyOfRange(byteArray, 0, -1); in test_copyOfRange_$BII() 3078 assertEquals(byteArray.length + 1, Arrays.copyOfRange(byteArray, 0, in test_copyOfRange_$BII() 3086 short[] result = Arrays.copyOfRange(shortArray, 0,arraySize*2); in test_copyOfRange_$SII() [all …]
|
/external/guava/guava/src/com/google/common/net/ |
D | InetAddresses.java | 616 return getInet4Address(copyOfRange(ip.getAddress(), 12, 16)); in getCompatIPv4Address() 652 return getInet4Address(copyOfRange(ip.getAddress(), 2, 6)); in get6to4IPv4Address() 759 Inet4Address server = getInet4Address(copyOfRange(bytes, 4, 8)); in getTeredoInfo() 766 byte[] clientBytes = copyOfRange(bytes, 12, 16); in getTeredoInfo() 826 return getInet4Address(copyOfRange(ip.getAddress(), 12, 16)); in getIsatapIPv4Address() 1114 private static byte[] copyOfRange(byte[] original, int from, int to) { in copyOfRange() method in InetAddresses
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/ |
D | Arrays.java | 545 public static byte[] copyOfRange(byte[] data, int from, int to) in copyOfRange() method in Arrays 563 public static int[] copyOfRange(int[] data, int from, int to) in copyOfRange() method in Arrays 581 public static long[] copyOfRange(long[] data, int from, int to) in copyOfRange() method in Arrays 599 public static BigInteger[] copyOfRange(BigInteger[] data, int from, int to) in copyOfRange() method in Arrays
|
/external/guava/guava-tests/test/com/google/common/hash/ |
D | AbstractNonStreamingHashFunctionTest.java | 89 return HashCodes.fromBytes(Arrays.copyOfRange(input, off, off + len)); in hashBytes()
|
D | AbstractStreamingHasherTest.java | 226 return hashBytes(Arrays.copyOfRange(input, off, off + len));
|
/external/guava/guava-tests/test/com/google/common/io/ |
D | ByteStreamsTest.java | 694 byte[] expected = Arrays.copyOfRange("r\u00C9sum\u00C9".getBytes(Charsets.UTF_16), 2, 14); 706 assertEquals(expected, Arrays.copyOfRange(actual, 2, actual.length)); 859 copyOfRange(buf, off, off + len), 871 private static byte[] copyOfRange(byte[] in, int from, int to) {
|
/external/okhttp/src/main/java/com/squareup/okhttp/internal/ |
D | DiskLruCache.java | 285 entry.setLengths(Arrays.copyOfRange(parts, 2, parts.length)); in readJournalLine()
|
/external/guava/guava/src/com/google/common/primitives/ |
D | generate.sh | 181 * java.util.Arrays.copyOfRange(array, i, i + target.length)} contains exactly
|
/external/okhttp/src/test/java/com/squareup/okhttp/internal/http/ |
D | HttpResponseCacheTest.java | 1676 response.setBody(Arrays.copyOfRange(response.getBody(), 0, numBytesToKeep)); in truncateViolently()
|