Home
last modified time | relevance | path

Searched refs:__count_ (Results 1 – 4 of 4) sorted by relevance

/freebsd-13.1/contrib/llvm-project/libcxx/include/__iterator/
H A Dcounted_iterator.h88 : __current_(__other.__current_), __count_(__other.__count_) {}
95 __count_ = __other.__count_;
133 --__count_;
140 --__count_;
164 ++__count_;
198 __count_ -= __n;
214 return __rhs.__count_ - __lhs.__count_;
239 __count_ += __n;
256 return __lhs.__count_ == __rhs.__count_;
270 return __rhs.__count_ <=> __lhs.__count_;
[all …]
/freebsd-13.1/contrib/llvm-project/libcxx/src/
H A Dmutex.cpp134 : __count_(0), in recursive_timed_mutex()
151 if (__count_ == numeric_limits<size_t>::max()) in lock()
153 ++__count_; in lock()
156 while (__count_ != 0) in lock()
158 __count_ = 1; in lock()
167 if (lk.owns_lock() && (__count_ == 0 || id == __id_)) in try_lock()
169 if (__count_ == numeric_limits<size_t>::max()) in try_lock()
171 ++__count_; in try_lock()
182 if (--__count_ == 0) in unlock()
/freebsd-13.1/contrib/llvm-project/libcxx/include/__ranges/
H A Ddrop_view.h51 range_difference_t<_View> __count_ = 0; variable
59 : __count_(__count) in drop_view()
62 _LIBCPP_ASSERT(__count_ >= 0, "count must be greater than or equal to zero."); in drop_view()
77 auto __tmp = ranges::next(ranges::begin(__base_), __count_, ranges::end(__base_)); in begin()
87 return ranges::next(ranges::begin(__base_), __count_, ranges::end(__base_)); in begin()
103 const auto __c = static_cast<decltype(__s)>(__self.__count_); in __size()
/freebsd-13.1/contrib/llvm-project/libcxx/include/
H A Dmutex283 size_t __count_;
315 if (__count_ == numeric_limits<size_t>::max())
317 ++__count_;
321 while (no_timeout && __count_ != 0)
323 if (__count_ == 0)
325 __count_ = 1;