Home
last modified time | relevance | path

Searched refs:newRear (Results 1 – 4 of 4) sorted by relevance

/frameworks/wilhelm/src/itf/
DIBufferQueue.cpp57 BufferHeader *oldRear = thiz->mRear, *newRear; in IBufferQueue_Enqueue() local
58 if ((newRear = oldRear + 1) == &thiz->mArray[thiz->mNumBuffers + 1]) { in IBufferQueue_Enqueue()
59 newRear = thiz->mArray; in IBufferQueue_Enqueue()
61 if (newRear == thiz->mFront) { in IBufferQueue_Enqueue()
66 thiz->mRear = newRear; in IBufferQueue_Enqueue()
DIAndroidBufferQueue.cpp360 AdvancedBufferHeader *oldRear = thiz->mRear, *newRear; in IAndroidBufferQueue_Enqueue() local
361 if ((newRear = oldRear + 1) == &thiz->mBufferArray[thiz->mNumBuffers + 1]) { in IAndroidBufferQueue_Enqueue()
362 newRear = thiz->mBufferArray; in IAndroidBufferQueue_Enqueue()
367 } else if (newRear == thiz->mFront) { in IAndroidBufferQueue_Enqueue()
379 thiz->mRear = newRear; in IAndroidBufferQueue_Enqueue()
/frameworks/wilhelm/src/
DThreadPool.cpp291 Closure **newRear = oldRear; in ThreadPool_add() local
292 if (++newRear == &tp->mClosureArray[tp->mMaxClosures + 1]) in ThreadPool_add()
293 newRear = tp->mClosureArray; in ThreadPool_add()
295 if (newRear == tp->mClosureFront) { in ThreadPool_add()
312 tp->mClosureRear = newRear; in ThreadPool_add()
/frameworks/av/media/libaudioclient/
DAudioTrackShared.cpp790 int32_t newRear = (rear & ~mask) | (stop & mask); in getRear() local
791 ssize_t filled = audio_utils::safe_sub_overflow(newRear, front); in getRear()
797 newRear -= overflowBit; in getRear()
802 return newRear; in getRear()
809 (unsigned)mask, newRear, filled, (unsigned)filled); in getRear()