Searched refs:newRear (Results 1 – 4 of 4) sorted by relevance
57 BufferHeader *oldRear = thiz->mRear, *newRear; in IBufferQueue_Enqueue() local58 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()
360 AdvancedBufferHeader *oldRear = thiz->mRear, *newRear; in IAndroidBufferQueue_Enqueue() local361 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()
291 Closure **newRear = oldRear; in ThreadPool_add() local292 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()
790 int32_t newRear = (rear & ~mask) | (stop & mask); in getRear() local791 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()