/external/OpenCL-CTS/test_conformance/images/clCopyImage/ |
D | test_copy_generic.cpp | 304 size_t srcBytes = 0; in test_copy_image_generic() local 307 srcBytes = (size_t)compute_mipmapped_image_size( *srcImageInfo ); in test_copy_image_generic() 311 srcBytes = get_image_size(srcImageInfo); in test_copy_image_generic() 314 if (srcBytes > srcData.getSize()) in test_copy_image_generic() 322 srcHost.reset(malloc(srcBytes),NULL,0,srcBytes); in test_copy_image_generic() 324 log_error( "ERROR: Unable to malloc %lu bytes for srcHost\n", srcBytes ); in test_copy_image_generic() 327 memcpy(srcHost,srcData,srcBytes); in test_copy_image_generic()
|
/external/tensorflow/tensorflow/lite/java/src/main/java/org/tensorflow/lite/ |
D | Tensor.java | 440 int srcBytes = in throwIfSrcShapeIsIncompatible() local 442 if (bytes != srcBytes) { in throwIfSrcShapeIsIncompatible() 447 name(), bytes, srcBytes)); in throwIfSrcShapeIsIncompatible()
|
/external/skia/src/images/ |
D | SkJpegEncoder.cpp | 218 const size_t srcBytes = SkColorTypeBytesPerPixel(fSrc.colorType()) * fSrc.width(); in onEncodeRows() local 225 sk_msan_assert_initialized(srcRow, SkTAddOffset<const void>(srcRow, srcBytes)); in onEncodeRows()
|
/external/swiftshader/src/Device/ |
D | Blitter.cpp | 1433 int srcBytes = state.sourceFormat.bytes(); in sample() local 1451 Pointer<Byte> s = source + ComputeOffset(X, Y, Z, sSliceB, sPitchB, srcBytes); in sample() 1509 Pointer<Byte> s000 = source + ComputeOffset(X0, Y0, Z0, sSliceB, sPitchB, srcBytes); in sample() 1510 Pointer<Byte> s010 = source + ComputeOffset(X1, Y0, Z0, sSliceB, sPitchB, srcBytes); in sample() 1511 Pointer<Byte> s100 = source + ComputeOffset(X0, Y1, Z0, sSliceB, sPitchB, srcBytes); in sample() 1512 Pointer<Byte> s110 = source + ComputeOffset(X1, Y1, Z0, sSliceB, sPitchB, srcBytes); in sample() 1513 Pointer<Byte> s001 = source + ComputeOffset(X0, Y0, Z1, sSliceB, sPitchB, srcBytes); in sample() 1514 Pointer<Byte> s011 = source + ComputeOffset(X1, Y0, Z1, sSliceB, sPitchB, srcBytes); in sample() 1515 Pointer<Byte> s101 = source + ComputeOffset(X0, Y1, Z1, sSliceB, sPitchB, srcBytes); in sample() 1516 Pointer<Byte> s111 = source + ComputeOffset(X1, Y1, Z1, sSliceB, sPitchB, srcBytes); in sample() [all …]
|
/external/angle/src/tests/gl_tests/ |
D | BufferDataTest.cpp | 347 uint8_t srcBytes[numBytes]; in TEST_P() local 350 srcBytes[i] = static_cast<uint8_t>(i); in TEST_P() 358 memcpy(dest, srcBytes, numBytes); in TEST_P() 385 EXPECT_EQ(srcBytes[i], data[i]); in TEST_P()
|
/external/swiftshader/src/Renderer/ |
D | Blitter.cpp | 1211 int srcBytes = Surface::bytes(state.sourceFormat); in generate() local 1284 Pointer<Byte> s = source + ComputeOffset(X, Y, sPitchB, srcBytes, srcQuadLayout); in generate() 1312 Pointer<Byte> s = source + ComputeOffset(X, Y, sPitchB, srcBytes, srcQuadLayout); in generate() 1341 Pointer<Byte> s00 = source + ComputeOffset(X0, Y0, sPitchB, srcBytes, srcQuadLayout); in generate() 1342 Pointer<Byte> s01 = source + ComputeOffset(X1, Y0, sPitchB, srcBytes, srcQuadLayout); in generate() 1343 Pointer<Byte> s10 = source + ComputeOffset(X0, Y1, sPitchB, srcBytes, srcQuadLayout); in generate() 1344 Pointer<Byte> s11 = source + ComputeOffset(X1, Y1, sPitchB, srcBytes, srcQuadLayout); in generate()
|
D | Surface.cpp | 3449 int srcBytes = src->bytes(src->Surface::getInternalFormat()); in copyCubeEdge() local 3459 ASSERT(srcW == srcH && dstW == dstH && srcW == dstW && srcBytes == dstBytes); in copyCubeEdge() 3462 int srcDelta = ((srcEdge == TOP) || (srcEdge == BOTTOM)) ? srcBytes : srcPitch; in copyCubeEdge() 3463 …int srcStart = ((srcEdge == BOTTOM) ? srcPitch * (srcH - 1) : ((srcEdge == RIGHT) ? srcBytes * (sr… in copyCubeEdge() 3474 memcpy(dstBuf, srcBuf, srcBytes); in copyCubeEdge()
|
/external/angle/src/libANGLE/renderer/vulkan/ |
D | VertexArrayVk.cpp | 450 const uint8_t *srcBytes = reinterpret_cast<const uint8_t *>(src); in convertVertexBufferCPU() local 451 srcBytes += binding.getOffset() + relativeOffset; in convertVertexBufferCPU() 454 contextVk, &conversion->data, srcBytes, numVertices * dstFormatSize, 0, numVertices, in convertVertexBufferCPU()
|
/external/angle/src/libANGLE/renderer/metal/ |
D | VertexArrayMtl.mm | 915 const uint8_t *srcBytes = srcBuffer->getClientShadowCopyData(contextMtl); 916 ANGLE_CHECK_GL_ALLOC(contextMtl, srcBytes); 918 srcBytes += binding.getOffset(); 921 contextMtl, &conversion->data, srcBytes, numVertices * targetStride, 0, numVertices,
|
D | ProgramMtl.mm | 1400 const uint8_t *srcBytes = bufferMtl->getClientShadowCopyData(context); 1401 srcBytes += offsetModulo; 1405 context, &conversion->data, srcBytes, bytesToAllocate, sizeToCopy,
|
/external/pdfium/core/fxge/dib/ |
D | cfx_dibitmap.cpp | 358 int srcBytes = pSrcClone->GetBPP() / 8; in LoadChannelFromAlpha() local 366 src_pos += srcBytes; in LoadChannelFromAlpha()
|