/frameworks/av/media/libnbaio/ |
Pipe.cpp | 53 size_t rear = mRear & (mMaxFrames - 1); local 54 size_t written = mMaxFrames - rear; 58 memcpy((char *) mBuffer + (rear * mFrameSize), buffer, written * mFrameSize); 59 if (CC_UNLIKELY(rear + written == mMaxFrames)) { 60 if (CC_UNLIKELY((count -= written) > rear)) { 61 count = rear;
|
PipeReader.cpp | 48 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?
|
MonoPipe.cpp | 130 size_t rear = mRear & (mMaxFrames - 1); local 131 size_t part1 = mMaxFrames - rear; 136 memcpy((char *) mBuffer + (rear * mFrameSize), buffer, part1 * mFrameSize); 137 if (CC_UNLIKELY(rear + part1 == mMaxFrames)) {
|
NBLog.cpp | 179 size_t rear = mRear & (mSize - 1); local 180 size_t written = mSize - rear; // written = number of bytes that have been written so far 190 mShared->mBuffer[rear + i] = entry->readAt(i); 192 if (rear + written == mSize && (need -= written) > 0) { 288 int32_t rear = android_atomic_acquire_load(&mShared->mRear); local 289 size_t avail = rear - mFront;
|
/frameworks/av/services/audioflinger/ |
FastCapture.cpp | 200 int32_t rear = cblk->u.mStreaming.mRear; local 201 android_atomic_release_store(framesWritten + rear, &cblk->u.mStreaming.mRear);
|
Threads.cpp | 5316 int32_t rear = mRsmpInRear & (mRsmpInFramesP2 - 1); local [all...] |
/bionic/libc/upstream-netbsd/common/lib/libc/stdlib/ |
random.c | 183 * advances the front and rear pointers 10*rand_deg times, and hence the 184 * rear pointer which starts at 0 will also end up at zero; thus the zeroeth 186 * position of the rear pointer is just 222 * fptr and rptr are two pointers into the state info, a front and a rear 231 * (The position of the rear pointer, rptr, is really 0 (as explained above 246 * the last element to see if the front and rear pointers have wrapped. 323 * multiplexed with the current value of the rear pointer; this is so 413 int rear; local 420 rear = (int)(new_state[0] / MAX_TYPES); 443 rptr = &state[rear]; [all...] |
/frameworks/compile/mclinker/lib/MC/ |
SymbolCategory.cpp | 157 size_t rear; local 164 rear = current->end - 1; 165 std::swap(m_OutputSymbols[pos], m_OutputSymbols[rear]); 166 pos = rear;
|
/frameworks/wilhelm/src/itf/ |
IOutputMixExt.c | 275 const BufferHeader *oldFront, *newFront, *rear; local 277 rear = bufferQueue->mRear; 279 assert(oldFront != rear); 287 if (newFront != rear) {
|
/device/asus/flo/camera/QCamera2/stack/mm-jpeg-interface/inc/ |
mm_jpeg.h | 70 int rear; member in struct:__anon2825
|
/device/lge/hammerhead/camera/QCamera2/stack/mm-jpeg-interface/inc/ |
mm_jpeg.h | 71 int rear; member in struct:__anon3332
|
/external/svox/pico/lib/ |
picodata.c | 65 picoos_uint16 rear; /* next free position to write */ member in struct:picodata_char_buffer 91 this->rear = 0; 149 this->buf[this->rear++] = ch; 150 this->rear %= this->size; 302 this->buf[this->rear++] = (picoos_char)buf[i]; 303 this->rear %= this->size; [all...] |
/frameworks/av/media/libmedia/ |
AudioTrackShared.cpp | 124 int32_t rear; local 134 rear = cblk->u.mStreaming.mRear; 137 rear = android_atomic_acquire_load(&cblk->u.mStreaming.mRear); 140 ssize_t filled = rear - front; 152 cblk->u.mStreaming.mFront = rear; 161 rear &= mFrameCountP2 - 1; 162 part1 = mFrameCountP2 - rear; 175 &((char *) mBuffers)[(mIsOut ? rear : front) * mFrameSize] : NULL; 298 int32_t rear = cblk->u.mStreaming.mRear; local 299 android_atomic_release_store(stepCount + rear, &cblk->u.mStreaming.mRear) 337 int32_t rear; local 550 int32_t rear; local 655 int32_t rear = cblk->u.mStreaming.mRear; local 703 int32_t rear = android_atomic_acquire_load(&cblk->u.mStreaming.mRear); local [all...] |
/device/moto/shamu/camera/QCamera2/stack/mm-jpeg-interface/inc/ |
mm_jpeg.h | 136 int rear; member in struct:__anon4485 156 q->rear = 0; 208 q->type[q->rear] = data; \ 209 q->rear = (q->rear + 1) % MM_JPEG_CIRQ_SIZE; \
|
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/include/ |
nj_lib.h | 196 NJ_UINT8 *rear; member in struct:__anon23221::__anon23222
|
/external/bluetooth/bluedroid/stack/include/ |
btm_ble_api.h | 466 int rear; member in struct:__anon6111 [all...] |