HomeSort by relevance Sort by last modified time
    Searched refs:readIdx (Results 1 - 3 of 3) sorted by null

  /external/srec/shared/src/
CircularBuffer.c 66 if (buffer->readIdx >= buffer->writeIdx)
68 nbRead = buffer->capacity - buffer-> readIdx;
71 memcpy(data, bufferData + buffer->readIdx, nbRead);
73 buffer->readIdx += nbRead;
74 if (buffer->readIdx == buffer->capacity)
75 buffer->readIdx = 0;
81 memcpy(((unsigned char *) data) + nbRead, bufferData + buffer->readIdx, toRead);
83 buffer->readIdx += toRead;
100 buffer->readIdx += bufSize;
101 if (buffer->readIdx >= buffer->capacity
    [all...]
  /external/srec/shared/include/
CircularBuffer.h 67 size_t readIdx;
105 (buffer)->readIdx = \
  /external/srec/srec/Recognizer/src/
RecognizerResultImpl.c 76 sizeof(CircularBuffer) + impl->recogImpl->waveformBuffer->cbuffer->readIdx);
86 *waveform = (asr_int16_t*)(((unsigned char *) impl->recogImpl->waveformBuffer->cbuffer) + sizeof(CircularBuffer) + impl->recogImpl->waveformBuffer->cbuffer->readIdx);

Completed in 2625 milliseconds