/freebsd/contrib/llvm-project/libcxx/include/__charconv/ |
H A D | chars_format.h | 24 enum class chars_format { scientific = 0x1, fixed = 0x2, hex = 0x4, general = fixed | scientific }; enum 26 inline _LIBCPP_HIDE_FROM_ABI constexpr chars_format operator~(chars_format __x) { 27 return chars_format(~std::__to_underlying(__x)); 30 inline _LIBCPP_HIDE_FROM_ABI constexpr chars_format operator&(chars_format __x, chars_format __y) { 31 return chars_format(std::__to_underlying(__x) & std::__to_underlying(__y)); 34 inline _LIBCPP_HIDE_FROM_ABI constexpr chars_format operator|(chars_format __x, chars_format __y) { 35 return chars_format(std::__to_underlying(__x) | std::__to_underlying(__y)); 38 inline _LIBCPP_HIDE_FROM_ABI constexpr chars_format operator^(chars_format __x, chars_format __y) { 39 return chars_format(std::__to_underlying(__x) ^ std::__to_underlying(__y)); 42 inline _LIBCPP_HIDE_FROM_ABI constexpr chars_format& operator&=(chars_format& __x, chars_format __y… [all …]
|
H A D | to_chars_floating_point.h | 35 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/src/ |
H A D | charconv.cpp | 37 return _Floating_to_chars<_Floating_to_chars_overload::_Plain>(__first, __last, __value, chars_format{}, 0); 41 return _Floating_to_chars<_Floating_to_chars_overload::_Plain>(__first, __last, __value, chars_format{}, 0); 46 __first, __last, static_cast<double>(__value), chars_format{}, 0); in to_chars() 49 to_chars_result to_chars(char* __first, char* __last, float __value, chars_format __fmt) { in to_chars() 53 to_chars_result to_chars(char* __first, char* __last, double __value, chars_format __fmt) { in to_chars() 57 to_chars_result to_chars(char* __first, char* __last, long double __value, chars_format __fmt) { 62 to_chars_result to_chars(char* __first, char* __last, float __value, chars_format __fmt, int __precision) { in to_chars() 67 to_chars_result to_chars(char* __first, char* __last, double __value, chars_format __fmt, int __precision) { in to_chars() 72 to_chars_result to_chars(char* __first, char* __last, long double __value, chars_format __fmt, int __precision) { in to_chars()
|
/freebsd/contrib/llvm-project/libcxx/include/ |
H A D | charconv | 19 enum class chars_format { 44 chars_format fmt); 46 chars_format fmt); 48 chars_format fmt); 51 chars_format fmt, int precision); 53 chars_format fmt, int precision); 55 chars_format fmt, int precision); 75 # include <__charconv/chars_format.h>
|
H A D | module.modulemap | 1078 module std_private_charconv_chars_format [system] { header "__charconv/chars_format.h" }
|
/freebsd/contrib/llvm-project/libcxx/src/ryu/ |
H A D | f2s.cpp | 420 chars_format _Fmt, const uint32_t __ieeeMantissa, const uint32_t __ieeeExponent) { in __to_chars() 427 if (_Fmt == chars_format{}) { in __to_chars() 446 _Fmt = chars_format::fixed; in __to_chars() 448 _Fmt = chars_format::scientific; in __to_chars() 450 } else if (_Fmt == chars_format::general) { in __to_chars() 457 _Fmt = chars_format::fixed; in __to_chars() 459 _Fmt = chars_format::scientific; in __to_chars() 463 if (_Fmt == chars_format::fixed) { in __to_chars() 664 const chars_format _Fmt) { in __f2s_buffered_n() 671 if (_Fmt == chars_format in __f2s_buffered_n() [all...] |
H A D | d2s.cpp | 356 chars_format _Fmt, const double __f) { in __to_chars() 363 if (_Fmt == chars_format{}) { in __to_chars() 382 _Fmt = chars_format::fixed; in __to_chars() 384 _Fmt = chars_format::scientific; in __to_chars() 386 } else if (_Fmt == chars_format::general) { in __to_chars() 393 _Fmt = chars_format::fixed; in __to_chars() 395 _Fmt = chars_format::scientific; in __to_chars() 399 if (_Fmt == chars_format::fixed) { in __to_chars() 704 const chars_format _Fmt) { in __d2s_buffered_n() 711 if (_Fmt == chars_format in __d2s_buffered_n() [all...] |
/freebsd/contrib/llvm-project/libcxx/src/include/ |
H A D | to_chars_floating_point.h | 560 const auto to_result = to_chars(buf, end(buf), flt, chars_format::scientific, P - 1); 674 printf("{%.*a%s, chars_format::general, %d, \"%.*g\"},\n", Hexits, f1, Suffix, P, P, f1); 676 printf("{%.*a%s, chars_format::general, %d, \"%.*g\"},\n", Hexits, f2, Suffix, P, P, f2); 992 char* _First, char* const _Last, _Floating _Value, const chars_format _Fmt, const int _Precision) noexcept { 995 _LIBCPP_ASSERT_INTERNAL(_Fmt == chars_format{}, ""); // plain overload must pass chars_format{} internally 997 _LIBCPP_ASSERT_ARGUMENT_WITHIN_DOMAIN(_Fmt == chars_format::general || _Fmt == chars_format::scientific 998 || _Fmt == chars_format::fixed || _Fmt == chars_format [all...] |
/freebsd/contrib/llvm-project/libcxx/modules/std/ |
H A D | charconv.cppm |
|
/freebsd/contrib/llvm-project/libcxx/include/__format/ |
H A D | formatter_floating_point.h | 66 _LIBCPP_HIDE_FROM_ABI char* __to_buffer(char* __first, char* __last, _Tp __value, chars_format __fm… in __to_buffer() 73 _LIBCPP_HIDE_FROM_ABI char* __to_buffer(char* __first, char* __last, _Tp __value, chars_format __fm… in __to_buffer() 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,… 333 …__formatter::__to_buffer(__integral, __buffer.end(), __value, chars_format::scientific, __precisio… 368 …__result.__last = __formatter::__to_buffer(__integral, __buffer.end(), __value, chars_format::… 393 …__result.__last = __formatter::__to_buffer(__integral, __buffer.end(), __value, chars_format::gene…
|
/freebsd/contrib/llvm-project/libcxx/src/include/ryu/ |
H A D | f2s.h | 49 … __f2s_buffered_n(char* const _First, char* const _Last, const float __f, const chars_format _Fmt);
|
H A D | d2s.h | 56 …__d2s_buffered_n(char* const _First, char* const _Last, const double __f, const chars_format _Fmt);
|
H A D | ryu.h | 46 #include <__charconv/chars_format.h> 90 char* const _First, char* const _Last, const _Floating _Value, const chars_format _Fmt) noexcept { in _Floating_to_chars_ryu()
|
/freebsd/lib/libc++/ |
H A D | Makefile | 530 CHC_HEADERS+= chars_format.h
|
H A D | libcxx.imp | 237 { include: [ "<__charconv/chars_format.h>", "private", "<charconv>", "public" ] },
|
/freebsd/contrib/llvm-project/clang/lib/Tooling/Inclusions/Stdlib/ |
H A D | StdSymbolMap.inc | 874 SYMBOL(chars_format, std::, <charconv>)
|