Home
last modified time | relevance | path

Searched refs:copySize (Results 1 – 23 of 23) sorted by relevance

/external/xz-java/src/org/tukaani/xz/
DSimpleInputStream.java72 int copySize = Math.min(filtered, len); in read() local
73 System.arraycopy(filterBuf, pos, buf, off, copySize); in read()
74 pos += copySize; in read()
75 filtered -= copySize; in read()
76 off += copySize; in read()
77 len -= copySize; in read()
78 size += copySize; in read()
DSimpleOutputStream.java60 int copySize = Math.min(len, FILTER_BUF_SIZE - (pos + unfiltered)); in write() local
61 System.arraycopy(buf, off, filterBuf, pos + unfiltered, copySize); in write()
62 off += copySize; in write()
63 len -= copySize; in write()
64 unfiltered += copySize; in write()
DUncompressedLZMA2OutputStream.java68 int copySize = Math.min(LZMA2OutputStream.COMPRESSED_SIZE_MAX in write() local
70 System.arraycopy(buf, off, uncompBuf, uncompPos, copySize); in write()
71 len -= copySize; in write()
72 uncompPos += copySize; in write()
/external/u-boot/lib/
Dlz4.c184 size_t copySize = (size_t)(lowPrefix-match); in LZ4_decompress_generic() local
185 memcpy(op, dictEnd - copySize, copySize); in LZ4_decompress_generic()
186 op += copySize; in LZ4_decompress_generic()
187 copySize = length - copySize; in LZ4_decompress_generic()
188 if (copySize > (size_t)(op-lowPrefix)) /* overlap within current segment */ in LZ4_decompress_generic()
190 BYTE* const endOfMatch = op + copySize; in LZ4_decompress_generic()
196 memcpy(op, lowPrefix, copySize); in LZ4_decompress_generic()
197 op += copySize; in LZ4_decompress_generic()
/external/xz-java/src/org/tukaani/xz/lz/
DLZDecoder.java115 int copySize = Math.min(bufSize - pos, len); in copyUncompressed() local
116 inData.readFully(buf, pos, copySize); in copyUncompressed()
117 pos += copySize; in copyUncompressed()
124 int copySize = pos - start; in flush() local
128 System.arraycopy(buf, start, out, outOff, copySize); in flush()
131 return copySize; in flush()
DLZEncoder.java169 int copySize = Math.min(presetDict.length, dictSize); in setPresetDict() local
170 int offset = presetDict.length - copySize; in setPresetDict()
171 System.arraycopy(presetDict, offset, buf, 0, copySize); in setPresetDict()
172 writePos += copySize; in setPresetDict()
173 skip(copySize); in setPresetDict()
/external/deqp/modules/gles3/functional/
Des3fBufferCopyTests.cpp61 int copySize, in BasicBufferCopyCase() argument
72 , m_copySize (copySize) in BasicBufferCopyCase()
184 int copySize; in iterate() member
197 int copySize = copyRanges[ndx].copySize; in iterate() local
207 deMemcpy(ref.getPtr()+dstOffset, ref.getPtr()+srcOffset, copySize); in iterate()
210 glCopyBufferSubData(m_srcTarget, m_dstTarget, srcOffset, dstOffset, copySize); in iterate()
289 int copySize; in init() member
312 cases[ndx].srcOffset, cases[ndx].dstOffset, cases[ndx].copySize, in init()
/external/webrtc/webrtc/modules/rtp_rtcp/source/
Drtcp_receiver_help.cc61 uint16_t copySize = size; in AddApplicationData() local
63 copySize = kRtcpAppCode_DATA_SIZE; in AddApplicationData()
66 applicationLength += copySize; in AddApplicationData()
72 memcpy(applicationData+oldLength, data, copySize); in AddApplicationData()
76 memcpy(applicationData, data, copySize); in AddApplicationData()
/external/mesa3d/src/mesa/main/
Dimports.c203 const size_t copySize = (oldSize < newSize) ? oldSize : newSize; in _mesa_align_realloc()
205 if (newBuf && oldBuffer && copySize > 0) { in _mesa_align_realloc()
206 memcpy(newBuf, oldBuffer, copySize); in _mesa_align_realloc()
/external/swiftshader/src/Vulkan/
DVkImage.cpp197 VkDeviceSize copySize = 0; in copy() local
200 copySize = region.imageExtent.width * imageBytesPerTexel; in copy()
204 copySize = region.imageExtent.height * imageRowPitchBytes; in copy()
208 copySize = region.imageExtent.depth * imageSlicePitchBytes; // Copy multiple planes in copy()
212 copySize = region.imageExtent.height * imageRowPitchBytes; in copy()
216 copySize = region.imageExtent.width * imageBytesPerTexel; in copy()
223 memcpy(dstMemory, srcMemory, copySize); in copy()
229 memcpy(dstMemory, srcMemory, copySize); in copy()
240 memcpy(dstMemory, srcMemory, copySize); in copy()
/external/eigen/Eigen/src/SparseCore/
DCompressedStorage.h236 Index copySize = (std::min)(size, m_size); in reallocate() local
237 if (copySize>0) { in reallocate()
238 internal::smart_copy(m_values, m_values+copySize, newValues.ptr()); in reallocate()
239 internal::smart_copy(m_indices, m_indices+copySize, newIndices.ptr()); in reallocate()
/external/lz4/lib/
Dlz4frame.c1257 size_t copySize = 64 KB - dctx->tmpOutSize; in LZ4F_updateDict() local
1259 if (dctx->tmpOutSize > 64 KB) copySize = 0; in LZ4F_updateDict()
1260 if (copySize > preserveSize) copySize = preserveSize; in LZ4F_updateDict()
1262 memcpy(dctx->tmpOutBuffer + preserveSize - copySize, oldDictEnd - copySize, copySize); in LZ4F_updateDict()
1736 size_t copySize = 64 KB - dctx->tmpOutSize; in LZ4F_decompress() local
1738 if (dctx->tmpOutSize > 64 KB) copySize = 0; in LZ4F_decompress()
1739 if (copySize > preserveSize) copySize = preserveSize; in LZ4F_decompress()
1741 if (copySize > 0) in LZ4F_decompress()
1742 … memcpy(dctx->tmpOutBuffer + preserveSize - copySize, oldDictEnd - copySize, copySize); in LZ4F_decompress()
Dlz4.c1572 size_t const copySize = (size_t)(lowPrefix - match); in LZ4_decompress_generic() local
1573 size_t const restSize = length - copySize; in LZ4_decompress_generic()
1574 memcpy(op, dictEnd - copySize, copySize); in LZ4_decompress_generic()
1575 op += copySize; in LZ4_decompress_generic()
/external/protobuf/java/core/src/main/java/com/google/protobuf/
DByteString.java972 int copySize = buffer.length - bufferPos; in write() local
973 System.arraycopy(b, offset, buffer, bufferPos, copySize); in write()
974 offset += copySize; in write()
975 length -= copySize; in write()
/external/deqp/modules/gles31/functional/
Des31fCopyImageTests.cpp1014 const IVec3& copySize) in copyImageData() argument
1029 const IVec3 copyTexelBlockCount = copySize / srcTexelBlockPixelSize; in copyImageData()
1035 DE_ASSERT((copySize.x() % srcTexelBlockPixelSize.x()) == 0); in copyImageData()
1036 DE_ASSERT((copySize.y() % srcTexelBlockPixelSize.y()) == 0); in copyImageData()
1037 DE_ASSERT((copySize.z() % srcTexelBlockPixelSize.z()) == 0); in copyImageData()
1114 const IVec3& copySize) in copyImage() argument
1118 copySize.x(), copySize.y(), copySize.z()); in copyImage()
1123 srcImageData, srcImageInfo, srcLevel, srcPos, copySize); in copyImage()
/external/deqp/framework/common/
DtcuCompressedTexture.cpp2518 …const IVec3 copySize (de::min(blockPixelSize.x(), dst.getWidth() - blockPos.x() * blockPixelSi… in decompress() local
2525 …, dstPixelPos.z(), copySize.x(), copySize.y(), copySize.z()), getSubregion(blockAccess, 0, 0, 0, c… in decompress()
/external/deqp/external/vulkancts/modules/vulkan/texture/
DvktTextureFilteringExplicitLodTests.cpp371 const std::size_t copySize = in initializeImage() local
376 deMemcpy(bufCurPtr, pba[level].getDataPtr(), copySize); in initializeImage()
398 bufCurPtr += copySize; in initializeImage()
/external/skia/src/core/
DSkTextBlob.cpp127 size_t copySize = initialCount * sizeof(SkScalar) * ScalarsPerGlyph(positioning()); in grow() local
128 SkASSERT((uint8_t*)posBuffer() + copySize <= (uint8_t*)NextUnchecked(this)); in grow()
131 memmove(posBuffer(), initialPosBuffer, copySize); in grow()
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiDeviceInitializationTests.cpp1175 size_t copySize = size; in reallocCallbackFunc() local
1178 copySize = g_allocatedVector[vectorIdx].requestedSizeBytes; in reallocCallbackFunc()
1180 memcpy(pNew, pOriginal, copySize); in reallocCallbackFunc()
/external/skqp/src/core/
DSkTextBlob.cpp127 size_t copySize = initialCount * sizeof(SkScalar) * ScalarsPerGlyph(positioning()); in grow() local
128 SkASSERT((uint8_t*)posBuffer() + copySize <= (uint8_t*)NextUnchecked(this)); in grow()
131 memmove(posBuffer(), initialPosBuffer, copySize); in grow()
/external/deqp/external/vulkancts/modules/vulkan/ycbcr/
DvktYCbCrCopyTests.cpp662 const UVec2 copySize (copyBlockSize * srcBlockSize); in genCopies() local
691 copySize.x(), in genCopies()
692 copySize.y(), in genCopies()
/external/deqp/external/vulkancts/modules/vulkan/multiview/
DvktMultiViewRenderTests.cpp1364 deUint32 copySize = 1u; in imageData() local
1365 deUint32 layerSize = m_parameters.extent.width * m_parameters.extent.height - copySize; in imageData()
1370 deMemcpy(dataDes, dataSrc, copySize * sizeof(ColorDataRGBA)); in imageData()
1371 dataDes = dataDes + copySize; in imageData()
1372 layerSize = layerSize - copySize; in imageData()
1373 copySize = 2u * copySize; in imageData()
1374 if (copySize >= layerSize) in imageData()
1375 copySize = layerSize; in imageData()
/external/deqp/external/vulkancts/modules/vulkan/protected_memory/
DvktProtectedMemStorageBufferTests.cpp129 deUint32 copySize) in addBufferCopyCmd() argument
156 copySize // VkDeviceSize size in addBufferCopyCmd()