Searched refs:front (Results 1 – 4 of 4) sorted by relevance
66 int32_t front) in audio_utils_fifo_diff() argument68 int32_t diff = rear - front; in audio_utils_fifo_diff()71 int32_t genDiff = (rear & mask) - (front & mask); in audio_utils_fifo_diff()84 int32_t front = android_atomic_acquire_load(&fifo->mFront); in audio_utils_fifo_write() local86 size_t availToWrite = fifo->mFrameCount - audio_utils_fifo_diff(fifo, rear, front); in audio_utils_fifo_write()112 int32_t front = fifo->mFront; in audio_utils_fifo_read() local113 size_t availToRead = audio_utils_fifo_diff(fifo, rear, front); in audio_utils_fifo_read()117 front &= fifo->mFrameCountP2 - 1; in audio_utils_fifo_read()118 size_t part1 = fifo->mFrameCount - front; in audio_utils_fifo_read()123 memcpy(buffer, (char *) fifo->mBuffer + (front * fifo->mFrameSize), in audio_utils_fifo_read()
388 if (btm_multi_adv_idx_q.front == -1) in btm_ble_multi_adv_gen_rpa_cmpl()395 index = btm_multi_adv_idx_q.inst_index_queue[btm_multi_adv_idx_q.front]; in btm_ble_multi_adv_gen_rpa_cmpl()396 if (btm_multi_adv_idx_q.front == btm_multi_adv_idx_q.rear) in btm_ble_multi_adv_gen_rpa_cmpl()398 btm_multi_adv_idx_q.front = -1; in btm_ble_multi_adv_gen_rpa_cmpl()403 btm_multi_adv_idx_q.front = (btm_multi_adv_idx_q.front + 1) % BTM_BLE_MULTI_ADV_MAX; in btm_ble_multi_adv_gen_rpa_cmpl()454 if (btm_multi_adv_idx_q.front == (btm_multi_adv_idx_q.rear + 1) % BTM_BLE_MULTI_ADV_MAX) in btm_ble_multi_adv_configure_rpa()461 if (btm_multi_adv_idx_q.front == -1) in btm_ble_multi_adv_configure_rpa()463 btm_multi_adv_idx_q.front = 0; in btm_ble_multi_adv_configure_rpa()816 btm_multi_adv_idx_q.front = -1; in btm_ble_multi_adv_init()
67 const MappedRange& range = mappings_to_delete.front(); in MapWithID()
507 int front; member