| /freebsd/sys/compat/linuxkpi/common/include/linux/ |
| H A D | iopoll.h | 37 struct timeval __now, __end; \ 39 __end.tv_sec = (_to) / USEC_PER_SEC; \ 40 __end.tv_usec = (_to) % USEC_PER_SEC; \ 42 timevaladd(&__end, &__now); \ 53 if (timevalcmp(&__now, &__end, >)) \ 67 struct timeval __now, __end; \ 69 __end.tv_sec = (_to) / USEC_PER_SEC; \ 70 __end.tv_usec = (_to) % USEC_PER_SEC; \ 72 timevaladd(&__end, &__now); \ 83 if (timevalcmp(&__now, &__end, >)) \
|
| /freebsd/contrib/llvm-project/libcxx/include/__algorithm/ |
| H A D | ranges_reverse.h | 38 auto __end = ranges::next(__first, __last); in operator() local 39 auto __ret = __end; in operator() 41 while (__first < --__end) { in operator() 42 ranges::iter_swap(__first, __end); in operator() 47 auto __end = ranges::next(__first, __last); in operator() local 48 auto __ret = __end; in operator() 50 while (__first != __end) { in operator() 51 if (__first == --__end) in operator() 54 ranges::iter_swap(__first, __end); in operator()
|
| H A D | ranges_for_each.h | 51 auto __end = std::__for_each_n(std::move(__first), __n, __func, __proj); in __for_each_impl() local 52 return {std::move(__end), std::move(__func)}; in __for_each_impl() 54 auto __end = std::__for_each(std::move(__first), std::move(__last), __func, __proj); in __for_each_impl() local 55 return {std::move(__end), std::move(__func)}; in __for_each_impl()
|
| H A D | equal_range.h | 39 _Iter __end = _IterOps<_AlgPolicy>::next(__first, __last); in __equal_range() local 47 __end = __mid; in __equal_range() 52 … std::__upper_bound<_AlgPolicy>(++__mp1, __end, __value, __comp, __proj)); in __equal_range()
|
| H A D | for_each_segment.h | 40 __func(_Traits::__local(__first), _Traits::__end(__sfirst)); in __for_each_segment() 44 __func(_Traits::__begin(__sfirst), _Traits::__end(__sfirst)); in __for_each_segment()
|
| /freebsd/contrib/llvm-project/libcxx/include/__utility/ |
| H A D | is_pointer_in_range.h | 37 __is_pointer_in_range(const _Tp* __begin, const _Tp* __end, const _Up* __ptr) { 38 …_LIBCPP_ASSERT_VALID_INPUT_RANGE(std::__is_valid_range(__begin, __end), "[__begin, __end) is not a… 43 if (!__builtin_constant_p(__begin <= __ptr && __ptr < __end)) 47 return !__less<>()(__ptr, __begin) && __less<>()(__ptr, __end); 52 __is_pointer_in_range(const _Tp* __begin, const _Tp* __end, const _Up* __ptr) { 57 reinterpret_cast<const char*>(__ptr) < reinterpret_cast<const char*>(__end); 62 __is_overlapping_range(const _Tp* __begin, const _Tp* __end, const _Up* __begin2) { 63 auto __size = __end - __begin; 65 …return std::__is_pointer_in_range(__begin, __end, __begin2) || std::__is_pointer_in_range(__begin2…
|
| /freebsd/contrib/llvm-project/libcxx/include/__format/ |
| H A D | parser_std_format_spec.h | 68 __parse_arg_id(_Iterator __begin, _Iterator __end, _ParseContext& __ctx) { in __parse_arg_id() argument 72 if (__begin == __end) in __parse_arg_id() 75 __format::__parse_number_result __r = __format::__parse_arg_id(__begin, __end, __ctx); in __parse_arg_id() 77 if (__r.__last == __end || *__r.__last != _CharT('}')) in __parse_arg_id() 356 auto __end = __ctx.end(); 357 …if (__begin == __end || *__begin == _CharT('}') || (__fields.__use_range_fill_ && *__begin == _Cha… 360 if (__parse_fill_align(__begin, __end) && __begin == __end) 364 if (__parse_sign(__begin) && __begin == __end) 371 if (__parse_alternate_form(__begin) && __begin == __end) 378 if (__parse_zero_padding(__begin) && __begin == __end) [all …]
|
| H A D | format_string.h | 41 …_ABI constexpr __parse_number_result<_Iterator> __parse_number(_Iterator __begin, _Iterator __end); 75 __parse_manual(_Iterator __begin, _Iterator __end, auto& __parse_ctx) { in __parse_manual() argument 76 __parse_number_result<_Iterator> __r = __format::__parse_number(__begin, __end); in __parse_manual() 101 _Iterator __end = __end_input - __begin > 9 ? __begin + 9 : __end_input; in __parse_number() local 103 while (++__begin != __end) { in __parse_number() 135 __parse_arg_id(_Iterator __begin, _Iterator __end, auto& __parse_ctx) { in __parse_arg_id() argument 139 return __detail::__parse_zero(__begin, __end, __parse_ctx); in __parse_arg_id() 146 return __detail::__parse_automatic(__begin, __end, __parse_ctx); in __parse_arg_id() 151 return __detail::__parse_manual(__begin, __end, __parse_ctx); in __parse_arg_id()
|
| H A D | range_formatter.h | 58 auto __end = __ctx.end(); in parse() local 63 if (__begin == __end) [[unlikely]] in parse() 68 __parse_type(__begin, __end); in parse() 71 if (__begin == __end) [[unlikely]] in parse() 79 } else if (__begin != __end && *__begin != _CharT('}')) in parse() 97 if (__begin != __end && *__begin != _CharT('}')) in parse() 213 _LIBCPP_HIDE_FROM_ABI constexpr void __parse_type(_Iterator& __begin, _Iterator __end) { in __parse_type() 234 if (__begin == __end || *__begin != _CharT('s')) in __parse_type()
|
| /freebsd/contrib/llvm-project/libcxx/include/__chrono/ |
| H A D | parser_std_format_spec.h | 150 _ConstIterator __end = __ctx.end(); in __parse() local 151 if (__begin == __end) in __parse() 154 _ConstIterator __last = __parse_chrono_specs(__begin, __end, __flags); in __parse() 165 __parse_chrono_specs(_ConstIterator __begin, _ConstIterator __end, __flags __flags) { in __parse_chrono_specs() argument 166 _LIBCPP_ASSERT_INTERNAL(__begin != __end, in __parse_chrono_specs() 182 __parse_conversion_spec(__begin, __end, __flags); in __parse_chrono_specs() 190 } while (__begin != __end && *__begin != _CharT('}')); in __parse_chrono_specs() 198 __parse_conversion_spec(_ConstIterator& __begin, _ConstIterator __end, __flags __flags) { in __parse_conversion_spec() argument 200 if (__begin == __end) in __parse_conversion_spec() 291 __parse_modifier_E(__begin, __end, __flags); in __parse_conversion_spec() [all …]
|
| /freebsd/contrib/llvm-project/libcxx/include/__cxx03/__utility/ |
| H A D | is_pointer_in_range.h | 37 __is_pointer_in_range(const _Tp* __begin, const _Tp* __end, const _Up* __ptr) { 38 …_LIBCPP_ASSERT_VALID_INPUT_RANGE(std::__is_valid_range(__begin, __end), "[__begin, __end) is not a… 43 if (!__builtin_constant_p(__begin <= __ptr && __ptr < __end)) 47 return !__less<>()(__ptr, __begin) && __less<>()(__ptr, __end); 52 __is_pointer_in_range(const _Tp* __begin, const _Tp* __end, const _Up* __ptr) { 57 reinterpret_cast<const char*>(__ptr) < reinterpret_cast<const char*>(__end);
|
| /freebsd/contrib/llvm-project/libcxx/include/__iterator/ |
| H A D | static_bounded_iter.h | 48 …_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX14 _Iterator __end() const _NOEXCEPT { return __b… in __end() function 65 …_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX14 _Iterator __end() const _NOEXCEPT { return __c… 123 …__current <= __end(), "__static_bounded_iter(current, begin): current and (begin + Size) are incon… 133 …__current() != __end(), "__static_bounded_iter::operator*: Attempt to dereference an iterator at t… 139 …__current() != __end(), "__static_bounded_iter::operator->: Attempt to dereference an iterator at … 148 __n < __end() - __current(), 158 …__current() != __end(), "__static_bounded_iter::operator++: Attempt to advance an iterator past th… 185 …__n <= __end() - __current(), "__static_bounded_iter::operator+=: Attempt to advance an iterator p… 207 …__n >= __current() - __end(), "__static_bounded_iter::operator-=: Attempt to advance an iterator p… 289 …DE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX14 _Iterator __end() const _NOEXCEPT { return __storage_.__…
|
| H A D | bounded_iter.h | 102 …STEXPR_SINCE_CXX14 explicit __bounded_iter(_Iterator __current, _Iterator __begin, _Iterator __end) in __bounded_iter() 103 : __current_(__current), __begin_(__begin), __end_(__end) { in __bounded_iter() 107 … __current <= __end, "__bounded_iter(current, begin, end): current and end are inconsistent"); in __bounded_iter() 269 …M_ABI _LIBCPP_CONSTEXPR __bounded_iter<_It> __make_bounded_iter(_It __it, _It __begin, _It __end) { in __make_bounded_iter() argument 270 return __bounded_iter<_It>(std::move(__it), std::move(__begin), std::move(__end)); in __make_bounded_iter()
|
| /freebsd/contrib/llvm-project/libcxx/include/__ranges/ |
| H A D | lazy_split_view.h | 212 const auto __end = ranges::end(__parent_->__base_); 213 if (__current() == __end) { 225 __current() = ranges::find(std::move(__current()), __end, *__pbegin); 226 if (__current() != __end) { 229 if (__current() == __end) 236 const auto [__b, __p] = ranges::mismatch(__current(), __end, __pbegin, __pend); 239 if (__current() == __end) { 244 } while (++__current() != __end); 300 auto __end = ranges::end(__i_.__parent_->__base_); 304 if (__cur == __end) [all …]
|
| /freebsd/contrib/llvm-project/libcxx/src/include/ |
| H A D | overridable_function.h | 83 uintptr_t __end = reinterpret_cast<uintptr_t>(&__lcxx_override_end); in __is_function_overridden() local 95 return __ptr < __start || __ptr > __end; in __is_function_overridden() 117 uintptr_t __end = reinterpret_cast<uintptr_t>(&__stop___lcxx_override); 125 return __ptr < __start || __ptr > __end;
|
| /freebsd/contrib/llvm-project/libcxx/src/experimental/ |
| H A D | tzdb_list.cpp | 30 [[nodiscard]] _LIBCPP_EXPORTED_FROM_ABI tzdb_list::const_iterator tzdb_list::__end() const noexcept… in __end() function in chrono::tzdb_list 31 return __impl_->__end(); in __end() 38 return __impl_->__end(); in __cend()
|
| H A D | time_zone.cpp | 102 auto __end = ranges::end(__r); local 103 auto __ret = ranges::lower_bound(ranges::begin(__r), __end, __value, __comp, __proj); 104 if (__ret == __end) 105 return __end; 109 return !std::invoke(__comp, __value, std::invoke(__proj, *__ret)) ? __ret : __end; 369 sys_seconds __end, in __get_sys_info_before_first_rule() argument 374 __end, in __get_sys_info_before_first_rule() 609 sys_seconds __end = __continuation_end(__rule->__save.__time); in __get_sys_info_rule() local 612 sys_seconds __sys_info_end = std::min(__end, __next.first); in __get_sys_info_rule() 641 __end = __continuation_end(__rule->__save.__time); in __get_sys_info_rule() [all …]
|
| /freebsd/contrib/llvm-project/libcxx/include/__cxx03/__algorithm/ |
| H A D | find_segment_if.h | 40 auto __llast = _Traits::__end(__sfirst); in __find_segment_if() 49 auto __llast = _Traits::__end(__sfirst); in __find_segment_if() 50 auto __liter = __pred(_Traits::__begin(__sfirst), _Traits::__end(__sfirst), __proj); in __find_segment_if()
|
| H A D | equal_range.h | 43 _Iter __end = _IterOps<_AlgPolicy>::next(__first, __last); in __equal_range() local 51 __end = __mid; in __equal_range() 56 … std::__upper_bound<_AlgPolicy>(++__mp1, __end, __value, __comp, __proj)); in __equal_range()
|
| H A D | for_each_segment.h | 39 __func(_Traits::__local(__first), _Traits::__end(__sfirst)); in __for_each_segment() 43 __func(_Traits::__begin(__sfirst), _Traits::__end(__sfirst)); in __for_each_segment()
|
| /freebsd/contrib/llvm-project/clang/lib/Headers/ |
| H A D | arm_cmse.h | 127 uintptr_t __end = __begin + __s - 1; in cmse_check_address_range() local 129 if (__end < __begin) in cmse_check_address_range() 133 const int __single_check = (__begin ^ __end) < 0x20u; in cmse_check_address_range() 136 void *__pe = (void *)__end; in cmse_check_address_range()
|
| /freebsd/contrib/llvm-project/libcxx/include/__pstl/cpu_algos/ |
| H A D | find_if.h | 68 __simd_first(_Index __first, _DifferenceType __begin, _DifferenceType __end, _Compare __comp) noexc… in __simd_first() argument 72 while (__end - __begin >= __block_size) { in __simd_first() 93 while (__begin != __end) { in __simd_first() 99 return __first + __end; in __simd_first()
|
| /freebsd/contrib/llvm-project/libcxx/include/__cxx03/__iterator/ |
| H A D | bounded_iter.h | 84 …BCPP_HIDE_FROM_ABI explicit __bounded_iter(_Iterator __current, _Iterator __begin, _Iterator __end) in __bounded_iter() 85 : __current_(__current), __begin_(__begin), __end_(__end) { in __bounded_iter() 89 … __current <= __end, "__bounded_iter(current, begin, end): current and end are inconsistent"); in __bounded_iter() 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()
|
| /freebsd/contrib/llvm-project/libcxx/include/__pstl/internal/ |
| H A D | glue_memory_impl.h | |
| /freebsd/contrib/llvm-project/libcxx/include/__cxx03/ |
| H A D | codecvt | 110 …int do_length(state_type&, const extern_type* __frm, const extern_type* __end, size_t __mx) const … 148 …int do_length(state_type&, const extern_type* __frm, const extern_type* __end, size_t __mx) const … 185 …int do_length(state_type&, const extern_type* __frm, const extern_type* __end, size_t __mx) const … 240 …int do_length(state_type&, const extern_type* __frm, const extern_type* __end, size_t __mx) const … 279 …int do_length(state_type&, const extern_type* __frm, const extern_type* __end, size_t __mx) const … 317 …int do_length(state_type&, const extern_type* __frm, const extern_type* __end, size_t __mx) const … 354 …int do_length(state_type&, const extern_type* __frm, const extern_type* __end, size_t __mx) const … 391 …int do_length(state_type&, const extern_type* __frm, const extern_type* __end, size_t __mx) const … 428 …int do_length(state_type&, const extern_type* __frm, const extern_type* __end, size_t __mx) const … 485 …int do_length(state_type&, const extern_type* __frm, const extern_type* __end, size_t __mx) const … [all …]
|