/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/wavelib/ |
PipeShort.java | 46 int rear = mRear & (mMaxValues - 1); local 47 int written = mMaxValues - rear; 51 System.arraycopy(buffer, offset, mBuffer, rear, written); 52 if (rear + written == mMaxValues) { 53 if ((count -= written) > rear) { 54 count = rear; 68 int rear = mVolatileRear; local 69 int avail = rear - mFront; 73 mFront = rear - mMaxValues + (mMaxValues >> 4); 104 // We could re-read the rear pointer here to detect the corruption, but why bother [all...] |
/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 | 53 int32_t rear = android_atomic_acquire_load(&mPipe.mRear); local 55 size_t avail = rear - mFront; 59 mFront = rear - mPipe.mMaxFrames + (mPipe.mMaxFrames >> 4); 85 // We could re-read the rear pointer here to detect the corruption, but why bother?
|
MonoPipe.cpp | 80 size_t rear = mRear & (mMaxFrames - 1); local 81 size_t part1 = mMaxFrames - rear; 86 memcpy((char *) mBuffer + (rear * mFrameSize), buffer, part1 * mFrameSize); 87 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;
|
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/engine/ |
ndcommon.c | 55 if (con->hinsi.rear != NULL) { 64 if (*(con->hinsi.rear + (hinsiR / 8)) & (0x80 >> (hinsiR % 8))) {
|
ndapi.c | 700 cursor->cond.hinsi.rear = NULL;
|
/cts/apps/CtsVerifier/jni/audio_loopback/audio_utils/ |
fifo.c | 65 // Return the difference between two indices: rear - front, where 0 <= difference <= mFrameCount. 66 static inline size_t audio_utils_fifo_diff(struct audio_utils_fifo *fifo, int32_t rear, 69 int32_t diff = rear - front; 72 int32_t genDiff = (rear & mask) - (front & mask); 86 int32_t rear = fifo->mRear; local 87 size_t availToWrite = fifo->mFrameCount - audio_utils_fifo_diff(fifo, rear, front); 91 rear &= fifo->mFrameCountP2 - 1; 92 size_t part1 = fifo->mFrameCount - rear; 97 memcpy((char *) fifo->mBuffer + (rear * fifo->mFrameSize), buffer, 112 int32_t rear = android_atomic_acquire_load(&fifo->mRear) local [all...] |
/system/media/audio_utils/ |
fifo.c | 64 // Return the difference between two indices: rear - front, where 0 <= difference <= mFrameCount. 65 static inline size_t audio_utils_fifo_diff(struct audio_utils_fifo *fifo, int32_t rear, 68 int32_t diff = rear - front; 71 int32_t genDiff = (rear & mask) - (front & mask); 85 int32_t rear = fifo->mRear; local 86 size_t availToWrite = fifo->mFrameCount - audio_utils_fifo_diff(fifo, rear, front); 90 rear &= fifo->mFrameCountP2 - 1; 91 size_t part1 = fifo->mFrameCount - rear; 96 memcpy((char *) fifo->mBuffer + (rear * fifo->mFrameSize), buffer, 111 int32_t rear = android_atomic_acquire_load(&fifo->mRear) local [all...] |
/frameworks/av/media/libmedia/ |
AudioTrackShared.cpp | 170 int32_t rear; local 180 rear = cblk->u.mStreaming.mRear; 183 rear = android_atomic_acquire_load(&cblk->u.mStreaming.mRear); 186 // write to rear, read from front 187 ssize_t filled = rear - front; 199 cblk->u.mStreaming.mFront = rear; 214 rear &= mFrameCountP2 - 1; 215 part1 = mFrameCountP2 - rear; 228 &((char *) mBuffers)[(mIsOut ? rear : front) * mFrameSize] : NULL; 353 int32_t rear = cblk->u.mStreaming.mRear local 636 int32_t rear; local 754 int32_t rear = cblk->u.mStreaming.mRear; local 804 int32_t rear = android_atomic_acquire_load(&cblk->u.mStreaming.mRear); local [all...] |
/toolchain/binutils/binutils-2.25/libiberty/ |
random.c | 171 advances the front and rear pointers 10*rand_deg times, and hence the 172 rear pointer which starts at 0 will also end up at zero; thus the zeroeth 174 position of the rear pointer is just 189 /* FPTR and RPTR are two pointers into the state info, a front and a rear 195 (The position of the rear pointer, rptr, is really 0 (as explained above 212 the front and rear pointers have wrapped. */ 254 value of the rear pointer; this is so successive calls to initstate won't 331 register int rear = new_state[0] / MAX_TYPES; 359 rptr = &state[rear]; 360 fptr = &state[(rear + rand_sep) % rand_deg] 328 register int rear = new_state[0] \/ MAX_TYPES; 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...] |
/device/huawei/angler/camera/QCamera2/stack/mm-jpeg-interface/inc/ |
mm_jpeg.h | 137 int rear; member in struct:__anon3640 157 q->rear = 0; 209 q->type[q->rear] = data; \ 210 q->rear = (q->rear + 1) % MM_JPEG_CIRQ_SIZE; \
|
/device/lge/bullhead/camera/QCamera2/stack/mm-jpeg-interface/inc/ |
mm_jpeg.h | 137 int rear; member in struct:__anon4551 157 q->rear = 0; 209 q->type[q->rear] = data; \ 210 q->rear = (q->rear + 1) % MM_JPEG_CIRQ_SIZE; \
|
/device/moto/shamu/camera/QCamera2/stack/mm-jpeg-interface/inc/ |
mm_jpeg.h | 136 int rear; member in struct:__anon5691 156 q->rear = 0; 208 q->type[q->rear] = data; \ 209 q->rear = (q->rear + 1) % MM_JPEG_CIRQ_SIZE; \
|
/hardware/qcom/camera/QCamera2/stack/mm-jpeg-interface/inc/ |
mm_jpeg.h | 143 int rear; member in struct:__anon32208 163 q->rear = 0; 215 q->type[q->rear] = data; \ 216 q->rear = (q->rear + 1) % MM_JPEG_CIRQ_SIZE; \
|
/system/bt/stack/btm/ |
btm_ble_multi_adv.c | 397 if (btm_multi_adv_idx_q.front == btm_multi_adv_idx_q.rear) 400 btm_multi_adv_idx_q.rear = -1; 455 if (btm_multi_adv_idx_q.front == (btm_multi_adv_idx_q.rear + 1) % BTM_BLE_MULTI_ADV_MAX) 465 btm_multi_adv_idx_q.rear = 0; 469 btm_multi_adv_idx_q.rear = (btm_multi_adv_idx_q.rear + 1) % BTM_BLE_MULTI_ADV_MAX; 471 btm_multi_adv_idx_q.inst_index_queue[btm_multi_adv_idx_q.rear] = p_inst->index; 818 btm_multi_adv_idx_q.rear = -1;
|
/frameworks/compile/mclinker/lib/MC/ |
SymbolCategory.cpp | 151 size_t rear; local 157 rear = current->end - 1; 158 std::swap(m_OutputSymbols[pos], m_OutputSymbols[rear]); 159 pos = rear;
|
/frameworks/av/include/private/media/ |
AudioTrackShared.h | 467 int32_t rear = android_atomic_acquire_load(&mCblk->u.mStreaming.mRear); local 469 android_atomic_release_store(rear, &mCblk->u.mStreaming.mFront); 470 return (Modulo<int32_t>(rear) - front).unsignedValue();
|
/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) {
|
/frameworks/av/services/audioflinger/ |
FastCapture.cpp | 201 int32_t rear = cblk->u.mStreaming.mRear; local 202 android_atomic_release_store(framesWritten + rear, &cblk->u.mStreaming.mRear);
|
Threads.cpp | 6030 int32_t rear = mRsmpInRear & (mRsmpInFramesP2 - 1); local 6660 const int32_t rear = recordThread->mRsmpInRear; local 6698 int32_t rear = recordThread->mRsmpInRear; local [all...] |
/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...] |
/external/libvorbis/doc/ |
04-codec.tex | 632 front right, rear left, rear right 636 center, front right, rear left, rear right 640 front right, rear left, rear right, LFE 644 front right, side left, side right, rear center, LFE 648 front right, side left, side right, rear left, rear right,
|
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/include/ |
nj_lib.h | 196 NJ_UINT8 *rear; member in struct:__anon35554::__anon35555
|