Home
last modified time | relevance | path

Searched refs:bytesToCopy (Results 1 – 12 of 12) sorted by relevance

/third_party/flutter/skia/src/utils/
DSkFrontBufferedStream.cpp106 const size_t bytesToCopy = SkTMin(size, fBufferedSoFar - fOffset); in readFromBuffer() local
108 memcpy(dst, fBuffer + fOffset, bytesToCopy); in readFromBuffer()
113 fOffset += bytesToCopy; in readFromBuffer()
116 return bytesToCopy; in readFromBuffer()
/third_party/skia/client_utils/android/
DFrontBufferedStream.cpp133 const size_t bytesToCopy = std::min(size, fBufferedSoFar - fOffset); in readFromBuffer() local
135 memcpy(dst, fBuffer + fOffset, bytesToCopy); in readFromBuffer()
140 fOffset += bytesToCopy; in readFromBuffer()
143 return bytesToCopy; in readFromBuffer()
/third_party/flutter/skia/src/core/
DSkBlitter_Sprite.cpp86 const size_t bytesToCopy = width << fSource.shiftPerPixel(); in blitRect() local
89 memcpy(dst, src, bytesToCopy); in blitRect()
/third_party/skia/src/core/
DSkBlitter_Sprite.cpp90 const size_t bytesToCopy = width << fSource.shiftPerPixel(); in blitRect() local
93 memcpy(dst, src, bytesToCopy); in blitRect()
/third_party/skia/third_party/externals/libgifcodec/
DSkGifImageReader.cpp337 const size_t bytesToCopy = rowIter - rowBegin; in doLZW() local
338 memcpy(&rowBuffer.front(), rowBegin, bytesToCopy); in doLZW()
339 rowIter = rowBuffer.begin() + bytesToCopy; in doLZW()
DSkLibGifCodec.cpp530 const size_t bytesToCopy = fSwizzler->swizzleWidth() * bytesPerPixel; in haveDecodedRow() local
535 memcpy(dst, copiedLine, bytesToCopy); in haveDecodedRow()
/third_party/flutter/skia/third_party/gif/
DSkGifImageReader.cpp336 const size_t bytesToCopy = rowIter - rowBegin; in doLZW() local
337 memcpy(&rowBuffer.front(), rowBegin, bytesToCopy); in doLZW()
338 rowIter = rowBuffer.begin() + bytesToCopy; in doLZW()
/third_party/flutter/skia/src/codec/
DSkGifCodec.cpp525 const size_t bytesToCopy = fSwizzler->swizzleWidth() * bytesPerPixel; in haveDecodedRow() local
530 memcpy(dst, copiedLine, bytesToCopy); in haveDecodedRow()
/third_party/expat/lib/
Dxmltok.c389 const ptrdiff_t bytesToCopy = fromLim - *fromP; in utf8_toUtf8() local
390 memcpy(*toP, *fromP, bytesToCopy); in utf8_toUtf8()
391 *fromP += bytesToCopy; in utf8_toUtf8()
392 *toP += bytesToCopy; in utf8_toUtf8()
/third_party/skia/third_party/externals/expat/expat/lib/
Dxmltok.c392 const ptrdiff_t bytesToCopy = fromLim - *fromP; in utf8_toUtf8() local
393 memcpy(*toP, *fromP, bytesToCopy); in utf8_toUtf8()
394 *fromP += bytesToCopy; in utf8_toUtf8()
395 *toP += bytesToCopy; in utf8_toUtf8()
/third_party/python/Modules/expat/
Dxmltok.c392 const ptrdiff_t bytesToCopy = fromLim - *fromP; in utf8_toUtf8() local
393 memcpy(*toP, *fromP, bytesToCopy); in utf8_toUtf8()
394 *fromP += bytesToCopy; in utf8_toUtf8()
395 *toP += bytesToCopy; in utf8_toUtf8()
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
DCodedInputStream.java3835 int bytesToCopy = Math.min(l, (int) currentRemaining()); in readRawBytesTo() local
3836 UnsafeUtil.copyMemory(currentByteBufferPos, bytes, length - l + offset, bytesToCopy); in readRawBytesTo()
3837 l -= bytesToCopy; in readRawBytesTo()
3838 currentByteBufferPos += bytesToCopy; in readRawBytesTo()