Searched refs:newRear (Results 1 – 3 of 3) 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()