Searched refs:sourceBytes (Results 1 – 8 of 8) sorted by relevance
/external/protobuf/java/core/src/test/java/com/google/protobuf/ |
D | BoundedByteStringTest.java | 52 byte[] sourceBytes = ByteStringTest.getTestBytes(2341, 11337766L); in setUp() 54 int to = sourceBytes.length - 100; in setUp() 55 stringUnderTest = ByteString.copyFrom(sourceBytes).substring(from, to); in setUp() 57 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/protobuf/js/binary/ |
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/ |
D | Device.cpp | 619 …unsigned char *sourceBytes = (unsigned char*)source->lockInternal(sRect.x0, sRect.y0, sourceRect->… in stretchRect() local 627 …copyBuffer(sourceBytes, destBytes, width, height, sourcePitch, destPitch, egl::Image::bytes(source… in stretchRect() 693 … unsigned char *sourceBytes = (unsigned char*)source->lockInternal(0, 0, z, LOCK_READONLY, PUBLIC); in stretchCube() local 697 memcpy(destBytes, sourceBytes, bytes); in stretchCube() 707 sourceBytes += sourcePitch; in stretchCube()
|
/external/swiftshader/src/OpenGL/libGLES_CM/ |
D | Device.cpp | 466 …unsigned char *sourceBytes = (unsigned char*)source->lockInternal(sRect.x0, sRect.y0, sRect.slice,… in stretchRect() local 477 memcpy(destBytes, sourceBytes, bytes); in stretchRect() 487 sourceBytes += sourcePitch; in stretchRect()
|
/external/swiftshader/src/OpenGL/libGL/ |
D | Device.cpp | 581 …unsigned char *sourceBytes = (unsigned char*)source->lockInternal(sRect.x0, sRect.y0, sRect.slice,… in stretchRect() local 592 memcpy(destBytes, sourceBytes, bytes); in stretchRect() 602 sourceBytes += sourcePitch; in stretchRect()
|
/external/conscrypt/common/src/jni/main/cpp/ |
D | NativeCrypto.cpp | 140 ScopedByteArrayRO sourceBytes(env, source); in arrayToBignum() local 141 if (sourceBytes.get() == nullptr) { in arrayToBignum() 145 const unsigned char* tmp = reinterpret_cast<const unsigned char*>(sourceBytes.get()); in arrayToBignum() 146 size_t tmpSize = sourceBytes.size(); in arrayToBignum() 195 ScopedByteArrayRO sourceBytes(env, source); in arrayToBignumSize() local 196 if (sourceBytes.get() == nullptr) { in arrayToBignumSize() 200 const uint8_t* tmp = reinterpret_cast<const uint8_t*>(sourceBytes.get()); in arrayToBignumSize() 201 size_t tmpSize = sourceBytes.size(); in arrayToBignumSize()
|
/external/swiftshader/src/D3D9/ |
D | Direct3DDevice9.cpp | 6294 …unsigned char *sourceBytes = (unsigned char*)source->lockInternal(sRect.x0, sRect.y0, 0, sw::LOCK_… in stretchRect() local 6305 memcpy(destBytes, sourceBytes, bytes); in stretchRect() 6315 sourceBytes += sourcePitch; in stretchRect()
|