Home
last modified time | relevance | path

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

/external/libchrome/base/memory/
Dweak_ptr.cc35 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()
Dweak_ptr.h123 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/
Dwaitable_event_watcher_posix.cc35 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
Datomic_flag.cc21 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()
Datomic_flag.h36 base::subtle::Atomic32 flag_ = 0;
/external/libchrome/mojo/core/
Datomic_flag.h35 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/perfetto/src/base/
Dno_destructor_unittest.cc30 SetFlagOnDestruct(bool* flag) : flag_(flag) {} in SetFlagOnDestruct()
31 ~SetFlagOnDestruct() { *flag_ = true; } in ~SetFlagOnDestruct()
33 bool* flag_; member in perfetto::base::__anond89615d10111::SetFlagOnDestruct
/external/ImageMagick/Magick++/lib/Magick++/
DOptions.h42 void adjoin(const bool flag_);
80 void debug(const bool flag_);
195 void strokeAntiAlias(const bool flag_);
252 void textAntiAlias(const bool flag_);
DImage.h101 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_);
DDrawable.h1884 DrawableStrokeAntialias ( bool flag_ ) in DrawableStrokeAntialias() argument
1885 : _flag(flag_) in DrawableStrokeAntialias()
1896 void flag( bool flag_ ) in flag() argument
1898 _flag = flag_; in flag()
2085 DrawableTextAntialias ( bool flag_ );
2097 void flag( bool flag_ ) in flag() argument
2099 _flag = flag_; in flag()
DSTL.h877 void ping(const bool flag_);
1237 adjoinImage( const bool flag_ );
1797 textAntiAliasImage( const bool flag_ );
/external/webrtc/webrtc/base/
Dthread_unittest.cc155 explicit AtomicBool(bool value = false) : flag_(value) {} in AtomicBool()
158 flag_ = value; in operator =()
163 return flag_; in get()
168 bool flag_; member in AtomicBool
177 explicit FunctorB(AtomicBool* flag) : flag_(flag) {} in FunctorB()
178 void operator()() { if (flag_) *flag_ = true; } in operator ()()
180 AtomicBool* flag_; member in FunctorB
/external/pdfium/third_party/agg23/
Dagg_basics.h267 point_type(float x_, float y_, unsigned flag_ = 0) : x(x_), y(y_), flag(flag_) {} in x()
275 point_type_flag(float x_, float y_, unsigned flag_ = 0) : point_type(x_, y_), flag(flag_) {} in point_type()
/external/libcxxabi/src/
Dcxa_exception_storage.cpp57 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/ImageMagick/Magick++/lib/
DOptions.cpp65 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()
DSTL.cpp833 void Magick::ReadOptions::ping(const bool flag_) in ping() argument
835 _imageInfo->ping=(MagickBooleanType) flag_; in ping()
1151 Magick::adjoinImage::adjoinImage( const bool flag_ ) in adjoinImage() argument
1152 : _flag( flag_ ) in adjoinImage()
1599 Magick::textAntiAliasImage::textAntiAliasImage( const bool flag_ ) in textAntiAliasImage() argument
1600 : _flag( flag_ ) in textAntiAliasImage()
DImage.cpp294 void Magick::Image::adjoin(const bool flag_) in adjoin() argument
297 options()->adjoin(flag_); in adjoin()
417 void Magick::Image::blackPointCompensation(const bool flag_) in blackPointCompensation() argument
419 image()->black_point_compensation=(MagickBooleanType) flag_; in blackPointCompensation()
640 void Magick::Image::debug(const bool flag_) in debug() argument
643 options()->debug(flag_); in debug()
1379 void Magick::Image::strokeAntiAlias(const bool flag_) in strokeAntiAlias() argument
1382 options()->strokeAntiAlias(flag_); in strokeAntiAlias()
1532 void Magick::Image::textAntiAlias(const bool flag_) in textAntiAlias() argument
1535 options()->textAntiAlias(flag_); in textAntiAlias()
[all …]
DDrawable.cpp1517 Magick::DrawableTextAntialias::DrawableTextAntialias ( bool flag_ ) in DrawableTextAntialias() argument
1518 : _flag(flag_) in DrawableTextAntialias()
/external/tensorflow/tensorflow/contrib/ignite/kernels/igfs/
Digfs_messages.cc95 flag_(flag), in PathCtrlRequest()
105 TF_RETURN_IF_ERROR(client->WriteBool(flag_)); in Write()
239 if (flag_) { in Write()
Digfs_messages.h91 const bool flag_; variable
/external/bcc/src/cc/api/
DBPF.h51 : flag_(flag), in flag_() function
224 int flag_; variable
DBPF.cc545 if (flag_ & DEBUG_BPF_REGISTER_STATE) in load_func()
547 else if (flag_ & DEBUG_BPF) in load_func()
/external/webrtc/webrtc/modules/audio_processing/
Daudio_processing_performance_unittest.cc215 return flag_; in get_flag()
220 flag_ = true; in set_flag()
225 bool flag_ GUARDED_BY(crit_) = false;