/external/skia/src/utils/ |
D | SkFrontBufferedStream.cpp | 106 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/ |
D | SkFrontBufferedStream.cpp | 106 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/ |
D | tls-sspi.c | 726 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/ |
D | AbstractStreamingHashFunction.java | 162 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/ |
D | AbstractLZ77CompressorInputStream.java | 296 private void tryToCopy(int bytesToCopy) { in tryToCopy() argument 299 int copy = Math.min((int) Math.min(bytesToCopy, bytesRemaining), in tryToCopy()
|
/external/skqp/src/core/ |
D | SkBlitter_Sprite.cpp | 86 const size_t bytesToCopy = width << fSource.shiftPerPixel(); in blitRect() local 89 memcpy(dst, src, bytesToCopy); in blitRect()
|
/external/skia/src/core/ |
D | SkBlitter_Sprite.cpp | 86 const size_t bytesToCopy = width << fSource.shiftPerPixel(); in blitRect() local 89 memcpy(dst, src, bytesToCopy); in blitRect()
|
/external/webrtc/webrtc/modules/video_capture/windows/ |
D | device_info_ds.cc | 723 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/ |
D | ebpfParser.py | 388 bytesToCopy = destField.widthInBits() / 8 396 bytesToCopy = None # not needed, but compiler is confused 423 destination, source, bytesToCopy)
|
/external/skia/third_party/gif/ |
D | SkGifImageReader.cpp | 307 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/ |
D | SkGifImageReader.cpp | 307 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/ |
D | SkGifCodec.cpp | 525 const size_t bytesToCopy = fSwizzler->swizzleWidth() * bytesPerPixel; in haveDecodedRow() local 530 memcpy(dst, copiedLine, bytesToCopy); in haveDecodedRow()
|
/external/skqp/src/codec/ |
D | SkGifCodec.cpp | 525 const size_t bytesToCopy = fSwizzler->swizzleWidth() * bytesPerPixel; in haveDecodedRow() local 530 memcpy(dst, copiedLine, bytesToCopy); in haveDecodedRow()
|
/external/expat/lib/ |
D | xmltok.c | 425 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/ |
D | xmltok.c | 425 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/ |
D | xmltok.c | 428 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/ |
D | ConscryptEngine.java | 1205 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/ |
D | ConscryptEngine.java | 1206 int bytesToCopy = min(min(limit - pos, len), buffer.remaining()); 1207 src.limit(pos + bytesToCopy); 1215 int bytesWritten = writeEncryptedDataDirect(buffer, 0, bytesToCopy);
|
/external/mdnsresponder/mDNSWindows/ |
D | mDNSWin32.c | 1184 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()
|