Home
last modified time | relevance | path

Searched refs:__format (Results 1 – 25 of 27) sorted by relevance

12

/freebsd-14.2/contrib/llvm-project/libcxx/include/__format/
H A Dformat_arg.h40 namespace __format {
104 case __format::__arg_t::__none: in decltype()
106 case __format::__arg_t::__boolean: in decltype()
110 case __format::__arg_t::__int: in decltype()
114 case __format::__arg_t::__i128: in decltype()
124 case __format::__arg_t::__u128: in decltype()
130 case __format::__arg_t::__float: in decltype()
132 case __format::__arg_t::__double: in decltype()
140 case __format::__arg_t::__ptr: in decltype()
142 case __format::__arg_t::__handle: in decltype()
[all …]
H A Dformat_functions.h81 namespace __format {
249 __format::__parse_number_result __r = __format::__parse_arg_id(__begin, __end, __parse_ctx); in __handle_replacement_field()
385 static constexpr array<__format::__arg_t, sizeof...(_Args)> __types_{
390 __format::__compile_time_handle<_CharT> __handle;
391 if (__format::__determine_arg_t<_Context, _Tp>() == __format::__arg_t::__handle)
412 return std::__format::__vformat_to( in requires()
516 __format::__formatted_size_buffer<_CharT> __buffer; in __vformatted_size()
550 std::__format::__vformat_to( in requires()
629 std::__format::__vformat_to( in __vformat_to_n()
653 __format::__formatted_size_buffer<_CharT> __buffer; in __vformatted_size()
[all …]
H A Dformat_arg_store.h32 namespace __format {
214 basic_format_arg<_Context> __arg = __format::__create_format_arg<_Context>(__args); in __create_packed_storage()
228 ([&] { *__data++ = __format::__create_format_arg<_Context>(__args); }(), ...); in __store_basic_format_arg()
248 if constexpr (__format::__use_packed_format_arg_store(sizeof...(_Args))) in __format_arg_store()
249 __format::__create_packed_storage(__storage.__types_, __storage.__values_, __args...); in __format_arg_store()
251 __format::__store_basic_format_arg<_Context>(__storage.__args_, __args...); in __format_arg_store()
256 conditional_t<__format::__use_packed_format_arg_store(sizeof...(_Args)),
257 __format::__packed_format_arg_store<_Context, sizeof...(_Args)>,
258 __format::__unpacked_format_arg_store<_Context, sizeof...(_Args)>>;
H A Dformat_args.h38 if constexpr (__format::__use_packed_format_arg_store(sizeof...(_Args))) { in basic_format_args()
50 if (__format::__use_packed_format_arg_store(__size_)) in get()
51 … return basic_format_arg<_Context>{__format::__get_packed_type(__types_, __id), __values_[__id]}; in get()
H A Dformat_context.h70 using format_context = basic_format_context<back_insert_iterator<__format::__output_buffer<char>>, …
72 using wformat_context = basic_format_context< back_insert_iterator<__format::__output_buffer<wchar_…
154 class _LIBCPP_TEMPLATE_VIS basic_format_context<typename __format::__retarget_buffer<_CharT>::__ite…
156 using iterator = typename __format::__retarget_buffer<_CharT>::__iterator;
179 __format::__determine_arg_t<basic_format_context, decltype(__arg)>(),
H A Dformat_string.h29 namespace __format {
76 __parse_number_result<_Iterator> __r = __format::__parse_number(__begin, __end); in __parse_manual()
93 …static_assert(__format::__number_max == INT32_MAX, "The algorithm is implemented based on this val… in __parse_number()
H A Dformatter_output.h105 …if constexpr (std::same_as<decltype(__out_it), std::back_insert_iterator<__format::__output_buffer…
108 …} else if constexpr (std::same_as<decltype(__out_it), typename __format::__retarget_buffer<_OutCha…
142 …if constexpr (std::same_as<decltype(__out_it), std::back_insert_iterator<__format::__output_buffer…
145 …} else if constexpr (std::same_as<decltype(__out_it), typename __format::__retarget_buffer<_OutCha…
158 …if constexpr (std::same_as<decltype(__out_it), std::back_insert_iterator<__format::__output_buffer… in __fill()
161 …} else if constexpr (std::same_as<decltype(__out_it), typename __format::__retarget_buffer<_CharT>… in __fill()
H A Dparser_std_format_spec.h67 _LIBCPP_HIDE_FROM_ABI constexpr __format::__parse_number_result<_Iterator>
75 __format::__parse_number_result __r = __format::__parse_arg_id(__begin, __end, __ctx); in __parse_arg_id()
117 using _CT = common_type_t<_Type, decltype(__format::__number_max)>; in __substitute_arg_id()
118 if (static_cast<_CT>(__arg) > static_cast<_CT>(__format::__number_max)) in __substitute_arg_id()
724 __format::__parse_number_result __r = __format_spec::__parse_arg_id(++__begin, __end, __ctx);
734 __format::__parse_number_result __r = __format::__parse_number(__begin, __end);
753__format::__parse_number_result __arg_id = __format_spec::__parse_arg_id(++__begin, __end, __ctx);
763 __format::__parse_number_result __r = __format::__parse_number(__begin, __end);
H A Denable_insertable.h23 namespace __format {
H A Dformatter_tuple.h107 __format::__retarget_buffer<_CharT> __buffer{8 * tuple_size_v<_Tuple>}; in format()
108 basic_format_context<typename __format::__retarget_buffer<_CharT>::__iterator, _CharT> __c{ in format()
H A Drange_formatter.h144 __format::__retarget_buffer<_CharT> __buffer{__capacity_hint}; in format()
145 basic_format_context<typename __format::__retarget_buffer<_CharT>::__iterator, _CharT> __c{ in format()
H A Dbuffer.h54 namespace __format {
/freebsd-14.2/contrib/llvm-project/libcxx/include/
H A Dformat193 #include <__format/buffer.h>
194 #include <__format/concepts.h>
197 #include <__format/format_arg.h>
199 #include <__format/format_args.h>
200 #include <__format/format_context.h>
201 #include <__format/format_error.h>
203 #include <__format/format_fwd.h>
205 #include <__format/format_string.h>
207 #include <__format/formatter.h>
208 #include <__format/formatter_bool.h>
[all …]
H A Dlibcxx.imp362 { include: [ "<__format/buffer.h>", "private", "<format>", "public" ] },
363 { include: [ "<__format/concepts.h>", "private", "<format>", "public" ] },
368 { include: [ "<__format/format_arg.h>", "private", "<format>", "public" ] },
370 { include: [ "<__format/format_args.h>", "private", "<format>", "public" ] },
371 { include: [ "<__format/format_context.h>", "private", "<format>", "public" ] },
372 { include: [ "<__format/format_error.h>", "private", "<format>", "public" ] },
374 { include: [ "<__format/format_fwd.h>", "private", "<format>", "public" ] },
376 { include: [ "<__format/format_string.h>", "private", "<format>", "public" ] },
378 { include: [ "<__format/formatter.h>", "private", "<format>", "public" ] },
391 { include: [ "<__format/unicode.h>", "private", "<format>", "public" ] },
[all …]
H A Dmodule.modulemap.in1300 module std_private_format_buffer [system] { header "__format/buffer.h" }
1301 module std_private_format_concepts [system] { header "__format/concepts.h" }
1306 module std_private_format_format_arg [system] { header "__format/format_arg.h"…
1308 module std_private_format_format_args [system] { header "__format/format_args.h…
1310 header "__format/format_context.h"
1313 module std_private_format_format_error [system] { header "__format/format_error.…
1315 header "__format/format_functions.h"
1318 module std_private_format_format_fwd [system] { header "__format/format_fwd.h"…
1322 header "__format/format_to_n_result.h"
1325 module std_private_format_formatter [system] { header "__format/formatter.h" }
[all …]
H A D__verbose_abort25 … _LIBCPP_ATTRIBUTE_FORMAT(__printf__, 1, 2) void __libcpp_verbose_abort(const char* __format, ...);
H A Dprint265 __format::__retarget_buffer<wchar_t> __buffer{__str.size()};
H A Dvector323 #include <__format/enable_insertable.h>
324 #include <__format/formatter.h>
325 #include <__format/formatter_bool.h>
2928 inline constexpr bool __format::__enable_insertable<vector<char>> = true;
2931 inline constexpr bool __format::__enable_insertable<vector<wchar_t>> = true;
H A Dlist208 #include <__format/enable_insertable.h>
1730 inline constexpr bool __format::__enable_insertable<std::list<char>> = true;
1733 inline constexpr bool __format::__enable_insertable<std::list<wchar_t>> = true;
H A Ddeque194 #include <__format/enable_insertable.h>
2576 inline constexpr bool __format::__enable_insertable<std::deque<char>> = true;
2579 inline constexpr bool __format::__enable_insertable<std::deque<wchar_t>> = true;
/freebsd-14.2/contrib/llvm-project/libcxx/include/__locale_dir/locale_base_api/
H A Dbsd_locale_fallbacks.h95 char* __s, size_t __n, locale_t __l, const char* __format, ...) { in __libcpp_snprintf_l() argument
97 va_start(__va, __format); in __libcpp_snprintf_l()
99 int __res = vsnprintf(__s, __n, __format, __va); in __libcpp_snprintf_l()
105 char** __s, locale_t __l, const char* __format, ...) { in __libcpp_asprintf_l() argument
107 va_start(__va, __format); in __libcpp_asprintf_l()
109 int __res = vasprintf(__s, __format, __va); in __libcpp_asprintf_l()
115 const char* __s, locale_t __l, const char* __format, ...) { in __libcpp_sscanf_l() argument
117 va_start(__va, __format); in __libcpp_sscanf_l()
119 int __res = vsscanf(__s, __format, __va); in __libcpp_sscanf_l()
/freebsd-14.2/contrib/diff/lib/
H A Derror.h43 extern void error (int __status, int __errnum, const char *__format, ...)
47 unsigned int __lineno, const char *__format, ...)
/freebsd-14.2/lib/libc++/
H A Dmodule.modulemap1300 module std_private_format_buffer [system] { header "__format/buffer.h" }
1301 module std_private_format_concepts [system] { header "__format/concepts.h" }
1306 module std_private_format_format_arg [system] { header "__format/format_arg.h"…
1308 module std_private_format_format_args [system] { header "__format/format_args.h…
1310 header "__format/format_context.h"
1313 module std_private_format_format_error [system] { header "__format/format_error.…
1315 header "__format/format_functions.h"
1318 module std_private_format_format_fwd [system] { header "__format/format_fwd.h"…
1322 header "__format/format_to_n_result.h"
1325 module std_private_format_formatter [system] { header "__format/formatter.h" }
[all …]
H A DMakefile726 FMTDIR= ${CXXINCLUDEDIR}/__format
760 FMT+= ${HDRDIR}/__format/${hdr}
/freebsd-14.2/etc/mtree/
H A DBSD.include.dist49 __format

12