Lines Matching refs:once_flag
46 class once_flag; variable
49 std::atomic<uint32_t>* ControlWord(absl::once_flag* flag);
77 void call_once(absl::once_flag& flag, Callable&& fn, Args&&... args);
85 class once_flag {
87 constexpr once_flag() : control_(0) {} in once_flag() function
88 once_flag(const once_flag&) = delete;
89 once_flag& operator=(const once_flag&) = delete;
92 friend std::atomic<uint32_t>* base_internal::ControlWord(once_flag* flag);
106 void LowLevelCallOnce(absl::once_flag* flag, Callable&& fn, Args&&... args);
195 inline std::atomic<uint32_t>* ControlWord(once_flag* flag) { in ControlWord()
200 void LowLevelCallOnce(absl::once_flag* flag, Callable&& fn, Args&&... args) { in LowLevelCallOnce()
213 void call_once(absl::once_flag& flag, Callable&& fn, Args&&... args) { in call_once()