Home
last modified time | relevance | path

Searched refs:__buffer (Results 1 – 18 of 18) sorted by relevance

/openbsd-src/gnu/llvm/libcxx/include/__charconv/
H A Dto_chars_base_10.h110 _LIBCPP_CONSTEXPR_SINCE_CXX23 _LIBCPP_HIDE_FROM_ABI inline char* __base_10_u64(char* __buffer, uint… in __base_10_u64() argument
112 return __itoa::__base_10_u32(__buffer, static_cast<uint32_t>(__value)); in __base_10_u64()
118 __buffer = __itoa::__base_10_u32(__buffer, static_cast<uint32_t>(__value / 10000000000)); in __base_10_u64()
121 return __itoa::__append10(__buffer, __value); in __base_10_u64()
137 _LIBCPP_CONSTEXPR_SINCE_CXX23 _LIBCPP_HIDE_FROM_ABI inline char* __base_10_u128(char* __buffer, __u… in __base_10_u128() argument
153 __buffer = __itoa::__append1(__buffer, static_cast<uint32_t>(__value / __itoa::__pow_10(38))); in __base_10_u128()
158 __buffer = __itoa::__append9(__buffer, static_cast<uint32_t>(__value / __itoa::__pow_10(29))); in __base_10_u128()
160 __buffer = __itoa::__append10(__buffer, static_cast<uint64_t>(__value / __itoa::__pow_10(19))); in __base_10_u128()
166 __buffer = __base_10_u64(__buffer, static_cast<uint64_t>(__value / __itoa::__pow_10(19))); in __base_10_u128()
171 __buffer = __itoa::__append9(__buffer, static_cast<uint32_t>(__value / 10000000000)); in __base_10_u128()
[all …]
/openbsd-src/gnu/llvm/libcxx/include/__format/
H A Dformatter_floating_point.h230 _LIBCPP_HIDE_FROM_ABI __float_result __format_buffer_default(const __float_buffer<_Fp>& __buffer, _…
234 __result.__last = __formatter::__to_buffer(__integral, __buffer.end(), __value);
259 …FROM_ABI __float_result __format_buffer_hexadecimal_lower_case(const __float_buffer<_Fp>& __buffer,
265 …__result.__last = __formatter::__to_buffer(__integral, __buffer.end(), __value, chars_format::hex);
267 …__result.__last = __formatter::__to_buffer(__integral, __buffer.end(), __value, chars_format::hex,…
312 …FROM_ABI __float_result __format_buffer_hexadecimal_upper_case(const __float_buffer<_Fp>& __buffer,
316 … __formatter::__format_buffer_hexadecimal_lower_case(__buffer, __value, __precision, __integral);
323 …_FROM_ABI __float_result __format_buffer_scientific_lower_case(const __float_buffer<_Fp>& __buffer,
329 …__formatter::__to_buffer(__integral, __buffer.end(), __value, chars_format::scientific, __precisio…
351 …_FROM_ABI __float_result __format_buffer_scientific_upper_case(const __float_buffer<_Fp>& __buffer,
[all …]
H A Dformat_functions.h398 __format::__format_buffer<_OutIt, _CharT> __buffer{_VSTD::move(__out_it)}; in requires()
400 … _VSTD::__format_context_create(__buffer.__make_output_iterator(), __args)); in requires()
401 return _VSTD::move(__buffer).__out_it(); in requires()
472 __format::__format_to_n_buffer<_OutIt, _CharT> __buffer{_VSTD::move(__out_it), __n}; in __vformat_to_n()
474 … _VSTD::__format_context_create(__buffer.__make_output_iterator(), __args)); in __vformat_to_n()
475 return _VSTD::move(__buffer).__result(); in __vformat_to_n()
495 __format::__formatted_size_buffer<_CharT> __buffer; in __vformatted_size() local
497 … _VSTD::__format_context_create(__buffer.__make_output_iterator(), __args)); in __vformatted_size()
498 return _VSTD::move(__buffer).__result(); in __vformatted_size()
527 __format::__format_buffer<_OutIt, _CharT> __buffer{_VSTD::move(__out_it)}; in requires()
[all …]
H A Drange_formatter.h140 __format::__retarget_buffer<_CharT> __buffer{__capacity_hint}; in format()
142 __buffer.__make_output_iterator(), __ctx}; in format()
146 return __formatter::__write_string_no_precision(__buffer.__view(), __ctx.out(), __specs); in format()
H A Dformatter_output.h400 char __buffer[8]; in __write_escaped_code_unit() local
401 to_chars_result __r = std::to_chars(std::begin(__buffer), std::end(__buffer), __value, 16); in __write_escaped_code_unit()
403 std::ranges::copy(std::begin(__buffer), __r.ptr, __out_it); in __write_escaped_code_unit()
H A Dbuffer.h521 _LIBCPP_HIDE_FROM_ABI constexpr explicit __iterator(__retarget_buffer& __buffer)
522 : __buffer_(std::addressof(__buffer)) {}
/openbsd-src/gnu/llvm/libcxx/include/__memory_resource/
H A Dmonotonic_buffer_resource.h59 _LIBCPP_HIDE_FROM_ABI monotonic_buffer_resource(void* __buffer, size_t __buffer_size) in monotonic_buffer_resource() argument
60 : monotonic_buffer_resource(__buffer, __buffer_size, get_default_resource()) {} in monotonic_buffer_resource()
68 …_LIBCPP_HIDE_FROM_ABI monotonic_buffer_resource(void* __buffer, size_t __buffer_size, memory_resou… in monotonic_buffer_resource() argument
70 __initial_.__start_ = static_cast<char*>(__buffer); in monotonic_buffer_resource()
71 if (__buffer != nullptr) { in monotonic_buffer_resource()
72 __initial_.__cur_ = static_cast<char*>(__buffer) + __buffer_size; in monotonic_buffer_resource()
73 __initial_.__end_ = static_cast<char*>(__buffer) + __buffer_size; in monotonic_buffer_resource()
/openbsd-src/gnu/gcc/libstdc++-v3/config/io/
H A Dbasic_file_stdio.cc362 struct stat64 __buffer; in showmanyc() local
363 const int __err = fstat64(this->fd(), &__buffer); in showmanyc()
364 if (!__err && _GLIBCXX_ISREG(__buffer.st_mode)) in showmanyc()
366 const streamoff __off = __buffer.st_size - lseek64(this->fd(), 0, in showmanyc()
371 struct stat __buffer; in showmanyc() local
372 const int __err = fstat(this->fd(), &__buffer); in showmanyc()
373 if (!__err && _GLIBCXX_ISREG(__buffer.st_mode)) in showmanyc()
374 return __buffer.st_size - lseek(this->fd(), 0, ios_base::cur); in showmanyc()
/openbsd-src/gnu/lib/libstdc++/libstdc++/config/io/
H A Dbasic_file_stdio.cc244 struct stat __buffer; in showmanyc_helper() local
245 int __ret = fstat(this->fd(), &__buffer); in showmanyc_helper()
246 if (!__ret && _GLIBCPP_ISREG(__buffer.st_mode)) in showmanyc_helper()
247 return __buffer.st_size - ftell(_M_cfile); in showmanyc_helper()
/openbsd-src/gnu/lib/libstdc++/libstdc++/include/bits/
H A Dstl_algo.h1799 _Pointer __buffer, in __stable_partition_adaptive() argument
1804 _Pointer __result2 = __buffer; in __stable_partition_adaptive()
1814 copy(__buffer, __result2, __result1); in __stable_partition_adaptive()
1823 __buffer, __buffer_size); in __stable_partition_adaptive()
1827 __buffer, __buffer_size); in __stable_partition_adaptive()
2334 _Pointer __buffer) in __merge_sort_with_buffer() argument
2339 _Pointer __buffer_last = __buffer + __len; in __merge_sort_with_buffer()
2345 __merge_sort_loop(__first, __last, __buffer, __step_size); in __merge_sort_with_buffer()
2347 __merge_sort_loop(__buffer, __buffer_last, __first, __step_size); in __merge_sort_with_buffer()
2355 _Pointer __buffer, _Compare __comp) in __merge_sort_with_buffer() argument
[all …]
/openbsd-src/gnu/gcc/libstdc++-v3/include/ext/
H A Dropeimpl.h850 _Rope_flatten_char_consumer(_CharT* __buffer) in _Rope_flatten_char_consumer() argument
851 { _M_buf_ptr = __buffer; }; in _Rope_flatten_char_consumer()
966 _CharT* __buffer = in _S_apply_to_pieces() local
970 (*(__f->_M_fn))(__begin, __len, __buffer); in _S_apply_to_pieces()
971 __result = __c(__buffer, __len); in _S_apply_to_pieces()
972 _Alloc().deallocate(__buffer, __len * sizeof(_CharT)); in _S_apply_to_pieces()
976 _Alloc().deallocate(__buffer, __len * sizeof(_CharT)); in _S_apply_to_pieces()
1053 _CharT* __buffer) in _S_flatten() argument
1055 _Rope_flatten_char_consumer<_CharT> __c(__buffer); in _S_flatten()
1057 return(__buffer + __len); in _S_flatten()
[all …]
H A Drope145 _CharT* __buffer) = 0;
308 operator()(const _CharT* __buffer, size_t __len) = 0;
831 _CharT* __buffer)
840 (*__fn)(__start_pos + _M_start, __req_len, __buffer);
848 __buffer);
1702 // Returns __buffer + __r->_M_size.
1704 static _CharT* _S_flatten(_RopeRep* __r, _CharT* __buffer);
1710 _CharT* __buffer);
1918 copy(_CharT* __buffer) const
1920 _Destroy(__buffer, __buffer + size(), get_allocator());
[all …]
/openbsd-src/gnu/lib/libstdc++/libstdc++/include/ext/
H A Dropeimpl.h781 _Rope_flatten_char_consumer(_CharT* __buffer) { in _Rope_flatten_char_consumer() argument
782 _M_buf_ptr = __buffer; in _Rope_flatten_char_consumer()
877 _CharT* __buffer = in _S_apply_to_pieces() local
880 (*(__f->_M_fn))(__begin, __len, __buffer); in _S_apply_to_pieces()
881 __result = __c(__buffer, __len); in _S_apply_to_pieces()
882 __alloc::deallocate(__buffer, __len * sizeof(_CharT)); in _S_apply_to_pieces()
886 __alloc::deallocate(__buffer, __len * sizeof(_CharT)); in _S_apply_to_pieces()
951 _CharT* __buffer) in _S_flatten() argument
953 _Rope_flatten_char_consumer<_CharT> __c(__buffer); in _S_flatten()
955 return(__buffer + __len); in _S_flatten()
[all …]
H A Dstl_rope.h114 _CharT* __buffer) = 0;
231 virtual bool operator()(const _CharT* __buffer, size_t __len) = 0;
689 _CharT* __buffer) { in operator()
696 (*__fn)(__start_pos + _M_start, __req_len, __buffer); in operator()
704 __buffer); in operator()
1461 static _CharT* _S_flatten(_RopeRep* __r, _CharT* __buffer);
1467 _CharT* __buffer);
1665 void copy(_CharT* __buffer) const {
1666 _Destroy(__buffer, __buffer + size());
1667 _S_flatten(_M_tree_ptr, __buffer);
[all …]
/openbsd-src/gnu/gcc/libstdc++-v3/include/bits/
H A Dstl_algo.h2151 _Pointer __buffer, in __stable_partition_adaptive() argument
2157 _Pointer __result2 = __buffer; in __stable_partition_adaptive()
2169 std::copy(__buffer, __result2, __result1); in __stable_partition_adaptive()
2178 __len / 2, __buffer, in __stable_partition_adaptive()
2183 __buffer, __buffer_size); in __stable_partition_adaptive()
3413 _Pointer __buffer) in __merge_sort_with_buffer() argument
3419 const _Pointer __buffer_last = __buffer + __len; in __merge_sort_with_buffer()
3426 std::__merge_sort_loop(__first, __last, __buffer, __step_size); in __merge_sort_with_buffer()
3428 std::__merge_sort_loop(__buffer, __buffer_last, __first, __step_size); in __merge_sort_with_buffer()
3437 _Pointer __buffer, _Compare __comp) in __merge_sort_with_buffer() argument
[all …]
/openbsd-src/gnu/lib/libstdc++/libstdc++/include/backward/
H A Ddefalloc.h80 inline void deallocate(_Tp* __buffer) { in deallocate() argument
81 ::operator delete(__buffer); in deallocate()
/openbsd-src/gnu/gcc/libstdc++-v3/include/backward/
H A Ddefalloc.h80 inline void deallocate(_Tp* __buffer) { in deallocate() argument
81 ::operator delete(__buffer); in deallocate()
/openbsd-src/gnu/llvm/libcxx/include/experimental/
H A Dsimd1437 simd(const _Up* __buffer, _Flags) {
1440 (*this)[__i] = static_cast<_Tp>(__buffer[__i]);
1448 copy_from(const _Up* __buffer, _Flags) {
1449 *this = simd(__buffer, _Flags());
1456 copy_to(_Up* __buffer, _Flags) const {
1459 __buffer[__i] = static_cast<_Up>((*this)[__i]);