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

/system/media/audio_utils/
H A Dfifo.c64 // Return the difference between two indices: rear - front, where 0 <= difference <= mFrameCount.
66 int32_t front)
68 int32_t diff = rear - front;
71 int32_t genDiff = (rear & mask) - (front & mask);
84 int32_t front = android_atomic_acquire_load(&fifo->mFront); local
86 size_t availToWrite = fifo->mFrameCount - audio_utils_fifo_diff(fifo, rear, front);
112 int32_t front = fifo->mFront; local
113 size_t availToRead = audio_utils_fifo_diff(fifo, rear, front);
117 front &= fifo->mFrameCountP2 - 1;
118 size_t part1 = fifo->mFrameCount - front;
65 audio_utils_fifo_diff(struct audio_utils_fifo *fifo, int32_t rear, int32_t front) argument
[all...]
/system/bt/stack/btm/
H A Dbtm_ble_multi_adv.c388 if (btm_multi_adv_idx_q.front == -1)
395 index = btm_multi_adv_idx_q.inst_index_queue[btm_multi_adv_idx_q.front];
396 if (btm_multi_adv_idx_q.front == btm_multi_adv_idx_q.rear)
398 btm_multi_adv_idx_q.front = -1;
403 btm_multi_adv_idx_q.front = (btm_multi_adv_idx_q.front + 1) % BTM_BLE_MULTI_ADV_MAX;
454 if (btm_multi_adv_idx_q.front == (btm_multi_adv_idx_q.rear + 1) % BTM_BLE_MULTI_ADV_MAX)
461 if (btm_multi_adv_idx_q.front == -1)
463 btm_multi_adv_idx_q.front = 0;
816 btm_multi_adv_idx_q.front
[all...]
/system/extras/perfprofd/quipper/
H A Daddress_mapper.cc67 const MappedRange& range = mappings_to_delete.front();
/system/bt/stack/include/
H A Dbtm_ble_api.h507 int front; member in struct:__anon1063

Completed in 23 milliseconds