/external/webrtc/rtc_base/ |
D | weak_ptr.cc | 42 WeakReference::WeakReference(const Flag* flag) : flag_(flag) {} in WeakReference() 51 return flag_.get() && flag_->IsValid(); in is_valid() 63 flag_ = new RefCountedObject<WeakReference::Flag>(); in GetRef() 65 return WeakReference(flag_.get()); in GetRef() 69 if (flag_.get()) { in Invalidate() 70 flag_->Invalidate(); in Invalidate() 71 flag_ = nullptr; in Invalidate()
|
D | weak_ptr.h | 122 scoped_refptr<const Flag> flag_; 132 bool HasRefs() const { return flag_.get() && !flag_->HasOneRef(); } in HasRefs() 137 mutable scoped_refptr<RefCountedObject<WeakReference::Flag>> flag_;
|
D | thread_unittest.cc | 164 explicit AtomicBool(bool value = false) : flag_(value) {} in AtomicBool() 167 flag_ = value; in operator =() 172 return flag_; in get() 177 bool flag_; member in rtc::__anonec2f23eb0111::AtomicBool 186 explicit FunctorB(AtomicBool* flag) : flag_(flag) {} in FunctorB() 188 if (flag_) in operator ()() 189 *flag_ = true; in operator ()() 193 AtomicBool* flag_; member in rtc::__anonec2f23eb0111::FunctorB 203 explicit FunctorD(AtomicBool* flag) : flag_(flag) {} in FunctorD() 207 if (flag_) in operator ()() [all …]
|
/external/libchrome/base/memory/ |
D | weak_ptr.cc | 35 WeakReference::WeakReference(const scoped_refptr<Flag>& flag) : flag_(flag) {} in WeakReference() 44 return flag_ && flag_->IsValid(); in is_valid() 56 flag_ = new WeakReference::Flag(); in GetRef() 58 return WeakReference(flag_); in GetRef() 62 if (flag_) { in Invalidate() 63 flag_->Invalidate(); in Invalidate() 64 flag_ = nullptr; in Invalidate()
|
D | weak_ptr.h | 123 scoped_refptr<const Flag> flag_; 133 bool HasRefs() const { return flag_ && !flag_->HasOneRef(); } in HasRefs() 138 mutable scoped_refptr<WeakReference::Flag> flag_;
|
/external/libchrome/base/synchronization/ |
D | waitable_event_watcher_posix.cc | 35 Flag() { flag_ = false; } in Flag() 39 flag_ = true; in Set() 44 return flag_; in value() 52 bool flag_; member in base::Flag 68 flag_(flag) {} in AsyncWaiter() 72 if (!flag_->value()) in Fire() 85 bool Compare(void* tag) override { return tag == flag_.get(); } in Compare() 90 const scoped_refptr<Flag> flag_; member in base::AsyncWaiter
|
D | atomic_flag.cc | 21 base::subtle::Release_Store(&flag_, 1); in Set() 25 return base::subtle::Acquire_Load(&flag_) != 0; in IsSet() 29 base::subtle::Release_Store(&flag_, 0); in UnsafeResetForTesting()
|
D | atomic_flag.h | 36 base::subtle::Atomic32 flag_ = 0;
|
/external/webrtc/rtc_base/task_utils/ |
D | pending_task_safety_flag_unittest.cc | 38 ~Owner() { flag_->SetNotAlive(); } in TEST() 40 rtc::scoped_refptr<PendingTaskSafetyFlag> flag_ = in TEST() member in webrtc::TEST::Owner 43 EXPECT_TRUE(owner.flag_->alive()); in TEST() 44 safety_flag = owner.flag_; in TEST() 73 flag_->SetNotAlive(); in TEST() 78 tq_main_->PostTask(ToQueuedTask([safe = flag_, this]() { in TEST() 90 rtc::scoped_refptr<PendingTaskSafetyFlag> flag_{ in TEST() member in webrtc::TEST::Owner
|
D | pending_task_safety_flag.h | 73 ~ScopedTaskSafety() { flag_->SetNotAlive(); } in ~ScopedTaskSafety() 76 rtc::scoped_refptr<PendingTaskSafetyFlag> flag() const { return flag_; } in flag() 79 rtc::scoped_refptr<PendingTaskSafetyFlag> flag_ =
|
/external/libchrome/mojo/core/ |
D | atomic_flag.h | 35 AtomicFlag() : flag_(0) {} in AtomicFlag() 38 void Set(bool value) { base::subtle::Release_Store(&flag_, value ? 1 : 0); } in Set() 40 bool Get() const { return base::subtle::Acquire_Load(&flag_) ? true : false; } in Get() 45 base::subtle::Atomic32 flag_;
|
/external/pdfium/third_party/agg23/ |
D | 0007-unused-struct.patch | 7 point_type(float x_, float y_, unsigned flag_ = 0) : x(x_), y(y_), flag(flag_) {} 15 - point_type_flag(float x_, float y_, unsigned flag_ = 0) : point_type(x_, y_), flag(flag_) {}
|
D | agg_basics.h | 267 point_type(float x_, float y_, unsigned flag_ = 0) : x(x_), y(y_), flag(flag_) {} in x()
|
/external/perfetto/src/base/ |
D | no_destructor_unittest.cc | 29 SetFlagOnDestruct(bool* flag) : flag_(flag) {} in SetFlagOnDestruct() 30 ~SetFlagOnDestruct() { *flag_ = true; } in ~SetFlagOnDestruct() 32 bool* flag_; member in perfetto::base::__anon9ed9466f0111::SetFlagOnDestruct
|
/external/abseil-cpp/absl/flags/internal/ |
D | flag.h | 149 : flag_(flag), in FlagState() 164 Flag<T>* flag_; variable 623 if (flag_->RestoreState(*this)) { 625 absl::StrCat("Restore saved value of ", flag_->Name(), 626 " to: ", flag_->CurrentValue())); 636 explicit FlagRegistrar(Flag<T>* flag) : flag_(flag) { 637 if (do_register) flags_internal::RegisterCommandLineFlag(flag_); 641 flag_->SetCallback(cb); 650 Flag<T>* flag_; // Flag being registered (not owned).
|
/external/webrtc/third_party/abseil-cpp/absl/flags/internal/ |
D | flag.h | 149 : flag_(flag), in FlagState() 164 Flag<T>* flag_; variable 623 if (flag_->RestoreState(*this)) { 625 absl::StrCat("Restore saved value of ", flag_->Name(), 626 " to: ", flag_->CurrentValue())); 636 explicit FlagRegistrar(Flag<T>* flag) : flag_(flag) { 637 if (do_register) flags_internal::RegisterCommandLineFlag(flag_); 641 flag_->SetCallback(cb); 650 Flag<T>* flag_; // Flag being registered (not owned).
|
/external/ImageMagick/Magick++/lib/Magick++/ |
D | Options.h | 42 void adjoin(const bool flag_); 80 void debug(const bool flag_); 195 void strokeAntiAlias(const bool flag_); 252 void textAntiAlias(const bool flag_);
|
D | Image.h | 101 void adjoin(const bool flag_); 140 void blackPointCompensation(const bool flag_); 204 void debug(const bool flag_); 409 void strokeAntiAlias(const bool flag_); 470 void textAntiAlias(const bool flag_); 818 bool flag_);
|
/external/libcxxabi/src/ |
D | cxa_exception_storage.cpp | 57 std::__libcpp_exec_once_flag flag_ = _LIBCPP_EXEC_ONCE_INITIALIZER; variable 94 if (0 != std::__libcpp_execute_once(&flag_, construct_)) in __cxa_get_globals_fast()
|
/external/rust/crates/grpcio-sys/grpc/third_party/re2/re2/ |
D | dfa.cc | 111 inline bool IsMatch() const { return (flag_ & kFlagMatch) != 0; } in IsMatch() 115 uint32_t flag_; // Empty string bitfield flags in effect on the way member 142 HashMix mix(a->flag_); in operator ()() 156 if (a->flag_ != b->flag_) in operator ()() 531 s += StringPrintf(" flag=%#x", state->flag_); in DumpState() 739 state.flag_ = flag; in CachedState() 772 s->flag_ = flag; in CachedState() 810 AddToQueue(q, s->inst_[i], s->flag_ & kFlagEmptyMask); in StateToWorkq() 1037 uint32_t needflag = state->flag_ >> kFlagNeedShift; in RunStateOnByte() 1038 uint32_t beforeflag = state->flag_ & kFlagEmptyMask; in RunStateOnByte() [all …]
|
/external/llvm-project/libcxxabi/src/ |
D | cxa_exception_storage.cpp | 60 std::__libcpp_exec_once_flag flag_ = _LIBCPP_EXEC_ONCE_INITIALIZER; variable 97 if (0 != std::__libcpp_execute_once(&flag_, construct_)) in __cxa_get_globals_fast()
|
/external/ImageMagick/Magick++/lib/ |
D | Options.cpp | 65 void Magick::Options::adjoin(const bool flag_) in adjoin() argument 68 flag_ ? MagickTrue : MagickFalse); in adjoin() 163 void Magick::Options::debug(const bool flag_) in debug() argument 165 if (flag_) in debug() 556 void Magick::Options::strokeAntiAlias(const bool flag_) in strokeAntiAlias() argument 558 flag_ ? _drawInfo->stroke_antialias=MagickTrue : in strokeAntiAlias() 698 void Magick::Options::textAntiAlias(const bool flag_) in textAntiAlias() argument 701 flag_ ? MagickTrue : MagickFalse); in textAntiAlias()
|
/external/openscreen/third_party/abseil/src/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).
|
/external/libtextclassifier/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).
|
/external/angle/third_party/abseil-cpp/absl/flags/internal/ |
D | flag.h | 724 explicit FlagRegistrar(Flag<T>& flag, const char* filename) : flag_(flag) { 726 flags_internal::RegisterCommandLineFlag(flag_.impl_, filename); 730 flag_.impl_.SetCallback(cb); 740 Flag<T>& flag_; // Flag being registered (not owned).
|