Home
last modified time | relevance | path

Searched refs:sizeToCopy (Results 1 – 7 of 7) sorted by relevance

/third_party/lz4/lib/
Dlz4frame.c964 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/
DBufferMtl.mm600 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);
DProgramMtl.mm58 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/icu/icu4c/source/common/
Dutext.cpp801 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/skia/third_party/externals/icu/source/common/
Dutext.cpp801 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/
Dutext.cpp801 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/flutter/skia/third_party/externals/icu/source/common/
Dutext.cpp799 int sizeToCopy = src->sizeOfStruct; in shallowTextClone() local
800 if (sizeToCopy > dest->sizeOfStruct) { in shallowTextClone()
801 sizeToCopy = dest->sizeOfStruct; in shallowTextClone()
803 uprv_memcpy(dest, src, sizeToCopy); in shallowTextClone()