Searched refs:sizeToCopy (Results 1 – 6 of 6) sorted by relevance
/third_party/lz4/lib/ |
D | lz4frame.c | 964 size_t const sizeToCopy = blockSize - cctxPtr->tmpInSize; in LZ4F_compressUpdateImpl() local 966 if (sizeToCopy > srcSize) { in LZ4F_compressUpdateImpl() 975 memcpy(cctxPtr->tmpIn + cctxPtr->tmpInSize, srcBuffer, sizeToCopy); in LZ4F_compressUpdateImpl() 976 srcPtr += sizeToCopy; in LZ4F_compressUpdateImpl() 1036 size_t const sizeToCopy = (size_t)(srcEnd - srcPtr); in LZ4F_compressUpdateImpl() local 1037 memcpy(cctxPtr->tmpIn, srcPtr, sizeToCopy); in LZ4F_compressUpdateImpl() 1038 cctxPtr->tmpInSize = sizeToCopy; in LZ4F_compressUpdateImpl() 1606 … { size_t const sizeToCopy = MIN(dctx->tmpInTarget - dctx->tmpInSize, (size_t)(srcEnd - srcPtr)); in LZ4F_decompress() local 1607 memcpy(dctx->header + dctx->tmpInSize, srcPtr, sizeToCopy); in LZ4F_decompress() 1608 dctx->tmpInSize += sizeToCopy; in LZ4F_decompress() [all …]
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/ |
D | BufferMtl.mm | 600 auto sizeToCopy = std::min<size_t>(size, mBuffer->size() - offset); 608 std::copy(srcPtr, srcPtr + sizeToCopy, ptr + offset); 609 mBuffer->unmapAndFlushSubset(contextMtl, offset, sizeToCopy); 620 std::copy(srcPtr, srcPtr + sizeToCopy, mShadowCopy.data() + offset);
|
D | ProgramMtl.mm | 58 size_t sizeToCopy, 66 memcpy(dst, sourceData, sizeToCopy); 1439 size_t sizeToCopy = bufferMtl->size() - offsetModulo; 1440 size_t bytesToAllocate = roundUp<size_t>(sizeToCopy, 16u); 1442 context, &conversion->data, srcBytes, bytesToAllocate, sizeToCopy,
|
/third_party/skia/third_party/externals/icu/source/common/ |
D | utext.cpp | 801 int sizeToCopy = src->sizeOfStruct; in shallowTextClone() local 802 if (sizeToCopy > dest->sizeOfStruct) { in shallowTextClone() 803 sizeToCopy = dest->sizeOfStruct; in shallowTextClone() 805 uprv_memcpy(dest, src, sizeToCopy); in shallowTextClone()
|
/third_party/node/deps/icu-small/source/common/ |
D | utext.cpp | 804 int sizeToCopy = src->sizeOfStruct; in shallowTextClone() local 805 if (sizeToCopy > dest->sizeOfStruct) { in shallowTextClone() 806 sizeToCopy = dest->sizeOfStruct; in shallowTextClone() 808 uprv_memcpy(dest, src, sizeToCopy); in shallowTextClone()
|
/third_party/icu/icu4c/source/common/ |
D | utext.cpp | 801 int sizeToCopy = src->sizeOfStruct; in shallowTextClone() local 802 if (sizeToCopy > dest->sizeOfStruct) { in shallowTextClone() 803 sizeToCopy = dest->sizeOfStruct; in shallowTextClone() 805 uprv_memcpy(dest, src, sizeToCopy); in shallowTextClone()
|