Searched refs:copyLen (Results 1 – 8 of 8) sorted by relevance
/external/brotli/java/org/brotli/dec/ |
D | BrotliInputStream.java | 137 int copyLen = Math.max(remainingBufferBytes - bufferOffset, 0); in read() local 138 if (copyLen != 0) { in read() 139 copyLen = Math.min(copyLen, destLen); in read() 140 System.arraycopy(buffer, bufferOffset, destBuffer, destOffset, copyLen); in read() 141 bufferOffset += copyLen; in read() 142 destOffset += copyLen; in read() 143 destLen -= copyLen; in read() 145 return copyLen; in read() 157 return state.outputUsed + copyLen; in read()
|
/external/brotli/csharp/org/brotli/dec/ |
D | BrotliInputStream.cs | 159 int copyLen = System.Math.Max(remainingBufferBytes - bufferOffset, 0); in Read() 160 if (copyLen != 0) in Read() 162 copyLen = System.Math.Min(copyLen, destLen); in Read() 163 System.Array.Copy(buffer, bufferOffset, destBuffer, destOffset, copyLen); in Read() 164 bufferOffset += copyLen; in Read() 165 destOffset += copyLen; in Read() 166 destLen -= copyLen; in Read() 169 return copyLen; in Read() 183 return state.outputUsed + copyLen; in Read()
|
/external/oss-fuzz/projects/zlib/ |
D | compress_fuzzer.c | 43 size_t copyLen = dataLen + 2; in check_decompress() local 44 uint8_t *copy = (uint8_t *)malloc(copyLen); in check_decompress() 48 uncompress(compr, &comprLen, copy, copyLen); in check_decompress()
|
/external/rust/crates/libz-sys/src/zlib-ng/test/fuzz/ |
D | compress_fuzzer.c | 49 size_t copyLen = dataLen + 2; in check_decompress() local 50 uint8_t *copy = (uint8_t *)malloc(copyLen); in check_decompress() 54 PREFIX(uncompress)(compr, &comprLen, copy, copyLen); in check_decompress()
|
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/compressors/lz4/ |
D | BlockLZ4CompressorOutputStream.java | 256 int copyLen, copyOffset; in expandFromList() local 271 copyLen = Math.min(lengthRemaining, block.length - copyOffset); in expandFromList() 276 copyLen = Math.min(lengthRemaining, writeOffset + offsetRemaining); in expandFromList() 278 System.arraycopy(block, copyOffset, expanded, writeOffset, copyLen); in expandFromList() 279 offsetRemaining -= copyLen; in expandFromList() 280 lengthRemaining -= copyLen; in expandFromList() 281 writeOffset += copyLen; in expandFromList()
|
/external/brotli/research/ |
D | brotlidump.py | 1828 action, word = divmod(offset-maxDistance, 1<<wordList.NDBITS[copyLen]) 1830 offset, maxDistance, copyLen, word, action) 1837 litLen, copyLen, dist0Flag = self.verboseRead( 1860 cm = {2:0, 3:1, 4:2}.get(copyLen, 3) 1873 maxDistance-distance+copyLen): 1879 newWord = wordList.word(copyLen, distance-maxDistance-1) 1882 copyLen = len(newWord) 1884 blockLen += copyLen 1888 outputFormatter(self.output[-copyLen:]),
|
/external/skia/src/core/ |
D | SkString.cpp | 363 int copyLen = std::min<uint32_t>(len, this->size()); in resize() local 364 memcpy(dest, this->c_str(), copyLen); in resize() 365 dest[copyLen] = '\0'; in resize()
|
/external/icu/icu4c/source/common/ |
D | locmap.cpp | 1133 int32_t copyLen = resLen <= posixIDCapacity ? resLen : posixIDCapacity; in uprv_convertToPosix() local 1134 uprv_memcpy(posixID, pPosixID, copyLen); in uprv_convertToPosix()
|