| /freebsd/contrib/llvm-project/libcxx/include/__ranges/ |
| H A D | counted.h | 46 __go(_It __it, in __go() 47 …iter_difference_t<_It> __count) noexcept(noexcept(span(std::to_address(__it), static_cast<size_t>(… in __go() 50 return span(std::to_address(__it), static_cast<size_t>(__count)); in __go() 54 …_LIBCPP_HIDE_FROM_ABI static constexpr auto __go(_It __it, iter_difference_t<_It> __count) noexcep… 55 noexcept(subrange(__it, __it + __count))) -> decltype(subrange(__it, __it + __count)) { 56 return subrange(__it, __it + __count); 60 …_LIBCPP_HIDE_FROM_ABI static constexpr auto __go(_It __it, iter_difference_t<_It> __count) noexcep… 61 noexcept(subrange(counted_iterator(std::move(__it), __count), default_sentinel))) 62 -> decltype(subrange(counted_iterator(std::move(__it), __count), default_sentinel)) { 63 return subrange(counted_iterator(std::move(__it), __count), default_sentinel); [all …]
|
| H A D | join_with_view.h | 316 return std::visit([](auto& __it) -> __reference { return *__it; }, __inner_it_); 320 std::visit([](auto& __it) { ++__it; }, __inner_it_); 346 auto& __it = std::get<0>(__inner_it_); 347 if (__it == ranges::begin(__parent_->__pattern_)) { 353 auto& __it = std::get<1>(__inner_it_); 355 if (__it == ranges::begin(__inner)) 362 std::visit([](auto& __it) { --__it; }, __inner_it_);
|
| H A D | concepts.h | 152 concept __concat_indirectly_readable_impl = requires(const _It __it) { in requires() argument 153 { *__it } -> convertible_to<_Ref>; in requires() 154 { ranges::iter_move(__it) } -> convertible_to<_RRef>; in requires()
|
| H A D | filter_view.h | 198 iter_move(__iterator const& __it) noexcept(noexcept(ranges::iter_move(__it.__current_))) { 199 return ranges::iter_move(__it.__current_);
|
| /freebsd/contrib/llvm-project/libcxx/include/__chrono/ |
| H A D | tzdb.h | 54 if (auto __it = ranges::lower_bound(links, __name, {}, &time_zone_link::name); in __locate_zone() local 55 __it != links.end() && __it->name() == __name) in __locate_zone() 56 if (const time_zone* __result = __find_in_zone(__it->target())) in __locate_zone() 75 if (auto __it = ranges::lower_bound(zones, __name, {}, &time_zone::name); in __find_in_zone() local 76 __it != zones.end() && __it->name() == __name) in __find_in_zone() 77 return std::addressof(*__it); in __find_in_zone()
|
| H A D | formatter.h | 257 for (auto __it = __chrono_specs.begin(); __it != __chrono_specs.end(); ++__it) { in __format_chrono_using_chrono_specs() local 258 if (*__it == _CharT('%')) { in __format_chrono_using_chrono_specs() 259 auto __s = __it; in __format_chrono_using_chrono_specs() 260 ++__it; in __format_chrono_using_chrono_specs() 263 switch (*__it) { in __format_chrono_using_chrono_specs() 271 __sstr << *__it; in __format_chrono_using_chrono_specs() 281 …_sstr}, __sstr, _CharT(' '), std::addressof(__t), std::to_address(__s), std::to_address(__it + 1)); in __format_chrono_using_chrono_specs() 293 …_sstr}, __sstr, _CharT(' '), std::addressof(__t), std::to_address(__s), std::to_address(__it + 1)); in __format_chrono_using_chrono_specs() 322 …_sstr}, __sstr, _CharT(' '), std::addressof(__t), std::to_address(__s), std::to_address(__it + 1)); in __format_chrono_using_chrono_specs() 390 if (*(__it + 1) == 'S') { in __format_chrono_using_chrono_specs() [all …]
|
| /freebsd/contrib/llvm-project/libcxx/include/__cxx03/__algorithm/ |
| H A D | lower_bound.h | 69 auto __it = __first; in __lower_bound_onesided() local 70 auto __dist = __step - _IterOps<_AlgPolicy>::__advance_to(__it, __step, __last); in __lower_bound_onesided() 73 if (__it == __last || !std::__invoke(__comp, std::__invoke(__proj, *__it), __value)) { in __lower_bound_onesided() 77 return __it; in __lower_bound_onesided() 81 __first = __it; in __lower_bound_onesided()
|
| /freebsd/contrib/llvm-project/libcxx/include/__algorithm/ |
| H A D | lower_bound.h | 68 auto __it = __first; in __lower_bound_onesided() local 69 auto __dist = __step - _IterOps<_AlgPolicy>::__advance_to(__it, __step, __last); in __lower_bound_onesided() 72 if (__it == __last || !std::__invoke(__comp, std::__invoke(__proj, *__it), __value)) { in __lower_bound_onesided() 76 return __it; in __lower_bound_onesided() 80 __first = __it; in __lower_bound_onesided()
|
| H A D | ranges_find_last.h | 49 for (auto __it = ranges::prev(__last_it); __it != __first; --__it) { in __find_last_impl() local 50 if (__pred(std::invoke(__proj, *__it))) { in __find_last_impl() 51 return subrange<_Iter>(std::move(__it), std::move(__last_it)); in __find_last_impl()
|
| /freebsd/contrib/llvm-project/libcxx/src/experimental/ |
| H A D | time_zone.cpp | 446 for (auto __it = __rules.begin(); __it != __rules.end(); ++__it) { in __next_rule() local 447 for (year __y = __it->__from; __y <= __it->__to; ++__y) { in __next_rule() 450 if (__y == __year && __it == __current) in __next_rule() 453 sys_seconds __t = chrono::__rule_to_sys_seconds(__stdoff, __save, *__it, __y); in __next_rule() 458 __candidates[__t] = __it; in __next_rule() 464 auto __it = __candidates.begin(); in __next_rule() local 469 return *__it; in __next_rule() 480 while (__it != __candidates.end()) { in __next_rule() 481 …if (__current->__save.__time != __it->second->__save.__time || __current->__letters != __it->secon… in __next_rule() 482 return *__it; in __next_rule() [all …]
|
| /freebsd/contrib/llvm-project/libcxx/include/__filesystem/ |
| H A D | path_iterator.h | 66 iterator __it(*this); 68 return __it; 79 iterator __it(*this); 81 return __it;
|
| /freebsd/contrib/llvm-project/libcxx/include/__flat_set/ |
| H A D | flat_set.h | 699 auto __it = __self.lower_bound(__key); in __find_impl() local 701 if (__it == __last || __self.__compare_(__key, *__it)) { in __find_impl() 704 return __it; in __find_impl() 710 …auto __it = std::lower_bound(__self.__keys_.begin(), __self.__keys_.end(), __key, __self.__comp… in __equal_range_impl() local 712 if (__it == __last || __self.__compare_(__key, *__it)) { in __equal_range_impl() 713 return std::make_pair(__iter(__it), __iter(__it)); in __equal_range_impl() 715 return std::make_pair(__iter(__it), __iter(std::next(__it))); in __equal_range_impl() 720 auto __it = lower_bound(__key); in __emplace() local 721 if (__it == end() || __compare_(__key, *__it)) { in __emplace() 722 …return pair<iterator, bool>(__flat_set_utils::__emplace_exact_pos(*this, __it, std::forward<_Kp>(_… in __emplace() [all …]
|
| H A D | flat_multiset.h | 615 auto __it = upper_bound(__key); in __emplace() local 616 return __flat_set_utils::__emplace_exact_pos(*this, __it, std::forward<_Kp>(__key)); in __emplace() 653 auto __it = __self.lower_bound(__key); in __find_impl() local 655 if (__it == __last || __self.__compare_(__key, *__it)) { in __find_impl() 658 return __it; in __find_impl() 776 auto __it = 780 auto __res = __flat_multiset.__keys_.end() - __it; 781 __flat_multiset.__keys_.erase(__it, __flat_multiset.__keys_.end());
|
| /freebsd/contrib/llvm-project/libcxx/include/__flat_map/ |
| H A D | flat_map.h | 485 auto __it = find(__x); in at() local 486 if (__it == end()) { in at() 489 return __it->second; in at() 493 auto __it = find(__x); in at() local 494 if (__it == end()) { in at() 497 return __it->second; in at() 503 auto __it = find(__x); in at() local 504 if (__it == end()) { in at() 507 return __it->second; in at() 513 auto __it = find(__x); in at() local [all …]
|
| H A D | key_value_iterator.h | 194 …E_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX26 static decltype(auto) __get_iterator_element(_Iter&& __it) 198 return std::forward<_Iter>(__it).__key_iter_; 200 return std::forward<_Iter>(__it).__mapped_iter_;
|
| /freebsd/contrib/llvm-project/libcxx/include/__format/ |
| H A D | parser_std_format_spec.h | 1125 auto __it = __str.begin(); 1126 if (__format_spec::__is_ascii(*__it)) { 1129 ++__it; 1130 if (__it == __str.end()) 1134 if (__format_spec::__is_ascii(*__it)) 1135 return {static_cast<size_t>(__it - __str.begin()), __it}; 1139 } while (__format_spec::__is_ascii(*__it)); 1140 --__it; 1144 ptrdiff_t __ascii_size = __it - __str.begin(); 1146 … __detail::__estimate_column_width_grapheme_clustering(__it, __str.end(), __maximum, __rounding);
|
| H A D | format_context.h | 94 _LIBCPP_HIDE_FROM_ABI void advance_to(iterator __it) { __out_it_ = std::move(__it); } in _LIBCPP_PREFERRED_NAME() 195 _LIBCPP_HIDE_FROM_ABI void advance_to(iterator __it) { __out_it_ = std::move(__it); } in advance_to() argument
|
| H A D | format_parse_context.h | 46 _LIBCPP_HIDE_FROM_ABI constexpr void advance_to(const_iterator __it) { __begin_ = __it; } in advance_to() argument
|
| /freebsd/contrib/llvm-project/libcxx/include/ |
| H A D | syncstream | 183 auto __it = __get_it(__ptr); 184 if (__it->second.__count == 1) 185 __lut_.erase(__it); 187 --__it->second.__count; 211 auto __it = __lut_.find(reinterpret_cast<uintptr_t>(__ptr)); 212 return __it != __lut_.end() ? __it->second.__count : 0; 232 auto __it = __lut_.find(reinterpret_cast<uintptr_t>(__ptr)); 233 …_LIBCPP_ASSERT_INTERNAL(__it != __lut_.end(), "using a wrapped streambuf that has not been registe… 234 _LIBCPP_ASSERT_INTERNAL(__it->second.__count >= 1, "found an inactive streambuf wrapper"); 235 return __it;
|
| H A D | __bit_reference | 315 …_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 __bit_iterator(const __bit_iterator<_Cp, false>& __it) _NOEXCEPT 316 : __seg_(__it.__seg_), 317 __ctz_(__it.__ctz_) {} 325 operator=(const _If<_IsConst, struct __private_nat, __bit_iterator>& __it) { 326 __seg_ = __it.__seg_; 327 __ctz_ = __it.__ctz_; 397 operator+(difference_type __n, const __bit_iterator& __it) { 398 return __it + __n;
|
| /freebsd/contrib/llvm-project/libcxx/include/__cxx03/__iterator/ |
| H A D | bounded_iter.h | 225 _LIBCPP_HIDE_FROM_ABI __bounded_iter<_It> __make_bounded_iter(_It __it, _It __begin, _It __end) { in __make_bounded_iter() argument 226 return __bounded_iter<_It>(std::move(__it), std::move(__begin), std::move(__end)); in __make_bounded_iter() 238 _LIBCPP_HIDE_FROM_ABI static element_type* to_address(pointer __it) _NOEXCEPT { 239 return std::__to_address(__it.__current_);
|
| /freebsd/contrib/llvm-project/libcxx/include/__memory/ |
| H A D | uninitialized_algorithms.h | 481 __uninitialized_allocator_fill_n_multidimensional(_Alloc& __alloc, _BidirIter __it, _Size __n, _Tp … in __uninitialized_allocator_fill_n_multidimensional() argument 484 _BidirIter __begin = __it; in __uninitialized_allocator_fill_n_multidimensional() 488 …xception_guard([&]() { std::__allocator_destroy_multidimensional(__value_alloc, __begin, __it); }); in __uninitialized_allocator_fill_n_multidimensional() 489 for (; __n != 0; --__n, ++__it) { in __uninitialized_allocator_fill_n_multidimensional() 490 std::__allocator_construct_at_multidimensional(__value_alloc, std::addressof(*__it), __value); in __uninitialized_allocator_fill_n_multidimensional() 499 __uninitialized_allocator_value_construct_n_multidimensional(_Alloc& __alloc, _BidirIter __it, _Siz… in __uninitialized_allocator_value_construct_n_multidimensional() argument 502 _BidirIter __begin = __it; in __uninitialized_allocator_value_construct_n_multidimensional() 506 …xception_guard([&]() { std::__allocator_destroy_multidimensional(__value_alloc, __begin, __it); }); in __uninitialized_allocator_value_construct_n_multidimensional() 507 for (; __n != 0; --__n, ++__it) { in __uninitialized_allocator_value_construct_n_multidimensional() 508 std::__allocator_construct_at_multidimensional(__value_alloc, std::addressof(*__it)); in __uninitialized_allocator_value_construct_n_multidimensional()
|
| /freebsd/contrib/llvm-project/libcxx/include/__iterator/ |
| H A D | bounded_iter.h | 269 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR __bounded_iter<_It> __make_bounded_iter(_It __it, _It __beg… in __make_bounded_iter() argument 270 return __bounded_iter<_It>(std::move(__it), std::move(__begin), std::move(__end)); in __make_bounded_iter() 284 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR static element_type* to_address(pointer __it) _NOEXCEPT { 285 return std::__to_address(__it.__current_);
|
| H A D | prev.h | 41 …odiscard__]] _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX17 _InputIter prev(_InputIter __it) { in prev() argument 44 return std::prev(std::move(__it), 1); in prev()
|
| H A D | static_bounded_iter.h | 294 __make_static_bounded_iter(_It __it, _It __begin) { 295 return __static_bounded_iter<_It, _Size>(std::move(__it), std::move(__begin)); 309 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR static element_type* to_address(pointer __it) _NOEXCEPT { 310 return std::__to_address(__it.__current());
|