ReactOS 0.4.16-dev-753-g705a985
|
#include <corecrt_internal.h>
#include <corecrt_internal_ptd_propagation.h>
#include <ctype.h>
#include <string.h>
#include <math.h>
#include <locale.h>
#include <corecrt_internal_fltintrn.h>
#include <fenv.h>
#include <float.h>
#include <stdio.h>
#include <stdlib.h>
#include <stddef.h>
Go to the source code of this file.
Typedefs | |
using | components_type = floating_traits::components_type |
using components_type = floating_traits::components_type |
errno_t __cdecl __acrt_fp_format | ( | double const *const | value, |
char *const | result_buffer, | ||
size_t const | result_buffer_count, | ||
char *const | scratch_buffer, | ||
size_t const | scratch_buffer_count, | ||
int const | format, | ||
int const | precision, | ||
uint64_t const | options, | ||
__acrt_rounding_mode | rounding_mode, | ||
__crt_cached_ptd_host & | ptd | ||
) |
Definition at line 786 of file cvt.cpp.
Referenced by _gcvt_s_internal(), and __crt_stdio_output::output_processor< Character, OutputAdapter, ProcessorBase >::type_case_a().
_In_fits_precision_ | ( | precision | ) | const |
_In_range_ | ( | 0 | , |
1 | |||
) | const |
Definition at line 54 of file cvt.cpp.
_In_range_ | ( | 1 | , |
SIZE_MAX | |||
) |
_Maybe_unsafe_ | ( | _Inout_updates_z_ | , |
result_buffer_count | |||
) | const |
_Maybe_unsafe_ | ( | _Out_writes_z_ | , |
result_buffer_count | |||
) |
_Out_writes_ | ( | scratch_buffer_count | ) | const |
_Success_ | ( | return | = = 0 | ) | const |
_UCRT_VALIDATE_RETURN_ERRCODE | ( | ptd | , |
result_buffer_count | , | ||
static_cast< size_t > | 1+4+precision+6, | ||
ERANGE | |||
) |
|
static |
Definition at line 261 of file cvt.cpp.
Referenced by should_round_up().
for | ( | ; | precision, |
0;-- | precision | ||
) |
if | ( | components-> | _exponent = = floating_traits::exponent_mask | ) |
Definition at line 375 of file cvt.cpp.
if | ( | components-> | _mantissa, |
0 | |||
) |
Definition at line 453 of file cvt.cpp.
if | ( | exponent >= | 0 | ) |
if | ( | precision | = = 0 | ) |
if | ( | result_buffer ! | = pos || exponent >= 100 | ) |
|
static |
Definition at line 26 of file cvt.cpp.
Referenced by throw().
|
static |
Definition at line 300 of file cvt.cpp.
Referenced by if().
int const tm const *const _CrtWcstime_Writes_and_advances_ptr_ count wchar_t **const _Inout_ size_t *const __crt_lc_time_data const *const lc_time throw | ( | ) |
Definition at line 119 of file cvt.cpp.
components_type const* const components = reinterpret_cast<components_type const*>(argument) |
else |
exponent = components->_exponent - debias |
Definition at line 529 of file cvt.cpp.
Referenced by __64tof(), __fto64(), __crt_strtox::assemble_floating_point_value(), __crt_strtox::assemble_floating_point_value_from_big_integer(), __crt_strtox::assemble_floating_point_value_t(), cff_parse_real(), __crt_strtox::convert_hexadecimal_string_to_floating_type_common(), convert_ld12_to_ldouble(), convert_to_fos_high_precision(), format_float(), gl_compute_material_shine_table(), gl_compute_spot_exp_table(), if(), ldexp(), ldexpf(), __crt_strtox::parse_floating_point_from_source(), PS_Conv_ToFixed(), rdssl_rkey_get_exp_mod(), RoundTo3Digits(), sec_parse_crypt_info(), sec_parse_public_key(), sec_parse_public_sig(), sec_process_crypt_info(), sec_rsa_encrypt(), TRIO_ARGS2(), VARIANT_FormatNumber(), and wcstod().
Definition at line 115 of file cvt.cpp.
Referenced by __acrt_fp_format(), if(), and throw().
Definition at line 116 of file cvt.cpp.
Referenced by __acrt_fp_strflt_to_string(), and throw().
* pos = result_buffer++ |
Definition at line 353 of file cvt.cpp.
Referenced by ___lc_codepage_func(), ___lc_collate_cp_func(), ___lc_locale_name_func(), ___mb_cur_max_func(), __acrt_errno_map_os_error_ptd(), __acrt_fp_format(), __acrt_fp_strflt_to_string(), __acrt_getptd(), __acrt_stdio_end_temporary_buffering_nolock(), __acrt_stdio_flush_and_write_narrow_nolock(), __acrt_stdio_flush_and_write_wide_nolock(), __acrt_stdio_flush_nolock(), __acrt_update_locale_info(), __acrt_update_locale_info_explicit(), __acrt_update_multibyte_info(), __acrt_update_multibyte_info_explicit(), __acrt_update_thread_locale_data(), __crt_mbstring::__c16rtomb_utf8(), __crt_mbstring::__c32rtomb_utf8(), __conio_common_vcprintf(), __conio_common_vcprintf_p(), __conio_common_vcprintf_s(), __conio_common_vcwprintf(), __conio_common_vcwprintf_p(), __conio_common_vcwprintf_s(), __DEFINE_CPP_OVERLOAD_STANDARD_FUNC_0_0(), __doserrno(), __getgmtimebuf(), __crt_mbstring::__mbrtoc16_utf8(), __crt_mbstring::__mbrtoc32_utf8(), __p___mb_cur_max(), __pctype_func(), __pragma(), _chsize_nolock(), _chsize_nolock_internal(), _chsize_s(), _chsize_s_internal(), _close(), _close_internal(), _close_nolock(), _close_nolock_internal(), _configthreadlocale(), _dup(), _dup2(), _dup2_internal(), _dup2_nolock_internal(), _dup_internal(), _dup_nolock_internal(), _ecvt(), _ecvt_internal(), _ecvt_s(), _ecvt_s_internal(), _errno(), _fclose_internal(), _fclose_nolock(), _fclose_nolock_internal(), _fcvt(), _fcvt_internal(), _fcvt_s(), _fcvt_s_internal(), _fflush_nolock(), _fflush_nolock_internal(), _fputc_internal(), _fputc_nolock(), _fputc_nolock_internal(), _fputs_internal(), _fputwc_internal(), _fputwc_nolock(), _fputwc_nolock_internal(), _fputws_internal(), _fseek_nolock(), _fseeki64(), _fseeki64_nolock(), _ftell_nolock(), _ftelli64(), _ftelli64_nolock(), _ftelli64_nolock_internal(), _fwrite_internal(), _fwrite_nolock(), _fwrite_nolock_internal(), _gcvt_s(), _gcvt_s_internal(), _get_current_locale(), _get_thread_local_invalid_parameter_handler(), _invalid_parameter(), _invalid_parameter_internal(), _lseek(), _lseek_internal(), _lseek_nolock(), _lseek_nolock_internal(), _lseeki64(), _lseeki64_internal(), _lseeki64_nolock(), _lseeki64_nolock_internal(), _mblen_internal(), _mblen_l(), _mbstowcs_internal(), _mbstowcs_l(), _mbstowcs_l_helper(), _mbstowcs_s_l(), _mbtowc_internal(), _mbtowc_l(), _perror_internal(), _putch_nolock(), _putch_nolock_internal(), _puts_internal(), _putws(), _putws_internal(), _rewind_internal(), _seh_filter_exe(), _set_doserrno(), _set_errno(), _set_thread_local_invalid_parameter_handler(), _setvbuf_internal(), _Success_(), _tcstol_internal(), _wctomb_internal(), _wctomb_l(), _wctomb_s_l(), _write(), _write_internal(), _write_nolock(), _wsetlocale(), _wsetlocale_set_cat(), c16rtomb(), c32rtomb(), common_asctime_get_ptd_buffer(), common_end_thread(), common_flush_and_write_nolock(), common_fseek(), common_fseek_nolock(), common_ftell(), common_ftell_nolock(), common_ftell_read_mode_nolock(), common_ftell_translated_utf8_nolock(), common_lseek(), common_lseek_do_seek_nolock(), common_lseek_nolock(), common_strerror(), common_vcprintf(), construct_ptd(), construct_ptd_array(), DataCache_GetExtent(), DECLARE_INTERFACE_(), destroy_ptd(), destroy_ptd_array(), duplicate_osfhnd(), __crt_stdio_output::formatting_buffer::ensure_buffer_is_big_enough(), fast_check_current_locale(), fclose(), fputc(), fputs(), fputwc(), fputwc_binary_nolock(), fputws(), fseek(), ftell(), fwrite(), get_ptd_buffer(), get_strerror_buffer(), get_terminate_or_default(), get_tmpnam_ptd_buffer(), if(), internal_to_string(), anonymous_namespace{mstscax.cpp}::CoClass::IViewObject2::GetExtent(), anonymous_namespace{mstscax.cpp}::CoClass::IViewObject::Draw(), anonymous_namespace{mstscax.cpp}::CoClass::IViewObject::GetColorSet(), localeconv(), mblen(), mbrtoc16(), mbrtoc32(), mbstowcs(), mbstowcs_s(), mbtowc(), OleConvertOLESTREAMToIStorage(), __crt_stdio_output::output_adapter_data< Character, OutputAdapter >::output_adapter_data(), __crt_stdio_output::output_processor< Character, OutputAdapter, ProcessorBase >::output_processor(), __crt_strtox::parse_integer(), __crt_strtox::parse_integer_from_string(), perror(), puts(), raise(), rand(), replace_current_thread_locale_nolock(), __crt_mbstring::return_illegal_sequence(), rewind(), set_terminate(), setlocale(), setmbcp_internal(), setvbuf(), signal(), stabs_get_basic(), stabs_parse_typedef(), stabs_pts_push(), stabs_pts_read_aggregate(), stabs_pts_read_array(), stabs_pts_read_enum(), stabs_pts_read_id(), stabs_pts_read_method_info(), stabs_pts_read_number(), stabs_pts_read_range(), stabs_pts_read_range_value(), stabs_pts_read_type_def(), stabs_pts_read_type_reference(), test_CreateFormatEnum(), test_pack_RemFORMATETC(), throw(), try_get_ptd_buffer(), update_thread_multibyte_data_internal(), __crt_stdio_output::stream_output_adapter< Character >::validate(), __crt_stdio_output::string_output_adapter< Character >::validate(), ViewObject_Draw(), ViewObject_GetColorSet(), ViewObject_GetExtent(), ViewObject_GetNaturalExtent(), wctomb_s(), write_buffer_nolock(), __crt_stdio_output::output_adapter_common< Character, Derived >::write_character(), __crt_stdio_output::console_output_adapter< Character >::write_character_without_count_update(), __crt_stdio_output::stream_output_adapter< Character >::write_character_without_count_update(), write_double_translated_ansi_nolock(), __crt_stdio_output::write_multiple_characters(), write_requires_double_translation_nolock(), __crt_stdio_output::console_output_adapter< Character >::write_string(), __crt_stdio_output::stream_output_adapter< Character >::write_string(), __crt_stdio_output::string_output_adapter< Character >::write_string(), and __crt_stdio_output::output_adapter_common< Character, Derived >::write_string_impl().
* result_buffer = '\0' |
Definition at line 111 of file cvt.cpp.
Referenced by __acrt_fp_format(), _In_range_(), _makepath(), _makepath_s(), _read_nolock(), _searchenv(), _searchenv_s(), _wmakepath(), _wmakepath_s(), _wsearchenv(), _wsearchenv_s(), _wtmpnam(), _wtmpnam_s(), common_makepath_s(), common_searchenv_s(), for(), if(), throw(), tmpnam(), and tmpnam_s().
_In_ size_t const _In_ int const _In_ bool const _In_ unsigned const _In_ __acrt_rounding_mode const rounding_mode |
Definition at line 223 of file cvt.cpp.
Referenced by __acrt_fp_format(), __acrt_fp_strflt_to_string(), if(), and should_round_up().