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

/frameworks/wilhelm/src/itf/
H A DIBufferQueue.cpp57 BufferHeader *oldRear = thiz->mRear, *newRear; local
58 if ((newRear = oldRear + 1) == &thiz->mArray[thiz->mNumBuffers + 1]) {
59 newRear = thiz->mArray;
61 if (newRear == thiz->mFront) {
66 thiz->mRear = newRear;
H A DIAndroidBufferQueue.cpp360 AdvancedBufferHeader *oldRear = thiz->mRear, *newRear; local
361 if ((newRear = oldRear + 1) == &thiz->mBufferArray[thiz->mNumBuffers + 1]) {
362 newRear = thiz->mBufferArray;
367 } else if (newRear == thiz->mFront) {
379 thiz->mRear = newRear;
/frameworks/wilhelm/src/
H A DThreadPool.cpp291 Closure **newRear = oldRear; local
292 if (++newRear == &tp->mClosureArray[tp->mMaxClosures + 1])
293 newRear = tp->mClosureArray;
295 if (newRear == tp->mClosureFront) {
312 tp->mClosureRear = newRear;
/frameworks/av/media/libaudioclient/
H A DAudioTrackShared.cpp726 int32_t newRear = (rear & ~mask) | (stop & mask); local
727 ssize_t filled = newRear - front;
731 // so rebasing newRear on the rear offset is off by the overflow bit.
733 newRear -= overflowBit;
737 // we're stopped, return the stop level as newRear
738 return newRear;
742 ALOGE("mStopLast %#x -> stop %#x, front %#x, rear %#x, mask %#x, newRear %#x, "
745 (unsigned)mask, newRear, filled, (unsigned)filled);

Completed in 50 milliseconds