Home
last modified time | relevance | path

Searched refs:__begin (Results 1 – 25 of 32) sorted by relevance

12

/freebsd/contrib/llvm-project/libcxx/include/__format/
H A Dformat_string.h41 _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 Dparser_std_format_spec.h68 __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 Drange_formatter.h57 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 Dformatter_tuple.h51 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 Dformatter_integral.h216 _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 Dformat_functions.h246 __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 Dbuffer.h239 _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 Dparser_std_format_spec.h146 _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 Dtzdb_list.h59 [[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 Dfind_if.h67 __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 Dis_pointer_in_range.h37 __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 Dglue_memory_impl.h
H A Dalgorithm_impl.h
/freebsd/contrib/llvm-project/libcxx/src/experimental/
H A Dtzdb_list.cpp27 [[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 Dtime_zone.cpp359 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 Darm_cmse.h126 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 Dbounded_iter.h90 …_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 Dsort.h540 …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 Dfor_each_segment.h44 __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 Dcopy_backward.h63 …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 Dmove_backward.h63 …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 Dsplit_view.h68 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 Daccess.h42 namespace __begin {
90 inline constexpr auto begin = __begin::__fn{};
/freebsd/contrib/llvm-project/libcxx/src/experimental/include/tzdb/
H A Dtzdb_list_private.h76 const_iterator __begin() const noexcept { in __begin() function
/freebsd/contrib/llvm-project/libcxx/include/__memory/
H A Duninitialized_algorithms.h482 _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()

12