ReactOS 0.4.16-dev-2104-gb84fa49
atox.cpp File Reference
#include <corecrt_internal_strtox.h>
#include <stdlib.h>
Include dependency graph for atox.cpp:

Go to the source code of this file.

Macros

#define _ALLOW_OLD_VALIDATE_MACROS
 

Functions

int __cdecl atoi (char const *const string)
 
int __cdecl _atoi_l (char const *const string, _locale_t const locale)
 
long __cdecl atol (char const *const string)
 
long __cdecl _atol_l (char const *const string, _locale_t const locale)
 
long long __cdecl atoll (char const *const string)
 
long long __cdecl _atoll_l (char const *const string, _locale_t const locale)
 
__int64 __cdecl _atoi64 (char const *const string)
 
__int64 __cdecl _atoi64_l (char const *const string, _locale_t const locale)
 
int __cdecl _wtoi (wchar_t const *const string)
 
int __cdecl _wtoi_l (wchar_t const *const string, _locale_t const locale)
 
long __cdecl _wtol (wchar_t const *const string)
 
long __cdecl _wtol_l (wchar_t const *const string, _locale_t const locale)
 
long long __cdecl _wtoll (wchar_t const *const string)
 
long long __cdecl _wtoll_l (wchar_t const *const string, _locale_t const locale)
 
__int64 __cdecl _wtoi64 (wchar_t const *const string)
 
__int64 __cdecl _wtoi64_l (wchar_t const *const string, _locale_t const locale)
 

Macro Definition Documentation

◆ _ALLOW_OLD_VALIDATE_MACROS

#define _ALLOW_OLD_VALIDATE_MACROS

Definition at line 9 of file atox.cpp.

Function Documentation

◆ _atoi64()

__int64 __cdecl _atoi64 ( char const *const  string)

Definition at line 51 of file atox.cpp.

52{
53 return __crt_strtox::parse_integer_from_string<__int64>(string, nullptr, 10, nullptr);
54}

Referenced by atol(), atoll(), CommandDumpSector(), IopStartRamdisk(), main(), and RamDiskInitialize().

◆ _atoi64_l()

__int64 __cdecl _atoi64_l ( char const *const  string,
_locale_t const  locale 
)

Definition at line 56 of file atox.cpp.

57{
58 return __crt_strtox::parse_integer_from_string<__int64>(string, nullptr, 10, locale);
59}
Definition: _locale.h:75

◆ _atoi_l()

int __cdecl _atoi_l ( char const *const  string,
_locale_t const  locale 
)

Definition at line 26 of file atox.cpp.

27{
28 return __crt_strtox::parse_integer_from_string<long>(string, nullptr, 10, locale);
29}

◆ _atol_l()

long __cdecl _atol_l ( char const *const  string,
_locale_t const  locale 
)

Definition at line 36 of file atox.cpp.

37{
38 return __crt_strtox::parse_integer_from_string<long>(string, nullptr, 10, locale);
39}

◆ _atoll_l()

long long __cdecl _atoll_l ( char const *const  string,
_locale_t const  locale 
)

Definition at line 46 of file atox.cpp.

47{
48 return __crt_strtox::parse_integer_from_string<long long>(string, nullptr, 10, locale);
49}

◆ _wtoi()

int __cdecl _wtoi ( wchar_t const *const  string)

Definition at line 68 of file atox.cpp.

69{
70 // Note: We parse as a long to avoid an extra specialization of parse_integer_from_string
71 return __crt_strtox::parse_integer_from_string<long>(string, nullptr, 10, nullptr);
72}

Referenced by Applet(), CConfiguration::CConfiguration(), CFSExtractIcon_CreateInstance(), Control_DoLaunch(), ConvertAddCmdLine(), CClassNode::ConvertResourceDescriptorToString(), CopyIpAddrString(), CreateNTPServerList(), BtrfsVolPropSheet::DeviceDlgProc(), DisplayApplet(), DllMain(), DoLoadItems(), DoParseFile(), EnumPwrSchemes(), FreeLdrMigrateBootDrivePartWorker(), GetActivePwrScheme(), GetGWListEntry(), GetIntValue(), GetIpAddressFromStringW(), GetLayoutName(), GetPwrDiskSpindownRange(), InitFilterListBox(), InsSpacesFmt(), InstallParallelPort(), InstallSerialPort(), IntLoadFontSubstList(), IsRegImeToolbarShown(), JapaneseEra_Load(), KeyboardApplet(), LoadBootIni(), LoadBootSettings(), LoadCurrentLocale(), LoadIniFile(), LoadSettings(), MmSysApplet(), MouseApplet(), CAttributesDialog::OnEdit1(), CAttributesDialog::OnEdit2(), CFontsDialog::OnFontSize(), ParseArguments(), ParseCommandLine(), ParseSettings(), ProcessUnattendSection(), PropSheetDlgProc(), QueryBootStoreOptions(), ReadKeysSettings(), RegLoadMUIStringW(), RemoveDeviceW(), RemovePort(), ResetStatsW(), ResizeDeviceW(), BtrfsBalance::SaveBalanceOpts(), SetNewLocale(), SIC_GetMetricsValue(), SpiLoadInt(), StoreIPSettings(), SystemApplet(), TransformView_Create(), UserGetLanguageToggle(), WlxScreenSaverNotify(), and wmain().

◆ _wtoi64()

__int64 __cdecl _wtoi64 ( wchar_t const *const  string)

Definition at line 99 of file atox.cpp.

100{
101 return __crt_strtox::parse_integer_from_string<__int64>(string, nullptr, 10, nullptr);
102}

Referenced by BtrfsBalance::SaveBalanceOpts(), and wtoll().

◆ _wtoi64_l()

__int64 __cdecl _wtoi64_l ( wchar_t const *const  string,
_locale_t const  locale 
)

Definition at line 104 of file atox.cpp.

105{
106 return __crt_strtox::parse_integer_from_string<__int64>(string, nullptr, 10, locale);
107}

◆ _wtoi_l()

int __cdecl _wtoi_l ( wchar_t const *const  string,
_locale_t const  locale 
)

Definition at line 74 of file atox.cpp.

75{
76 return __crt_strtox::parse_integer_from_string<long>(string, nullptr, 10, locale);
77}

◆ _wtol()

long __cdecl _wtol ( wchar_t const *const  string)

Definition at line 79 of file atox.cpp.

80{
81 return __crt_strtox::parse_integer_from_string<long>(string, nullptr, 10, nullptr);
82}

Referenced by ApplyParameterStringsToMessage(), BuildCodePageList(), InstalledCPProc(), LoadRegistrySettings(), ProcessCodePage(), and XCOPY_ParseCommandLine().

◆ _wtol_l()

long __cdecl _wtol_l ( wchar_t const *const  string,
_locale_t const  locale 
)

Definition at line 84 of file atox.cpp.

85{
86 return __crt_strtox::parse_integer_from_string<long>(string, nullptr, 10, locale);
87}

◆ _wtoll()

long long __cdecl _wtoll ( wchar_t const *const  string)

Definition at line 89 of file atox.cpp.

90{
91 return __crt_strtox::parse_integer_from_string<long long>(string, nullptr, 10, nullptr);
92}

◆ _wtoll_l()

long long __cdecl _wtoll_l ( wchar_t const *const  string,
_locale_t const  locale 
)

Definition at line 94 of file atox.cpp.

95{
96 return __crt_strtox::parse_integer_from_string<long long>(string, nullptr, 10, locale);
97}

◆ atoi()

int __cdecl atoi ( char const *const  string)

Definition at line 20 of file atox.cpp.

21{
22 // Note: We parse as a long to avoid an extra specialization of parse_integer_from_string
23 return __crt_strtox::parse_integer_from_string<long>(string, nullptr, 10, nullptr);
24}

Referenced by __GetLCIDFromName(), __GetLocaleInfoUsingACP(), __intGetACP(), __intGetOCP(), __rpc_uaddr2taddr_af(), _ecvt(), _Locale_codecvt_create(), _Locale_ctype_create(), _Locale_monetary_create(), _Locale_n_sign_posn(), _Locale_p_sign_posn(), _Locale_strcmp(), _Locale_strxfrm(), _tmain(), add_widl_version_define(), AddrStrToAddr(), atol(), BGStartCmd(), CC_CheckDigitsInEdit(), CmdLineParse(), Telnet::Connect(), CreateOutputFile(), DebugCmd(), demangle_datatype(), DissectArcPath(), DoSHIFTSTATE(), doWinMain(), DriveMapGetBiosDriveNumber(), DriveMapIsValidDriveString(), EditCustomBootReactOS(), Ext2ParseRegistryVolumeParams(), formatopts_proc(), FTP_ParseNextFile(), FTP_ReceiveResponse(), FTPDecodeURL(), FTPQueryFeatures(), get_constant_element_by_name(), get_modified_type(), get_parameter_element_by_name(), get_qualified_type(), get_shell_icon_size(), getline(), GetPortNumber(), GetProtoGetNextEnt(), GetResponse(), GetScreenColumns(), GetSectionName(), gl_init(), handle_switch(), HCR_RegGetIconA(), HelpCmd(), I10_OUTPUT(), InfGetBinaryField(), InfGetIntField(), init(), init_leases_list(), InternetReadFile_test(), interpret(), iso9660_file_length(), isoname_endsok(), lineGetCountryA(), lineGetTranslateCapsA(), TMapLoader::LoadGlobal(), LoadSettings(), locale_to_sname(), main(), metricfromreg(), MSVCRT__create_locale(), MSVCRT_locale_to_LCID(), name_to_codepage(), netif_find(), CDFParser::NextToken(), NSP_GetServiceByNameHeapAllocW(), OpenCmd(), XMLStorage::XPathElement::parse(), ParseCmdline(), ParseFile(), ParseHostLine(), pe_find_section(), ProcessFirewallPrefFile(), processRequest(), puint_t_UserMarshal(), put_resource_id(), read_version_entry(), TConfig::redir_init(), s_square_puint(), s_square_test_us(), s_sum_cpuints(), s_sum_puints(), section_get_dword(), ServiceNameToPortNumber(), TConfig::set_bool(), TConfig::set_value(), SetConnTimeout(), SetCtrlTimeout(), setdebug(), SetLogSize(), SetPassive(), setpeer(), SetRedialDelay(), SetSOBufsize(), setup_dinput_options(), setup_dsound_options(), SetXferTimeout(), spy_init(), START_TEST(), StrToBool(), StrToIntA(), telCommandLine(), test_asyncWAVE(), test_asyncWaveTypeMpegvideo(), test_atoi(), test_AutoOpenWAVE(), test_file_inherit_child(), test_file_inherit_child_no(), test_firstDay(), test_GetCalendarInfo(), test_openCloseWAVE(), test_pipes_child(), test_play(), test_setlocale(), test_wm_set_get_text(), TIFFFetchStripThing(), translate_line(), UnDosLine(), UnLslRLine(), UnMlsT(), us_t_UserMarshal(), value_get_dword_field(), wined3d_dll_init(), wined3d_parse_gl_version(), and WinLdrSetupEms().

◆ atol()

◆ atoll()

long long __cdecl atoll ( char const *const  string)

Definition at line 41 of file atox.cpp.

42{
43 return __crt_strtox::parse_integer_from_string<long long>(string, nullptr, 10, nullptr);
44}