| /freebsd/contrib/llvm-project/libcxx/include/__format/ |
| H A D | format_string.h | 41 _LIBCPP_HIDE_FROM_ABI constexpr __parse_number_result<_Iterator> __parse_number(_Iterator __begin, … 59 __parse_zero(_Iterator __begin, _Iterator, auto& __parse_ctx) { in __parse_zero() argument 61 return {++__begin, 0}; // can never be larger than the maximum. in __parse_zero() 66 __parse_automatic(_Iterator __begin, _Iterator, auto& __parse_ctx) { in __parse_automatic() argument 70 return {__begin, uint32_t(__value)}; in __parse_automatic() 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() 91 __parse_number(_Iterator __begin, _Iterator __end_input) { in __parse_number() argument 101 _Iterator __end = __end_input - __begin > 9 ? __begin + 9 : __end_input; in __parse_number() 102 uint32_t __value = *__begin - _CharT('0'); in __parse_number() [all …]
|
| 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() 355 auto __begin = __ctx.begin(); 357 …if (__begin == __end || *__begin == _CharT('}') || (__fields.__use_range_fill_ && *__begin == _Cha… 358 return __begin; 360 if (__parse_fill_align(__begin, __end) && __begin == __end) 361 return __begin; 364 if (__parse_sign(__begin) && __begin == __end) 365 return __begin; [all …]
|
| H A D | range_formatter.h | 57 auto __begin = __parser_.__parse(__ctx, __format_spec::__fields_range); in parse() local 63 if (__begin == __end) [[unlikely]] in parse() 64 return __parse_empty_range_underlying_spec(__ctx, __begin); in parse() 68 __parse_type(__begin, __end); in parse() 71 if (__begin == __end) [[unlikely]] in parse() 72 return __parse_empty_range_underlying_spec(__ctx, __begin); in parse() 74 bool __has_range_underlying_spec = *__begin == _CharT(':'); in parse() 78 ++__begin; in parse() 79 } else if (__begin != __end && *__begin != _CharT('}')) in parse() 87 __ctx.advance_to(__begin); in parse() [all …]
|
| H A D | formatter_tuple.h | 51 auto __begin = __parser_.__parse(__ctx, __format_spec::__fields_tuple); in parse() local 57 else if (__begin != __end && *__begin == _CharT('m')) { in parse() 61 ++__begin; in parse() 66 if (__begin != __end && *__begin != _CharT('}')) in parse() 69 __ctx.advance_to(__begin); in parse() 83 return __begin; in parse()
|
| H A D | formatter_integral.h | 217 _Iterator __begin, in __write_using_decimal_separators() argument 223 int __size = (__first - __begin) + // [sign][prefix] in __write_using_decimal_separators() 230 __out_it = __formatter::__copy(__begin, __first, std::move(__out_it)); in __write_using_decimal_separators() 245 __out_it = __formatter::__copy(__begin, __first, std::move(__out_it)); in __write_using_decimal_separators() 290 _Iterator __begin, in __format_integer() argument 294 _Iterator __first = __formatter::__insert_sign(__begin, __negative, __specs.__std_.__sign_); in __format_integer() 313 __begin, in __format_integer() 323 __first = __begin; in __format_integer() 330 __out_it = __formatter::__copy(__begin, __first, std::move(__out_it)); in __format_integer() 333 int32_t __size = __first - __begin; in __format_integer()
|
| H A D | format_functions.h | 248 __handle_replacement_field(_Iterator __begin, _Iterator __end, _ParseCtx& __parse_ctx, _Ctx& __ctx)… in __handle_replacement_field() argument 250 __format::__parse_number_result __r = __format::__parse_arg_id(__begin, __end, __parse_ctx); in __handle_replacement_field() 293 __begin = __parse_ctx.begin(); in __handle_replacement_field() 294 if (__begin == __end || *__begin != _CharT('}')) in __handle_replacement_field() 297 return ++__begin; in __handle_replacement_field() 305 auto __begin = __parse_ctx.begin(); in __vformat_to() local 308 while (__begin != __end) { in __vformat_to() 309 switch (*__begin) { in __vformat_to() 311 ++__begin; in __vformat_to() 312 if (__begin == __end) in __vformat_to() [all …]
|
| /freebsd/contrib/llvm-project/libcxx/include/__chrono/ |
| H A D | parser_std_format_spec.h | 149 _ConstIterator __begin = __parser_.__parse(__ctx, __fields); in __parse() local 151 if (__begin == __end) in __parse() 152 return __begin; in __parse() 154 _ConstIterator __last = __parse_chrono_specs(__begin, __end, __flags); in __parse() 155 __chrono_specs_ = basic_string_view<_CharT>{__begin, __last}; 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() 170 if (*__begin != _CharT('%') && *__begin != _CharT('}')) in __parse_chrono_specs() 174 switch (*__begin) { in __parse_chrono_specs() 179 return __begin; in __parse_chrono_specs() [all …]
|
| /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) { 56 return reinterpret_cast<const char*>(__begin) <= reinterpret_cast<const char*>(__ptr) && 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/__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() 74 …_PSTL_PRAGMA_SIMD_REDUCTION(| : __found) for (_DifferenceType __i = __begin; __i < __begin + __blo… in __simd_first() 76 __lane[__i - __begin] = __t; in __simd_first() 87 return __first + __begin + __i; in __simd_first() 89 __begin += __block_size; in __simd_first() 93 while (__begin != __end) { in __simd_first() 94 if (__comp(__first, __begin)) { in __simd_first() 95 return __first + __begin; in __simd_first() 97 ++__begin; in __simd_first()
|
| /freebsd/contrib/llvm-project/libcxx/include/__iterator/ |
| H A D | static_bounded_iter.h | 42 …ONSTEXPR_SINCE_CXX14 explicit __static_bounded_iter_storage(_Iterator __current, _Iterator __begin) in __static_bounded_iter_storage() 43 : __current_(__current), __begin_(__begin) {} in __static_bounded_iter_storage() 47 …_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX14 _Iterator __begin() const _NOEXCEPT { return _… in __begin() function 64 …_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX14 _Iterator __begin() const _NOEXCEPT { return _… 108 : __storage_(__other.__storage_.__current(), __other.__storage_.__begin()) {} 118 …LIBCPP_CONSTEXPR_SINCE_CXX14 explicit __static_bounded_iter(_Iterator __current, _Iterator __begin) 119 : __storage_(__current, __begin) { 121 …__begin <= __current, "__static_bounded_iter(current, begin): current and begin are inconsistent"); 145 __n >= __begin() - __current(), 170 …__current() != __begin(), "__static_bounded_iter::operator--: Attempt to rewind an iterator past t… [all …]
|
| H A D | bounded_iter.h | 102 …_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() 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/__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) { 56 return reinterpret_cast<const char*>(__begin) <= reinterpret_cast<const char*>(__ptr) &&
|
| /freebsd/contrib/llvm-project/libcxx/include/__pstl/internal/ |
| H A D | glue_memory_impl.h | |
| /freebsd/contrib/llvm-project/libcxx/src/experimental/ |
| H A D | tzdb_list.cpp | 27 [[nodiscard]] _LIBCPP_EXPORTED_FROM_ABI tzdb_list::const_iterator tzdb_list::__begin() const noexce… in __begin() function in chrono::tzdb_list 28 return __impl_->__begin(); in __begin() 35 return __impl_->__begin(); in __cbegin()
|
| H A D | time_zone.cpp | 368 sys_seconds __begin, in __get_sys_info_before_first_rule() argument 373 __begin, in __get_sys_info_before_first_rule() 384 sys_seconds __begin, in __get_sys_info_before_first_rule() argument 391 return __get_sys_info_before_first_rule(__begin, __rule_end, __continuation, __rules); in __get_sys_info_before_first_rule() 394 …__begin, __next_end, __continuation.__stdoff, 0min, chrono::__format(__continuation, __rule->__let… in __get_sys_info_before_first_rule() 540 …if (sys_seconds __begin = __rule->__save.__time != 0s ? __rule_begin : __next.first; __time < __be… in __get_sys_info_rule() local 541 if (__continuation_begin == sys_seconds::min() || __begin - __continuation_begin > 12h) in __get_sys_info_rule() 893 sys_seconds __begin = __sys_info->__info.begin - __sys_info->__info.offset; in __get_info() local 894 if (__end == __begin) { in __get_info()
|
| /freebsd/contrib/llvm-project/clang/lib/Headers/ |
| H A D | arm_cmse.h | 126 uintptr_t __begin = (uintptr_t)__pb; in cmse_check_address_range() local 127 uintptr_t __end = __begin + __s - 1; in cmse_check_address_range() 129 if (__end < __begin) in cmse_check_address_range() 133 const int __single_check = (__begin ^ __end) < 0x20u; in cmse_check_address_range()
|
| /freebsd/contrib/llvm-project/libcxx/include/__cxx03/__iterator/ |
| H A D | bounded_iter.h | 84 …_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() 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/__algorithm/ |
| H A D | sort.h | 500 …const _RandomAccessIterator __begin = __first; // used for bounds checking, those are not moved ar… in __bitset_partition() local 524 __last != __begin, in __bitset_partition() 573 if (__begin != __pivot_pos) { in __bitset_partition() 574 *__begin = _Ops::__iter_move(__pivot_pos); in __bitset_partition() 592 …const _RandomAccessIterator __begin = __first; // used for bounds checking, those are not moved ar… in __partition_with_equals_on_right() local 607 if (__begin == __first - difference_type(1)) { in __partition_with_equals_on_right() 614 __last != __begin, in __partition_with_equals_on_right() 637 __last != __begin, in __partition_with_equals_on_right() 644 if (__begin != __pivot_pos) { in __partition_with_equals_on_right() 645 *__begin = _Ops::__iter_move(__pivot_pos); in __partition_with_equals_on_right() [all …]
|
| H A D | for_each_segment.h | 44 __func(_Traits::__begin(__sfirst), _Traits::__end(__sfirst)); in __for_each_segment() 48 __func(_Traits::__begin(__sfirst), _Traits::__local(__last)); in __for_each_segment()
|
| /freebsd/contrib/llvm-project/libcxx/include/__cxx03/__algorithm/ |
| H A D | sort.h | 532 …const _RandomAccessIterator __begin = __first; // used for bounds checking, those are not moved ar… 556 __last != __begin, 605 if (__begin != __pivot_pos) { 606 *__begin = _Ops::__iter_move(__pivot_pos); 624 …const _RandomAccessIterator __begin = __first; // used for bounds checking, those are not moved ar… 639 if (__begin == __first - difference_type(1)) { 646 __last != __begin, 669 __last != __begin, 676 if (__begin != __pivot_pos) { 677 *__begin = _Ops::__iter_move(__pivot_pos); [all …]
|
| H A D | for_each_segment.h | 43 __func(_Traits::__begin(__sfirst), _Traits::__end(__sfirst)); in __for_each_segment() 47 __func(_Traits::__begin(__sfirst), _Traits::__local(__last)); in __for_each_segment()
|
| H A D | find_segment_if.h | 50 auto __liter = __pred(_Traits::__begin(__sfirst), _Traits::__end(__sfirst), __proj); in __find_segment_if() 57 …return _Traits::__compose(__sfirst, __pred(_Traits::__begin(__sfirst), _Traits::__local(__last), _… in __find_segment_if()
|
| H A D | move_backward.h | 61 …std::__move_backward<_AlgPolicy>(_Traits::__begin(__slast), _Traits::__local(__last), std::move(__… in operator() 66 …std::__move_backward<_AlgPolicy>(_Traits::__begin(__slast), _Traits::__end(__slast), std::move(__r… in operator() 93 auto __local_first = _Traits::__begin(__segment_iterator); in operator()
|
| H A D | copy_backward.h | 60 …std::__copy_backward<_AlgPolicy>(_Traits::__begin(__slast), _Traits::__local(__last), std::move(__… in operator() 65 …std::__copy_backward<_AlgPolicy>(_Traits::__begin(__slast), _Traits::__end(__slast), std::move(__r… in operator() 92 auto __local_first = _Traits::__begin(__segment_iterator); in operator()
|
| /freebsd/contrib/llvm-project/libcxx/include/__ranges/ |
| H A D | split_view.h | 68 auto [__begin, __end] = ranges::search(subrange(__it, ranges::end(__base_)), __pattern_); in __find_next() 69 if (__begin != ranges::end(__base_) && ranges::empty(__pattern_)) { in __find_next() 70 ++__begin; in __find_next() 73 return {__begin, __end}; in __find_next()
|