/external/guava/guava-tests/test/com/google/common/hash/ |
D | HashCodeTest.java | 87 HashCode fromBytes = HashCode.fromBytes(expected.bytes); in testFromBytes() local 88 assertExpectedHashCode(expected, fromBytes); in testFromBytes() 94 HashCode hashCode = HashCode.fromBytes(bytes); in testFromBytes_copyOccurs() 122 HashCode hashCode = HashCode.fromBytes(bytes); in testGetBytesInternal_noCloneOccurs() 160 assertEquals("7f8005ff0e", HashCode.fromBytes(data).toString()); in testToString() 175 HashCode.fromBytes(BaseEncoding.base16().lowerCase().decode(hash1.toString())); in testRoundTripHashCodeUsingBaseEncoding() 194 HashCode hashCodeA = HashCode.fromBytes(bytesA); in testObjectHashCodeWithSameLowOrderBytes() 195 HashCode hashCodeB = HashCode.fromBytes(bytesB); in testObjectHashCodeWithSameLowOrderBytes() 213 String string = HashCode.fromBytes(expected.bytes).toString(); in testRoundTrip() 217 HashCode.fromBytes( in testRoundTrip() [all …]
|
D | AbstractNonStreamingHashFunctionTest.java | 106 return HashCode.fromBytes(out.toByteArray()); in newHasher() 134 return HashCode.fromBytes(input); in hashBytes() 139 return HashCode.fromBytes(Arrays.copyOfRange(input, off, off + len)); in hashBytes()
|
D | MessageDigestHashFunctionTest.java | 100 HashCode.fromBytes(digest.digest(input)), in assertMessageDigestHashing() 104 HashCode.fromBytes(Arrays.copyOf(digest.digest(input), bytes)), in assertMessageDigestHashing()
|
D | AbstractStreamingHasherTest.java | 202 return HashCode.fromBytes(out.toByteArray()); in makeHash() 253 return HashCode.fromBytes(input);
|
D | Murmur3Hash128Test.java | 66 return HashCode.fromBytes(bb.array()); in toHashCode()
|
D | HashingTest.java | 261 assertEquals(HashCode.fromBytes(new byte[] { (byte) 0x80, 0, 0, 0 }), in testCombineOrdered() 263 assertEquals(HashCode.fromBytes(new byte[] { (byte) 0xa0, 0, 0, 0 }), in testCombineOrdered() 351 assertEquals(HashCode.fromBytes(combined), in testConcatenatedHashFunction_makeHash()
|
/external/guava/guava/src/com/google/common/io/ |
D | LittleEndianDataInputStream.java | 103 return Ints.fromBytes((byte) 0, (byte) 0, b2, b1); in readUnsignedShort() 121 return Ints.fromBytes( b4, b3, b2, b1); in readInt() 143 return Longs.fromBytes(b8, b7, b6, b5, b4, b3, b2, b1); in readLong()
|
/external/guava/guava/src/com/google/common/hash/ |
D | BloomFilterStrategies.java | 129 return Longs.fromBytes( in MURMUR128_MITZ_64() 134 return Longs.fromBytes( in MURMUR128_MITZ_64()
|
D | HashCode.java | 244 public static HashCode fromBytes(byte[] bytes) { in fromBytes() method in HashCode
|
/external/guava/guava/src/com/google/common/primitives/ |
D | Chars.java | 313 return fromBytes(bytes[0], bytes[1]); in fromByteArray() 324 public static char fromBytes(byte b1, byte b2) { in fromBytes() method in Chars
|
D | Longs.java | 292 return fromBytes(bytes[0], bytes[1], bytes[2], bytes[3], in fromByteArray() 303 public static long fromBytes(byte b1, byte b2, byte b3, byte b4, in fromBytes() method in Longs
|
D | Shorts.java | 321 return fromBytes(bytes[0], bytes[1]); in fromByteArray() 332 public static short fromBytes(byte b1, byte b2) { in fromBytes() method in Shorts
|
D | Ints.java | 323 return fromBytes(bytes[0], bytes[1], bytes[2], bytes[3]); in fromByteArray() 334 public static int fromBytes(byte b1, byte b2, byte b3, byte b4) { in fromBytes() method in Ints
|
/external/glide/library/src/main/java/com/bumptech/glide/ |
D | RequestManager.java | 510 return (DrawableTypeRequest<byte[]>) fromBytes().load(model); in load() 524 public DrawableTypeRequest<byte[]> fromBytes() { in fromBytes() method in RequestManager
|
/external/guava/guava-tests/test/com/google/common/primitives/ |
D | CharsTest.java | 234 assertEquals('\u2345', Chars.fromBytes((byte) 0x23, (byte) 0x45)); in testFromBytes() 235 assertEquals('\uFEDC', Chars.fromBytes((byte) 0xFE, (byte) 0xDC)); in testFromBytes()
|
D | LongsTest.java | 226 assertEquals(0x1213141516171819L, Longs.fromBytes( in testFromBytes() 229 assertEquals(0xFFEEDDCCBBAA9988L, Longs.fromBytes( in testFromBytes()
|
D | ShortsTest.java | 253 assertEquals((short) 0x2345, Shorts.fromBytes((byte) 0x23, (byte) 0x45)); in testFromBytes() 254 assertEquals((short) 0xFEDC, Shorts.fromBytes((byte) 0xFE, (byte) 0xDC)); in testFromBytes()
|
D | IntsTest.java | 245 assertEquals(0x12131415, Ints.fromBytes( in testFromBytes() 247 assertEquals(0xFFEEDDCC, Ints.fromBytes( in testFromBytes()
|
/external/guava/guava-gwt/test-super/com/google/common/primitives/super/com/google/common/primitives/ |
D | LongsTest.java | 215 assertEquals(0x1213141516171819L, Longs.fromBytes( in testFromBytes() 218 assertEquals(0xFFEEDDCCBBAA9988L, Longs.fromBytes( in testFromBytes()
|
/external/deqp/framework/common/ |
D | tcuRGBA.hpp | 87 …static RGBA fromBytes (const deUint8* bytes) { return RGBA(bytes[0], bytes[1], bytes[2], bytes[… in fromBytes() function in tcu::RGBA
|
/external/guava/guava/src/com/google/common/net/ |
D | InetAddresses.java | 364 hextets[i] = Ints.fromBytes( in toAddrString()
|