Home
last modified time | relevance | path

Searched refs:__fmt (Results 1 – 19 of 19) sorted by relevance

/freebsd/contrib/llvm-project/libcxx/src/
H A Dcharconv.cpp50 to_chars_result to_chars(char* __first, char* __last, float __value, chars_format __fmt) { in to_chars() argument
51 … _Floating_to_chars<_Floating_to_chars_overload::_Format_only>(__first, __last, __value, __fmt, 0); in to_chars()
54 to_chars_result to_chars(char* __first, char* __last, double __value, chars_format __fmt) { in to_chars() argument
55 … _Floating_to_chars<_Floating_to_chars_overload::_Format_only>(__first, __last, __value, __fmt, 0); in to_chars()
58 to_chars_result to_chars(char* __first, char* __last, long double __value, chars_format __fmt) { in to_chars() argument
60 __first, __last, static_cast<double>(__value), __fmt, 0); in to_chars()
63 to_chars_result to_chars(char* __first, char* __last, float __value, chars_format __fmt, int __prec… in to_chars() argument
65 __first, __last, __value, __fmt, __precision); in to_chars()
68 to_chars_result to_chars(char* __first, char* __last, double __value, chars_format __fmt, int __pre… in to_chars() argument
70 __first, __last, __value, __fmt, __precision); in to_chars()
[all …]
H A Dlocale.cpp4956 void __time_put::__do_put(char* __nb, char*& __ne, const tm* __tm, char __fmt, char __mod) const { in __do_put() argument
4957 char fmt[] = {'%', __fmt, __mod, 0}; in __do_put()
4965 void __time_put::__do_put(wchar_t* __wb, wchar_t*& __we, const tm* __tm, char __fmt, char __mod) co… in __do_put() argument
4968 __do_put(__nar, __ne, __tm, __fmt, __mod); in __do_put()
/freebsd/contrib/llvm-project/libcxx/include/__ostream/
H A Dprint.h34 __vprint_nonunicode(ostream& __os, string_view __fmt, format_args __args, bool __write_nl) { in __vprint_nonunicode() argument
48 string __o = std::vformat(__os.getloc(), __fmt, __args); in __vprint_nonunicode()
68 _LIBCPP_HIDE_FROM_ABI inline void vprint_nonunicode(ostream& __os, string_view __fmt, format_args _… in vprint_nonunicode() argument
69 std::__vprint_nonunicode(__os, __fmt, __args, false); in vprint_nonunicode()
89 _LIBCPP_HIDE_FROM_ABI void __vprint_unicode(ostream& __os, string_view __fmt, format_args __args, b… in __vprint_unicode() argument
91 return std::__vprint_nonunicode(__os, __fmt, __args, __write_nl); in __vprint_unicode()
95 return std::__vprint_nonunicode(__os, __fmt, __args, __write_nl); in __vprint_unicode()
114 __print::__vprint_unicode_posix(__file, __fmt, __args, __write_nl, true); in __vprint_unicode()
116 __print::__vprint_unicode_windows(__file, __fmt, __args, __write_nl, true); in __vprint_unicode()
131 _LIBCPP_HIDE_FROM_ABI inline void vprint_unicode(ostream& __os, string_view __fmt, format_args __ar… in vprint_unicode() argument
[all …]
/freebsd/contrib/llvm-project/libcxx/include/__format/
H A Dformat_functions.h359 …I inline __runtime_format_string<char> runtime_format(string_view __fmt) noexcept { return __fmt; } in runtime_format() argument
361 _LIBCPP_HIDE_FROM_ABI inline __runtime_format_string<wchar_t> runtime_format(wstring_view __fmt) no… in runtime_format() argument
362 return __fmt; in runtime_format()
410 basic_string_view<_CharT> __fmt, in requires()
414 …basic_format_parse_context{__fmt, __args.__size()}, std::__format_context_create(std::move(__out_i… in requires()
417 std::__format::__vformat_to(basic_format_parse_context{__fmt, __args.__size()}, in requires()
427 _LIBCPP_ALWAYS_INLINE _LIBCPP_HIDE_FROM_ABI _OutIt vformat_to(_OutIt __out_it, string_view __fmt, f… in vformat_to() argument
428 return std::__vformat_to(std::move(__out_it), __fmt, __args); in vformat_to()
434 vformat_to(_OutIt __out_it, wstring_view __fmt, wformat_args __args) { in vformat_to() argument
435 return std::__vformat_to(std::move(__out_it), __fmt, __args); in vformat_to()
[all …]
H A Dformat_parse_context.h34 basic_string_view<_CharT> __fmt, size_t __num_args = 0) noexcept
35 : __begin_(__fmt.begin()),
36 __end_(__fmt.end()),
H A Dformatter_floating_point.h67 …CPP_HIDE_FROM_ABI char* __to_buffer(char* __first, char* __last, _Tp __value, chars_format __fmt) { in __to_buffer() argument
68 to_chars_result __r = std::to_chars(__first, __last, __value, __fmt); in __to_buffer()
74 … char* __to_buffer(char* __first, char* __last, _Tp __value, chars_format __fmt, int __precision) { in __to_buffer() argument
75 to_chars_result __r = std::to_chars(__first, __last, __value, __fmt, __precision); in __to_buffer()
/freebsd/contrib/llvm-project/libcxx/include/__charconv/
H A Dfrom_chars_floating_point.h40 _LIBCPP_NOESCAPE const char* __first, _LIBCPP_NOESCAPE const char* __last, chars_format __fmt);
43 _LIBCPP_NOESCAPE const char* __first, _LIBCPP_NOESCAPE const char* __last, chars_format __fmt);
46 _LIBCPP_NOESCAPE const char* __first, _LIBCPP_NOESCAPE const char* __last, chars_format __fmt);
50 __from_chars(const char* __first, const char* __last, _Fp& __value, chars_format __fmt) { in __from_chars() argument
51 __from_chars_result<_Fp> __r = std::__from_chars_floating_point<_Fp>(__first, __last, __fmt); in __from_chars()
58 from_chars(const char* __first, const char* __last, float& __value, chars_format __fmt = chars_form…
59 return std::__from_chars<float>(__first, __last, __value, __fmt);
63 from_chars(const char* __first, const char* __last, double& __value, chars_format __fmt = chars_for…
64 return std::__from_chars<double>(__first, __last, __value, __fmt);
H A Dto_chars_floating_point.h35 to_chars(char* __first, char* __last, float __value, chars_format __fmt);
38 to_chars(char* __first, char* __last, double __value, chars_format __fmt);
41 to_chars(char* __first, char* __last, long double __value, chars_format __fmt);
44 to_chars(char* __first, char* __last, float __value, chars_format __fmt, int __precision);
47 to_chars(char* __first, char* __last, double __value, chars_format __fmt, int __precision);
50 to_chars(char* __first, char* __last, long double __value, chars_format __fmt, int __precision);
/freebsd/contrib/llvm-project/libcxx/include/
H A Dprint218 __vprint_nonunicode(FILE* __stream, string_view __fmt, format_args __args, bool __write_nl) {
220 string __str = std::vformat(__fmt, __args);
241 __vprint_unicode_posix(FILE* __stream, string_view __fmt, format_args __args, bool __write_nl, bool…
246 __print::__vprint_nonunicode(__stream, __fmt, __args, __write_nl);
252 __vprint_unicode_windows(FILE* __stream, string_view __fmt, format_args __args, bool __write_nl, bo…
254 return __print::__vprint_nonunicode(__stream, __fmt, __args, __write_nl);
259 string __str = std::vformat(__fmt, __args);
292 [[maybe_unused]] string_view __fmt,
319 …__print::__vprint_unicode_posix(__stream, __fmt, __args, __write_nl, __print::__is_terminal(__stre…
321 …__print::__vprint_unicode_windows(__stream, __fmt, __args, __write_nl, __print::__is_terminal(__st…
[all …]
H A Diomanip333 _LIBCPP_HIDE_FROM_ABI __iom_t9(tm* __tm, const _CharT* __fmt) : __tm_(__tm), __fmt_(__fmt) {}
363 inline _LIBCPP_HIDE_FROM_ABI __iom_t9<_CharT> get_time(tm* __tm, const _CharT* __fmt) {
364 return __iom_t9<_CharT>(__tm, __fmt);
382 …_LIBCPP_HIDE_FROM_ABI __iom_t10(const tm* __tm, const _CharT* __fmt) : __tm_(__tm), __fmt_(__fmt) …
412 inline _LIBCPP_HIDE_FROM_ABI __iom_t10<_CharT> put_time(const tm* __tm, const _CharT* __fmt) {
413 return __iom_t10<_CharT>(__tm, __fmt);
H A Dregex4639 const basic_string<char_type, _ST, _SA>& __fmt,
4641 return format(__output_iter, __fmt.data(), __fmt.data() + __fmt.size(), __flags);
4645 format(const basic_string<char_type, _ST, _SA>& __fmt,
4648 format(std::back_inserter(__r), __fmt.data(), __fmt.data() + __fmt.size(), __flags);
4652 …format(const char_type* __fmt, regex_constants::match_flag_type __flags = regex_constants::format_…
4654 format(std::back_inserter(__r), __fmt, __fmt + char_traits<char_type>::length(__fmt), __flags);
5729 const _CharT* __fmt,
5739 for (size_t __len = char_traits<_CharT>::length(__fmt); __i != __eof; ++__i) {
5742 __output_iter = __i->format(__output_iter, __fmt, __fmt + __len, __flags);
5759 const basic_string<_CharT, _ST, _SA>& __fmt,
[all …]
/freebsd/contrib/llvm-project/libcxx/include/__locale_dir/
H A Dtime.h144 …get(iter_type __b, iter_type __e, ios_base& __iob, ios_base::iostate& __err, tm* __tm, char __fmt,…
146 return do_get(__b, __e, __iob, __err, __tm, __fmt, __mod);
175 …iter_type __b, iter_type __e, ios_base& __iob, ios_base::iostate& __err, tm* __tm, char __fmt, cha…
430 const char_type __fmt[] = {'%', 'H', ':', '%', 'M', ':', '%', 'S'}; in do_get_time() local
431 return get(__b, __e, __iob, __err, __tm, __fmt, __fmt + sizeof(__fmt) / sizeof(__fmt[0])); in do_get_time()
437 const string_type& __fmt = this->__x(); in do_get_date() local
438 return get(__b, __e, __iob, __err, __tm, __fmt.data(), __fmt.data() + __fmt.size()); in do_get_date()
467 …iter_type __b, iter_type __e, ios_base& __iob, ios_base::iostate& __err, tm* __tm, char __fmt, cha… in do_get() argument
470 switch (__fmt) { in do_get()
593 string_type __analyze(char __fmt, const ctype<_CharT>&);
[all …]
H A Dnum.h698 …static void __format_int(char* __fmt, const char* __len, bool __signd, ios_base::fmtflags __flags);
699 static bool __format_float(char* __fmt, const char* __len, ios_base::fmtflags __flags);
992 char __fmt[8] = {'%', 0};
993 bool __specify_precision = this->__format_float(__fmt + 1, __len, __iob.flags());
1002 …__nc = __locale::__snprintf(__nb, __nbuf, _LIBCPP_GET_C_LOCALE, __fmt, (int)__iob.precision(), __v…
1004 __nc = __locale::__snprintf(__nb, __nbuf, _LIBCPP_GET_C_LOCALE, __fmt, __v);
1008 __nc = __locale::__asprintf(&__nb, _LIBCPP_GET_C_LOCALE, __fmt, (int)__iob.precision(), __v);
1010 __nc = __locale::__asprintf(&__nb, _LIBCPP_GET_C_LOCALE, __fmt, __v);
/freebsd/sys/compat/linuxkpi/common/include/linux/
H A Ddebugfs.h91 #define DEFINE_DEBUGFS_ATTRIBUTE(__fops, __get, __set, __fmt) \ argument
92 DEFINE_SIMPLE_ATTRIBUTE(__fops, __get, __set, __fmt)
93 #define DEFINE_DEBUGFS_ATTRIBUTE_SIGNED(__fops, __get, __set, __fmt) \ argument
94 DEFINE_SIMPLE_ATTRIBUTE_SIGNED(__fops, __get, __set, __fmt)
H A Dfs.h399 #define __DEFINE_SIMPLE_ATTRIBUTE(__fops, __get, __set, __fmt, __wrfunc)\ argument
403 return (simple_attr_open(inode, filp, __get, __set, __fmt)); \
/freebsd/contrib/llvm-project/libcxx/src/include/
H A Dfrom_chars_floating_point.h358 …const char* const __first, const char* __last, chars_format __fmt, const char* __ptr, bool __negat… in __from_chars_floating_point_decimal() argument
373 if (__fmt == chars_format::fixed) { in __from_chars_floating_point_decimal()
378 if (__fmt == chars_format::scientific && !__parsed_exponent.__present) { in __from_chars_floating_point_decimal()
412 __from_chars_floating_point_impl(const char* const __first, const char* __last, chars_format __fmt)… in __from_chars_floating_point_impl() argument
449 if (__fmt == chars_format::hex) in __from_chars_floating_point_impl()
452 return std::__from_chars_floating_point_decimal<_Fp>(__first, __last, __fmt, __ptr, __negative); in __from_chars_floating_point_impl()
/freebsd/contrib/llvm-project/libcxx/include/__cxx03/
H A Diomanip322 _LIBCPP_HIDE_FROM_ABI __iom_t9(tm* __tm, const _CharT* __fmt) : __tm_(__tm), __fmt_(__fmt) {}
352 inline _LIBCPP_HIDE_FROM_ABI __iom_t9<_CharT> get_time(tm* __tm, const _CharT* __fmt) {
353 return __iom_t9<_CharT>(__tm, __fmt);
371 …_LIBCPP_HIDE_FROM_ABI __iom_t10(const tm* __tm, const _CharT* __fmt) : __tm_(__tm), __fmt_(__fmt) …
401 inline _LIBCPP_HIDE_FROM_ABI __iom_t10<_CharT> put_time(const tm* __tm, const _CharT* __fmt) {
402 return __iom_t10<_CharT>(__tm, __fmt);
H A Dlocale1066 …static void __format_int(char* __fmt, const char* __len, bool __signd, ios_base::fmtflags __flags);
1067 static bool __format_float(char* __fmt, const char* __len, ios_base::fmtflags __flags);
1326 char __fmt[8] = {'%', 0};
1327 this->__format_int(__fmt + 1, __len, is_signed<_Integral>::value, __iob.flags());
1339 int __nc = __libcpp_snprintf_l(__nar, sizeof(__nar), _LIBCPP_GET_C_LOCALE, __fmt, __v);
1382 char __fmt[8] = {'%', 0};
1383 bool __specify_precision = this->__format_float(__fmt + 1, __len, __iob.flags());
1392 …__nc = __libcpp_snprintf_l(__nb, __nbuf, _LIBCPP_GET_C_LOCALE, __fmt, (int)__iob.precision(), __v);
1394 __nc = __libcpp_snprintf_l(__nb, __nbuf, _LIBCPP_GET_C_LOCALE, __fmt, __v);
1398 __nc = __libcpp_asprintf_l(&__nb, _LIBCPP_GET_C_LOCALE, __fmt, (int)__iob.precision(), __v);
[all …]
H A Dregex4549 const basic_string<char_type, _ST, _SA>& __fmt,
4551 return format(__output_iter, __fmt.data(), __fmt.data() + __fmt.size(), __flags);
4555 format(const basic_string<char_type, _ST, _SA>& __fmt,
4558 format(std::back_inserter(__r), __fmt.data(), __fmt.data() + __fmt.size(), __flags);
4562 …format(const char_type* __fmt, regex_constants::match_flag_type __flags = regex_constants::format_…
4564 format(std::back_inserter(__r), __fmt, __fmt + char_traits<char_type>::length(__fmt), __flags);
5545 const _CharT* __fmt,
5555 for (size_t __len = char_traits<_CharT>::length(__fmt); __i != __eof; ++__i) {
5558 __output_iter = __i->format(__output_iter, __fmt, __fmt + __len, __flags);
5575 const basic_string<_CharT, _ST, _SA>& __fmt,
[all …]