/external/guava/guava-tests/test/com/google/common/hash/ |
D | Murmur3Hash128Test.java | 20 import static com.google.common.hash.HashTestUtils.toBytes; 36 assertHash(0, toBytes(LITTLE_ENDIAN, 0x629942693e10f867L, 0x92db0b82baeb5347L), in testCompatibilityWithCPlusPlus() 38 assertHash(1, toBytes(LITTLE_ENDIAN, 0xa78ddff5adae8d10L, 0x128900ef20900135L), in testCompatibilityWithCPlusPlus() 40 assertHash(2, toBytes(LITTLE_ENDIAN, 0x8a486b23f422e826L, 0xf962a2c58947765fL), in testCompatibilityWithCPlusPlus() 42 assertHash(3, toBytes(LITTLE_ENDIAN, 0x2ea59f466f6bed8cL, 0xc610990acc428a17L), in testCompatibilityWithCPlusPlus() 44 assertHash(4, toBytes(LITTLE_ENDIAN, 0x79f6305a386c572cL, 0x46305aed3483b94eL), in testCompatibilityWithCPlusPlus() 46 assertHash(5, toBytes(LITTLE_ENDIAN, 0xc2219d213ec1f1b5L, 0xa1d8e2e0a52785bdL), in testCompatibilityWithCPlusPlus() 48 assertHash(0, toBytes(LITTLE_ENDIAN, 0xe34bbc7bbc071b6cL, 0x7a433ca9c49a9347L), in testCompatibilityWithCPlusPlus() 50 assertHash(0, toBytes(LITTLE_ENDIAN, 0x658ca970ff85269aL, 0x43fee3eaa68e5c3eL), in testCompatibilityWithCPlusPlus()
|
D | HashTestUtils.java | 34 static byte[] toBytes(ByteOrder bo, long... longs) { in toBytes() method in HashTestUtils
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/ |
D | BERConstructedOctetString.java | 19 static private byte[] toBytes( in toBytes() method in BERConstructedOctetString 59 super(toBytes(octs)); in BERConstructedOctetString()
|
D | BEROctetString.java | 18 static private byte[] toBytes( in toBytes() method in BEROctetString 56 super(toBytes(octs)); in BEROctetString()
|
/external/glide/library/src/main/java/com/bumptech/glide/ |
D | BitmapTypeRequest.java | 60 public BitmapRequestBuilder<A, byte[]> toBytes() { in toBytes() method in BitmapTypeRequest 64 …public BitmapRequestBuilder<A, byte[]> toBytes(Bitmap.CompressFormat compressFormat, int quality) { in toBytes() method in BitmapTypeRequest
|
D | GifTypeRequest.java | 61 public GifRequestBuilder<A, byte[]> toBytes() { in toBytes() method in GifTypeRequest
|
/external/protobuf/java/src/test/java/com/google/protobuf/ |
D | TestUtil.java | 253 static ByteString toBytes(String str) { in toBytes() method in TestUtil 331 message.setOptionalBytes (toBytes("116")); in setAllFields() 365 message.addRepeatedBytes (toBytes("216")); in setAllFields() 398 message.addRepeatedBytes (toBytes("316")); in setAllFields() 432 message.setDefaultBytes (toBytes("416")); in setAllFields() 463 message.setRepeatedBytes (1, toBytes("516")); in modifyRepeatedFields() 536 Assert.assertEquals(toBytes("116"), message.getOptionalBytes()); in assertAllFieldsSet() 593 Assert.assertEquals(toBytes("216"), message.getRepeatedBytes(0)); in assertAllFieldsSet() 621 Assert.assertEquals(toBytes("316"), message.getRepeatedBytes(1)); in assertAllFieldsSet() 674 Assert.assertEquals(toBytes("416"), message.getDefaultBytes()); in assertAllFieldsSet() [all …]
|
D | GeneratedMessageTest.java | 186 builder.addRepeatedBytes(TestUtil.toBytes("one")); in testRepeatedSettersRejectNull() 187 builder.addRepeatedBytes(TestUtil.toBytes("two")); in testRepeatedSettersRejectNull() 270 builder.addAllRepeatedBytes(Arrays.asList(TestUtil.toBytes("one"), null)); in testRepeatedAppendRejectsNull()
|
/external/conscrypt/src/main/java/org/conscrypt/ |
D | ServerSessionContext.java | 83 byte[] data = toBytes(session); in putSession()
|
D | ClientSessionContext.java | 118 byte[] data = toBytes(session); in putSession()
|
D | AbstractSessionContext.java | 200 byte[] toBytes(SSLSession session) { in toBytes() method
|
/external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/ |
D | CipherSuiteTest.java | 64 byte[] code = suites[i].toBytes(); in testGetByCodebytebyte() 79 byte[] code = suites[i].toBytes(); in testGetByCodebytebytebyte()
|
/external/deqp/framework/common/ |
D | tcuRGBA.hpp | 88 …void toBytes (deUint8* bytes) const { bytes[0] = getRed(); bytes[1] = getGreen(); bytes[2] = … in toBytes() function in tcu::RGBA
|