/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, _Iterator __end); 59 __parse_zero(_Iterator __begin, _Iterator, auto& __parse_ctx) { 61 return {++__begin, 0}; // can never be larger than the maximum. in __parse_zero() 66 __parse_automatic(_Iterator __begin, _Iterator, auto& __parse_ctx) { 70 return {__begin, uint32_t(__value)}; in __parse_automatic() 75 __parse_manual(_Iterator __begin, _Iterator __end, auto& __parse_ctx) { 76 __parse_number_result<_Iterator> __r = __format::__parse_number(__begin, __end); 91 __parse_number(_Iterator __begin, _Iterator __end_input) { 101 _Iterator __end = __end_input - __begin > 9 ? __begin in __parse_number() 60 __parse_zero(_Iterator __begin,_Iterator,auto & __parse_ctx) __parse_zero() argument 67 __parse_automatic(_Iterator __begin,_Iterator,auto & __parse_ctx) __parse_automatic() argument 78 __parse_manual(_Iterator __begin,_Iterator __end,auto & __parse_ctx) __parse_manual() argument 94 __parse_number(_Iterator __begin,_Iterator __end_input) __parse_number() argument 143 __parse_arg_id(_Iterator __begin,_Iterator __end,auto & __parse_ctx) __parse_arg_id() argument [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() 59 // Note the cases where __begin == __end in this code only happens when the in parse() 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 ! in parse() 56 auto __begin = __parser_.__parse(__ctx, __format_spec::__fields_range); parse() local [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 | 216 _Iterator __begin, in __write_using_decimal_separators() argument 222 int __size = (__first - __begin) + // [sign][prefix] in __write_using_decimal_separators() 229 __out_it = __formatter::__copy(__begin, __first, std::move(__out_it)); in __write_using_decimal_separators() 244 __out_it = __formatter::__copy(__begin, __first, std::move(__out_it)); in __write_using_decimal_separators() 289 _Iterator __begin, in __format_integer() argument 293 _Iterator __first = __formatter::__insert_sign(__begin, __negative, __specs.__std_.__sign_); in __format_integer() 312 __begin, in __format_integer() 322 __first = __begin; in __format_integer() 329 __out_it = __formatter::__copy(__begin, __first, std::move(__out_it)); in __format_integer() 332 int32_t __size = __first - __begin; in __format_integer()
|
H A D | format_functions.h | 246 __handle_replacement_field(_Iterator __begin, _Iterator __end, _ParseCtx& __parse_ctx, _Ctx& __ctx)… in __handle_replacement_field() argument 248 __format::__parse_number_result __r = __format::__parse_arg_id(__begin, __end, __parse_ctx); in __handle_replacement_field() 291 __begin = __parse_ctx.begin(); in __handle_replacement_field() 292 if (__begin == __end || *__begin != _CharT('}')) in __handle_replacement_field() 295 return ++__begin; in __handle_replacement_field() 303 auto __begin = __parse_ctx.begin(); in __vformat_to() local 306 while (__begin != __end) { in __vformat_to() 307 switch (*__begin) { in __vformat_to() 309 ++__begin; in __vformat_to() 310 if (__begin == __end) in __vformat_to() [all …]
|
H A D | buffer.h | 239 _LIBCPP_HIDE_FROM_ABI _CharT* __begin() { return __buffer_; } 365 : __output_(__storage_.__begin(), __storage_.__buffer_size, this), __writer_(std::move(__out_it)) {} 404 __output_buffer<_CharT> __output_{__storage_.__begin(), __storage_.__buffer_size, this}; 426 __output_buffer<_CharT> __output_{__storage_.__begin(), __storage_.__buffer_size, this}; 450 __output_.__reset(__storage_.__begin(), __storage_.__buffer_size); 465 if (__size_ == 0 && __ptr != __storage_.__begin()) { 467 __output_.__reset(__storage_.__begin(), __storage_.__buffer_size); 237 _LIBCPP_HIDE_FROM_ABI _CharT* __begin() { return __buffer_; } __begin() function
|
/freebsd/contrib/llvm-project/libcxx/include/__chrono/ |
H A D | parser_std_format_spec.h | 146 _ConstIterator __begin = __parser_.__parse(__ctx, __fields); in __parse() local 148 if (__begin == __end) in __parse() 149 return __begin; in __parse() 151 _ConstIterator __last = __parse_chrono_specs(__begin, __end, __flags); in __parse() 152 __chrono_specs_ = basic_string_view<_CharT>{__begin, __last}; in __parse() 162 __parse_chrono_specs(_ConstIterator __begin, _ConstIterator __end, __flags __flags) { in __parse_chrono_specs() argument 163 _LIBCPP_ASSERT_INTERNAL(__begin != __end, in __parse_chrono_specs() 167 if (*__begin != _CharT('%') && *__begin != _CharT('}')) in __parse_chrono_specs() 171 switch (*__begin) { in __parse_chrono_specs() 196 __parse_conversion_spec(_ConstIterator & __begin,_ConstIterator __end,__flags __flags) __parse_conversion_spec() argument 312 __parse_modifier_E(_ConstIterator & __begin,_ConstIterator __end,__flags __flags) __parse_modifier_E() argument 352 __parse_modifier_O(_ConstIterator & __begin,_ConstIterator __end,__flags __flags) __parse_modifier_O() argument [all...] |
H A D | tzdb_list.h | 59 [[nodiscard]] _LIBCPP_HIDE_FROM_ABI const_iterator begin() const noexcept { return __begin(); } in begin() 72 [[nodiscard]] _LIBCPP_EXPORTED_FROM_ABI const_iterator __begin() const noexcept;
|
/freebsd/contrib/llvm-project/libcxx/include/__pstl/cpu_algos/ |
H A D | find_if.h | 67 __simd_first(_Index __first, _DifferenceType __begin, _DifferenceType __end, _Compare __comp) noexc… in __simd_first() argument 71 while (__end - __begin >= __block_size) { in __simd_first() 73 …_PSTL_PRAGMA_SIMD_REDUCTION(| : __found) for (_DifferenceType __i = __begin; __i < __begin + __blo… in __simd_first() 75 __lane[__i - __begin] = __t; in __simd_first() 86 return __first + __begin + __i; in __simd_first() 88 __begin += __block_size; in __simd_first() 92 while (__begin != __end) { in __simd_first() 93 if (__comp(__first, __begin)) { in __simd_first() 94 return __first + __begin; in __simd_first() 96 ++__begin; in __simd_first()
|
/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) &&
|
/freebsd/contrib/llvm-project/libcxx/include/__pstl/internal/ |
H A D | glue_memory_impl.h |
|
H A D | algorithm_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 | 359 sys_seconds __begin, in __get_sys_info_before_first_rule() argument 364 __begin, in __get_sys_info_before_first_rule() 375 sys_seconds __begin, in __get_sys_info_before_first_rule() argument 382 return __get_sys_info_before_first_rule(__begin, __rule_end, __continuation, __rules); in __get_sys_info_before_first_rule() 385 …__begin, __next_end, __continuation.__stdoff, 0min, chrono::__format(__continuation, __rule->__let… in __get_sys_info_before_first_rule() 531 …if (sys_seconds __begin = __rule->__save.__time != 0s ? __rule_begin : __next.first; __time < __be… in __get_sys_info_rule() local 532 if (__continuation_begin == sys_seconds::min() || __begin - __continuation_begin > 12h) in __get_sys_info_rule() 884 sys_seconds __begin = __sys_info->__info.begin - __sys_info->__info.offset; in __get_info() local 885 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/__iterator/ |
H A D | bounded_iter.h | 90 …_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() 259 …M_ABI _LIBCPP_CONSTEXPR __bounded_iter<_It> __make_bounded_iter(_It __it, _It __begin, _It __end) { in __make_bounded_iter() argument 260 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 | 540 …const _RandomAccessIterator __begin = __first; // used for bounds checking, those are not moved ar… 564 __last != __begin, 613 if (__begin != __pivot_pos) { 614 *__begin = _Ops::__iter_move(__pivot_pos); 632 …const _RandomAccessIterator __begin = __first; // used for bounds checking, those are not moved ar… 647 if (__begin == __first - difference_type(1)) { 654 __last != __begin, 677 __last != __begin, 684 if (__begin != __pivot_pos) { 685 *__begin = _Ops::__iter_move(__pivot_pos); [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()
|
H A D | copy_backward.h | 63 …std::__copy_backward<_AlgPolicy>(_Traits::__begin(__slast), _Traits::__local(__last), std::move(__… in operator() 68 …std::__copy_backward<_AlgPolicy>(_Traits::__begin(__slast), _Traits::__end(__slast), std::move(__r… in operator() 96 auto __local_first = _Traits::__begin(__segment_iterator); in operator()
|
H A D | move_backward.h | 63 …std::__move_backward<_AlgPolicy>(_Traits::__begin(__slast), _Traits::__local(__last), std::move(__… in operator() 68 …std::__move_backward<_AlgPolicy>(_Traits::__begin(__slast), _Traits::__end(__slast), std::move(__r… in operator() 96 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()
|
H A D | access.h | 42 namespace __begin { 90 inline constexpr auto begin = __begin::__fn{};
|
/freebsd/contrib/llvm-project/libcxx/src/experimental/include/tzdb/ |
H A D | tzdb_list_private.h | 76 const_iterator __begin() const noexcept { in __begin() function
|
/freebsd/contrib/llvm-project/libcxx/include/__memory/ |
H A D | uninitialized_algorithms.h | 482 _BidirIter __begin = __it; in __uninitialized_allocator_fill_n_multidimensional() local 486 …xception_guard([&]() { std::__allocator_destroy_multidimensional(__value_alloc, __begin, __it); }); in __uninitialized_allocator_fill_n_multidimensional() 500 _BidirIter __begin = __it; in __uninitialized_allocator_value_construct_n_multidimensional() local 504 …xception_guard([&]() { std::__allocator_destroy_multidimensional(__value_alloc, __begin, __it); }); in __uninitialized_allocator_value_construct_n_multidimensional()
|