Home
last modified time | relevance | path

Searched refs:readIndex (Results 1 – 17 of 17) sorted by relevance

/external/sonivox/arm-wt-22k/misc/
Deas_host.c89 EAS_I32 readIndex; member
262 file->readIndex = 0; in EAS_HWOpenFile()
292 file->readIndex = 0; in EAS_HWFillBuffer()
327 temp = file->bytesInBuffer - file->readIndex; in EAS_HWReadFile()
332 EAS_HWMemCpy(p, &file->buffer[file->readIndex], temp); in EAS_HWReadFile()
334 file->readIndex += temp; in EAS_HWReadFile()
364 file->readIndex = 0; in EAS_HWReadFile()
403 if (file->readIndex >= file->bytesInBuffer) in EAS_HWGetByte()
414 *((EAS_U8*) p) = file->buffer[file->readIndex++]; in EAS_HWGetByte()
526 newIndex = position - file->filePos + file->readIndex; in EAS_HWFileSeek()
[all …]
/external/libgdx/extensions/gdx-controllers/gdx-controllers-desktop/jni/ois-v1-4svn/src/extras/LIRC/
DOISLIRCRingBuffer.h90 volatile int readIndex; variable
129 return ( (writeIndex - readIndex) & bigMask ); in GetReadAvailable()
229 index = readIndex & smallMask; in GetReadRegions()
258 return readIndex = (readIndex + numEntries) & bigMask; in AdvanceReadIndex()
264 writeIndex = readIndex = 0; in Flush()
/external/libgdx/gdx/src/com/badlogic/gdx/utils/
DAtomicQueue.java33 private final AtomicInteger readIndex = new AtomicInteger(); field in AtomicQueue
46 int read = readIndex.get(); in put()
55 int read = readIndex.get(); in poll()
59 readIndex.set(next(read)); in poll()
/external/libgdx/extensions/gdx-controllers/gdx-controllers-desktop/jni/ois-v1-4svn/src/win32/extras/WiiMote/
DOISWiiMoteRingBuffer.h134 volatile int readIndex; variable
173 return ( (writeIndex - readIndex) & bigMask ); in GetReadAvailable()
273 index = readIndex & smallMask; in GetReadRegions()
302 return readIndex = (readIndex + numEntries) & bigMask; in AdvanceReadIndex()
308 writeIndex = readIndex = 0; in Flush()
/external/libnfc-nxp/src/
DphFriNfc_LlcpTransport_Connectionless.c317 uint8_t readIndex; in phLibNfc_LlcpTransport_Connectionless_RecvFrom() local
329 readIndex = pLlcpSocket->indexRwRead % pLlcpSocket->localRW; in phLibNfc_LlcpTransport_Connectionless_RecvFrom()
332 ssap = pLlcpSocket->sSocketRwBufferTable[readIndex].buffer[0]; in phLibNfc_LlcpTransport_Connectionless_RecvFrom()
334 pLlcpSocket->sSocketRwBufferTable[readIndex].buffer + 1, in phLibNfc_LlcpTransport_Connectionless_RecvFrom()
335 pLlcpSocket->sSocketRwBufferTable[readIndex].length); in phLibNfc_LlcpTransport_Connectionless_RecvFrom()
336 psBuffer->length = pLlcpSocket->sSocketRwBufferTable[readIndex].length; in phLibNfc_LlcpTransport_Connectionless_RecvFrom()
339 pLlcpSocket->sSocketRwBufferTable[readIndex].length = 0; in phLibNfc_LlcpTransport_Connectionless_RecvFrom()
/external/libgdx/backends/gdx-backend-lwjgl3/src/com/badlogic/gdx/backends/lwjgl3/audio/
DOggInputStream.java88 private int readIndex; field in OggInputStream
433 if (readIndex >= pcmBuffer.position()) { in read()
436 readIndex = 0; in read()
438 if (readIndex >= pcmBuffer.position()) { in read()
442 int value = pcmBuffer.get(readIndex); in read()
446 readIndex++; in read()
452 return endOfStream && (readIndex >= pcmBuffer.position()); in atEnd()
/external/libgdx/backends/gdx-backend-lwjgl/src/com/badlogic/gdx/backends/lwjgl/audio/
DOggInputStream.java88 private int readIndex; field in OggInputStream
433 if (readIndex >= pcmBuffer.position()) { in read()
436 readIndex = 0; in read()
438 if (readIndex >= pcmBuffer.position()) { in read()
442 int value = pcmBuffer.get(readIndex); in read()
446 readIndex++; in read()
452 return endOfStream && (readIndex >= pcmBuffer.position()); in atEnd()
/external/webrtc/webrtc/modules/audio_device/mac/portaudio/
Dpa_ringbuffer.c85 return ( (rbuf->writeIndex - rbuf->readIndex) & rbuf->bigMask ); in PaUtil_GetRingBufferReadAvailable()
99 rbuf->writeIndex = rbuf->readIndex = 0; in PaUtil_FlushRingBuffer()
165 index = rbuf->readIndex & rbuf->smallMask; in PaUtil_GetRingBufferReadRegions()
191 return rbuf->readIndex = (rbuf->readIndex + elementCount) & rbuf->bigMask; in PaUtil_AdvanceRingBufferReadIndex()
Dpa_ringbuffer.h94 …PaRingBufferSize readIndex; /**< Index of next readable element. Set by PaUtil_AdvanceRingBuffer… member
/external/sonivox/arm-wt-22k/jetcreator_lib_src/darwin-x86/
DEASLibVst.c73 EAS_I32 readIndex; member
536 file->readIndex = 0; in EAS_HWOpenFile()
566 file->readIndex = 0; in EAS_HWFillBuffer()
601 temp = file->bytesInBuffer - file->readIndex; in EAS_HWReadFile()
606 EAS_HWMemCpy(p, &file->buffer[file->readIndex], temp); in EAS_HWReadFile()
608 file->readIndex += temp; in EAS_HWReadFile()
637 file->readIndex = 0; in EAS_HWReadFile()
676 if (file->readIndex >= file->bytesInBuffer) in EAS_HWGetByte()
687 *((EAS_U8*) p) = file->buffer[file->readIndex++]; in EAS_HWGetByte()
803 newIndex = position - file->filePos + file->readIndex; in EAS_HWFileSeek()
[all …]
DEASLib.c75 EAS_I32 readIndex; member
841 file->readIndex = 0; in EAS_HWOpenFile()
871 file->readIndex = 0; in EAS_HWFillBuffer()
906 temp = file->bytesInBuffer - file->readIndex; in EAS_HWReadFile()
911 EAS_HWMemCpy(p, &file->buffer[file->readIndex], temp); in EAS_HWReadFile()
913 file->readIndex += temp; in EAS_HWReadFile()
942 file->readIndex = 0; in EAS_HWReadFile()
981 if (file->readIndex >= file->bytesInBuffer) in EAS_HWGetByte()
992 *((EAS_U8*) p) = file->buffer[file->readIndex++]; in EAS_HWGetByte()
1108 newIndex = position - file->filePos + file->readIndex; in EAS_HWFileSeek()
[all …]
/external/aac/libFDK/src/
DFDK_hybrid.cpp315 int readIndex = hAnalysisHybFilter->bufferLFpos; in FDKhybridAnalysisApply() local
317 if (++readIndex>=hAnalysisHybFilter->pSetup->protoLen) readIndex = 0; in FDKhybridAnalysisApply()
318 const INT* pBufferLFreadIdx = &hAnalysisHybFilter->pSetup->pReadIdxTable[readIndex]; in FDKhybridAnalysisApply()
340 hAnalysisHybFilter->bufferLFpos = readIndex; /* Index where to write next input sample. */ in FDKhybridAnalysisApply()
/external/clang/include/clang/Serialization/
DGlobalModuleIndex.h150 readIndex(StringRef Path);
/external/icu/icu4c/source/common/
Duts46.cpp601 int32_t readIndex=mappingStart, writeIndex=mappingStart; in mapDevChars() local
603 UChar c=s[readIndex++]; in mapDevChars()
610 if(writeIndex==readIndex) { in mapDevChars()
621 ++readIndex; in mapDevChars()
/external/sonivox/arm-wt-22k/lib_src/
Djet.c103 EAS_INLINE void JET_WriteQueue (EAS_U32 *pEventQueue, EAS_U8 *pWriteIndex, EAS_U8 readIndex, EAS_U8… in JET_WriteQueue() argument
109 if (temp == readIndex) in JET_WriteQueue()
/external/clang/lib/Serialization/
DGlobalModuleIndex.cpp236 GlobalModuleIndex::readIndex(StringRef Path) { in readIndex() function in GlobalModuleIndex
DASTReader.cpp3416 = GlobalModuleIndex::readIndex(ModuleCachePath); in loadGlobalIndex()