Searched refs:readPos (Results 1 – 8 of 8) sorted by relevance
/external/lzma/Java/Tukaani/src/org/tukaani/xz/lz/ |
D | BT4.java | 79 hash.calcHashes(buf, readPos); in getMatches() 91 if (delta2 < cyclicSize && buf[readPos - delta2] == buf[readPos]) { in getMatches() 103 && buf[readPos - delta3] == buf[readPos]) { in getMatches() 111 while (lenBest < matchLenLimit && buf[readPos + lenBest - delta2] in getMatches() 112 == buf[readPos + lenBest]) in getMatches() 153 if (buf[readPos + len - delta] == buf[readPos + len]) { in getMatches() 155 if (buf[readPos + len - delta] != buf[readPos + len]) in getMatches() 172 if ((buf[readPos + len - delta] & 0xFF) in getMatches() 173 < (buf[readPos + len] & 0xFF)) { in getMatches() 208 if (buf[readPos + len - delta] == buf[readPos + len]) { in skip() [all …]
|
D | LZEncoder.java | 39 int readPos = -1; field in LZEncoder 176 int moveOffset = (readPos + 1 - keepSizeBefore) & ~15; in moveWindow() 180 readPos -= moveOffset; in moveWindow() 192 if (readPos >= buf.length - keepSizeAfter) in fillWindow() 228 if (pendingSize > 0 && readPos < readLimit) { in processPendingBytes() 229 readPos -= pendingSize; in processPendingBytes() 242 return readPos != -1; 269 return readPos - alreadyReadLen < readLimit; 274 out.write(buf, readPos + 1 - backward, len); 286 return writePos - readPos; [all …]
|
D | HC4.java | 95 hash.calcHashes(buf, readPos); in getMatches() 109 if (delta2 < cyclicSize && buf[readPos - delta2] == buf[readPos]) { in getMatches() 121 && buf[readPos - delta3] == buf[readPos]) { in getMatches() 129 while (lenBest < matchLenLimit && buf[readPos + lenBest - delta2] in getMatches() 130 == buf[readPos + lenBest]) in getMatches() 163 if (buf[readPos + lenBest - delta] == buf[readPos + lenBest] in getMatches() 164 && buf[readPos - delta] == buf[readPos]) { in getMatches() 168 if (buf[readPos + len - delta] != buf[readPos + len]) in getMatches() 194 hash.calcHashes(buf, readPos); in skip()
|
/external/deqp/framework/delibs/decpp/ |
D | deRingBuffer.cpp | 50 int readPos = 0; in RingBuffer_selfTest() local 52 while (writePos < dataSize || readPos < dataSize) in RingBuffer_selfTest() 59 DE_TEST_ASSERT(buffer.getNumFree() == bufSize - (writePos-readPos)); in RingBuffer_selfTest() 69 DE_TEST_ASSERT(tmp[i] == data[readPos+i]); in RingBuffer_selfTest() 71 readPos += numBytes; in RingBuffer_selfTest()
|
/external/sl4a/Common/src/org/apache/commons/codec/binary/ |
D | Base64Codec.java | 187 private int readPos; field in Base64Codec 365 return buffer != null ? pos - readPos : 0; in avail() 373 readPos = 0; in resizeBuffer() 397 System.arraycopy(buffer, readPos, b, bPos, len); in readResults() 398 readPos += len; in readResults() 399 if (readPos >= pos) { in readResults() 429 readPos = outPos; in setInitialBuffer() 1048 readPos = 0; in reset()
|
/external/deqp/framework/delibs/dethread/ |
D | deThreadTest.c | 404 int readPos = 0; in consumerThread() local 412 val = buffer->buffer[readPos]; in consumerThread() 413 readPos = (readPos + 1) % DE_LENGTH_OF_ARRAY(buffer->buffer); in consumerThread()
|
/external/webrtc/webrtc/modules/audio_processing/aecm/ |
D | aecm_core.c | 1201 int readPos = 0; in WebRtcAecm_FetchFarFrame() local 1224 memcpy(farend + readPos, aecm->farBuf + aecm->farBufReadPos, in WebRtcAecm_FetchFarFrame() 1227 readPos = readLen; in WebRtcAecm_FetchFarFrame() 1230 memcpy(farend + readPos, aecm->farBuf + aecm->farBufReadPos, in WebRtcAecm_FetchFarFrame()
|
/external/lzma/C/ |
D | XzEnc.c | 304 RINOK(p->inStream->Read(p->inStream, p->enc.buf + p->enc.readPos, &processed)); in SbEncInStream_Read() 305 p->enc.readPos += processed; in SbEncInStream_Read()
|