DCL 4.0
Loading...
Searching...
No Matches
__xtoa.h File Reference
#include <dcl/Config.h>

Go to the source code of this file.

Macros

#define __DCL_XTOA_H__   20110415

Functions

__DCL_BEGIN_NAMESPACE 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_XTOA_H__

#define __DCL_XTOA_H__   20110415

Definition at line 2 of file __xtoa.h.

Function Documentation

◆ __int32toa()

__DCL_BEGIN_NAMESPACE 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}