|
FMT_NORETURN FMT_API void | detail::assert_fail (const char *file, int line, const char *message) |
|
template<int N> |
bool | detail::dragonbox::check_divisibility_and_divide_by_pow5 (uint32_t &n) FMT_NOEXCEPT |
|
template<> |
FMT_FUNC int | detail::count_digits< 4 > (detail::fallback_uintptr n) |
|
template<typename Char > |
FMT_FUNC Char | detail::decimal_point_impl (locale_ref loc) |
|
uint32_t | detail::dragonbox::divide_by_10_to_kappa_plus_1 (uint32_t n) FMT_NOEXCEPT |
|
uint64_t | detail::dragonbox::divide_by_10_to_kappa_plus_1 (uint64_t n) FMT_NOEXCEPT |
|
bool | detail::dragonbox::divisible_by_power_of_2 (uint32_t x, int exp) FMT_NOEXCEPT |
|
bool | detail::dragonbox::divisible_by_power_of_2 (uint64_t x, int exp) FMT_NOEXCEPT |
|
bool | detail::dragonbox::divisible_by_power_of_5 (uint32_t x, int exp) FMT_NOEXCEPT |
|
bool | detail::dragonbox::divisible_by_power_of_5 (uint64_t x, int exp) FMT_NOEXCEPT |
|
template<typename Double > |
void | detail::fallback_format (Double d, int num_digits, bool binary32, buffer< char > &buf, int &exp10) |
|
int | detail::dragonbox::floor_log10_pow2 (int e) FMT_NOEXCEPT |
|
int | detail::dragonbox::floor_log10_pow2_minus_log10_4_over_3 (int e) FMT_NOEXCEPT |
|
int | detail::dragonbox::floor_log2_pow10 (int e) FMT_NOEXCEPT |
|
FMT_FUNC void | detail::format_error_code (detail::buffer< char > &out, int error_code, string_view message) FMT_NOEXCEPT |
|
template<typename T > |
int | detail::format_float (T value, int precision, float_specs specs, buffer< char > &buf) |
|
FMT_FUNC void | format_system_error (detail::buffer< char > &out, int error_code, string_view message) FMT_NOEXCEPT |
|
void | detail::fwrite_fully (const void *ptr, size_t size, size_t count, FILE *stream) |
|
fp | detail::get_cached_power (int min_exponent, int &pow10_exponent) |
|
round_direction | detail::get_round_direction (uint64_t divisor, uint64_t remainder, uint64_t error) |
|
template<typename Handler > |
FMT_ALWAYS_INLINE digits::result | detail::grisu_gen_digits (fp value, uint64_t error, int &exp, Handler &handler) |
|
template<typename Char > |
FMT_FUNC std::string | detail::grouping_impl (locale_ref loc) |
|
template<class T > |
bool | detail::dragonbox::is_center_integer (typename float_info< T >::carrier_uint two_f, int exponent, int minus_k) FMT_NOEXCEPT |
|
template<class T > |
bool | detail::dragonbox::is_endpoint_integer (typename float_info< T >::carrier_uint two_f, int exponent, int minus_k) FMT_NOEXCEPT |
|
template<class T > |
bool | detail::dragonbox::is_left_endpoint_integer_shorter_interval (int exponent) FMT_NOEXCEPT |
|
uint64_t | detail::multiply (uint64_t lhs, uint64_t rhs) |
|
template<int SHIFT = 0> |
fp | detail::normalize (fp value) |
|
fp | detail::operator* (fp x, fp y) |
|
bool | detail::operator== (fp x, fp y) |
|
FMT_ALWAYS_INLINE int | detail::dragonbox::remove_trailing_zeros (uint32_t &n) FMT_NOEXCEPT |
|
FMT_ALWAYS_INLINE int | detail::dragonbox::remove_trailing_zeros (uint64_t &n) FMT_NOEXCEPT |
|
FMT_FUNC void | detail::report_error (format_func func, int error_code, string_view message) FMT_NOEXCEPT |
|
FMT_FUNC void | report_system_error (int error_code, fmt::string_view message) FMT_NOEXCEPT |
|
int | detail::safe_strerror (int error_code, char *&buffer, size_t buffer_size) FMT_NOEXCEPT |
|
template<class T > |
FMT_ALWAYS_INLINE FMT_SAFEBUFFERS decimal_fp< T > | detail::dragonbox::shorter_interval_case (int exponent) FMT_NOEXCEPT |
|
template<int N> |
uint32_t | detail::dragonbox::small_division_by_pow10 (uint32_t n) FMT_NOEXCEPT |
|
template<typename T > |
int | detail::snprintf_float (T value, int precision, float_specs specs, buffer< char > &buf) |
|
fmt::detail::null | strerror_r (int, char *,...) |
|
fmt::detail::null | strerror_s (char *, size_t,...) |
|
template<typename Char > |
FMT_FUNC Char | detail::thousands_sep_impl (locale_ref loc) |
|
template<typename T > |
FMT_SAFEBUFFERS decimal_fp< T > | detail::dragonbox::to_decimal (T x) FMT_NOEXCEPT |
|
FMT_SAFEBUFFERS uint128_wrapper | detail::dragonbox::umul128 (uint64_t x, uint64_t y) FMT_NOEXCEPT |
|
FMT_SAFEBUFFERS uint64_t | detail::dragonbox::umul128_upper64 (uint64_t x, uint64_t y) FMT_NOEXCEPT |
|
FMT_SAFEBUFFERS uint64_t | detail::dragonbox::umul192_middle64 (uint64_t x, uint128_wrapper y) FMT_NOEXCEPT |
|
FMT_SAFEBUFFERS uint64_t | detail::dragonbox::umul192_upper64 (uint64_t x, uint128_wrapper y) FMT_NOEXCEPT |
|
uint64_t | detail::dragonbox::umul96_lower64 (uint32_t x, uint64_t y) FMT_NOEXCEPT |
|
uint32_t | detail::dragonbox::umul96_upper32 (uint32_t x, uint64_t y) FMT_NOEXCEPT |
|
const char * | detail::utf8_decode (const char *buf, uint32_t *c, int *e) |
|
FMT_FUNC void | vprint (std::FILE *f, string_view format_str, format_args args) |
|
FMT_FUNC void | vprint (string_view format_str, format_args args) |
|
Formats an error returned by an operating system or a language runtime, for example a file opening error, and writes it to out in the following form:
.. parsed-literal:: <message>*: *<system-message>*
where *<message>* is the passed message and *<system-message>* is the system message corresponding to the error code. error_code* is a system error code as given by errno
. If error_code is not a valid error code such as -1, the system message may look like "Unknown error -1" and is platform-dependent.
Definition at line 2710 of file format-inl.h.