Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/libcxx/include/__format/
H A Dformat_arg.h40 namespace __format {
94 return static_cast<__format::__arg_t>(__types & __packed_arg_t_mask); in __get_packed_type()
104 case __format::__arg_t::__none: in decltype()
106 case __format::__arg_t::__boolean: in decltype()
108 case __format::__arg_t::__char_type: in decltype()
110 case __format::__arg_t::__int: in decltype()
112 case __format::__arg_t::__long_long: in decltype()
114 case __format::__arg_t::__i128: in decltype()
120 case __format::__arg_t::__unsigned: in decltype()
122 case __format::__arg_t::__unsigned_long_long: in decltype()
[all …]
H A Dformat_functions.h80 namespace __format {
201 return __format::__compile_time_validate_argument<_CharT, bool>(__parse_ctx, __ctx); in __compile_time_visit_format_arg()
203 return __format::__compile_time_validate_argument<_CharT, _CharT>(__parse_ctx, __ctx); in __compile_time_visit_format_arg()
205 return __format::__compile_time_validate_argument<_CharT, int>(__parse_ctx, __ctx); in __compile_time_visit_format_arg()
207 return __format::__compile_time_validate_argument<_CharT, long long>(__parse_ctx, __ctx); in __compile_time_visit_format_arg()
210 return __format::__compile_time_validate_argument<_CharT, __int128_t>(__parse_ctx, __ctx); in __compile_time_visit_format_arg()
216 return __format::__compile_time_validate_argument<_CharT, unsigned>(__parse_ctx, __ctx); in __compile_time_visit_format_arg()
218 … return __format::__compile_time_validate_argument<_CharT, unsigned long long>(__parse_ctx, __ctx); in __compile_time_visit_format_arg()
221 return __format::__compile_time_validate_argument<_CharT, __uint128_t>(__parse_ctx, __ctx); in __compile_time_visit_format_arg()
227 return __format::__compile_time_validate_argument<_CharT, float, true>(__parse_ctx, __ctx); in __compile_time_visit_format_arg()
[all …]
H A Dformat_arg_store.h32 namespace __format {
213 basic_format_arg<_Context> __arg = __format::__create_format_arg<_Context>(__args); in __create_packed_storage()
227 ([&] { *__data++ = __format::__create_format_arg<_Context>(__args); }(), ...); in __store_basic_format_arg()
247 if constexpr (__format::__use_packed_format_arg_store(sizeof...(_Args))) in __format_arg_store()
248 __format::__create_packed_storage(__storage.__types_, __storage.__values_, __args...); in __format_arg_store()
250 __format::__store_basic_format_arg<_Context>(__storage.__args_, __args...); in __format_arg_store()
255 conditional_t<__format::__use_packed_format_arg_store(sizeof...(_Args)),
256 __format::__packed_format_arg_store<_Context, sizeof...(_Args)>,
257 __format::__unpacked_format_arg_store<_Context, sizeof...(_Args)>>;
H A Dformat_args.h35 if constexpr (__format::__use_packed_format_arg_store(sizeof...(_Args))) { in basic_format_args()
47 if (__format::__use_packed_format_arg_store(__size_)) in get()
48 … return basic_format_arg<_Context>{__format::__get_packed_type(__types_, __id), __values_[__id]}; in get()
H A Dformat_context.h69 using format_context = basic_format_context<back_insert_iterator<__format::__output_buffer<char>>, …
71 using wformat_context = basic_format_context< back_insert_iterator<__format::__output_buffer<wchar_…
156 class _LIBCPP_TEMPLATE_VIS basic_format_context<typename __format::__retarget_buffer<_CharT>::__ite…
158 using iterator = typename __format::__retarget_buffer<_CharT>::__iterator;
180 __format::__determine_arg_t<basic_format_context, decltype(__arg)>(),
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()
721 __format::__parse_number_result __r = __format_spec::__parse_arg_id(++__begin, __end, __ctx);
731 __format::__parse_number_result __r = __format::__parse_number(__begin, __end);
750__format::__parse_number_result __arg_id = __format_spec::__parse_arg_id(++__begin, __end, __ctx);
760 __format::__parse_number_result __r = __format::__parse_number(__begin, __end);
H A Dformat_string.h15 #include <__format/format_error.h>
29 namespace __format {
76 __parse_number_result<_Iterator> __r = __format::__parse_number(__begin, __end);
93 static_assert(__format::__number_max == INT32_MAX, "The algorithm is implemented based on this value.");
154 } // namespace __format in __parse_arg_id()
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…
144 …if constexpr (std::same_as<decltype(__out_it), std::back_insert_iterator<__format::__output_buffer…
147 …} else if constexpr (std::same_as<decltype(__out_it), typename __format::__retarget_buffer<_OutCha…
160 …if constexpr (std::same_as<decltype(__out_it), std::back_insert_iterator<__format::__output_buffer… in __fill()
163 …} else if constexpr (std::same_as<decltype(__out_it), typename __format::__retarget_buffer<_CharT>… in __fill()
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 Denable_insertable.h23 namespace __format {
H A Drange_formatter.h21 #include <__format/buffer.h>
22 #include <__format/concepts.h>
23 #include <__format/format_context.h>
24 #include <__format/format_error.h>
25 #include <__format/formatter.h>
26 #include <__format/formatter_output.h>
27 #include <__format/parser_std_format_spec.h>
144 __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.h22 #include <__format/concepts.h>
23 #include <__format/enable_insertable.h>
24 #include <__format/format_to_n_result.h>
54 namespace __format {
647 } // namespace __format
/freebsd/contrib/llvm-project/libcxx/include/
H A Dformat194 # include <__format/buffer.h>
195 # include <__format/concepts.h>
196 # include <__format/container_adaptor.h>
197 # include <__format/enable_insertable.h>
198 # include <__format/escaped_output_table.h>
199 # include <__format/extended_grapheme_cluster_table.h>
200 # include <__format/format_arg.h>
201 # include <__format/format_arg_store.h>
202 # include <__format/format_args.h>
203 # include <__format/format_context.h>
[all …]
H A Dmodule.modulemap1284 module std_private_format_buffer [system] { header "__format/buffer.h" }
1285 module std_private_format_concepts [system] { header "__format/concepts.h" }
1286 module std_private_format_container_adaptor [system] { header "__format/container_ada…
1287 module std_private_format_enable_insertable [system] { header "__format/enable_insert…
1288 module std_private_format_escaped_output_table [system] { header "__format/escaped_outpu…
1289 module std_private_format_extended_grapheme_cluster_table [system] { header "__format/extended_grap…
1290 module std_private_format_format_arg [system] { header "__format/format_arg.h"…
1291 module std_private_format_format_arg_store [system] { header "__format/format_arg_st…
1292 module std_private_format_format_args [system] { header "__format/format_args.h…
1294 header "__format/format_context.h"
[all …]
H A D__verbose_abort24 _LIBCPP_ATTRIBUTE_FORMAT(__printf__, 1, 2) void __libcpp_verbose_abort(const char* __format, ...);
H A Dprint266 __format::__retarget_buffer<wchar_t> __buffer{__str.size()};
/freebsd/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_mbrlen_l()
97 va_start(__va, __format);
99 int __res = vsnprintf(__s, __n, __format, __va);
105 char** __s, locale_t __l, const char* __format, ...) {
107 va_start(__va, __format);
109 int __res = vasprintf(__s, __format, __va); in __libcpp_mbsrtowcs_l()
115 const char* __s, locale_t __l, const char* __format, ...) {
117 va_start(__va, __format); in __libcpp_snprintf_l() argument
119 int __res = vsscanf(__s, __format, __va); in __libcpp_snprintf_l()
127 __libcpp_asprintf_l(char ** __s,locale_t __l,const char * __format,...) __libcpp_asprintf_l() argument
137 __libcpp_sscanf_l(const char * __s,locale_t __l,const char * __format,...) __libcpp_sscanf_l() argument
H A Dwin32.h228 …PORTED_FROM_ABI int snprintf_l(char* __ret, size_t __n, locale_t __loc, const char* __format, ...);
229 _LIBCPP_EXPORTED_FROM_ABI int asprintf_l(char** __ret, locale_t __loc, const char* __format, ...);
230 _LIBCPP_EXPORTED_FROM_ABI int vasprintf_l(char** __ret, locale_t __loc, const char* __format, va_li…
/freebsd/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/contrib/llvm-project/libcxx/src/experimental/
H A Dtime_zone.cpp119 __format(const __tz::__continuation& __continuation, const string& __letters, seconds __save) { in __format() function
122 for (char __c : __continuation.__format) { in __format()
130 if (__continuation.__format.size() != 2) in __format()
133 __continuation.__format) in __format()
368 chrono::__format(__continuation, __letters_before_first_rule(__rules), 0s)}; in __get_sys_info_before_first_rule()
385 …__begin, __next_end, __continuation.__stdoff, 0min, chrono::__format(__continuation, __rule->__let… in __get_sys_info_before_first_rule()
556 chrono::__format(__continuation, __rule->__letters, __save)}, in __get_sys_info_rule()
567 chrono::__format(__continuation, __rule->__letters, 0s)}, in __get_sys_info_rule()
581 chrono::__format(__continuation, __rule->__letters, __save)}, in __get_sys_info_rule()
645 chrono::__format(__continuation, __rule->__letters, __rule->__save.__time)}, in __get_sys_info_rule()
[all …]
H A Dtzdb.cpp471 __result.__format = chrono::__parse_string(__input); in __parse_continuation()
/freebsd/lib/libc++/
H A Dlibcxx.imp352 { include: [ "<__format/buffer.h>", "private", "<format>", "public" ] },
353 { include: [ "<__format/concepts.h>", "private", "<format>", "public" ] },
354 { include: [ "<__format/container_adaptor.h>", "private", "<format>", "public" ] },
355 { include: [ "<__format/enable_insertable.h>", "private", "<format>", "public" ] },
356 { include: [ "<__format/escaped_output_table.h>", "private", "<format>", "public" ] },
357 { include: [ "<__format/extended_grapheme_cluster_table.h>", "private", "<format>", "public" ] },
358 { include: [ "<__format/format_arg.h>", "private", "<format>", "public" ] },
359 { include: [ "<__format/format_arg_store.h>", "private", "<format>", "public" ] },
360 { include: [ "<__format/format_args.h>", "private", "<format>", "public" ] },
361 { include: [ "<__format/format_context.h>", "private", "<format>", "public" ] },
[all …]
H A DMakefile712 FMTDIR= ${CXXINCLUDEDIR}/__format
746 FMT+= ${HDRDIR}/__format/${hdr}
/freebsd/contrib/llvm-project/libcxx/src/experimental/include/tzdb/
H A Dtypes_private.h103 string __format; member
/freebsd/etc/mtree/
H A DBSD.include.dist47 __format

12