Searched refs:sourceBytes (Results 1 - 9 of 9) sorted by relevance
/external/protobuf/java/core/src/test/java/com/google/protobuf/ |
H A D | BoundedByteStringTest.java | 52 byte[] sourceBytes = ByteStringTest.getTestBytes(2341, 11337766L); 54 int to = sourceBytes.length - 100; 55 stringUnderTest = ByteString.copyFrom(sourceBytes).substring(from, to); 57 System.arraycopy(sourceBytes, from, referenceBytes, 0, to - from);
|
H A D | RopeByteStringSubstringTest.java | 47 byte[] sourceBytes = ByteStringTest.getTestBytes(22341, 22337766L); 48 Iterator<ByteString> iter = ByteStringTest.makeConcretePieces(sourceBytes).iterator(); 55 int to = sourceBytes.length - 5555; 58 System.arraycopy(sourceBytes, from, referenceBytes, 0, to - from);
|
/external/protobuf/js/binary/ |
H A D | utils_test.js | 643 var sourceBytes = new Uint8Array(sourceData); 644 var sourceBuffer = sourceBytes.buffer; 657 assertEquals(sourceBytes, convert(sourceBytes));
|
/external/swiftshader/src/OpenGL/libGLESv2/ |
H A D | Device.cpp | 636 unsigned char *sourceBytes = (unsigned char*)source->lockInternal(sRect.x0, sRect.y0, sourceRect->slice, LOCK_READONLY, PUBLIC); local 644 copyBuffer(sourceBytes, destBytes, width, height, sourcePitch, destPitch, egl::Image::bytes(source->getInternalFormat()), flipX, flipY); 714 unsigned char *sourceBytes = (unsigned char*)source->lockInternal(0, 0, z, LOCK_READONLY, PUBLIC); local 718 memcpy(destBytes, sourceBytes, bytes); 728 sourceBytes += sourcePitch;
|
/external/swiftshader/src/OpenGL/libGL/ |
H A D | Device.cpp | 594 unsigned char *sourceBytes = (unsigned char*)source->lockInternal(sRect.x0, sRect.y0, sRect.slice, LOCK_READONLY, PUBLIC); local 605 memcpy(destBytes, sourceBytes, bytes); 615 sourceBytes += sourcePitch;
|
/external/swiftshader/src/OpenGL/libGLES_CM/ |
H A D | Device.cpp | 479 unsigned char *sourceBytes = (unsigned char*)source->lockInternal(sRect.x0, sRect.y0, sRect.slice, LOCK_READONLY, PUBLIC); local 490 memcpy(destBytes, sourceBytes, bytes); 500 sourceBytes += sourcePitch;
|
/external/conscrypt/openjdk-integ-tests/src/test/java/libcore/javax/net/ssl/ |
H A D | SSLEngineTest.java | 273 private static void assertSendsCorrectly(final byte[] sourceBytes, SSLEngine source, argument 275 ByteBuffer sourceOut = ByteBuffer.wrap(sourceBytes); 282 assertEquals(sourceCipherSuite, sourceBytes.length, sourceOutRes.bytesConsumed()); 303 assertEquals(sourceCipherSuite, Arrays.toString(sourceBytes), Arrays.toString(actual));
|
/external/conscrypt/common/src/jni/main/cpp/ |
H A D | NativeCrypto.cpp | 140 ScopedByteArrayRO sourceBytes(env, source); 141 if (sourceBytes.get() == nullptr) { 145 const unsigned char* tmp = reinterpret_cast<const unsigned char*>(sourceBytes.get()); 146 size_t tmpSize = sourceBytes.size(); 195 ScopedByteArrayRO sourceBytes(env, source); 196 if (sourceBytes.get() == nullptr) { 200 const uint8_t* tmp = reinterpret_cast<const uint8_t*>(sourceBytes.get()); 201 size_t tmpSize = sourceBytes.size();
|
/external/swiftshader/src/D3D9/ |
H A D | Direct3DDevice9.cpp | 6295 unsigned char *sourceBytes = (unsigned char*)source->lockInternal(sRect.x0, sRect.y0, 0, sw::LOCK_READONLY, sw::PUBLIC); 6306 memcpy(destBytes, sourceBytes, bytes); 6316 sourceBytes += sourcePitch;
|
Completed in 280 milliseconds