Home
last modified time | relevance | path

Searched refs:toBytes (Results 1 – 13 of 13) sorted by relevance

/external/guava/guava-tests/test/com/google/common/hash/
DMurmur3Hash128Test.java20 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()
DHashTestUtils.java34 static byte[] toBytes(ByteOrder bo, long... longs) { in toBytes() method in HashTestUtils
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/
DBERConstructedOctetString.java19 static private byte[] toBytes( in toBytes() method in BERConstructedOctetString
59 super(toBytes(octs)); in BERConstructedOctetString()
DBEROctetString.java18 static private byte[] toBytes( in toBytes() method in BEROctetString
56 super(toBytes(octs)); in BEROctetString()
/external/glide/library/src/main/java/com/bumptech/glide/
DBitmapTypeRequest.java60 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
DGifTypeRequest.java61 public GifRequestBuilder<A, byte[]> toBytes() { in toBytes() method in GifTypeRequest
/external/protobuf/java/src/test/java/com/google/protobuf/
DTestUtil.java253 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 …]
DGeneratedMessageTest.java186 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/
DServerSessionContext.java83 byte[] data = toBytes(session); in putSession()
DClientSessionContext.java118 byte[] data = toBytes(session); in putSession()
DAbstractSessionContext.java200 byte[] toBytes(SSLSession session) { in toBytes() method
/external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/
DCipherSuiteTest.java64 byte[] code = suites[i].toBytes(); in testGetByCodebytebyte()
79 byte[] code = suites[i].toBytes(); in testGetByCodebytebytebyte()
/external/deqp/framework/common/
DtcuRGBA.hpp88 …void toBytes (deUint8* bytes) const { bytes[0] = getRed(); bytes[1] = getGreen(); bytes[2] = … in toBytes() function in tcu::RGBA