ReactOS 0.4.16-dev-959-g2ec3a19
strtox.cpp File Reference
#include <corecrt_internal.h>
#include <corecrt_internal_strtox.h>
#include <corecrt_wstdlib.h>
#include <ctype.h>
#include <errno.h>
#include <limits.h>
#include <locale.h>
#include <stdint.h>
#include <stdlib.h>
#include <inttypes.h>
Include dependency graph for strtox.cpp:

Go to the source code of this file.

Macros

#define _ALLOW_OLD_VALIDATE_MACROS
 

Functions

long __cdecl strtol (char const *const string, char **const end_ptr, int const base)
 
long __cdecl _strtol_l (char const *const string, char **const end_ptr, int const base, _locale_t const locale)
 
unsigned long __cdecl strtoul (char const *const string, char **const end_ptr, int const base)
 
unsigned long __cdecl _strtoul_l (char const *const string, char **const end_ptr, int const base, _locale_t const locale)
 
__int64 __cdecl _strtoi64 (char const *const string, char **const end_ptr, int const base)
 
long long __cdecl strtoll (char const *const string, char **const end_ptr, int const base)
 
intmax_t __cdecl strtoimax (char const *const string, char **const end_ptr, int const base)
 
__int64 __cdecl _strtoi64_l (char const *const string, char **const end_ptr, int const base, _locale_t const locale)
 
long long __cdecl _strtoll_l (char const *const string, char **const end_ptr, int const base, _locale_t const locale)
 
intmax_t __cdecl _strtoimax_l (char const *const string, char **const end_ptr, int const base, _locale_t const locale)
 
unsigned __int64 __cdecl _strtoui64 (char const *const string, char **const end_ptr, int const base)
 
unsigned long long __cdecl strtoull (char const *const string, char **const end_ptr, int const base)
 
uintmax_t __cdecl strtoumax (char const *const string, char **const end_ptr, int const base)
 
unsigned __int64 __cdecl _strtoui64_l (char const *const string, char **const end_ptr, int const base, _locale_t const locale)
 
unsigned long long __cdecl _strtoull_l (char const *const string, char **const end_ptr, int const base, _locale_t const locale)
 
uintmax_t __cdecl _strtoumax_l (char const *const string, char **const end_ptr, int const base, _locale_t const locale)
 
long __cdecl wcstol (wchar_t const *const string, wchar_t **const end_ptr, int const base)
 
long __cdecl _wcstol_l (wchar_t const *const string, wchar_t **const end_ptr, int const base, _locale_t const locale)
 
unsigned long __cdecl wcstoul (wchar_t const *const string, wchar_t **const end_ptr, int const base)
 
unsigned long __cdecl _wcstoul_l (wchar_t const *const string, wchar_t **const end_ptr, int const base, _locale_t const locale)
 
__int64 __cdecl _wcstoi64 (wchar_t const *const string, wchar_t **const end_ptr, int const base)
 
long long __cdecl wcstoll (wchar_t const *const string, wchar_t **const end_ptr, int const base)
 
intmax_t __cdecl wcstoimax (wchar_t const *const string, wchar_t **const end_ptr, int const base)
 
__int64 __cdecl _wcstoi64_l (wchar_t const *const string, wchar_t **const end_ptr, int const base, _locale_t const locale)
 
long long __cdecl _wcstoll_l (wchar_t const *const string, wchar_t **const end_ptr, int const base, _locale_t const locale)
 
intmax_t __cdecl _wcstoimax_l (wchar_t const *const string, wchar_t **const end_ptr, int const base, _locale_t const locale)
 
unsigned __int64 __cdecl _wcstoui64 (wchar_t const *const string, wchar_t **const end_ptr, int const base)
 
unsigned long long __cdecl wcstoull (wchar_t const *const string, wchar_t **const end_ptr, int const base)
 
uintmax_t __cdecl wcstoumax (wchar_t const *const string, wchar_t **const end_ptr, int const base)
 
unsigned __int64 __cdecl _wcstoui64_l (wchar_t const *const string, wchar_t **const end_ptr, int const base, _locale_t const locale)
 
unsigned long long __cdecl _wcstoull_l (wchar_t const *const string, wchar_t **const end_ptr, int const base, _locale_t const locale)
 
uintmax_t __cdecl _wcstoumax_l (wchar_t const *const string, wchar_t **const end_ptr, int const base, _locale_t const locale)
 

Macro Definition Documentation

◆ _ALLOW_OLD_VALIDATE_MACROS

#define _ALLOW_OLD_VALIDATE_MACROS

Definition at line 44 of file strtox.cpp.

Function Documentation

◆ _strtoi64()

__int64 __cdecl _strtoi64 ( char const *const  string,
char **const  end_ptr,
int const  base 
)

Definition at line 110 of file strtox.cpp.

115{
116 return __crt_strtox::parse_integer_from_string<__int64>(string, end_ptr, base, nullptr);
117}

◆ _strtoi64_l()

__int64 __cdecl _strtoi64_l ( char const *const  string,
char **const  end_ptr,
int const  base,
_locale_t const  locale 
)

Definition at line 139 of file strtox.cpp.

145{
146 return __crt_strtox::parse_integer_from_string<__int64>(string, end_ptr, base, locale);
147}
Definition: _locale.h:75

◆ _strtoimax_l()

intmax_t __cdecl _strtoimax_l ( char const *const  string,
char **const  end_ptr,
int const  base,
_locale_t const  locale 
)

Definition at line 159 of file strtox.cpp.

165{
166 return __crt_strtox::parse_integer_from_string<intmax_t>(string, end_ptr, base, locale);
167}

◆ _strtol_l()

long __cdecl _strtol_l ( char const *const  string,
char **const  end_ptr,
int const  base,
_locale_t const  locale 
)

Definition at line 72 of file strtox.cpp.

78{
79 return __crt_strtox::parse_integer_from_string<long>(string, end_ptr, base, locale);
80}

◆ _strtoll_l()

long long __cdecl _strtoll_l ( char const *const  string,
char **const  end_ptr,
int const  base,
_locale_t const  locale 
)

Definition at line 149 of file strtox.cpp.

155{
156 return __crt_strtox::parse_integer_from_string<long long>(string, end_ptr, base, locale);
157}

◆ _strtoui64()

unsigned __int64 __cdecl _strtoui64 ( char const *const  string,
char **const  end_ptr,
int const  base 
)

Definition at line 171 of file strtox.cpp.

176{
177 return __crt_strtox::parse_integer_from_string<unsigned __int64>(string, end_ptr, base, nullptr);
178}

◆ _strtoui64_l()

unsigned __int64 __cdecl _strtoui64_l ( char const *const  string,
char **const  end_ptr,
int const  base,
_locale_t const  locale 
)

Definition at line 200 of file strtox.cpp.

206{
207 return __crt_strtox::parse_integer_from_string<unsigned __int64>(string, end_ptr, base, locale);
208}

◆ _strtoul_l()

unsigned long __cdecl _strtoul_l ( char const *const  string,
char **const  end_ptr,
int const  base,
_locale_t const  locale 
)

Definition at line 93 of file strtox.cpp.

99{
100 return __crt_strtox::parse_integer_from_string<unsigned long>(string, end_ptr, base, locale);
101}

◆ _strtoull_l()

unsigned long long __cdecl _strtoull_l ( char const *const  string,
char **const  end_ptr,
int const  base,
_locale_t const  locale 
)

Definition at line 210 of file strtox.cpp.

216{
217 return __crt_strtox::parse_integer_from_string<unsigned long long>(string, end_ptr, base, locale);
218}

◆ _strtoumax_l()

uintmax_t __cdecl _strtoumax_l ( char const *const  string,
char **const  end_ptr,
int const  base,
_locale_t const  locale 
)

Definition at line 220 of file strtox.cpp.

226{
227 return __crt_strtox::parse_integer_from_string<uintmax_t>(string, end_ptr, base, locale);
228}

◆ _wcstoi64()

__int64 __cdecl _wcstoi64 ( wchar_t const *const  string,
wchar_t **const  end_ptr,
int const  base 
)

Definition at line 282 of file strtox.cpp.

287{
288 return __crt_strtox::parse_integer_from_string<__int64>(string, end_ptr, base, nullptr);
289}

◆ _wcstoi64_l()

__int64 __cdecl _wcstoi64_l ( wchar_t const *const  string,
wchar_t **const  end_ptr,
int const  base,
_locale_t const  locale 
)

Definition at line 311 of file strtox.cpp.

317{
318 return __crt_strtox::parse_integer_from_string<__int64>(string, end_ptr, base, locale);
319}

◆ _wcstoimax_l()

intmax_t __cdecl _wcstoimax_l ( wchar_t const *const  string,
wchar_t **const  end_ptr,
int const  base,
_locale_t const  locale 
)

Definition at line 331 of file strtox.cpp.

337{
338 return __crt_strtox::parse_integer_from_string<intmax_t>(string, end_ptr, base, locale);
339}

◆ _wcstol_l()

long __cdecl _wcstol_l ( wchar_t const *const  string,
wchar_t **const  end_ptr,
int const  base,
_locale_t const  locale 
)

Definition at line 246 of file strtox.cpp.

252{
253 return __crt_strtox::parse_integer_from_string<long>(string, end_ptr, base, locale);
254}

◆ _wcstoll_l()

long long __cdecl _wcstoll_l ( wchar_t const *const  string,
wchar_t **const  end_ptr,
int const  base,
_locale_t const  locale 
)

Definition at line 321 of file strtox.cpp.

327{
328 return __crt_strtox::parse_integer_from_string<long long>(string, end_ptr, base, locale);
329}

◆ _wcstoui64()

unsigned __int64 __cdecl _wcstoui64 ( wchar_t const *const  string,
wchar_t **const  end_ptr,
int const  base 
)

Definition at line 343 of file strtox.cpp.

348{
349 return __crt_strtox::parse_integer_from_string<unsigned __int64>(string, end_ptr, base, nullptr);
350}

◆ _wcstoui64_l()

unsigned __int64 __cdecl _wcstoui64_l ( wchar_t const *const  string,
wchar_t **const  end_ptr,
int const  base,
_locale_t const  locale 
)

Definition at line 372 of file strtox.cpp.

378{
379 return __crt_strtox::parse_integer_from_string<unsigned __int64>(string, end_ptr, base, locale);
380}

◆ _wcstoul_l()

unsigned long __cdecl _wcstoul_l ( wchar_t const *const  string,
wchar_t **const  end_ptr,
int const  base,
_locale_t const  locale 
)

Definition at line 265 of file strtox.cpp.

271{
272 return __crt_strtox::parse_integer_from_string<unsigned long>(string, end_ptr, base, locale);
273}

◆ _wcstoull_l()

unsigned long long __cdecl _wcstoull_l ( wchar_t const *const  string,
wchar_t **const  end_ptr,
int const  base,
_locale_t const  locale 
)

Definition at line 382 of file strtox.cpp.

388{
389 return __crt_strtox::parse_integer_from_string<unsigned long long>(string, end_ptr, base, locale);
390}

◆ _wcstoumax_l()

uintmax_t __cdecl _wcstoumax_l ( wchar_t const *const  string,
wchar_t **const  end_ptr,
int const  base,
_locale_t const  locale 
)

Definition at line 392 of file strtox.cpp.

398{
399 return __crt_strtox::parse_integer_from_string<uintmax_t>(string, end_ptr, base, locale);
400}

◆ strtoimax()

intmax_t __cdecl strtoimax ( char const *const  string,
char **const  end_ptr,
int const  base 
)

Definition at line 128 of file strtox.cpp.

133{
134 return __crt_strtox::parse_integer_from_string<intmax_t>(string, end_ptr, base, nullptr);
135}

◆ strtol()

long __cdecl strtol ( char const *const  string,
char **const  end_ptr,
int const  base 
)

Definition at line 63 of file strtox.cpp.

68{
69 return __crt_strtox::parse_integer_from_string<long>(string, end_ptr, base, nullptr);
70}

◆ strtoll()

long long __cdecl strtoll ( char const *const  string,
char **const  end_ptr,
int const  base 
)

Definition at line 119 of file strtox.cpp.

124{
125 return __crt_strtox::parse_integer_from_string<long long>(string, end_ptr, base, nullptr);
126}

Referenced by PROPVAR_ConvertNumber().

◆ strtoul()

unsigned long __cdecl strtoul ( char const *const  string,
char **const  end_ptr,
int const  base 
)

Definition at line 84 of file strtox.cpp.

89{
90 return __crt_strtox::parse_integer_from_string<unsigned long>(string, end_ptr, base, nullptr);
91}

◆ strtoull()

unsigned long long __cdecl strtoull ( char const *const  string,
char **const  end_ptr,
int const  base 
)

Definition at line 180 of file strtox.cpp.

185{
186 return __crt_strtox::parse_integer_from_string<unsigned long long>(string, end_ptr, base, nullptr);
187}

◆ strtoumax()

uintmax_t __cdecl strtoumax ( char const *const  string,
char **const  end_ptr,
int const  base 
)

Definition at line 189 of file strtox.cpp.

194{
195 return __crt_strtox::parse_integer_from_string<uintmax_t>(string, end_ptr, base, nullptr);
196}

◆ wcstoimax()

intmax_t __cdecl wcstoimax ( wchar_t const *const  string,
wchar_t **const  end_ptr,
int const  base 
)

Definition at line 300 of file strtox.cpp.

305{
306 return __crt_strtox::parse_integer_from_string<intmax_t>(string, end_ptr, base, nullptr);
307}

◆ wcstol()

long __cdecl wcstol ( wchar_t const *const  string,
wchar_t **const  end_ptr,
int const  base 
)

Definition at line 237 of file strtox.cpp.

242{
243 return __crt_strtox::parse_integer_from_string<long>(string, end_ptr, base, nullptr);
244}

◆ wcstoll()

long long __cdecl wcstoll ( wchar_t const *const  string,
wchar_t **const  end_ptr,
int const  base 
)

Definition at line 291 of file strtox.cpp.

296{
297 return __crt_strtox::parse_integer_from_string<long long>(string, end_ptr, base, nullptr);
298}

◆ wcstoul()

unsigned long __cdecl wcstoul ( wchar_t const *const  string,
wchar_t **const  end_ptr,
int const  base 
)

Definition at line 256 of file strtox.cpp.

261{
262 return __crt_strtox::parse_integer_from_string<unsigned long>(string, end_ptr, base, nullptr);
263}

◆ wcstoull()

unsigned long long __cdecl wcstoull ( wchar_t const *const  string,
wchar_t **const  end_ptr,
int const  base 
)

Definition at line 352 of file strtox.cpp.

357{
358 return __crt_strtox::parse_integer_from_string<unsigned long long>(string, end_ptr, base, nullptr);
359}

◆ wcstoumax()

uintmax_t __cdecl wcstoumax ( wchar_t const *const  string,
wchar_t **const  end_ptr,
int const  base 
)

Definition at line 361 of file strtox.cpp.

366{
367 return __crt_strtox::parse_integer_from_string<uintmax_t>(string, end_ptr, base, nullptr);
368}