Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/libcxx/include/__iterator/
H A Dstatic_bounded_iter.h42 …_LIBCPP_CONSTEXPR_SINCE_CXX14 explicit __static_bounded_iter_storage(_Iterator __current, _Iterato… in __static_bounded_iter_storage()
43 : __current_(__current), __begin_(__begin) {} in __static_bounded_iter_storage()
45 …_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX14 _Iterator& __current() _NOEXCEPT { return __cu… in __current() function
46 …_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX14 _Iterator __current() const _NOEXCEPT { return… in __current() function
59 …_LIBCPP_CONSTEXPR_SINCE_CXX14 explicit __static_bounded_iter_storage(_Iterator __current, _Iterato…
60 : __current_(__current) {}
62 …_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX14 _Iterator& __current() _NOEXCEPT { return __cu…
63 …_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX14 _Iterator __current() const _NOEXCEPT { return…
108 : __storage_(__other.__storage_.__current(), __other.__storage_.__begin()) {}
118 …_LIBCPP_CONSTEXPR_SINCE_CXX14 explicit __static_bounded_iter(_Iterator __current, _Iterator __begi…
[all …]
H A Dbounded_iter.h102 …_LIBCPP_CONSTEXPR_SINCE_CXX14 explicit __bounded_iter(_Iterator __current, _Iterator __begin, _Ite… in __bounded_iter()
103 : __current_(__current), __begin_(__begin), __end_(__end) { in __bounded_iter()
105 … __begin <= __current, "__bounded_iter(current, begin, end): current and begin are inconsistent"); in __bounded_iter()
107__current <= __end, "__bounded_iter(current, begin, end): current and end are inconsistent"); in __bounded_iter()
/freebsd/contrib/llvm-project/libcxx/include/__cxx03/__locale_dir/locale_base_api/
H A Dbsd_locale_fallbacks.h32 __libcpp_locale_guard __current(__l); in decltype()
38 __libcpp_locale_guard __current(__l); in __libcpp_btowc_l()
43 __libcpp_locale_guard __current(__l); in __libcpp_wctob_l()
49 __libcpp_locale_guard __current(__l); in __libcpp_wcsnrtombs_l()
54 __libcpp_locale_guard __current(__l); in __libcpp_wcrtomb_l()
60 __libcpp_locale_guard __current(__l); in __libcpp_mbsnrtowcs_l()
66 __libcpp_locale_guard __current(__l); in __libcpp_mbrtowc_l()
71 __libcpp_locale_guard __current(__l); in __libcpp_mbtowc_l()
76 __libcpp_locale_guard __current(__l); in __libcpp_mbrlen_l()
82 __libcpp_locale_guard __current(__l); in __libcpp_localeconv_l()
[all …]
/freebsd/contrib/llvm-project/libcxx/include/__locale_dir/locale_base_api/
H A Dbsd_locale_fallbacks.h46 __locale_guard __current(__l); in decltype()
52 __locale_guard __current(__l); in __libcpp_btowc_l()
57 __locale_guard __current(__l); in __libcpp_wctob_l()
63 __locale_guard __current(__l); in __libcpp_wcsnrtombs_l()
68 __locale_guard __current(__l); in __libcpp_wcrtomb_l()
74 __locale_guard __current(__l); in __libcpp_mbsnrtowcs_l()
80 __locale_guard __current(__l); in __libcpp_mbrtowc_l()
85 __locale_guard __current(__l); in __libcpp_mbtowc_l()
90 __locale_guard __current(__l); in __libcpp_mbrlen_l()
96 __locale_guard __current(__l); in __libcpp_localeconv_l()
[all …]
/freebsd/contrib/llvm-project/libcxx/src/
H A Dbarrier.cpp32__current = hash<thread::id>()(this_thread::get_id()) % ((__expected_ + 1) >> 1); in __arrive() local
37 for (;; ++__current) { in __arrive()
38 if (__current == __end_node) in __arrive()
39 __current = 0; in __arrive()
41 if (__current == __last_node && (__current_expected & 1)) { in __arrive()
42 if (__state_[__current].__tickets[__round].__phase.compare_exchange_strong( in __arrive()
45 } else if (__state_[__current].__tickets[__round].__phase.compare_exchange_strong( in __arrive()
49 if (__state_[__current].__tickets[__round].__phase.compare_exchange_strong( in __arrive()
55 __current >>= 1; in __arrive()
/freebsd/contrib/llvm-project/libcxx/include/__locale_dir/support/
H A Dfuchsia.h68 __locale_guard __current(__loc); in __localeconv()
76 __locale_guard __current(__loc); in decltype()
81 __locale_guard __current(__loc); in __btowc()
85 __locale_guard __current(__loc); in __wctob()
90 __locale_guard __current(__loc); in __wcsnrtombs()
94 __locale_guard __current(__loc); in __wcrtomb()
99 __locale_guard __current(__loc); in __mbsnrtowcs()
104 __locale_guard __current(__loc); in __mbrtowc()
108 __locale_guard __current(__loc); in __mbtowc()
112 __locale_guard __current(__loc); in __mbrlen()
[all …]
H A Dlinux.h77 __locale_guard __current(__loc); in __localeconv()
183 __locale_guard __current(__loc); in decltype()
189 __locale_guard __current(__loc); in __btowc()
194 __locale_guard __current(__loc); in __wctob()
200 __locale_guard __current(__loc); in __wcsnrtombs()
205 __locale_guard __current(__loc); in __wcrtomb()
211 __locale_guard __current(__loc); in __mbsnrtowcs()
217 __locale_guard __current(__loc); in __mbrtowc()
222 __locale_guard __current(__loc); in __mbtowc()
227 __locale_guard __current(__loc); in __mbrlen()
[all …]
/freebsd/contrib/llvm-project/libcxx/include/__ranges/
H A Dlazy_split_view.h158 [[nodiscard]] _LIBCPP_HIDE_FROM_ABI constexpr auto& __current() noexcept {
166 [[nodiscard]] _LIBCPP_HIDE_FROM_ABI constexpr const auto& __current() const noexcept {
201 _LIBCPP_HIDE_FROM_ABI constexpr __outer_iterator(_Parent& __parent, iterator_t<_Base> __current)
203 : __parent_(std::addressof(__parent)), __current_(std::move(__current)) {}
213 if (__current() == __end) {
221 ++__current();
225 __current() = ranges::find(std::move(__current()), __end, *__pbegin);
226 if (__current() != __end) {
228 ++__current();
229 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.h203 _LIBCPP_HIDE_FROM_ABI constexpr __iterator(_Parent& __parent, iterator_t<_Base> __current)
204 : __parent_(std::addressof(__parent)), __current_(std::move(__current)) {}
H A Dzip_view.h244 …OM_ABI constexpr explicit __iterator(tuple<iterator_t<__maybe_const<_Const, _Views>>...> __current)
245 : __current_(std::move(__current)) {}
/freebsd/contrib/llvm-project/libcxx/include/__functional/
H A Dboyer_moore_searcher.h150 _RandomAccessIterator2 __current = __f; in __search() local
154 while (__current <= __last) { in __search()
156 while (__pred_(__first_[__j - 1], __current[__j - 1])) { in __search()
159 return std::make_pair(__current, __current + __pattern_length_); in __search()
162 difference_type __k = __skip_table[__current[__j - 1]]; in __search()
165 __current += __m; in __search()
167 __current += __suffix_[__j]; in __search()
281 _RandomAccessIterator2 __current = __f; in __search() local
285 while (__current <= __last) { in __search()
287 while (__pred_(__first_[__j - 1], __current[__j - 1])) { in __search()
[all …]
/freebsd/contrib/llvm-project/libcxx/include/__pstl/internal/
H A Dunseq_backend_simd.h
/freebsd/contrib/llvm-project/libcxx/include/__cxx03/__iterator/
H A Dbounded_iter.h84 …_LIBCPP_HIDE_FROM_ABI explicit __bounded_iter(_Iterator __current, _Iterator __begin, _Iterator __… in __bounded_iter()
85 : __current_(__current), __begin_(__begin), __end_(__end) { in __bounded_iter()
87 … __begin <= __current, "__bounded_iter(current, begin, end): current and begin are inconsistent"); in __bounded_iter()
89__current <= __end, "__bounded_iter(current, begin, end): current and end are inconsistent"); in __bounded_iter()
/freebsd/contrib/llvm-project/libcxx/src/experimental/
H A Dtime_zone.cpp437 vector<__tz::__rule>::const_iterator __current) { in __next_rule() argument
450 if (__y == __year && __it == __current) in __next_rule()
481 …if (__current->__save.__time != __it->second->__save.__time || __current->__letters != __it->secon… in __next_rule()
723 [[nodiscard]] bool __merge_continuation(sys_info& __current, const sys_info& __next) { in __merge_continuation() argument
724 if (__current.end != __next.begin) in __merge_continuation()
727 …if (__current.offset != __next.offset || __current.abbrev != __next.abbrev || __current.save != __… in __merge_continuation()
730 __current.end = __next.end; in __merge_continuation()
/freebsd/contrib/llvm-project/libcxx/include/
H A Dsemaphore168 auto const __current = _Clock::now();
169 if (__current >= __abs_time)
172 return try_acquire_for(__abs_time - __current);
H A Dlist1246 __node_pointer __current = __e.__ptr_->__as_node();
1247 this->__delete_node(__current);
1289 __node_pointer __current = __e.__ptr_->__as_node();
1290 this->__delete_node(__current);
1465 __node_pointer __current = __e.__ptr_->__as_node();
1466 this->__delete_node(__current);
1501 __node_pointer __current = __e.__ptr_->__as_node();
1502 this->__delete_node(__current);
/freebsd/contrib/llvm-project/libcxx/include/__algorithm/
H A Dradix_sort.h169 auto __current = __map(__value); in __collect_impl()
170 __is_sorted &= (__current >= __previous); in __collect_impl()
171 __previous = __current; in __collect_impl()
173 (++__counters[_Radices][std::__nth_radix(_Radices, __radix, __current)], ...); in __collect_impl()
/freebsd/contrib/llvm-project/libcxx/include/__atomic/
H A Datomic_sync.h186 std::__atomic_wait_unless(__a, __order, [&](_Tp const& __current) {
187 return !std::__cxx_nonatomic_compare_equal(__current, __val);
/freebsd/contrib/llvm-project/libcxx/include/__cxx03/
H A Dlist914 __node_pointer __current = __e.__ptr_->__as_node();
915 this->__delete_node(__current);
956 __node_pointer __current = __e.__ptr_->__as_node();
957 this->__delete_node(__current);
1051 __node_pointer __current = __e.__ptr_->__as_node();
1052 this->__delete_node(__current);
1087 __node_pointer __current = __e.__ptr_->__as_node();
1088 this->__delete_node(__current);