/llvm-project/libcxx/include/__format/ |
H A D | formatter_floating_point.h | 238 __format_buffer_default(const __float_buffer<_Fp>& __buffer, _Tp __value, char* __integral) { 241 __result.__last = __formatter::__to_buffer(__integral, __buffer.end(), __value); 267 const __float_buffer<_Fp>& __buffer, _Tp __value, int __precision, char* __integral) { 271 __result.__last = __formatter::__to_buffer(__integral, __buffer.end(), __value, chars_format::hex); 273 __result.__last = __formatter::__to_buffer(__integral, __buffer.end(), __value, chars_format::hex, __precision); 319 const __float_buffer<_Fp>& __buffer, _Tp __value, int __precision, char* __integral) { 321 __formatter::__format_buffer_hexadecimal_lower_case(__buffer, __value, __precision, __integral); 329 const __float_buffer<_Fp>& __buffer, _Tp __value, int __precision, char* __integral) { 333 __formatter::__to_buffer(__integral, __buffer.end(), __value, chars_format::scientific, __precision); 356 const __float_buffer<_Fp>& __buffer, _T [all...] |
H A D | format_functions.h | 413 typename __format::__buffer_selector<_OutIt, _CharT>::type __buffer{std::move(__out_it)}; in requires() 415 std::__format_context_create(__buffer.__make_output_iterator(), __args)); in requires() 416 return std::move(__buffer).__out_it(); in requires() 454 __format::__allocating_buffer<char> __buffer; in vformat() 455 std::vformat_to(__buffer.__make_output_iterator(), __fmt, __args); in vformat() 456 return string{__buffer.__view()}; in vformat() 465 __format::__allocating_buffer<wchar_t> __buffer; in vformat() 466 std::vformat_to(__buffer.__make_output_iterator(), __fmt, __args); in vformat() 467 return wstring{__buffer.__view()}; in vformat() 491 __format::__format_to_n_buffer<_OutIt, _CharT> __buffer{st in __vformat_to_n() 514 __format::__formatted_size_buffer<_CharT> __buffer; __vformatted_size() local 651 __format::__formatted_size_buffer<_CharT> __buffer; __vformatted_size() local [all...] |
H A D | write_escaped.h | 75 char __buffer[8]; in __write_escaped_code_unit() local 76 to_chars_result __r = std::to_chars(std::begin(__buffer), std::end(__buffer), __value, 16); in __write_escaped_code_unit() 78 std::ranges::copy(std::begin(__buffer), __r.ptr, __out_it); in __write_escaped_code_unit()
|
H A D | formatter_tuple.h | 107 __format::__retarget_buffer<_CharT> __buffer{8 * tuple_size_v<_Tuple>}; in format() 109 __buffer.__make_output_iterator(), __ctx}; in format() 113 return __formatter::__write_string_no_precision(basic_string_view{__buffer.__view()}, __ctx.out(), __specs); in format()
|
H A D | range_formatter.h | 144 __format::__retarget_buffer<_CharT> __buffer{__capacity_hint}; in format() 146 __buffer.__make_output_iterator(), __ctx}; in format() 150 return __formatter::__write_string_no_precision(__buffer.__view(), __ctx.out(), __specs); in format()
|
H A D | buffer.h | 128 /// __output_buffer<_CharT>& __buffer, size_t __code_units); in __copy() 135 /// - The __buffer contains *this. Since the class containing this function 404 _LIBCPP_HIDE_FROM_ABI static void __prepare_write(__output_buffer<_CharT>& __buffer, size_t __size_hint) { 405 static_cast<__allocating_buffer<_CharT>&>(__buffer).__prepare_write(__size_hint); 433 __prepare_write([[maybe_unused]] __output_buffer<_CharT>& __buffer, [[maybe_unused]] size_t __size_hint) { 471 __prepare_write(__output_buffer<_CharT>& __buffer, [[maybe_unused]] size_t __size_hint) { 472 static_cast<__container_inserter_buffer<_OutIt, _CharT>&>(__buffer).__prepare_write(); 554 __prepare_write([[maybe_unused]] __output_buffer<_CharT>& __buffer, [[maybe_unused]] size_t __size_hint) { 590 _LIBCPP_HIDE_FROM_ABI constexpr explicit __iterator(__retarget_buffer& __buffer) 591 : __buffer_(std::addressof(__buffer)) {} [all...] |
/llvm-project/libcxx/include/__charconv/ |
H A D | to_chars_base_10.h | 113 __base_10_u64(char* __buffer, uint64_t __value) noexcept { in __base_10_u64() argument 115 return __itoa::__base_10_u32(__buffer, static_cast<uint32_t>(__value)); in __base_10_u64() 121 __buffer = __itoa::__base_10_u32(__buffer, static_cast<uint32_t>(__value / 10000000000)); in __base_10_u64() 124 return __itoa::__append10(__buffer, __value); in __base_10_u64() 141 __base_10_u128(char* __buffer, __uint128_t __value) noexcept { in __base_10_u128() argument 157 __buffer = __itoa::__append1(__buffer, static_cast<uint32_t>(__value / __itoa::__pow_10(38))); in __base_10_u128() 162 __buffer = __itoa::__append9(__buffer, static_cas in __base_10_u128() [all...] |
/llvm-project/libcxx/include/__memory_resource/ |
H A D | monotonic_buffer_resource.h | 58 _LIBCPP_HIDE_FROM_ABI monotonic_buffer_resource(void* __buffer, size_t __buffer_size) in monotonic_buffer_resource() 59 : monotonic_buffer_resource(__buffer, __buffer_size, get_default_resource()) {} in monotonic_buffer_resource() 67 _LIBCPP_HIDE_FROM_ABI monotonic_buffer_resource(void* __buffer, size_t __buffer_size, memory_resource* __upstream) in monotonic_buffer_resource() 69 __initial_.__start_ = static_cast<char*>(__buffer); 70 if (__buffer != nullptr) { in monotonic_buffer_resource() argument 71 __initial_.__cur_ = static_cast<char*>(__buffer) + __buffer_size; in monotonic_buffer_resource() 72 __initial_.__end_ = static_cast<char*>(__buffer) + __buffer_size; in monotonic_buffer_resource() 61 monotonic_buffer_resource(void * __buffer,size_t __buffer_size) monotonic_buffer_resource() argument
|
/llvm-project/libcxx/src/ |
H A D | ostream.cpp | 30 if (auto* __buffer = dynamic_cast<filebuf*>(__rdbuf)) in __get_ostream_file() local 31 return __buffer->__file_; in __get_ostream_file() 34 if (auto* __buffer = dynamic_cast<__stdoutbuf<char>*>(__rdbuf)) in __get_ostream_file() local 35 return __buffer->__file_; in __get_ostream_file()
|
/llvm-project/pstl/include/pstl/internal/omp/ |
H A D | util.h | 55 class __buffer 60 __buffer(const __buffer&) = delete; 62 operator=(const __buffer&) = delete; 65 …__buffer(std::size_t __n) : __allocator_(), __ptr_(__allocator_.allocate(__n)), __buf_size_(__n) {} in __buffer() function 74 ~__buffer() { __allocator_.deallocate(__ptr_, __buf_size_); } in ~__buffer()
|
H A D | parallel_scan.h | 81 __buffer<_Tp> __buf(__m + 1); in __parallel_strict_scan_body()
|
/llvm-project/pstl/include/pstl/internal/ |
H A D | parallel_backend_serial.h | 29 class __buffer 34 __buffer(const __buffer&) = delete; 36 operator=(const __buffer&) = delete; 39 …__buffer(std::size_t __n) : __allocator_(), __ptr_(__allocator_.allocate(__n)), __buf_size_(__n) {} in __buffer() function 47 ~__buffer() { __allocator_.deallocate(__ptr_, __buf_size_); } in ~__buffer()
|
H A D | parallel_backend_tbb.h | 46 class __buffer 51 __buffer(const __buffer&) = delete; 53 operator=(const __buffer&) = delete; 57 __buffer(std::size_t n) : _M_allocator(), _M_ptr(_M_allocator.allocate(n)), _M_buf_size(n) {} in __buffer() function 67 ~__buffer() { _M_allocator.deallocate(_M_ptr, _M_buf_size); } in ~__buffer() 370 __buffer<_Tp> __buf(__m + 1); in __parallel_strict_scan() 1174 __buffer<_ValueType> __buf(__n);
|
H A D | algorithm_impl.h | 1132 __par_backend::__buffer<bool> __mask_buf(__n); in __pattern_copy_if() 1245 __par_backend::__buffer<bool> __mask_buf(__n); in __remove_elements() 1282 __par_backend::__buffer<_Tp> __buf(__n); in __remove_elements() 1414 __par_backend::__buffer<bool> __mask_buf(__n); in __pattern_unique_copy() 1655 __par_backend::__buffer<_Tp> __buf(__n - __m); in __pattern_rotate() 1680 __par_backend::__buffer<_Tp> __buf(__m); in __pattern_rotate() 2148 __par_backend::__buffer<bool> __mask_buf(__n); in __pattern_partition_copy() 2326 __par_backend::__buffer<_T1> __buf(__n1); in __pattern_partial_sort_copy() 2791 __par_backend::__buffer<_Tp> __buf(__n); in __pattern_inplace_merge() 2922 __par_backend::__buffer<_Tp> __buf(__size_func(__n1, __n2)); in __parallel_set_op() [all …]
|
/llvm-project/libcxx/include/__utility/ |
H A D | small_buffer.h | 85 _Stored* __buffer = __alloc<_Stored>(); in __construct() 87 std::construct_at(__buffer, std::forward<_Args>(__args)...); in __construct() 83 _Stored* __buffer = __alloc<_Stored>(); __construct() local
|
/llvm-project/llvm/test/CodeGen/X86/ |
H A D | sjlj-eh.ll | 31 ; +08 uint32_t __buffer[4]; -56(%ebp) 78 ; +12 uint32_t __buffer[4]; -300(%rbp)
|
/llvm-project/libcxx/include/ |
H A D | print | 269 __format::__retarget_buffer<wchar_t> __buffer{__str.size()}; 270 __unicode::__transcode(__str.begin(), __str.end(), __buffer.__make_output_iterator()); 272 __buffer.push_back(L'\n'); 274 [[maybe_unused]] wstring_view __view = __buffer.__view();
|