Home
last modified time | relevance | path

Searched refs:writePos (Results 1 – 6 of 6) sorted by relevance

/external/xz-java/src/org/tukaani/xz/lz/
DLZEncoder.java44 private int writePos = 0; field in LZEncoder
164 assert writePos == 0; in setPresetDict() local
172 writePos += copySize; in setPresetDict()
186 int moveSize = writePos - moveOffset; in moveWindow()
191 writePos -= moveOffset; in moveWindow()
206 if (len > bufSize - writePos) in fillWindow()
207 len = bufSize - writePos; in fillWindow()
209 System.arraycopy(in, off, buf, writePos, len); in fillWindow()
210 writePos += len; in fillWindow()
214 if (writePos >= keepSizeAfter) in fillWindow()
[all …]
/external/deqp/framework/delibs/decpp/
DdeRingBuffer.cpp49 int writePos = 0; in RingBuffer_selfTest() local
52 while (writePos < dataSize || readPos < dataSize) in RingBuffer_selfTest()
55 bool canWrite = writePos < dataSize && buffer.getNumFree() > 0; in RingBuffer_selfTest()
59 DE_TEST_ASSERT(buffer.getNumFree() == bufSize - (writePos-readPos)); in RingBuffer_selfTest()
77 int numBytes = rnd.getInt(1, de::min(dataSize-writePos, buffer.getNumFree())); in RingBuffer_selfTest()
78 buffer.pushFront(&data[writePos], numBytes); in RingBuffer_selfTest()
79 writePos += numBytes; in RingBuffer_selfTest()
/external/toybox/toys/other/
Dbzcat.c75 int writePos, writeRun, writeCount, writeCurrent; member
485 bw->writePos = dbuf[bw->origPtr]; in burrows_wheeler_prep()
486 bw->writeCurrent = (unsigned char)bw->writePos; in burrows_wheeler_prep()
487 bw->writePos >>= 8; in burrows_wheeler_prep()
535 pos = bw->writePos; in write_bunzip_data()
592 bw->writePos = pos; in write_bunzip_data()
/external/deqp/framework/delibs/dethread/
DdeThreadTest.c372 int writePos = 0; in producerThread() local
392 buffer->buffer[writePos] = val; in producerThread()
393 writePos = (writePos + 1) % DE_LENGTH_OF_ARRAY(buffer->buffer); in producerThread()
/external/webrtc/webrtc/modules/audio_processing/aecm/
Daecm_core.c1177 int writeLen = farLen, writePos = 0; in WebRtcAecm_BufferFarFrame() local
1184 memcpy(aecm->farBuf + aecm->farBufWritePos, farend + writePos, in WebRtcAecm_BufferFarFrame()
1187 writePos = writeLen; in WebRtcAecm_BufferFarFrame()
1191 memcpy(aecm->farBuf + aecm->farBufWritePos, farend + writePos, in WebRtcAecm_BufferFarFrame()
/external/brotli/research/
Ddurchschlag.cc673 TextIdx writePos = 0; in durchschlag_distill() local
676 TextIdx sampleStart = writePos; in durchschlag_distill()
687 data[writePos++] = data[readPos]; in durchschlag_distill()
691 sample_sizes->at(i) = writePos - sampleStart; in durchschlag_distill()