DCL 4.0
Loading...
Searching...
No Matches
__xtoa.cpp File Reference
#include "__xtoa.h"
#include "__XTOA_T.cpp"

Go to the source code of this file.

Macros

#define __DCL_INTERNAL__
#define __int32   int
#define __int64   long long int
#define XTOA   __int32toa_internal
#define INT_T   __int32
#define CHAR_T   char
#define XTOA   __int64toa_internal
#define INT_T   __int64
#define CHAR_T   char
#define XTOA   __int32tow_internal
#define INT_T   __int32
#define CHAR_T   wchar_t
#define XTOA   __int64tow_internal
#define INT_T   __int64
#define CHAR_T   wchar_t

Functions

char * __int32toa (int32_t _n, char *_buf, unsigned _base)
char * __uint32toa (uint32_t _n, char *_buf, unsigned _base)
char * __int64toa (int64_t _n, char *_buf, unsigned _base)
char * __uint64toa (uint64_t _n, char *_buf, unsigned _base)
wchar_t * __int32tow (int32_t _n, wchar_t *_buf, unsigned _base)
wchar_t * __uint32tow (uint32_t _n, wchar_t *_buf, unsigned _base)
wchar_t * __int64tow (int64_t _n, wchar_t *_buf, unsigned _base)
wchar_t * __uint64tow (uint64_t _n, wchar_t *_buf, unsigned _base)

Macro Definition Documentation

◆ __DCL_INTERNAL__

#define __DCL_INTERNAL__

Definition at line 5 of file __xtoa.cpp.

◆ __int32

#define __int32   int

Definition at line 11 of file __xtoa.cpp.

◆ __int64

#define __int64   long long int

Definition at line 15 of file __xtoa.cpp.

◆ CHAR_T [1/4]

#define CHAR_T   char

Definition at line 24 of file __xtoa.cpp.

◆ CHAR_T [2/4]

#define CHAR_T   char

Definition at line 24 of file __xtoa.cpp.

◆ CHAR_T [3/4]

#define CHAR_T   wchar_t

Definition at line 24 of file __xtoa.cpp.

◆ CHAR_T [4/4]

#define CHAR_T   wchar_t

Definition at line 24 of file __xtoa.cpp.

◆ INT_T [1/4]

#define INT_T   __int32

Definition at line 23 of file __xtoa.cpp.

◆ INT_T [2/4]

#define INT_T   __int64

Definition at line 23 of file __xtoa.cpp.

◆ INT_T [3/4]

#define INT_T   __int32

Definition at line 23 of file __xtoa.cpp.

◆ INT_T [4/4]

#define INT_T   __int64

Definition at line 23 of file __xtoa.cpp.

◆ XTOA [1/4]

#define XTOA   __int32toa_internal

Definition at line 22 of file __xtoa.cpp.

◆ XTOA [2/4]

#define XTOA   __int64toa_internal

Definition at line 22 of file __xtoa.cpp.

◆ XTOA [3/4]

#define XTOA   __int32tow_internal

Definition at line 22 of file __xtoa.cpp.

◆ XTOA [4/4]

#define XTOA   __int64tow_internal

Definition at line 22 of file __xtoa.cpp.

Function Documentation

◆ __int32toa()

char * __int32toa ( int32_t _n,
char * _buf,
unsigned _base )
Parameters
_base2 ~ 32

Definition at line 27 of file __xtoa.cpp.

28{
29 __int32toa_internal((unsigned __int32) _n, _buf, _base, (_base == 10 && _n < 0));
30 return _buf;
31}
#define __int32
Definition __xtoa.cpp:11

◆ __int32tow()

wchar_t * __int32tow ( int32_t _n,
wchar_t * _buf,
unsigned _base )

Definition at line 67 of file __xtoa.cpp.

68{
69 __int32tow_internal((unsigned __int32) _n, _buf, _base, (_base == 10 && _n < 0));
70 return _buf;
71}

◆ __int64toa()

char * __int64toa ( int64_t _n,
char * _buf,
unsigned _base )

Definition at line 47 of file __xtoa.cpp.

48{
49 __int64toa_internal((unsigned __int64) _n, _buf, _base, (_base == 10 && _n < 0));
50 return _buf;
51}
#define __int64
Definition __xtoa.cpp:15

◆ __int64tow()

wchar_t * __int64tow ( int64_t _n,
wchar_t * _buf,
unsigned _base )

Definition at line 87 of file __xtoa.cpp.

88{
89 __int64tow_internal((unsigned __int64) _n, _buf, _base, (_base == 10 && _n < 0));
90 return _buf;
91}

◆ __uint32toa()

char * __uint32toa ( uint32_t _n,
char * _buf,
unsigned _base )

Definition at line 33 of file __xtoa.cpp.

34{
35 __int32toa_internal(_n, _buf, _base, 0);
36 return _buf;
37}

◆ __uint32tow()

wchar_t * __uint32tow ( uint32_t _n,
wchar_t * _buf,
unsigned _base )

Definition at line 73 of file __xtoa.cpp.

74{
75 __int32tow_internal(_n, _buf, _base, 0);
76 return _buf;
77}

◆ __uint64toa()

char * __uint64toa ( uint64_t _n,
char * _buf,
unsigned _base )

Definition at line 53 of file __xtoa.cpp.

54{
55 __int64toa_internal(_n, _buf, _base, 0);
56 return _buf;
57}

◆ __uint64tow()

wchar_t * __uint64tow ( uint64_t _n,
wchar_t * _buf,
unsigned _base )

Definition at line 93 of file __xtoa.cpp.

94{
95 __int64tow_internal(_n, _buf, _base, 0);
96 return _buf;
97}