Home
last modified time | relevance | path

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

/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/chromium_org/third_party/angle/src/libGLESv2/renderer/
DIndexBuffer.cpp145 unsigned int writePos = getWritePosition(); in reserveBufferSpace() local
151 else if (writePos + size > curBufferSize || writePos + size < writePos) in reserveBufferSpace()
/external/qemu/android/utils/
Dreflist.c194 int writePos = 0; in areflist_delAll() local
205 writePos = readPos; in areflist_delAll()
214 items[writePos] = items[readPos]; in areflist_delAll()
215 writePos++; in areflist_delAll()
217 l->count = l->size = (uint16_t) writePos; in areflist_delAll()
/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/chromium_org/third_party/webrtc/modules/audio_processing/aecm/
Daecm_core.c1240 int writeLen = farLen, writePos = 0; in WebRtcAecm_BufferFarFrame() local
1247 memcpy(aecm->farBuf + aecm->farBufWritePos, farend + writePos, in WebRtcAecm_BufferFarFrame()
1250 writePos = writeLen; in WebRtcAecm_BufferFarFrame()
1254 memcpy(aecm->farBuf + aecm->farBufWritePos, farend + writePos, in WebRtcAecm_BufferFarFrame()
/external/svox/pico/lib/
Dpicospho.c419 writePos; in shift_range_left_1() local
423 writePos = spho->headxWritePos; in shift_range_left_1()
425 if (j < writePos) { in shift_range_left_1()
434 "shifting buffer region [%i,%i[ down to %i",*from, writePos, to in shift_range_left_1()
447 while (j < writePos) { in shift_range_left_1()
/external/webrtc/src/modules/audio_processing/aecm/
Daecm_core.c2070 int writeLen = farLen, writePos = 0; in WebRtcAecm_BufferFarFrame() local
2077 memcpy(aecm->farBuf + aecm->farBufWritePos, farend + writePos, in WebRtcAecm_BufferFarFrame()
2080 writePos = writeLen; in WebRtcAecm_BufferFarFrame()
2084 memcpy(aecm->farBuf + aecm->farBufWritePos, farend + writePos, in WebRtcAecm_BufferFarFrame()