/external/guava/guava-tests/test/com/google/common/hash/ |
D | AbstractNonStreamingHashFunctionTest.java | 56 return HashCodes.fromBytes(out.toByteArray()); in newHasher() 84 return HashCodes.fromBytes(input); in hashBytes() 89 return HashCodes.fromBytes(Arrays.copyOfRange(input, off, off + len)); in hashBytes()
|
D | HashCodesTest.java | 68 HashCode fromBytes = HashCodes.fromBytes(expected.bytes); in testFromBytes() local 69 assertExpectedHashCode(expected, fromBytes); in testFromBytes()
|
D | HashingTest.java | 134 assertEquals(HashCodes.fromBytes(new byte[] { (byte) 0x80, 0, 0, 0 }), in testCombineOrdered() 136 assertEquals(HashCodes.fromBytes(new byte[] { (byte) 0xa0, 0, 0, 0 }), in testCombineOrdered()
|
D | AbstractStreamingHasherTest.java | 221 return HashCodes.fromBytes(input);
|
/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 | Hashing.java | 233 return HashCodes.fromBytes(resultBytes); in combineOrdered() 258 return HashCodes.fromBytes(resultBytes); in combineUnordered() 289 return HashCodes.fromBytes(bytes); in makeHash()
|
D | HashCodes.java | 106 static HashCode fromBytes(byte[] bytes) { in fromBytes() method in HashCodes
|
D | Murmur3_128HashFunction.java | 151 return HashCodes.fromBytes(bb.array()); in makeHash()
|
D | MessageDigestHashFunction.java | 170 return HashCodes.fromBytes(digest.digest()); in hash()
|
/external/guava/guava/src/com/google/common/primitives/ |
D | Ints.java | 312 return fromBytes(bytes[0], bytes[1], bytes[2], bytes[3]); in fromByteArray() 323 public static int fromBytes(byte b1, byte b2, byte b3, byte b4) { in fromBytes() method in Ints
|
D | Longs.java | 287 return fromBytes(bytes[0], bytes[1], bytes[2], bytes[3], in fromByteArray() 299 public static long fromBytes(byte b1, byte b2, byte b3, byte b4, in fromBytes() method in Longs
|
D | Shorts.java | 309 return fromBytes(bytes[0], bytes[1]); in fromByteArray() 320 public static short fromBytes(byte b1, byte b2) { in fromBytes() method in Shorts
|
D | Chars.java | 303 return fromBytes(bytes[0], bytes[1]); in fromByteArray() 314 public static char fromBytes(byte b1, byte b2) { in fromBytes() method in Chars
|
/external/guava/guava-tests/test/com/google/common/primitives/ |
D | LongsTest.java | 221 assertEquals(0x1213141516171819L, Longs.fromBytes( in testFromBytes() 224 assertEquals(0xFFEEDDCCBBAA9988L, Longs.fromBytes( in testFromBytes()
|
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 | ShortsTest.java | 252 assertEquals((short) 0x2345, Shorts.fromBytes((byte) 0x23, (byte) 0x45)); in testFromBytes() 253 assertEquals((short) 0xFEDC, Shorts.fromBytes((byte) 0xFE, (byte) 0xDC)); in testFromBytes()
|
D | IntsTest.java | 244 assertEquals(0x12131415, Ints.fromBytes( in testFromBytes() 246 assertEquals(0xFFEEDDCC, Ints.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 | 400 hextets[i] = Ints.fromBytes( in toAddrString()
|