Searched refs:__begin (Results 1 - 23 of 23) sorted by relevance

/freebsd-current/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) { argument
61 return {++__begin, 0}; // can never be larger than the maximum.
66 __parse_automatic(_Iterator __begin, _Iterator, auto& __parse_ctx) { argument
70 return {__begin, uint32_t(__value)};
75 __parse_manual(_Iterator __begin, _Iterator __end, auto& __parse_ctx) { argument
76 __parse_number_result<_Iterator> __r = __format::__parse_number(__begin, __end);
91 __parse_number(_Iterator __begin, _Iterator __end_input) { argument
101 _Iterator __end = __end_input - __begin > 9 ? __begin
135 __parse_arg_id(_Iterator __begin, _Iterator __end, auto& __parse_ctx) argument
[all...]
H A Dparser_std_format_spec.h68 __parse_arg_id(_Iterator __begin, _Iterator __end, _ParseContext& __ctx) { argument
72 if (__begin == __end)
75 __format::__parse_number_result __r = __format::__parse_arg_id(__begin, __end, __ctx);
356 auto __begin = __ctx.begin(); local
358 if (__begin == __end)
359 return __begin;
361 if (__parse_fill_align(__begin, __end, __fields.__use_range_fill_) && __begin == __end)
362 return __begin;
365 if (__parse_sign(__begin)
654 __parse_fill_align(_Iterator& __begin, _Iterator __end, bool __use_range_fill) argument
679 __parse_sign(_Iterator& __begin) argument
698 __parse_alternate_form(_Iterator& __begin) argument
708 __parse_zero_padding(_Iterator& __begin) argument
719 __parse_width(_Iterator& __begin, _Iterator __end, auto& __ctx) argument
744 __parse_precision(_Iterator& __begin, _Iterator __end, auto& __ctx) argument
771 __parse_locale_specific_form(_Iterator& __begin) argument
781 __parse_clear_brackets(_Iterator& __begin) argument
791 __parse_type(_Iterator& __begin) argument
[all...]
H A Drange_formatter.h57 auto __begin = __parser_.__parse(__ctx, __format_spec::__fields_range); local
59 // Note the cases where __begin == __end in this code only happens when the
63 if (__begin == __end) [[unlikely]]
64 return __parse_empty_range_underlying_spec(__ctx, __begin);
68 __parse_type(__begin, __end);
71 if (__begin == __end) [[unlikely]]
72 return __parse_empty_range_underlying_spec(__ctx, __begin);
74 bool __has_range_underlying_spec = *__begin == _CharT(':');
78 ++__begin;
79 } else if (__begin !
213 __parse_type(_Iterator& __begin, _Iterator __end) argument
246 __parse_empty_range_underlying_spec(_ParseContext& __ctx, typename _ParseContext::iterator __begin) argument
[all...]
H A Dformatter_tuple.h51 auto __begin = __parser_.__parse(__ctx, __format_spec::__fields_tuple); local
57 else if (__begin != __end && *__begin == _CharT('m')) {
61 ++__begin;
66 if (__begin != __end && *__begin != _CharT('}'))
69 __ctx.advance_to(__begin);
83 return __begin;
H A Dformatter_integral.h216 _Iterator __begin,
222 int __size = (__first - __begin) + // [sign][prefix]
229 __out_it = __formatter::__copy(__begin, __first, std::move(__out_it));
244 __out_it = __formatter::__copy(__begin, __first, std::move(__out_it));
289 _Iterator __begin,
293 _Iterator __first = __formatter::__insert_sign(__begin, __negative, __specs.__std_.__sign_);
312 __begin,
322 __first = __begin;
329 __out_it = __formatter::__copy(__begin, __first, std::move(__out_it));
332 int32_t __size = __first - __begin;
214 __write_using_decimal_separators( _OutIt __out_it, _Iterator __begin, _Iterator __first, _Iterator __last, string&& __grouping, _CharT __sep, __format_spec::__parsed_specifications<_CharT> __specs) argument
284 __format_integer( _Tp __value, _FormatContext& __ctx, __format_spec::__parsed_specifications<_CharT> __specs, bool __negative, _Iterator __begin, _Iterator __end, const char* __prefix, int __base) argument
[all...]
H A Dformat_functions.h247 __handle_replacement_field(_Iterator __begin, _Iterator __end, _ParseCtx& __parse_ctx, _Ctx& __ctx) { argument
249 __format::__parse_number_result __r = __format::__parse_arg_id(__begin, __end, __parse_ctx);
292 __begin = __parse_ctx.begin();
293 if (__begin == __end || *__begin != _CharT('}'))
296 return ++__begin;
304 auto __begin = __parse_ctx.begin(); local
307 while (__begin != __end) {
308 switch (*__begin) {
310 ++__begin;
[all...]
H A Dbuffer.h239 _LIBCPP_HIDE_FROM_ABI _CharT* __begin() { return __buffer_; } function in class:__format::__internal_storage
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);
/freebsd-current/contrib/llvm-project/libcxx/include/__utility/
H A Dis_pointer_in_range.h36 const _Tp* __begin, const _Tp* __end, const _Up* __ptr) {
38 _LIBCPP_ASSERT_VALID_INPUT_RANGE(__builtin_constant_p(__begin <= __end), "__begin and __end do not form a range");
41 // [__begin, __end) is.
42 if (!__builtin_constant_p(__begin <= __ptr && __ptr < __end))
47 return !__less<>()(__ptr, __begin) && __less<>()(__ptr, __end);
52 const _Tp* __begin, const _Tp* __end, const _Up* __ptr) {
56 return reinterpret_cast<const char*>(__begin) <= reinterpret_cast<const char*>(__ptr) &&
/freebsd-current/contrib/llvm-project/libcxx/include/__chrono/
H A Dparser_std_format_spec.h146 _ConstIterator __begin = __parser_.__parse(__ctx, __fields); local
148 if (__begin == __end)
149 return __begin;
151 _ConstIterator __last = __parse_chrono_specs(__begin, __end, __flags);
152 __chrono_specs_ = basic_string_view<_CharT>{__begin, __last};
162 __parse_chrono_specs(_ConstIterator __begin, _ConstIterator __end, __flags __flags) { argument
163 _LIBCPP_ASSERT_INTERNAL(__begin != __end,
167 if (*__begin != _CharT('%') && *__begin != _CharT('}'))
171 switch (*__begin) {
195 __parse_conversion_spec(_ConstIterator& __begin, _ConstIterator __end, __flags __flags) argument
311 __parse_modifier_E(_ConstIterator& __begin, _ConstIterator __end, __flags __flags) argument
351 __parse_modifier_O(_ConstIterator& __begin, _ConstIterator __end, __flags __flags) argument
[all...]
/freebsd-current/contrib/llvm-project/libcxx/include/__algorithm/pstl_backends/cpu_backends/
H A Dfind_if.h66 __simd_first(_Index __first, _DifferenceType __begin, _DifferenceType __end, _Compare __comp) noexcept {
70 while (__end - __begin >= __block_size) {
72 _PSTL_PRAGMA_SIMD_REDUCTION(| : __found) for (_DifferenceType __i = __begin; __i < __begin + __block_size; ++__i) {
74 __lane[__i - __begin] = __t;
85 return __first + __begin + __i;
87 __begin += __block_size;
91 while (__begin != __end) {
92 if (__comp(__first, __begin)) {
93 return __first + __begin;
[all...]
/freebsd-current/contrib/llvm-project/libcxx/include/__algorithm/
H A Dfor_each_segment.h44 __func(_Traits::__begin(__sfirst), _Traits::__end(__sfirst));
48 __func(_Traits::__begin(__sfirst), _Traits::__local(__last));
H A Dfind_segment_if.h50 auto __liter = __pred(_Traits::__begin(__sfirst), _Traits::__end(__sfirst), __proj);
57 return _Traits::__compose(__sfirst, __pred(_Traits::__begin(__sfirst), _Traits::__local(__last), __proj));
H A Dcopy_backward.h63 std::__copy_backward<_AlgPolicy>(_Traits::__begin(__slast), _Traits::__local(__last), std::move(__result))
68 std::__copy_backward<_AlgPolicy>(_Traits::__begin(__slast), _Traits::__end(__slast), std::move(__result))
96 auto __local_first = _Traits::__begin(__segment_iterator);
H A Dmove_backward.h63 std::__move_backward<_AlgPolicy>(_Traits::__begin(__slast), _Traits::__local(__last), std::move(__result))
68 std::__move_backward<_AlgPolicy>(_Traits::__begin(__slast), _Traits::__end(__slast), std::move(__result))
96 auto __local_first = _Traits::__begin(__segment_iterator);
H A Dsort.h540 const _RandomAccessIterator __begin = __first; // used for bounds checking, those are not moved around local
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 around local
647 if (__begin == __first - difference_type(1)) {
654 __last != __begin,
677 __last != __begin,
684 if (__begin != __pivot_pos) {
685 *__begin
700 _RandomAccessIterator __begin = __first; // used for bounds checking, those are not moved around local
[all...]
H A Dcopy.h94 __local_first = _Traits::__begin(++__segment_iterator);
H A Dmove.h95 __local_first = _Traits::__begin(++__segment_iterator);
/freebsd-current/contrib/llvm-project/clang/lib/Headers/
H A Darm_cmse.h126 uintptr_t __begin = (uintptr_t)__pb; local
127 uintptr_t __end = __begin + __s - 1;
129 if (__end < __begin)
133 const int __single_check = (__begin ^ __end) < 0x20u;
/freebsd-current/contrib/llvm-project/libcxx/include/__iterator/
H A Dbounded_iter.h82 _Iterator __current, _Iterator __begin, _Iterator __end)
83 : __current_(__current), __begin_(__begin), __end_(__end) {
84 _LIBCPP_ASSERT_INTERNAL(__begin <= __end, "__bounded_iter(current, begin, end): [begin, end) is not a valid range");
212 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR __bounded_iter<_It> __make_bounded_iter(_It __it, _It __begin, _It __end) { argument
213 return __bounded_iter<_It>(std::move(__it), std::move(__begin), std::move(__end));
81 __bounded_iter( _Iterator __current, _Iterator __begin, _Iterator __end) argument
/freebsd-current/contrib/llvm-project/libcxx/include/__ranges/
H A Dsplit_view.h68 auto [__begin, __end] = ranges::search(subrange(__it, ranges::end(__base_)), __pattern_);
69 if (__begin != ranges::end(__base_) && ranges::empty(__pattern_)) {
70 ++__begin;
73 return {__begin, __end};
H A Daccess.h42 namespace __begin { namespace in namespace:ranges
88 } // namespace __begin
91 inline constexpr auto begin = __begin::__fn{};
H A Djoin_view.h402 static constexpr _LIBCPP_HIDE_FROM_ABI __local_iterator __begin(__segment_iterator __iter) {
/freebsd-current/contrib/llvm-project/libcxx/include/__memory/
H A Duninitialized_algorithms.h483 _BidirIter __begin = __it; local
487 std::__make_exception_guard([&]() { std::__allocator_destroy_multidimensional(__value_alloc, __begin, __it); });
501 _BidirIter __begin = __it; local
505 std::__make_exception_guard([&]() { std::__allocator_destroy_multidimensional(__value_alloc, __begin, __it); });

Completed in 198 milliseconds