Home
last modified time | relevance | path

Searched refs:flag_ (Results 1 – 25 of 27) sorted by relevance

12

/third_party/cef/libcef_dll/base/
Dcef_weak_ptr.cc46 WeakReference::WeakReference(const scoped_refptr<Flag>& flag) : flag_(flag) {} in WeakReference()
55 return flag_ && flag_->IsValid(); in IsValid()
59 return flag_ && flag_->MaybeValid(); in MaybeValid()
63 : flag_(MakeRefCounted<WeakReference::Flag>()) {} in WeakReferenceOwner()
66 flag_->Invalidate(); in ~WeakReferenceOwner()
72 flag_->DetachFromThread(); in GetRef()
74 return WeakReference(flag_); in GetRef()
78 flag_->Invalidate(); in Invalidate()
79 flag_ = MakeRefCounted<WeakReference::Flag>(); in Invalidate()
Dcef_atomic_flag.cc23 flag_.store(1, std::memory_order_release); in Set()
28 flag_.store(0, std::memory_order_release); in UnsafeResetForTesting()
/third_party/flutter/engine/flutter/fml/memory/
Dweak_ptr.h50 : ptr_(static_cast<T*>(r.ptr_)), flag_(r.flag_), checker_(r.checker_) {} in WeakPtr()
58 flag_(std::move(r.flag_)), in WeakPtr()
72 void reset() { flag_ = nullptr; } in reset()
79 return flag_ && flag_->is_valid();
108 : ptr_(ptr), flag_(std::move(flag)), checker_(checker) {} in WeakPtr()
111 fml::RefPtr<fml::internal::WeakPtrFlag> flag_; variable
163 : ptr_(ptr), flag_(fml::MakeRefCounted<fml::internal::WeakPtrFlag>()) { in WeakPtrFactory()
169 flag_->Invalidate(); in ~WeakPtrFactory()
175 return WeakPtr<T>(ptr_, flag_.Clone(), checker_); in GetWeakPtr()
182 fml::RefPtr<fml::internal::WeakPtrFlag> flag_; variable
/third_party/gn/src/base/memory/
Dweak_ptr.cc24 WeakReference::WeakReference(const scoped_refptr<Flag>& flag) : flag_(flag) {} in WeakReference()
33 return flag_ && flag_->IsValid(); in is_valid()
45 flag_ = new WeakReference::Flag(); in GetRef()
47 return WeakReference(flag_); in GetRef()
51 if (flag_) { in Invalidate()
52 flag_->Invalidate(); in Invalidate()
53 flag_ = nullptr; in Invalidate()
Dweak_ptr.h121 scoped_refptr<const Flag> flag_;
131 bool HasRefs() const { return flag_ && !flag_->HasOneRef(); } in HasRefs()
136 mutable scoped_refptr<WeakReference::Flag> flag_;
/third_party/boost/libs/fiber/src/algo/
Dround_robin.cpp51 cnd_.wait( lk, [&](){ return flag_; }); in suspend_until()
52 flag_ = false; in suspend_until()
55 cnd_.wait_until( lk, time_point, [&](){ return flag_; }); in suspend_until()
56 flag_ = false; in suspend_until()
63 flag_ = true; in notify()
Dshared_work.cpp74 cnd_.wait( lk, [this](){ return flag_; }); in suspend_until()
75 flag_ = false; in suspend_until()
78 cnd_.wait_until( lk, time_point, [this](){ return flag_; }); in suspend_until()
79 flag_ = false; in suspend_until()
88 flag_ = true; in notify()
Dwork_stealing.cpp96 cnd_.wait( lk, [this](){ return flag_; }); in suspend_until()
97 flag_ = false; in suspend_until()
100 cnd_.wait_until( lk, time_point, [this](){ return flag_; }); in suspend_until()
101 flag_ = false; in suspend_until()
110 flag_ = true; in notify()
/third_party/libphonenumber/cpp/src/phonenumbers/base/memory/
Dsingleton_boost.h32 boost::call_once(Init, flag_); in GetInstance()
42 static boost::once_flag flag_; variable
46 template <class T> boost::once_flag Singleton<T>::flag_ = BOOST_ONCE_INIT;
/third_party/boost/libs/fiber/src/numa/algo/
Dwork_stealing.cpp165 cnd_.wait( lk, [this](){ return flag_; }); in suspend_until()
166 flag_ = false; in suspend_until()
169 cnd_.wait_until( lk, time_point, [this](){ return flag_; }); in suspend_until()
170 flag_ = false; in suspend_until()
179 flag_ = true; in notify()
/third_party/boost/libs/fiber/examples/
Dpriority.cpp85 bool flag_{ false }; member in priority_scheduler
202 cnd_.wait( lk, [this](){ return flag_; }); in suspend_until()
203 flag_ = false; in suspend_until()
206 cnd_.wait_until( lk, time_point, [this](){ return flag_; }); in suspend_until()
207 flag_ = false; in suspend_until()
213 flag_ = true; in notify()
/third_party/cef/include/base/
Dcef_atomic_flag.h72 return flag_.load(std::memory_order_acquire) != 0; in IsSet()
80 std::atomic<uint_fast8_t> flag_{0};
Dcef_weak_ptr.h163 scoped_refptr<const Flag> flag_;
173 bool HasRefs() const { return !flag_->HasOneRef(); } in HasRefs()
178 scoped_refptr<WeakReference::Flag> flag_;
/third_party/re2/re2/
Ddfa.cc121 inline bool IsMatch() const { return (flag_ & kFlagMatch) != 0; } in IsMatch()
125 uint32_t flag_; // Empty string bitfield flags in effect on the way member
152 HashMix mix(a->flag_); in operator ()()
166 if (a->flag_ != b->flag_) in operator ()()
545 s += StringPrintf(" flag=%#x", state->flag_); in DumpState()
756 state.flag_ = flag; in CachedState()
789 s->flag_ = flag; in CachedState()
827 AddToQueue(q, s->inst_[i], s->flag_ & kFlagEmptyMask); in StateToWorkq()
1041 uint32_t needflag = state->flag_ >> kFlagNeedShift; in RunStateOnByte()
1042 uint32_t beforeflag = state->flag_ & kFlagEmptyMask; in RunStateOnByte()
[all …]
/third_party/boost/boost/xpressive/detail/dynamic/
Dparser_traits.hpp394 case BOOST_XPR_CHAR_(char_type, 'i'): this->flag_(set, icase_); break; in parse_mods_()
395 case BOOST_XPR_CHAR_(char_type, 'm'): this->flag_(!set, single_line); break; in parse_mods_()
396 case BOOST_XPR_CHAR_(char_type, 's'): this->flag_(!set, not_dot_newline); break; in parse_mods_()
397 case BOOST_XPR_CHAR_(char_type, 'x'): this->flag_(set, ignore_white_space); break; in parse_mods_()
411 void flag_(bool set, regex_constants::syntax_option_type flag) in flag_() function
/third_party/boost/libs/thread/test/
Dcondition_test_common.hpp29 check_flag(bool const& flag_): in check_flag()
30 flag(flag_) in check_flag()
/third_party/boost/boost/fiber/algo/
Dround_robin.hpp40 bool flag_{ false }; member in boost::fibers::algo::round_robin
Dwork_stealing.hpp51 bool flag_{ false }; member in boost::fibers::algo::work_stealing
Dshared_work.hpp46 bool flag_{ false }; member in boost::fibers::algo::shared_work
/third_party/boost/boost/fiber/numa/algo/
Dwork_stealing.hpp53 bool flag_{ false }; member in boost::fibers::numa::algo::work_stealing
/third_party/abseil-cpp/absl/flags/internal/
Dflag.h753 explicit FlagRegistrar(Flag<T>& flag) : flag_(flag) {
754 if (do_register) flags_internal::RegisterCommandLineFlag(flag_.impl_);
758 flag_.impl_.SetCallback(cb);
768 Flag<T>& flag_; // Flag being registered (not owned).
/third_party/skia/third_party/externals/abseil-cpp/absl/flags/internal/
Dflag.h775 explicit FlagRegistrar(Flag<T>& flag, const char* filename) : flag_(flag) {
777 flags_internal::RegisterCommandLineFlag(flag_.impl_, filename);
781 flag_.impl_.SetCallback(cb);
791 Flag<T>& flag_; // Flag being registered (not owned).
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/cache/
Dcache_request.cc210 : BaseRequest(RequestType::kCreateCache), cache_mem_sz_(cache_mem_sz), flag_(flag), cc_(cc) { in CreateCacheRequest()
221 bld.add_flag(static_cast<uint32_t>(flag_)); in Prepare()
Dcache_request.h263 CreateCacheFlag flag_; variable
/third_party/mindspore/mindspore/ccsrc/minddata/mindrecord/include/
Dshard_writer.h249 std::atomic<bool> flag_{false};

12