Home
last modified time | relevance | path

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

12

/freebsd-14.2/contrib/llvm-project/libcxx/include/__format/
H A Dformat_string.h70 return {__begin, uint32_t(__value)}; in __parse_automatic()
101 _Iterator __end = __end_input - __begin > 9 ? __begin + 9 : __end_input; in __parse_number()
102 uint32_t __value = *__begin - _CharT('0'); in __parse_number()
103 while (++__begin != __end) { in __parse_number()
104 if (*__begin < _CharT('0') || *__begin > _CharT('9')) in __parse_number()
105 return {__begin, __value}; in __parse_number()
110 if (__begin != __end_input && *__begin >= _CharT('0') && *__begin <= _CharT('9')) { in __parse_number()
118 …if (__v > __number_max || (__begin != __end_input && *__begin >= _CharT('0') && *__begin <= _CharT… in __parse_number()
124 return {__begin, __value}; in __parse_number()
137 switch (*__begin) { in __parse_arg_id()
[all …]
H A Dparser_std_format_spec.h365 if (__parse_sign(__begin) && __begin == __end)
415 if (__begin != __end && *__begin != _CharT('}'))
619 ++__begin;
645 ++__begin;
672 ++__begin;
693 ++__begin;
703 ++__begin;
714 ++__begin;
731 if (*__begin < _CharT('0') || *__begin > _CharT('9'))
748 ++__begin;
[all …]
H A Drange_formatter.h78 ++__begin; in parse()
79 } else if (__begin != __end && *__begin != _CharT('}')) in parse()
97 if (__begin != __end && *__begin != _CharT('}')) in parse()
117 return __begin; in parse()
214 switch (*__begin) { in __parse_type()
219 ++__begin; in __parse_type()
227 ++__begin; in __parse_type()
233 ++__begin; in __parse_type()
234 if (__begin == __end || *__begin != _CharT('s')) in __parse_type()
238 ++__begin; in __parse_type()
[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.h292 __begin = __parse_ctx.begin(); in __handle_replacement_field()
293 if (__begin == __end || *__begin != _CharT('}')) in __handle_replacement_field()
296 return ++__begin; in __handle_replacement_field()
307 while (__begin != __end) { in __vformat_to()
308 switch (*__begin) { in __vformat_to()
310 ++__begin; in __vformat_to()
311 if (__begin == __end) in __vformat_to()
316 __begin = __format::__handle_replacement_field(__begin, __end, __parse_ctx, __ctx); in __vformat_to()
327 ++__begin; in __vformat_to()
328 if (__begin == __end || *__begin != _CharT('}')) in __vformat_to()
[all …]
H A Dbuffer.h239 _LIBCPP_HIDE_FROM_ABI _CharT* __begin() { return __buffer_; } in __begin() function
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-14.2/contrib/llvm-project/libcxx/include/__chrono/
H A Dparser_std_format_spec.h149 return __begin; in __parse()
167 if (*__begin != _CharT('%') && *__begin != _CharT('}')) in __parse_chrono_specs()
176 return __begin; in __parse_chrono_specs()
184 ++__begin; in __parse_chrono_specs()
187 } while (__begin != __end && *__begin != _CharT('}')); in __parse_chrono_specs()
189 return __begin; in __parse_chrono_specs()
196 ++__begin; in __parse_conversion_spec()
200 switch (*__begin) { in __parse_conversion_spec()
312 ++__begin; in __parse_modifier_E()
316 switch (*__begin) { in __parse_modifier_E()
[all …]
/freebsd-14.2/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) noexc… in __simd_first() argument
70 while (__end - __begin >= __block_size) { in __simd_first()
72 …_PSTL_PRAGMA_SIMD_REDUCTION(| : __found) for (_DifferenceType __i = __begin; __i < __begin + __blo… in __simd_first()
74 __lane[__i - __begin] = __t; in __simd_first()
85 return __first + __begin + __i; in __simd_first()
87 __begin += __block_size; in __simd_first()
91 while (__begin != __end) { in __simd_first()
92 if (__comp(__first, __begin)) { in __simd_first()
93 return __first + __begin; in __simd_first()
95 ++__begin; in __simd_first()
/freebsd-14.2/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…
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-14.2/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-14.2/contrib/llvm-project/libcxx/include/__iterator/
H A Dbounded_iter.h82 _Iterator __current, _Iterator __begin, _Iterator __end) in __bounded_iter()
83 : __current_(__current), __begin_(__begin), __end_(__end) { in __bounded_iter()
84 …_LIBCPP_ASSERT_INTERNAL(__begin <= __end, "__bounded_iter(current, begin, end): [begin, end) is no… in __bounded_iter()
212 …M_ABI _LIBCPP_CONSTEXPR __bounded_iter<_It> __make_bounded_iter(_It __it, _It __begin, _It __end) { in __make_bounded_iter() argument
213 return __bounded_iter<_It>(std::move(__it), std::move(__begin), std::move(__end)); in __make_bounded_iter()
/freebsd-14.2/contrib/llvm-project/libcxx/include/__algorithm/
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 Dsort.h564 __last != __begin,
613 if (__begin != __pivot_pos) {
614 *__begin = _Ops::__iter_move(__pivot_pos);
654 __last != __begin,
677 __last != __begin,
684 if (__begin != __pivot_pos) {
685 *__begin = _Ops::__iter_move(__pivot_pos);
722 __last != __begin,
737 __last != __begin,
743 if (__begin != __pivot_pos) {
[all …]
H A Dfind_segment_if.h50 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 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()
H A Dcopy.h94 __local_first = _Traits::__begin(++__segment_iterator); in operator()
H A Dmove.h95 __local_first = _Traits::__begin(++__segment_iterator); in operator()
/freebsd-14.2/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 {
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-14.2/contrib/llvm-project/libcxx/include/__memory/
H A Duninitialized_algorithms.h483 _BidirIter __begin = __it; in __uninitialized_allocator_fill_n_multidimensional() local
487 …xception_guard([&]() { std::__allocator_destroy_multidimensional(__value_alloc, __begin, __it); }); in __uninitialized_allocator_fill_n_multidimensional()
501 _BidirIter __begin = __it; in __uninitialized_allocator_value_construct_n_multidimensional() local
505 …xception_guard([&]() { std::__allocator_destroy_multidimensional(__value_alloc, __begin, __it); }); in __uninitialized_allocator_value_construct_n_multidimensional()
/freebsd-14.2/contrib/llvm-project/libcxx/include/
H A Dstring_view323 constexpr _LIBCPP_HIDE_FROM_ABI basic_string_view(_It __begin, _End __end)
324 : __data_(std::to_address(__begin)), __size_(__end - __begin) {
326 …(__end - __begin) >= 0, "std::string_view::string_view(iterator, sentinel) received invalid range"…
H A Dstring1776 …static _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 void __begin_lifetime(pointer __begin, …
1780 std::construct_at(std::addressof(__begin[__i]));
1783 (void)__begin;
1892 const void* __begin = data();
1895 __sanitizer_annotate_contiguous_container(__begin, __end, __old_mid, __new_mid);

12