Searched refs:sourceBytes (Results 1 – 3 of 3) sorted by relevance
/external/protobuf/java/src/test/java/com/google/protobuf/ |
D | BoundedByteStringTest.java | 47 byte[] sourceBytes = ByteStringTest.getTestBytes(2341, 11337766L); in setUp() 49 int to = sourceBytes.length - 100; in setUp() 50 stringUnderTest = ByteString.copyFrom(sourceBytes).substring(from, to); in setUp() 52 System.arraycopy(sourceBytes, from, referenceBytes, 0, to - from); in setUp()
|
D | RopeByteStringSubstringTest.java | 47 byte[] sourceBytes = ByteStringTest.getTestBytes(22341, 22337766L); in setUp() 48 Iterator<ByteString> iter = ByteStringTest.makeConcretePieces(sourceBytes).iterator(); in setUp() 55 int to = sourceBytes.length - 5555; in setUp() 58 System.arraycopy(sourceBytes, from, referenceBytes, 0, to - from); in setUp()
|
/external/conscrypt/src/main/native/ |
D | org_conscrypt_NativeCrypto.cpp | 956 ScopedByteArrayRO sourceBytes(env, source); in arrayToBignum() local 957 if (sourceBytes.get() == NULL) { in arrayToBignum() 961 const unsigned char* tmp = reinterpret_cast<const unsigned char*>(sourceBytes.get()); in arrayToBignum() 962 size_t tmpSize = sourceBytes.size(); in arrayToBignum() 1012 ScopedByteArrayRO sourceBytes(env, source); in arrayToBignumSize() local 1013 if (sourceBytes.get() == NULL) { in arrayToBignumSize() 1017 const uint8_t* tmp = reinterpret_cast<const uint8_t*>(sourceBytes.get()); in arrayToBignumSize() 1018 size_t tmpSize = sourceBytes.size(); in arrayToBignumSize()
|