Home
last modified time | relevance | path

Searched refs:curr_ (Results 1 – 1 of 1) sorted by relevance

/frameworks/libs/binary_translation/base/include/berberis/base/
Dforever_alloc.h35 constexpr ForeverAllocator() : curr_(0) {} in ForeverAllocator()
57 if (!curr_.compare_exchange_strong(curr, page, std::memory_order_acq_rel)) { in AllocatePage()
65 uintptr_t curr = curr_.load(std::memory_order_acquire); in AllocateImpl()
76 curr_.compare_exchange_weak(curr, 0, std::memory_order_acquire); in AllocateImpl()
82 if (curr_.compare_exchange_weak(curr, next, std::memory_order_acquire)) { in AllocateImpl()
88 std::atomic_uintptr_t curr_; variable