| /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 | from_chars_floating_point.h | 40 _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() 58 …rs(const char* __first, const char* __last, float& __value, chars_format __fmt = chars_format::gen… 63 …s(const char* __first, const char* __last, double& __value, chars_format __fmt = chars_format::gen…
|
| 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 | 38 …loating_to_chars<_Floating_to_chars_overload::_Plain>(__first, __last, __value, chars_format{}, 0); in to_chars() 42 …loating_to_chars<_Floating_to_chars_overload::_Plain>(__first, __last, __value, chars_format{}, 0); in to_chars() 47 __first, __last, static_cast<double>(__value), chars_format{}, 0); in to_chars() 50 to_chars_result to_chars(char* __first, char* __last, float __value, chars_format __fmt) { in to_chars() 54 to_chars_result to_chars(char* __first, char* __last, double __value, chars_format __fmt) { in to_chars() 58 to_chars_result to_chars(char* __first, char* __last, long double __value, chars_format __fmt) { in to_chars() 63 to_chars_result to_chars(char* __first, char* __last, float __value, chars_format __fmt, int __prec… in to_chars() 68 to_chars_result to_chars(char* __first, char* __last, double __value, chars_format __fmt, int __pre… in to_chars() 73 to_chars_result to_chars(char* __first, char* __last, long double __value, chars_format __fmt, int … in to_chars() 80 _LIBCPP_NOESCAPE const char* __first, _LIBCPP_NOESCAPE const char* __last, chars_format __fmt) { in __from_chars_floating_point() [all …]
|
| /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); 69 float& value, chars_format fmt); 72 double& value, chars_format fmt); 84 # include <__charconv/chars_format.h>
|
| H A D | module.modulemap.in | 935 module chars_format { header "__charconv/chars_format.h" }
|
| /freebsd/contrib/llvm-project/libcxx/src/ryu/ |
| H A D | f2s.cpp | 422 chars_format _Fmt, const uint32_t __ieeeMantissa, const uint32_t __ieeeExponent) { in __to_chars() 429 if (_Fmt == chars_format{}) { in __to_chars() 448 _Fmt = chars_format::fixed; in __to_chars() 450 _Fmt = chars_format::scientific; in __to_chars() 452 } else if (_Fmt == chars_format::general) { in __to_chars() 459 _Fmt = chars_format::fixed; in __to_chars() 461 _Fmt = chars_format::scientific; in __to_chars() 465 if (_Fmt == chars_format::fixed) { in __to_chars() 666 const chars_format _Fmt) { in __f2s_buffered_n() 673 if (_Fmt == chars_format::scientific) { in __f2s_buffered_n() [all …]
|
| H A D | d2s.cpp | 357 chars_format _Fmt, const double __f) { in __to_chars() 364 if (_Fmt == chars_format{}) { in __to_chars() 383 _Fmt = chars_format::fixed; in __to_chars() 385 _Fmt = chars_format::scientific; in __to_chars() 387 } else if (_Fmt == chars_format::general) { in __to_chars() 394 _Fmt = chars_format::fixed; in __to_chars() 396 _Fmt = chars_format::scientific; in __to_chars() 400 if (_Fmt == chars_format::fixed) { in __to_chars() 705 const chars_format _Fmt) { in __d2s_buffered_n() 712 if (_Fmt == chars_format::scientific) { 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...] |
| H A D | from_chars_floating_point.h | 358 …const char* const __first, const char* __last, chars_format __fmt, const char* __ptr, bool __negat… in __from_chars_floating_point_decimal() 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() 449 if (__fmt == chars_format::hex) in __from_chars_floating_point_impl()
|
| /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 | 67 _LIBCPP_HIDE_FROM_ABI char* __to_buffer(char* __first, char* __last, _Tp __value, chars_format __fm… in __to_buffer() 74 _LIBCPP_HIDE_FROM_ABI char* __to_buffer(char* __first, char* __last, _Tp __value, chars_format __fm… in __to_buffer() 272 …__result.__last = __formatter::__to_buffer(__integral, __buffer.end(), __value, chars_format::hex); 274 …__result.__last = __formatter::__to_buffer(__integral, __buffer.end(), __value, chars_format::hex,… 334 …__formatter::__to_buffer(__integral, __buffer.end(), __value, chars_format::scientific, __precisio… 369 …__result.__last = __formatter::__to_buffer(__integral, __buffer.end(), __value, chars_format::… 394 …__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 | module.modulemap | 935 module chars_format { header "__charconv/chars_format.h" }
|
| H A D | Makefile | 545 CHC_HEADERS+= chars_format.h
|
| H A D | libcxx.imp | 241 { include: [ "<__charconv/chars_format.h>", "private", "<charconv>", "public" ] },
|
| /freebsd/contrib/llvm-project/libcxx/include/__cxx03/ |
| H A D | module.modulemap | 1078 … cxx03_std_private_charconv_chars_format [system] { header "__charconv/chars_format.h" }
|
| /freebsd/contrib/llvm-project/clang/lib/Tooling/Inclusions/Stdlib/ |
| H A D | StdSymbolMap.inc | 884 SYMBOL(chars_format, std::, <charconv>)
|