Home
last modified time | relevance | path

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

/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/protobuf/java/src/test/java/com/google/protobuf/
DTestUtil.java278 static ByteString toBytes(String str) { in toBytes() method in TestUtil
366 message.setOptionalBytes (toBytes("116")); in setAllFields()
404 message.addRepeatedBytes (toBytes("216")); in setAllFields()
439 message.addRepeatedBytes (toBytes("316")); in setAllFields()
475 message.setDefaultBytes (toBytes("416")); in setAllFields()
488 message.setOneofBytes(toBytes("604")); in setAllFields()
512 message.setRepeatedBytes (1, toBytes("516")); in modifyRepeatedFields()
587 Assert.assertEquals(toBytes("116"), message.getOptionalBytes()); in assertAllFieldsSet()
647 Assert.assertEquals(toBytes("216"), message.getRepeatedBytes(0)); in assertAllFieldsSet()
676 Assert.assertEquals(toBytes("316"), message.getRepeatedBytes(1)); in assertAllFieldsSet()
[all …]
DGeneratedMessageTest.java317 builder.addRepeatedBytes(TestUtil.toBytes("one")); in testRepeatedSettersRejectNull()
318 builder.addRepeatedBytes(TestUtil.toBytes("two")); in testRepeatedSettersRejectNull()
401 builder.addAllRepeatedBytes(Arrays.asList(TestUtil.toBytes("one"), null)); in testRepeatedAppendRejectsNull()
1279 message = builder.setFooBytes(TestUtil.toBytes("qux")).buildPartial(); in testSetOneofClearsOthers()
1341 assertEquals(message.getFooStringBytes(), TestUtil.toBytes("foo")); in testOneofTypes()
1347 assertEquals(message2.getFooStringBytes(), TestUtil.toBytes("")); in testOneofTypes()
1352 assertEquals(builder.getFooStringBytes(), TestUtil.toBytes("")); in testOneofTypes()
1357 assertEquals(message.getFooStringBytes(), TestUtil.toBytes("")); in testOneofTypes()
1371 assertEquals(message.getFooCordBytes(), TestUtil.toBytes("foo")); in testOneofTypes()
1377 assertEquals(message2.getFooCordBytes(), TestUtil.toBytes("")); in testOneofTypes()
[all …]
/external/glide/library/src/main/java/com/bumptech/glide/
DBitmapTypeRequest.java83 public BitmapRequestBuilder<ModelType, byte[]> toBytes() { in toBytes() method in BitmapTypeRequest
98 …public BitmapRequestBuilder<ModelType, byte[]> toBytes(Bitmap.CompressFormat compressFormat, int q… in toBytes() method in BitmapTypeRequest
DGifTypeRequest.java78 public GenericRequestBuilder<ModelType, InputStream, GifDrawable, byte[]> toBytes() { in toBytes() method in GifTypeRequest
/external/conscrypt/src/main/java/org/conscrypt/
DServerSessionContext.java85 byte[] data = toBytes(session); in putSession()
DClientSessionContext.java117 byte[] data = toBytes(session); in putSession()
DAbstractSessionContext.java200 byte[] toBytes(SSLSession session) { in toBytes() method
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/localeconverter/
DCalculateCRC32.java83 public byte [] toBytes() { in toBytes() method in CalculateCRC32
/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] = (deUint8)getRed(); bytes[1] = (deUint8)getGr… in toBytes() function in tcu::RGBA