Searched refs:__state_ (Results 1 – 8 of 8) sorted by relevance
| /llvm-project-15.0.7/libcxx/src/ |
| H A D | future.cpp | 109 __state_ |= ready; in set_exception() 127 __state_ |= ready; in __make_ready() 171 : __state_(__state) in future() 178 if (__state_) in ~future() 187 __state_ = nullptr; in get() 198 if (__state_) in ~promise() 201 if (!__state_->__has_value() && __state_->use_count() > 1) in ~promise() 252 if (__state_) in ~shared_future() 259 if (__rhs.__state_) in operator =() 261 if (__state_) in operator =() [all …]
|
| H A D | shared_mutex.cpp | 22 : __state_(0) in __shared_mutex_base() 34 __state_ |= __write_entered_; in lock() 35 while (__state_ & __n_readers_) in lock() 43 if (__state_ == 0) in try_lock() 55 __state_ = 0; in unlock() 65 while ((__state_ & __write_entered_) || (__state_ & __n_readers_) == __n_readers_) in lock_shared() 68 __state_ &= ~__n_readers_; in lock_shared() 69 __state_ |= num_readers; in lock_shared() 81 __state_ |= num_readers; in try_lock_shared() 92 __state_ &= ~__n_readers_; in unlock_shared() [all …]
|
| /llvm-project-15.0.7/libcxx/include/ |
| H A D | future | 1062 : __state_(__rhs.__state_) {__rhs.__state_ = nullptr;} 1149 : __state_(__rhs.__state_) {__rhs.__state_ = nullptr;} 1231 : __state_(__rhs.__state_) {__rhs.__state_ = nullptr;} 1296 : __state_(__rhs.__state_) {__rhs.__state_ = nullptr;} 1441 : __state_(__rhs.__state_) {__rhs.__state_ = nullptr;} 1567 : __state_(__rhs.__state_) {__rhs.__state_ = nullptr;} 2225 {if (__state_) __state_->__add_shared();} 2281 __state_ = __rhs.__state_; 2295 {if (__state_) __state_->__add_shared();} 2351 __state_ = __rhs.__state_; [all …]
|
| H A D | shared_mutex | 154 unsigned __state_; 256 if (__base.__state_ & __base.__write_entered_) 261 if ((__base.__state_ & __base.__write_entered_) == 0) 267 __base.__state_ |= __base.__write_entered_; 268 if (__base.__state_ & __base.__n_readers_) 273 if ((__base.__state_ & __base.__n_readers_) == 0) 277 __base.__state_ &= ~__base.__write_entered_; 292 …if ((__base.__state_ & __base.__write_entered_) || (__base.__state_ & __base.__n_readers_) == __ba… 297 if ((__base.__state_ & __base.__write_entered_) == 0 && 305 __base.__state_ &= ~__base.__n_readers_; [all …]
|
| H A D | mutex | 577 once_flag() _NOEXCEPT : __state_(0) {} 588 _State_type __state_; 668 if (__libcpp_acquire_load(&__flag.__state_) != ~once_flag::_State_type(0)) 673 __call_once(__flag.__state_, &__p, &__call_once_proxy<_Gp>); 684 if (__libcpp_acquire_load(&__flag.__state_) != ~once_flag::_State_type(0)) 687 __call_once(__flag.__state_, &__p, &__call_once_proxy<_Callable>); 696 if (__libcpp_acquire_load(&__flag.__state_) != ~once_flag::_State_type(0)) 699 __call_once(__flag.__state_, &__p, &__call_once_proxy<const _Callable>);
|
| /llvm-project-15.0.7/libcxx/include/__filesystem/ |
| H A D | path_iterator.h | 57 __state_(_Singular) {} in iterator() 72 _LIBCPP_ASSERT(__state_ != _Singular, 74 _LIBCPP_ASSERT(__state_ != _AtEnd, 88 _LIBCPP_ASSERT(__state_ != _Singular, 114 _ParserState __state_; variable
|
| /llvm-project-15.0.7/clang/test/Analysis/ |
| H A D | call_once.cpp | 34 unsigned long __state_ = 0; member
|
| /llvm-project-15.0.7/libcxx/src/filesystem/ |
| H A D | operations.cpp | 1983 it.__state_ = static_cast<path::iterator::_ParserState>(PP.State); in begin() 1991 it.__state_ = path::iterator::_AtEnd; in end() 1997 PathParser PP(__path_ptr_->native(), __entry_, __state_); in __increment() 1999 __state_ = static_cast<_ParserState>(PP.State); in __increment() 2006 PathParser PP(__path_ptr_->native(), __entry_, __state_); in __decrement() 2008 __state_ = static_cast<_ParserState>(PP.State); in __decrement()
|