HomeSort by relevance Sort by last modified time
    Searched defs:rear (Results 1 - 19 of 19) sorted by null

  /frameworks/av/media/libnbaio/
Pipe.cpp 53 size_t rear = mRear & (mMaxFrames - 1); local
54 size_t written = mMaxFrames - rear;
58 memcpy((char *) mBuffer + (rear * mFrameSize), buffer, written * mFrameSize);
59 if (CC_UNLIKELY(rear + written == mMaxFrames)) {
60 if (CC_UNLIKELY((count -= written) > rear)) {
61 count = rear;
PipeReader.cpp 48 int32_t rear = android_atomic_acquire_load(&mPipe.mRear); local
50 size_t avail = rear - mFront;
54 mFront = rear - mPipe.mMaxFrames + (mPipe.mMaxFrames >> 4);
80 // We could re-read the rear pointer here to detect the corruption, but why bother?
MonoPipe.cpp 130 size_t rear = mRear & (mMaxFrames - 1); local
131 size_t part1 = mMaxFrames - rear;
136 memcpy((char *) mBuffer + (rear * mFrameSize), buffer, part1 * mFrameSize);
137 if (CC_UNLIKELY(rear + part1 == mMaxFrames)) {
NBLog.cpp 179 size_t rear = mRear & (mSize - 1); local
180 size_t written = mSize - rear; // written = number of bytes that have been written so far
190 mShared->mBuffer[rear + i] = entry->readAt(i);
192 if (rear + written == mSize && (need -= written) > 0) {
288 int32_t rear = android_atomic_acquire_load(&mShared->mRear); local
289 size_t avail = rear - mFront;
  /system/media/audio_utils/
fifo.c 64 // Return the difference between two indices: rear - front, where 0 <= difference <= mFrameCount.
65 static inline size_t audio_utils_fifo_diff(struct audio_utils_fifo *fifo, int32_t rear,
68 int32_t diff = rear - front;
71 int32_t genDiff = (rear & mask) - (front & mask);
85 int32_t rear = fifo->mRear; local
86 size_t availToWrite = fifo->mFrameCount - audio_utils_fifo_diff(fifo, rear, front);
90 rear &= fifo->mFrameCountP2 - 1;
91 size_t part1 = fifo->mFrameCount - rear;
96 memcpy((char *) fifo->mBuffer + (rear * fifo->mFrameSize), buffer,
111 int32_t rear = android_atomic_acquire_load(&fifo->mRear) local
    [all...]
  /frameworks/av/services/audioflinger/
FastCapture.cpp 199 int32_t rear = cblk->u.mStreaming.mRear; local
200 android_atomic_release_store(framesWritten + rear, &cblk->u.mStreaming.mRear);
Threads.cpp 5821 int32_t rear = mRsmpInRear & (mRsmpInFramesP2 - 1); local
6417 const int32_t rear = recordThread->mRsmpInRear; local
6455 int32_t rear = recordThread->mRsmpInRear; local
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/wavelib/
PipeShort.java 46 int rear = mRear & (mMaxValues - 1); local
47 int written = mMaxValues - rear;
51 System.arraycopy(buffer, offset, mBuffer, rear, written);
52 if (rear + written == mMaxValues) {
53 if ((count -= written) > rear) {
54 count = rear;
68 int rear = mVolatileRear; local
69 int avail = rear - mFront;
73 mFront = rear - mMaxValues + (mMaxValues >> 4);
104 // We could re-read the rear pointer here to detect the corruption, but why bother
    [all...]
  /bionic/libc/upstream-netbsd/common/lib/libc/stdlib/
random.c 183 * advances the front and rear pointers 10*rand_deg times, and hence the
184 * rear pointer which starts at 0 will also end up at zero; thus the zeroeth
186 * position of the rear pointer is just
222 * fptr and rptr are two pointers into the state info, a front and a rear
231 * (The position of the rear pointer, rptr, is really 0 (as explained above
246 * the last element to see if the front and rear pointers have wrapped.
323 * multiplexed with the current value of the rear pointer; this is so
413 int rear; local
420 rear = (int)(new_state[0] / MAX_TYPES);
443 rptr = &state[rear];
    [all...]
  /frameworks/compile/mclinker/lib/MC/
SymbolCategory.cpp 151 size_t rear; local
157 rear = current->end - 1;
158 std::swap(m_OutputSymbols[pos], m_OutputSymbols[rear]);
159 pos = rear;
  /frameworks/wilhelm/src/itf/
IOutputMixExt.c 275 const BufferHeader *oldFront, *newFront, *rear; local
277 rear = bufferQueue->mRear;
279 assert(oldFront != rear);
287 if (newFront != rear) {
  /device/asus/flo/camera/QCamera2/stack/mm-jpeg-interface/inc/
mm_jpeg.h 70 int rear; member in struct:__anon2931
  /device/lge/hammerhead/camera/QCamera2/stack/mm-jpeg-interface/inc/
mm_jpeg.h 71 int rear; member in struct:__anon3436
  /external/svox/pico/lib/
picodata.c 65 picoos_uint16 rear; /* next free position to write */ member in struct:picodata_char_buffer
91 this->rear = 0;
149 this->buf[this->rear++] = ch;
150 this->rear %= this->size;
302 this->buf[this->rear++] = (picoos_char)buf[i];
303 this->rear %= this->size;
    [all...]
  /frameworks/av/media/libmedia/
AudioTrackShared.cpp 138 int32_t rear; local
148 rear = cblk->u.mStreaming.mRear;
151 rear = android_atomic_acquire_load(&cblk->u.mStreaming.mRear);
154 ssize_t filled = rear - front;
166 cblk->u.mStreaming.mFront = rear;
175 rear &= mFrameCountP2 - 1;
176 part1 = mFrameCountP2 - rear;
189 &((char *) mBuffers)[(mIsOut ? rear : front) * mFrameSize] : NULL;
312 int32_t rear = cblk->u.mStreaming.mRear; local
313 android_atomic_release_store(stepCount + rear, &cblk->u.mStreaming.mRear)
351 int32_t rear; local
611 int32_t rear; local
727 int32_t rear = cblk->u.mStreaming.mRear; local
775 int32_t rear = android_atomic_acquire_load(&cblk->u.mStreaming.mRear); local
    [all...]
  /device/moto/shamu/camera/QCamera2/stack/mm-jpeg-interface/inc/
mm_jpeg.h 136 int rear; member in struct:__anon4218
156 q->rear = 0;
208 q->type[q->rear] = data; \
209 q->rear = (q->rear + 1) % MM_JPEG_CIRQ_SIZE; \
  /hardware/qcom/camera/QCamera2/stack/mm-jpeg-interface/inc/
mm_jpeg.h 137 int rear; member in struct:__anon25507
157 q->rear = 0;
209 q->type[q->rear] = data; \
210 q->rear = (q->rear + 1) % MM_JPEG_CIRQ_SIZE; \
  /packages/inputmethods/OpenWnn/libs/libwnnDictionary/include/
nj_lib.h 196 NJ_UINT8 *rear; member in struct:__anon28252::__anon28253
  /system/bt/stack/include/
btm_ble_api.h 508 int rear; member in struct:__anon69577
    [all...]

Completed in 715 milliseconds