/aosp12/system/chre/platform/freertos/include/chre/target_platform/ |
H A D | atomic_base_impl.h | 66 inline uint32_t AtomicUint32::fetch_add(uint32_t arg) { in fetch_add() function 67 return mAtomic.fetch_add(arg); in fetch_add() 71 return mAtomic.fetch_add(1); in fetch_increment()
|
/aosp12/system/chre/platform/linux/include/chre/target_platform/ |
H A D | atomic_base_impl.h | 64 inline uint32_t AtomicUint32::fetch_add(uint32_t arg) { in fetch_add() function 65 return mAtomic.fetch_add(arg); in fetch_add() 69 return mAtomic.fetch_add(1); in fetch_increment()
|
/aosp12/system/core/libutils/include/utils/ |
H A D | LightRefBase.h | 39 mCount.fetch_add(1, std::memory_order_relaxed); in incStrong() 42 if (0 == mCount.fetch_add(1, std::memory_order_relaxed)) { in incStrongRequireStrong()
|
/aosp12/system/core/libutils/ |
H A D | RefBase.cpp | 431 const int32_t c = refs->mStrong.fetch_add(1, std::memory_order_relaxed); in incStrong() 451 const int32_t c = refs->mStrong.fetch_add(1, std::memory_order_relaxed); in incStrongRequireStrong() 501 const int32_t c = refs->mStrong.fetch_add(1, std::memory_order_relaxed); in forceIncStrong() 533 const int32_t c __unused = impl->mWeak.fetch_add(1, in incWeak() 542 const int32_t c __unused = impl->mWeak.fetch_add(1, in incWeakRequireWeak() 652 curCount = impl->mStrong.fetch_add(1, std::memory_order_relaxed); in attemptIncStrong()
|
H A D | SharedBuffer.cpp | 112 mRefs.fetch_add(1, std::memory_order_relaxed); in acquire()
|
/aosp12/art/runtime/gc/space/ |
H A D | bump_pointer_space-inl.h | 86 objects_allocated_.fetch_add(1, std::memory_order_relaxed); in AllocNonvirtual() 87 bytes_allocated_.fetch_add(num_bytes, std::memory_order_relaxed); in AllocNonvirtual()
|
H A D | bump_pointer_space.cc | 207 objects_allocated_.fetch_add(thread->GetThreadLocalObjectsAllocated(), std::memory_order_relaxed); in RevokeThreadLocalBuffersLocked() 208 bytes_allocated_.fetch_add(thread->GetThreadLocalBytesAllocated(), std::memory_order_relaxed); in RevokeThreadLocalBuffersLocked()
|
/aosp12/bionic/benchmarks/ |
H A D | atomic_benchmark.cpp | 96 result += test_loc.fetch_add(1, std::memory_order_relaxed); in BM_atomic_fetch_add_relaxed() 106 result += test_loc.fetch_add(1, std::memory_order_seq_cst); in BM_atomic_fetch_add_seq_cst()
|
/aosp12/art/libartbase/base/ |
H A D | allocator.h | 89 g_total_bytes_used[tag].fetch_add(bytes, std::memory_order_relaxed); in RegisterAllocation() 90 size_t new_bytes = g_bytes_used[tag].fetch_add(bytes, std::memory_order_relaxed) + bytes; in RegisterAllocation()
|
/aosp12/system/chre/platform/include/chre/platform/ |
H A D | atomic.h | 145 uint32_t fetch_add(uint32_t arg);
|
/aosp12/art/runtime/jit/ |
H A D | debugger_interface.cc | 262 descriptor.seqlock_.fetch_add(1, std::memory_order_relaxed); in Seqlock() 272 descriptor.seqlock_.fetch_add(1, std::memory_order_relaxed); in Sequnlock() 285 writable->seqlock_.fetch_add(1, std::memory_order_release); // Mark as valid. in InsertNewEntry() 395 writable_entry->seqlock_.fetch_add(1, std::memory_order_release); // Mark as invalid. in DeleteJITCodeEntryInternal()
|
/aosp12/system/chre/platform/slpi/include/chre/target_platform/ |
H A D | atomic_base_impl.h | 76 inline uint32_t AtomicUint32::fetch_add(uint32_t arg) { in fetch_add() function
|
/aosp12/art/tools/jvmti-agents/titrace/ |
H A D | titrace.cc | 152 single_step_counter_.fetch_add(1u, std::memory_order_relaxed); in OnSingleStep() 169 instruction_counter_[opcode].fetch_add(1u, std::memory_order_relaxed); in RecordInstruction()
|
/aosp12/art/libartbase/base/metrics/ |
H A D | metrics.h | 265 void Add(value_t value) { value_.fetch_add(value, std::memory_order::memory_order_relaxed); } in Add() 307 count_.fetch_add(1, std::memory_order::memory_order_release); in Add() 351 buckets_[i].fetch_add(1u, std::memory_order::memory_order_relaxed); in Add()
|
/aosp12/hardware/google/pixel/power-libperfmgr/libperfmgr/ |
H A D | HintManager.cc | 89 actions_.at(hint_type).status->stats.count.fetch_add(1); in DoHintStatus() 94 actions_.at(hint_type).status->stats.duration_ms.fetch_add( in DoHintStatus() 111 actions_.at(hint_type).status->stats.duration_ms.fetch_add( in EndHintStatus()
|
/aosp12/frameworks/av/media/libstagefright/foundation/ |
H A D | MediaBuffer.cpp | 122 (void) mRefCount.fetch_add(1); in add_ref()
|
/aosp12/system/extras/tests/tcp_nuke_addr/ |
H A D | tcp_nuke_addr_test.cpp | 109 attempts->fetch_add(1); in connectLoop()
|
/aosp12/frameworks/base/core/jni/ |
H A D | android_util_Binder.cpp | 347 gNumLocalRefsCreated.fetch_add(1, std::memory_order_relaxed); in JavaBBinder() 365 gNumLocalRefsDeleted.fetch_add(1, memory_order_relaxed); in ~JavaBBinder() 565 gNumDeathRefsCreated.fetch_add(1, std::memory_order_relaxed); in JavaDeathRecipient() 647 gNumDeathRefsDeleted.fetch_add(1, std::memory_order_relaxed); in ~JavaDeathRecipient() 773 uint32_t numProxies = gNumProxies.fetch_add(1, std::memory_order_relaxed); in javaObjectForIBinder()
|
/aosp12/frameworks/av/media/libmediatranscoding/ |
H A D | TranscodingClientManager.cpp | 111 mClientId(sCookieCounter.fetch_add(1, std::memory_order_relaxed)), in ClientImpl() 169 int32_t sessionId = mNextSessionId.fetch_add(1); in submitRequest()
|
/aosp12/frameworks/native/libs/renderengine/skia/debug/ |
H A D | SkiaCapture.cpp | 127 const uint64_t uniqueID = nextID.fetch_add(1, std::memory_order_relaxed); in endOffscreenCapture()
|
/aosp12/art/runtime/gc/ |
H A D | task_processor_test.cc | 40 counter_->fetch_add(1U, std::memory_order_seq_cst); in Run()
|
/aosp12/bionic/libc/kernel/uapi/rdma/ |
H A D | vmw_pvrdma-abi.h | 210 struct pvrdma_ex_fetch_add fetch_add; member
|
/aosp12/art/runtime/base/ |
H A D | mutex.cc | 304 wait_time.fetch_add(value, std::memory_order_seq_cst); in AddToWaitTime() 776 num_contenders_.fetch_add(1); in ExclusiveLock() 855 num_contenders_.fetch_add(1); in ExclusiveLockWithTimeout() 899 num_contenders_.fetch_add(1); in HandleSharedLockContention()
|
/aosp12/frameworks/av/media/codec2/hidl/1.0/utils/ |
H A D | InputSurfaceConnection.cpp | 214 work->input.ordinal.frameIndex = mFrameIndex.fetch_add( in submitBuffer() 244 work->input.ordinal.frameIndex = mFrameIndex.fetch_add( in submitEos()
|
/aosp12/bionic/libc/malloc_debug/ |
H A D | RecordData.cpp | 204 unsigned int entry_index = cur_index_.fetch_add(1); in AddEntryOnly()
|