Home
last modified time | relevance | path

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

/openbsd/src/gnu/llvm/libcxx/src/
Dcharconv.cpp58 to_chars_result to_chars(char* __first, char* __last, float __value, chars_format __fmt) { in to_chars() argument
59 … _Floating_to_chars<_Floating_to_chars_overload::_Format_only>(__first, __last, __value, __fmt, 0); in to_chars()
62 to_chars_result to_chars(char* __first, char* __last, double __value, chars_format __fmt) { in to_chars() argument
63 … _Floating_to_chars<_Floating_to_chars_overload::_Format_only>(__first, __last, __value, __fmt, 0); in to_chars()
66 to_chars_result to_chars(char* __first, char* __last, long double __value, chars_format __fmt) { in to_chars() argument
68 __fmt, 0); in to_chars()
71 to_chars_result to_chars(char* __first, char* __last, float __value, chars_format __fmt, int __prec… in to_chars() argument
72 …_Floating_to_chars<_Floating_to_chars_overload::_Format_precision>(__first, __last, __value, __fmt, in to_chars()
76 to_chars_result to_chars(char* __first, char* __last, double __value, chars_format __fmt, int __pre… in to_chars() argument
77 …_Floating_to_chars<_Floating_to_chars_overload::_Format_precision>(__first, __last, __value, __fmt, in to_chars()
[all …]
Dlocale.cpp5874 char __fmt, char __mod) const in __do_put() argument
5876 char fmt[] = {'%', __fmt, __mod, 0}; in __do_put()
5886 char __fmt, char __mod) const in __do_put() argument
5890 __do_put(__nar, __ne, __tm, __fmt, __mod); in __do_put()
/openbsd/src/gnu/lib/libstdc++/libstdc++/config/locale/generic/
Dc_locale.h59 const char* __fmt,
71 __ret = std::snprintf(__out, __size, __fmt, __prec, __v);
73 __ret = std::snprintf(__out, __size, __fmt, __v);
76 __ret = std::sprintf(__out, __fmt, __prec, __v);
78 __ret = std::sprintf(__out, __fmt, __v);
/openbsd/src/gnu/lib/libstdc++/libstdc++/config/locale/gnu/
Dc_locale.h67 __convert_from_v(char* __out, const int __size, const char* __fmt,
85 __ret = snprintf(__out, __size, __fmt, __prec, __v);
87 __ret = snprintf(__out, __size, __fmt, __v);
90 __ret = sprintf(__out, __fmt, __prec, __v);
92 __ret = sprintf(__out, __fmt, __v);
/openbsd/src/gnu/gcc/libstdc++-v3/config/locale/generic/
Dc_locale.h65 const char* __fmt, ...) in __convert_from_v() argument
78 va_start(__args, __fmt); in __convert_from_v()
81 const int __ret = std::vsnprintf(__out, __size, __fmt, __args); in __convert_from_v()
83 const int __ret = std::vsprintf(__out, __fmt, __args); in __convert_from_v()
/openbsd/src/gnu/gcc/libstdc++-v3/config/locale/gnu/
Dc_locale.h79 const char* __fmt, ...) in __convert_from_v() argument
92 va_start(__args, __fmt); in __convert_from_v()
95 const int __ret = std::vsnprintf(__out, __size, __fmt, __args); in __convert_from_v()
97 const int __ret = std::vsprintf(__out, __fmt, __args); in __convert_from_v()
/openbsd/src/gnu/gcc/libstdc++-v3/include/bits/
Dostream.tcc96 const ios_base::fmtflags __fmt = this->flags() & ios_base::basefield; in operator <<() local
97 if (__fmt == ios_base::oct || __fmt == ios_base::hex) in operator <<()
110 const ios_base::fmtflags __fmt = this->flags() & ios_base::basefield; in operator <<() local
111 if (__fmt == ios_base::oct || __fmt == ios_base::hex) in operator <<()
Dlocale_facets.tcc885 const fmtflags __fmt = __io.flags(); in do_get() local
886 __io.flags(__fmt & ~ios_base::basefield | ios_base::hex); in do_get()
892 __io.flags(__fmt); in do_get()
1305 const ios_base::fmtflags __fmt = ~(ios_base::basefield in do_put() local
1308 __io.flags(__flags & __fmt | (ios_base::hex | ios_base::showbase)); in do_put()
2353 char_type __fmt[4]; in do_put() local
2354 __fmt[0] = __ctype.widen('%'); in do_put()
2357 __fmt[1] = __format; in do_put()
2358 __fmt[2] = char_type(); in do_put()
2362 __fmt[1] = __mod; in do_put()
[all …]
/openbsd/src/gnu/lib/libstdc++/libstdc++/include/std/
Dstd_ostream.h179 ios_base::fmtflags __fmt = this->flags() & ios_base::basefield; variable
180 if (__fmt & ios_base::oct || __fmt & ios_base::hex)
194 ios_base::fmtflags __fmt = this->flags() & ios_base::basefield; variable
195 if (__fmt & ios_base::oct || __fmt & ios_base::hex)
/openbsd/src/gnu/lib/libstdc++/libstdc++/include/bits/
Dostream.tcc131 ios_base::fmtflags __fmt = this->flags() & ios_base::basefield; in operator <<() local
134 if ((__fmt & ios_base::oct) || (__fmt & ios_base::hex)) in operator <<()
190 ios_base::fmtflags __fmt = this->flags() & ios_base::basefield; in operator <<() local
193 if ((__fmt & ios_base::oct) || (__fmt & ios_base::hex)) in operator <<()
Dlocale_facets.tcc612 fmtflags __fmt = __io.flags(); in do_get() local
615 __io.flags(__fmt & __fmtmask | (ios_base::hex | ios_base::showbase)); in do_get()
622 __io.flags(__fmt); in do_get()
1073 ios_base::fmtflags __fmt = ~(ios_base::showpos | ios_base::basefield in do_put() local
1075 __io.flags(__flags & __fmt | (ios_base::hex | ios_base::showbase)); in do_put()
2025 char_type __fmt[4]; in do_put() local
2026 __fmt[0] = __ctype.widen('%'); in do_put()
2029 __fmt[1] = __format; in do_put()
2030 __fmt[2] = char_type(); in do_put()
2034 __fmt[1] = __mod; in do_put()
[all …]
/openbsd/src/gnu/llvm/libcxx/include/
Diomanip410 __iom_t9(tm* __tm, const _CharT* __fmt)
411 : __tm_(__tm), __fmt_(__fmt) {}
451 get_time(tm* __tm, const _CharT* __fmt)
453 return __iom_t9<_CharT>(__tm, __fmt);
471 __iom_t10(const tm* __tm, const _CharT* __fmt)
472 : __tm_(__tm), __fmt_(__fmt) {}
511 put_time(const tm* __tm, const _CharT* __fmt)
513 return __iom_t10<_CharT>(__tm, __fmt);
Dlocale1132 static void __format_int(char* __fmt, const char* __len, bool __signd,
1134 static bool __format_float(char* __fmt, const char* __len,
1487 char __fmt[8] = {'%', 0};
1488 this->__format_int(__fmt+1, __len, is_signed<_Integral>::value, __iob.flags());
1500 int __nc = __libcpp_snprintf_l(__nar, sizeof(__nar), _LIBCPP_GET_C_LOCALE, __fmt, __v);
1555 char __fmt[8] = {'%', 0};
1556 bool __specify_precision = this->__format_float(__fmt+1, __len, __iob.flags());
1565 __nc = __libcpp_snprintf_l(__nb, __nbuf, _LIBCPP_GET_C_LOCALE, __fmt,
1568 __nc = __libcpp_snprintf_l(__nb, __nbuf, _LIBCPP_GET_C_LOCALE, __fmt, __v);
1573 … __nc = __libcpp_asprintf_l(&__nb, _LIBCPP_GET_C_LOCALE, __fmt, (int)__iob.precision(), __v);
[all …]
Dcharconv819 to_chars_result to_chars(char* __first, char* __last, float __value, chars_format __fmt);
822 to_chars_result to_chars(char* __first, char* __last, double __value, chars_format __fmt);
825 to_chars_result to_chars(char* __first, char* __last, long double __value, chars_format __fmt);
828 to_chars_result to_chars(char* __first, char* __last, float __value, chars_format __fmt, int __prec…
831 to_chars_result to_chars(char* __first, char* __last, double __value, chars_format __fmt, int __pre…
834 to_chars_result to_chars(char* __first, char* __last, long double __value, chars_format __fmt, int …
Dregex5516 format(_OutputIter __output_iter, const basic_string<char_type, _ST, _SA>& __fmt,
5518 {return format(__output_iter, __fmt.data(), __fmt.data() + __fmt.size(), __flags);}
5522 format(const basic_string<char_type, _ST, _SA>& __fmt,
5526 format(std::back_inserter(__r), __fmt.data(), __fmt.data() + __fmt.size(),
5532 format(const char_type* __fmt,
5536 format(std::back_inserter(__r), __fmt,
5537 __fmt + char_traits<char_type>::length(__fmt), __flags);
6745 const basic_regex<_CharT, _Traits>& __e, const _CharT* __fmt,
6759 for (size_t __len = char_traits<_CharT>::length(__fmt); __i != __eof; ++__i)
6763 __output_iter = __i->format(__output_iter, __fmt, __fmt + __len, __flags);
[all …]
/openbsd/src/gnu/gcc/libstdc++-v3/src/
Ddebug.cc531 const char* __fmt, _Tp __s) const in _M_format_word() argument
534 std::snprintf(__buf, __n, __fmt, __s); in _M_format_word()
536 std::sprintf(__buf, __fmt, __s); in _M_format_word()
/openbsd/src/gnu/lib/libstdc++/libstdc++/
DChangeLog-20012050 * include/bits/ostream.tcc (__pad_char): Change toplevel '__fmt'