Home
last modified time | relevance | path

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

/external/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()
/external/skqp/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()
/external/libcups/cups/
Dtls-sspi.c726 int bytesToCopy = min(sspi->readBufferUsed, len); in _httpTLSRead() local
729 memcpy(buf, sspi->readBuffer, bytesToCopy); in _httpTLSRead()
730 sspi->readBufferUsed -= bytesToCopy; in _httpTLSRead()
733 memmove(sspi->readBuffer, sspi->readBuffer + bytesToCopy, sspi->readBufferUsed); in _httpTLSRead()
735 DEBUG_printf(("5_httpTLSRead: Returning %d bytes previously decrypted.", bytesToCopy)); in _httpTLSRead()
737 return (bytesToCopy); in _httpTLSRead()
845 int bytesToCopy = min((int)pDataBuffer->cbBuffer, len); in _httpTLSRead() local
847 int bytesToSave = pDataBuffer->cbBuffer - bytesToCopy; in _httpTLSRead()
850 if (bytesToCopy) in _httpTLSRead()
851 memcpy(buf, pDataBuffer->pvBuffer, bytesToCopy); in _httpTLSRead()
[all …]
/external/guava/guava/src/com/google/common/hash/
DAbstractStreamingHashFunction.java162 int bytesToCopy = bufferSize - buffer.position(); in putBytes() local
163 for (int i = 0; i < bytesToCopy; i++) { in putBytes()
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/compressors/lz77support/
DAbstractLZ77CompressorInputStream.java296 private void tryToCopy(int bytesToCopy) { in tryToCopy() argument
299 int copy = Math.min((int) Math.min(bytesToCopy, bytesRemaining), in tryToCopy()
/external/skqp/src/core/
DSkBlitter_Sprite.cpp86 const size_t bytesToCopy = width << fSource.shiftPerPixel(); in blitRect() local
89 memcpy(dst, src, bytesToCopy); in blitRect()
/external/skia/src/core/
DSkBlitter_Sprite.cpp86 const size_t bytesToCopy = width << fSource.shiftPerPixel(); in blitRect() local
89 memcpy(dst, src, bytesToCopy); in blitRect()
/external/webrtc/webrtc/modules/video_capture/windows/
Ddevice_info_ds.cc723 uint32_t bytesToCopy = (uint32_t)(pos - startPos); in GetProductId() local
724 if (pos && (bytesToCopy <= productUniqueIdUTF8Length) && bytesToCopy in GetProductId()
728 (char*) startPos, bytesToCopy); in GetProductId()
/external/bcc/src/cc/frontends/p4/compiler/
DebpfParser.py388 bytesToCopy = destField.widthInBits() / 8
396 bytesToCopy = None # not needed, but compiler is confused
423 destination, source, bytesToCopy)
/external/skia/third_party/gif/
DSkGifImageReader.cpp307 const size_t bytesToCopy = rowIter - rowBegin; in doLZW() local
308 memcpy(&rowBuffer.front(), rowBegin, bytesToCopy); in doLZW()
309 rowIter = rowBuffer.begin() + bytesToCopy; in doLZW()
/external/skqp/third_party/gif/
DSkGifImageReader.cpp307 const size_t bytesToCopy = rowIter - rowBegin; in doLZW() local
308 memcpy(&rowBuffer.front(), rowBegin, bytesToCopy); in doLZW()
309 rowIter = rowBuffer.begin() + bytesToCopy; in doLZW()
/external/skia/src/codec/
DSkGifCodec.cpp525 const size_t bytesToCopy = fSwizzler->swizzleWidth() * bytesPerPixel; in haveDecodedRow() local
530 memcpy(dst, copiedLine, bytesToCopy); in haveDecodedRow()
/external/skqp/src/codec/
DSkGifCodec.cpp525 const size_t bytesToCopy = fSwizzler->swizzleWidth() * bytesPerPixel; in haveDecodedRow() local
530 memcpy(dst, copiedLine, bytesToCopy); in haveDecodedRow()
/external/expat/lib/
Dxmltok.c425 const ptrdiff_t bytesToCopy = fromLim - *fromP; in utf8_toUtf8() local
426 memcpy(*toP, *fromP, bytesToCopy); in utf8_toUtf8()
427 *fromP += bytesToCopy; in utf8_toUtf8()
428 *toP += bytesToCopy; in utf8_toUtf8()
/external/python/cpython2/Modules/expat/
Dxmltok.c425 const ptrdiff_t bytesToCopy = fromLim - *fromP; in utf8_toUtf8() local
426 memcpy(*toP, *fromP, bytesToCopy); in utf8_toUtf8()
427 *fromP += bytesToCopy; in utf8_toUtf8()
428 *toP += bytesToCopy; in utf8_toUtf8()
/external/python/cpython3/Modules/expat/
Dxmltok.c428 const ptrdiff_t bytesToCopy = fromLim - *fromP; in utf8_toUtf8() local
429 memcpy(*toP, *fromP, bytesToCopy); in utf8_toUtf8()
430 *fromP += bytesToCopy; in utf8_toUtf8()
431 *toP += bytesToCopy; in utf8_toUtf8()
/external/conscrypt/common/src/main/java/org/conscrypt/
DConscryptEngine.java1205 int bytesToCopy = min(min(limit - pos, len), buffer.remaining());
1206 src.limit(pos + bytesToCopy);
1214 int bytesWritten = writeEncryptedDataDirect(buffer, 0, bytesToCopy);
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DConscryptEngine.java1206 int bytesToCopy = min(min(limit - pos, len), buffer.remaining());
1207 src.limit(pos + bytesToCopy);
1215 int bytesWritten = writeEncryptedDataDirect(buffer, 0, bytesToCopy);
/external/mdnsresponder/mDNSWindows/
DmDNSWin32.c1184 unsigned long bytesToCopy = ( bytesLeft < inBufferSize ) ? bytesLeft : inBufferSize; in mDNSPlatformReadTCP() local
1186 memcpy( inBuffer, sock->bptr, bytesToCopy ); in mDNSPlatformReadTCP()
1187 sock->bptr += bytesToCopy; in mDNSPlatformReadTCP()
1195 ret = bytesToCopy; in mDNSPlatformReadTCP()