Home
last modified time | relevance | path

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