/third_party/cef/libcef_dll/base/ |
D | cef_weak_ptr.cc | 46 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()
|
D | cef_atomic_flag.cc | 23 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/ |
D | weak_ptr.h | 50 : 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/ |
D | weak_ptr.cc | 24 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()
|
D | weak_ptr.h | 121 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/ |
D | round_robin.cpp | 51 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()
|
D | shared_work.cpp | 74 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()
|
D | work_stealing.cpp | 96 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/ |
D | singleton_boost.h | 32 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/ |
D | work_stealing.cpp | 165 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/ |
D | priority.cpp | 85 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/ |
D | cef_atomic_flag.h | 72 return flag_.load(std::memory_order_acquire) != 0; in IsSet() 80 std::atomic<uint_fast8_t> flag_{0};
|
D | cef_weak_ptr.h | 163 scoped_refptr<const Flag> flag_; 173 bool HasRefs() const { return !flag_->HasOneRef(); } in HasRefs() 178 scoped_refptr<WeakReference::Flag> flag_;
|
/third_party/re2/re2/ |
D | dfa.cc | 121 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/ |
D | parser_traits.hpp | 394 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/ |
D | condition_test_common.hpp | 29 check_flag(bool const& flag_): in check_flag() 30 flag(flag_) in check_flag()
|
/third_party/boost/boost/fiber/algo/ |
D | round_robin.hpp | 40 bool flag_{ false }; member in boost::fibers::algo::round_robin
|
D | work_stealing.hpp | 51 bool flag_{ false }; member in boost::fibers::algo::work_stealing
|
D | shared_work.hpp | 46 bool flag_{ false }; member in boost::fibers::algo::shared_work
|
/third_party/boost/boost/fiber/numa/algo/ |
D | work_stealing.hpp | 53 bool flag_{ false }; member in boost::fibers::numa::algo::work_stealing
|
/third_party/abseil-cpp/absl/flags/internal/ |
D | flag.h | 753 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/ |
D | flag.h | 775 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/ |
D | cache_request.cc | 210 : 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()
|
D | cache_request.h | 263 CreateCacheFlag flag_; variable
|
/third_party/mindspore/mindspore/ccsrc/minddata/mindrecord/include/ |
D | shard_writer.h | 249 std::atomic<bool> flag_{false};
|