Home
last modified time | relevance | path

Searched refs:ringBufferSize (Results 1 – 7 of 7) sorted by relevance

/external/brotli/java/org/brotli/dec/
DDecode.java538 if (newSize <= s.ringBufferSize) { in maybeReallocateRingBuffer()
544 System.arraycopy(s.ringBuffer, 0, newBuffer, 0, s.ringBufferSize); in maybeReallocateRingBuffer()
547 s.ringBufferSize = newSize; in maybeReallocateRingBuffer()
580 if (s.ringBufferSize < s.maxRingBufferSize) { in readNextMetablockHeader()
669 int chunkLength = Math.min(s.ringBufferSize - s.pos, s.metaBlockLength); in copyUncompressedData()
673 if (s.pos == s.ringBufferSize) { in copyUncompressedData()
713 int result = s.ringBufferSize; in calculateFence()
731 int ringBufferMask = s.ringBufferSize - 1; in decompress()
744 ringBufferMask = s.ringBufferSize - 1; in decompress()
974 s.ringBufferBytesReady = Math.min(s.pos, s.ringBufferSize); in decompress()
[all …]
DState.java68 int ringBufferSize; field in State
/external/brotli/csharp/org/brotli/dec/
DDecode.cs472 if (newSize <= state.ringBufferSize) in MaybeReallocateRingBuffer()
480 System.Array.Copy(state.ringBuffer, 0, newBuffer, 0, state.ringBufferSize); in MaybeReallocateRingBuffer()
497 state.ringBufferSize = newSize; in MaybeReallocateRingBuffer()
540 if (state.ringBufferSize < state.maxRingBufferSize) in ReadMetablockInfo()
621 int chunkLength = System.Math.Min(state.ringBufferSize - state.pos, state.metaBlockLength); in CopyUncompressedData()
625 if (state.pos == state.ringBufferSize) in CopyUncompressedData()
628 state.bytesToWrite = state.ringBufferSize; in CopyUncompressedData()
672 int ringBufferMask = state.ringBufferSize - 1; in Decompress()
687 ringBufferMask = state.ringBufferSize - 1; in Decompress()
750 state.bytesToWrite = state.ringBufferSize; in Decompress()
[all …]
DState.cs94 internal int ringBufferSize = 0; field in Org.Brotli.Dec.State
/external/brotli/js/
Ddecode.js563 if (newSize <= s.ringBufferSize) {
569 newBuffer.set(s.ringBuffer.subarray(0, 0 + s.ringBufferSize), 0);
572 s.ringBufferSize = newSize;
607 if (s.ringBufferSize < s.maxRingBufferSize) {
700 var /** !number */ chunkLength = min(s.ringBufferSize - s.pos, s.metaBlockLength);
704 if (s.pos == s.ringBufferSize) {
750 var /** !number */ result = s.ringBufferSize;
768 var /** !number */ ringBufferMask = s.ringBufferSize - 1;
778 ringBufferMask = s.ringBufferSize - 1;
1014 s.ringBufferBytesReady = min(s.pos, s.ringBufferSize);
[all …]
Ddecode.min.js1ringBufferSize){return}var n=t+37;var a=new Int8Array(n);if(e.ringBuffer.length!=0){a.set(e.ringBu…
/external/lz4/tests/
Dfuzzer.c957 #define ringBufferSize (8 KB) macro
968 char ringBuffer[ringBufferSize]; in FUZ_unitTests()
1009 const U32 dBufferSize = ringBufferSize + maxMessageSizeMask; in FUZ_unitTests()
1024 …amingState, ringBuffer + rNext, testCompressed, messageSize, testCompressedSize-ringBufferSize, 1); in FUZ_unitTests()
1046 if (rNext + messageSize > ringBufferSize) rNext = 0; in FUZ_unitTests()
1169 const U32 dBufferSize = ringBufferSize + maxMessageSizeMask; in FUZ_unitTests()
1184 …continue(&sHC, ringBuffer + rNext, testCompressed, messageSize, testCompressedSize-ringBufferSize); in FUZ_unitTests()
1206 if (rNext + messageSize > ringBufferSize) rNext = 0; in FUZ_unitTests()
1247 …_continue(&sHC, testInput + iNext, testCompressed, messageSize, testCompressedSize-ringBufferSize); in FUZ_unitTests()
1278 …_continue(&sHC, testInput + iNext, testCompressed, messageSize, testCompressedSize-ringBufferSize); in FUZ_unitTests()