Searched refs:newRear (Results 1 - 4 of 4) sorted by relevance
/frameworks/wilhelm/src/itf/ |
H A D | IBufferQueue.cpp | 57 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 D | IAndroidBufferQueue.cpp | 360 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 D | ThreadPool.cpp | 291 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 D | AudioTrackShared.cpp | 726 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