Home
last modified time | relevance | path

Searched refs:copyLen (Results 1 – 5 of 5) sorted by relevance

/external/brotli/java/org/brotli/dec/
DBrotliInputStream.java129 int copyLen = Math.max(remainingBufferBytes - bufferOffset, 0); in read() local
130 if (copyLen != 0) { in read()
131 copyLen = Math.min(copyLen, destLen); in read()
132 System.arraycopy(buffer, bufferOffset, destBuffer, destOffset, copyLen); in read()
133 bufferOffset += copyLen; in read()
134 destOffset += copyLen; in read()
135 destLen -= copyLen; in read()
137 return copyLen; in read()
149 return state.outputUsed + copyLen; in read()
/external/brotli/csharp/org/brotli/dec/
DBrotliInputStream.cs159 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/apache-commons-compress/src/main/java/org/apache/commons/compress/compressors/lz4/
DBlockLZ4CompressorOutputStream.java256 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/
Dbrotlidump.py1828 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/icu/icu4c/source/common/
Dlocmap.cpp1136 int32_t copyLen = resLen <= posixIDCapacity ? resLen : posixIDCapacity; in uprv_convertToPosix() local
1137 uprv_memcpy(posixID, pPosixID, copyLen); in uprv_convertToPosix()