Home
last modified time | relevance | path

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

/external/flatbuffers/java/com/google/flatbuffers/
DArrayReadWriteBuf.java17 private int writePos; field in ArrayReadWriteBuf
29 this.writePos = 0; in ArrayReadWriteBuf()
34 this.writePos = startPos; in ArrayReadWriteBuf()
95 setBoolean(writePos, value); in putBoolean()
96 writePos++; in putBoolean()
101 set(writePos, value, start, length); in put()
102 writePos+=length; in put()
107 set(writePos, value); in put()
108 writePos++; in put()
113 setShort(writePos, value); in putShort()
[all …]
/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/angle/src/libANGLE/renderer/d3d/
DIndexBuffer.cpp148 unsigned int writePos = getWritePosition(); in reserveBufferSpace() local
154 else if (writePos + size > curBufferSize || writePos + size < writePos) in reserveBufferSpace()
/external/protobuf/java/core/src/main/java/com/google/protobuf/
DSchemaUtil.java914 int writePos = 0; in filterUnknownEnumList() local
919 if (readPos != writePos) { in filterUnknownEnumList()
920 enumList.set(writePos, enumValue); in filterUnknownEnumList()
922 ++writePos; in filterUnknownEnumList()
927 if (writePos != size) { in filterUnknownEnumList()
928 enumList.subList(writePos, size).clear(); in filterUnknownEnumList()
954 int writePos = 0; in filterUnknownEnumList() local
959 if (readPos != writePos) { in filterUnknownEnumList()
960 enumList.set(writePos, enumValue); in filterUnknownEnumList()
962 ++writePos; in filterUnknownEnumList()
[all …]
/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/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()
/external/webrtc/modules/audio_processing/aecm/
Daecm_core.cc1072 int writeLen = farLen, writePos = 0; in WebRtcAecm_BufferFarFrame() local
1078 memcpy(aecm->farBuf + aecm->farBufWritePos, farend + writePos, in WebRtcAecm_BufferFarFrame()
1081 writePos = writeLen; in WebRtcAecm_BufferFarFrame()
1085 memcpy(aecm->farBuf + aecm->farBufWritePos, farend + writePos, in WebRtcAecm_BufferFarFrame()