Searched refs:mIndex (Results 1 – 5 of 5) sorted by relevance
/system/media/audio_utils/ |
D | fifo_index.cpp | 27 return atomic_load_explicit(&mIndex, std::memory_order_acquire); in loadAcquire() 33 atomic_store_explicit(&mIndex, value, std::memory_order_release); in storeRelease() 38 return sys_futex(&mIndex, op, expected, timeout, NULL, 0); in wait() 43 return sys_futex(&mIndex, op, waiters, NULL, NULL, 0); in wake() 48 return atomic_load_explicit(&mIndex, std::memory_order_consume); in loadConsume() 55 : mIndex(index), mValue(0), mWriteback(false), mWaiters(0), mWakeOp(FUTEX_WAIT_PRIVATE) in RefIndexDeferredStoreReleaseDeferredWake() 74 mIndex.storeRelease(mValue); in writeback() 103 mIndex.wake(mWakeOp, mWaiters); in wakeNowIfNeeded() 119 : mIndex(index), mValue(0), mLoaded(false) in RefIndexCachedLoadAcquireDeferredWait() 137 mValue = mIndex.loadAcquire(); in prefetch() [all …]
|
/system/media/audio_utils/include/audio_utils/ |
D | fifo_index.h | 33 audio_utils_fifo_index() : mIndex(0) { } in audio_utils_fifo_index() 86 std::atomic_uint_least32_t mIndex; // accessed by both sides using atomic operations 87 static_assert(sizeof(mIndex) == sizeof(uint32_t), "mIndex must be 32 bits"); 133 audio_utils_fifo_index& mIndex; // reference to associated index 187 audio_utils_fifo_index& mIndex; // reference to associated index
|
/system/libhwbinder/ |
D | BufferedTextOutput.cpp | 151 , mIndex(allocBufferIndex()) in BufferedTextOutput() 160 freeBufferIndex(mIndex); in ~BufferedTextOutput() 269 while (ts->states.size() <= (size_t)mIndex) ts->states.add(nullptr); in getBuffer() 270 BufferState* bs = ts->states[mIndex].get(); in getBuffer() 273 ts->states.editItemAt(mIndex) = new BufferState(mIndex); in getBuffer() 274 bs = ts->states[mIndex].get(); in getBuffer()
|
D | BufferedTextOutput.h | 60 const int32_t mIndex; variable
|
/system/chre/util/tests/ |
D | priority_queue_test.cc | 12 mIndex = index; in DummyElement() 22 return mIndex; in getIndex() 26 int mIndex = -1; member in __anon2ccf46cc0111::DummyElement
|