Searched refs:rear (Results 1 - 6 of 6) sorted by relevance

/frameworks/av/services/audioflinger/
H A DPipe.cpp50 size_t rear = mRear & (mMaxFrames - 1); local
51 size_t written = mMaxFrames - rear;
55 memcpy((char *) mBuffer + (rear << mBitShift), buffer, written << mBitShift);
56 if (CC_UNLIKELY(rear + written == mMaxFrames)) {
57 if (CC_UNLIKELY((count -= written) > rear)) {
58 count = rear;
H A DPipeReader.cpp48 int32_t rear = android_atomic_acquire_load(&mPipe.mRear); local
50 size_t avail = rear - mFront;
54 mFront = rear - mPipe.mMaxFrames + (mPipe.mMaxFrames >> 4);
80 // We could re-read the rear pointer here to detect the corruption, but why bother?
H A DMonoPipe.cpp72 size_t rear = mRear & (mMaxFrames - 1); local
73 size_t part1 = mMaxFrames - rear;
78 memcpy((char *) mBuffer + (rear << mBitShift), buffer, part1 << mBitShift);
79 if (CC_UNLIKELY(rear + part1 == mMaxFrames)) {
/frameworks/compile/mclinker/lib/LD/
H A DLayout.cpp121 /// 1. add a new range <pInputHdr, previous rear fragment>
151 // set up previous rear of the range.
326 llvm::MCFragment* rear = getRear(pRange);
327 if (NULL == rear)
330 return getFragmentRef(*front, *rear, pOffset);
342 llvm::MCFragment* rear = &pRear; local
344 if (!hasLayoutOffset(*rear)) {
346 setFragmentLayoutOrder(rear);
347 setFragmentLayoutOffset(rear);
353 // from front to rear, fin
[all...]
/frameworks/compile/mclinker/lib/MC/
H A DSymbolCategory.cpp142 size_t rear; local
149 rear = current->end - 1;
150 std::swap(m_OutputSymbols[pos], m_OutputSymbols[rear]);
151 pos = rear;
/frameworks/wilhelm/src/itf/
H A DIOutputMixExt.c275 const BufferHeader *oldFront, *newFront, *rear; local
277 rear = bufferQueue->mRear;
279 assert(oldFront != rear);
287 if (newFront != rear) {

Completed in 116 milliseconds