Home
last modified time | relevance | path

Searched refs:__current (Results 1 – 16 of 16) sorted by relevance

/freebsd/contrib/llvm-project/libcxx/include/__locale_dir/locale_base_api/
H A Dbsd_locale_fallbacks.h32 __libcpp_locale_guard __current(__l); in decltype()
38 __libcpp_locale_guard __current(__l);
43 __libcpp_locale_guard __current(__l); in __libcpp_btowc_l()
49 __libcpp_locale_guard __current(__l); in __libcpp_wctob_l()
54 __libcpp_locale_guard __current(__l); in __libcpp_wcsnrtombs_l()
60 __libcpp_locale_guard __current(__l);
66 __libcpp_locale_guard __current(__l); in __libcpp_wcrtomb_l()
71 __libcpp_locale_guard __current(__l); in __libcpp_mbsnrtowcs_l()
76 __libcpp_locale_guard __current(__l);
82 __libcpp_locale_guard __current(__ in __libcpp_mbrtowc_l()
[all...]
/freebsd/contrib/llvm-project/libcxx/src/
H A Dbarrier.cpp34__current = hash<thread::id>()(this_thread::get_id()) % ((__expected_ + 1) >> 1); in __arrive() local
39 for (;; ++__current) { in __arrive()
40 if (__current == __end_node) in __arrive()
41 __current = 0; in __arrive()
43 if (__current == __last_node && (__current_expected & 1)) { in __arrive()
44 if (__state_[__current].__tickets[__round].__phase.compare_exchange_strong( in __arrive()
47 } else if (__state_[__current].__tickets[__round].__phase.compare_exchange_strong( in __arrive()
51 if (__state_[__current].__tickets[__round].__phase.compare_exchange_strong( in __arrive()
57 __current >>= 1; in __arrive()
/freebsd/contrib/llvm-project/libcxx/include/__ranges/
H A Dlazy_split_view.h157 [[nodiscard]] _LIBCPP_HIDE_FROM_ABI constexpr auto& __current() noexcept {
165 [[nodiscard]] _LIBCPP_HIDE_FROM_ABI constexpr const auto& __current() const noexcept {
200 _LIBCPP_HIDE_FROM_ABI constexpr __outer_iterator(_Parent& __parent, iterator_t<_Base> __current)
202 : __parent_(std::addressof(__parent)), __current_(std::move(__current)) {}
212 if (__current() == __end) {
220 ++__current();
224 __current() = ranges::find(std::move(__current()), __end, *__pbegin);
225 if (__current() != __end) {
227 ++__current();
228 if (__current() == __end)
[all …]
H A Dchunk_by_view.h67 _LIBCPP_HIDE_FROM_ABI constexpr iterator_t<_View> __find_next(iterator_t<_View> __current) { in __find_next() argument
75 … ranges::adjacent_find(__current, ranges::end(__base_), __reversed_pred), 1, ranges::end(__base_)); in __find_next()
78 _LIBCPP_HIDE_FROM_ABI constexpr iterator_t<_View> __find_prev(iterator_t<_View> __current) in __find_prev() argument
82 …_LIBCPP_ASSERT_PEDANTIC(__current != ranges::begin(__base_), "Trying to call __find_prev() on a be… in __find_prev()
88 reverse_view __reversed{subrange{__first, __current}}; in __find_prev()
147 chunk_by_view& __parent, iterator_t<_View> __current, iterator_t<_View> __next) in __iterator() argument
148 : __parent_(std::addressof(__parent)), __current_(__current), __next_(__next) {} in __iterator()
H A Dsplit_view.h142 …split_view<_View, _Pattern>& __parent, iterator_t<_View> __current, subrange<iterator_t<_View>> __…
143 … : __parent_(std::addressof(__parent)), __cur_(std::move(__current)), __next_(std::move(__next)) {}
H A Dfilter_view.h148 _LIBCPP_HIDE_FROM_ABI constexpr __iterator(filter_view& __parent, iterator_t<_View> __current)
149 : __current_(std::move(__current)), __parent_(std::addressof(__parent)) {}
H A Delements_view.h208 …OM_ABI constexpr explicit __iterator(iterator_t<_Base> __current) : __current_(std::move(__current
H A Dtransform_view.h200 _LIBCPP_HIDE_FROM_ABI constexpr __iterator(_Parent& __parent, iterator_t<_Base> __current)
201 : __parent_(std::addressof(__parent)), __current_(std::move(__current)) {}
H A Dzip_view.h256 __tuple_or_pair<iterator_t<__maybe_const<_Const, _Views>>...> __current)
257 : __current_(std::move(__current)) {}
/freebsd/contrib/llvm-project/libcxx/include/__functional/
H A Dboyer_moore_searcher.h151 _RandomAccessIterator2 __current = __f; in operator()
155 while (__current <= __last) {
157 while (__pred_(__first_[__j - 1], __current[__j - 1])) {
160 return std::make_pair(__current, __current + __pattern_length_);
163 difference_type __k = __skip_table[__current[__j - 1]];
166 __current += __m; in __search()
168 __current += __suffix_[__j]; in __search()
282 _RandomAccessIterator2 __current = __f; in operator()
286 while (__current <
165 _RandomAccessIterator2 __current = __f; __search() local
296 _RandomAccessIterator2 __current = __f; __search() local
[all...]
/freebsd/contrib/llvm-project/libcxx/include/__pstl/internal/
H A Dunseq_backend_simd.h
/freebsd/contrib/llvm-project/libcxx/src/experimental/
H A Dtime_zone.cpp428 vector<__tz::__rule>::const_iterator __current) { in __next_rule() argument
441 if (__y == __year && __it == __current) in __next_rule()
472 …if (__current->__save.__time != __it->second->__save.__time || __current->__letters != __it->secon… in __next_rule()
714 [[nodiscard]] bool __merge_continuation(sys_info& __current, const sys_info& __next) { in __merge_continuation() argument
715 if (__current.end != __next.begin) in __merge_continuation()
718 …if (__current.offset != __next.offset || __current.abbrev != __next.abbrev || __current.save != __… in __merge_continuation()
721 __current.end = __next.end; in __merge_continuation()
/freebsd/contrib/llvm-project/libcxx/include/__iterator/
H A Dbounded_iter.h90 …_LIBCPP_CONSTEXPR_SINCE_CXX14 explicit __bounded_iter(_Iterator __current, _Iterator __begin, _Ite… in __bounded_iter()
91 : __current_(__current), __begin_(__begin), __end_(__end) { in __bounded_iter()
93 … __begin <= __current, "__bounded_iter(current, begin, end): current and begin are inconsistent"); in __bounded_iter()
95__current <= __end, "__bounded_iter(current, begin, end): current and end are inconsistent"); in __bounded_iter()
/freebsd/contrib/llvm-project/libcxx/include/
H A Dsemaphore164 auto const __current = _Clock::now();
165 if (__current >= __abs_time)
168 return try_acquire_for(__abs_time - __current);
H A Dbarrier243 uint64_t const __current = __phase_arrived_expected.load(memory_order_acquire);
244 return ((__current & __phase_bit) != __phase);
H A Dlist1167 __node_pointer __current = __e.__ptr_->__as_node();
1168 this->__delete_node(__current);
1209 __node_pointer __current = __e.__ptr_->__as_node();
1210 this->__delete_node(__current);
1380 __node_pointer __current = __e.__ptr_->__as_node();
1381 this->__delete_node(__current);
1416 __node_pointer __current = __e.__ptr_->__as_node();
1417 this->__delete_node(__current);