#include "stlport_prefix.h"
#include <locale>
#include <ostream>
Go to the source code of this file.
|
template<class Char > |
static _STLP_BEGIN_NAMESPACE ptrdiff_t | __insert_grouping_aux (Char *first, Char *last, const string &grouping, Char separator, Char Plus, Char Minus, int basechars) |
|
template<class Char , class Str > |
static void | __insert_grouping_aux (Str &iostr, size_t __group_pos, const string &grouping, Char separator, Char Plus, Char Minus, int basechars) |
|
_STLP_MOVE_TO_PRIV_NAMESPACE _STLP_DECLSPEC const char *_STLP_CALL | __hex_char_table_lo () |
|
_STLP_DECLSPEC const char *_STLP_CALL | __hex_char_table_hi () |
|
char *_STLP_CALL | __write_integer (char *buf, ios_base::fmtflags flags, long x) |
|
ptrdiff_t _STLP_CALL | __insert_grouping (char *first, char *last, const string &grouping, char separator, char Plus, char Minus, int basechars) |
|
void _STLP_CALL | __insert_grouping (__iostring &str, size_t group_pos, const string &grouping, char separator, char Plus, char Minus, int basechars) |
|
ptrdiff_t _STLP_CALL | __insert_grouping (wchar_t *first, wchar_t *last, const string &grouping, wchar_t separator, wchar_t Plus, wchar_t Minus, int basechars) |
|
void _STLP_CALL | __insert_grouping (__iowstring &str, size_t group_pos, const string &grouping, wchar_t separator, wchar_t Plus, wchar_t Minus, int basechars) |
|
◆ __hex_char_table_hi()
◆ __hex_char_table_lo()
◆ __insert_grouping() [1/4]
Definition at line 135 of file num_put.cpp.
static const WCHAR separator[]
static _STLP_BEGIN_NAMESPACE ptrdiff_t __insert_grouping_aux(Char *first, Char *last, const string &grouping, Char separator, Char Plus, Char Minus, int basechars)
Referenced by __money_do_put(), __put_float(), and __put_integer().
◆ __insert_grouping() [2/4]
Definition at line 142 of file num_put.cpp.
static const WCHAR separator[]
static _STLP_BEGIN_NAMESPACE ptrdiff_t __insert_grouping_aux(Char *first, Char *last, const string &grouping, Char separator, Char Plus, Char Minus, int basechars)
◆ __insert_grouping() [3/4]
Definition at line 149 of file num_put.cpp.
153 Plus, Minus, basechars);
static const WCHAR separator[]
static _STLP_BEGIN_NAMESPACE ptrdiff_t __insert_grouping_aux(Char *first, Char *last, const string &grouping, Char separator, Char Plus, Char Minus, int basechars)
◆ __insert_grouping() [4/4]
Definition at line 157 of file num_put.cpp.
static const WCHAR separator[]
static _STLP_BEGIN_NAMESPACE ptrdiff_t __insert_grouping_aux(Char *first, Char *last, const string &grouping, Char separator, Char Plus, Char Minus, int basechars)
◆ __insert_grouping_aux() [1/2]
Definition at line 31 of file num_put.cpp.
47 Char* cur_group =
last;
52 for ( str_size
n = 0; ; ) {
53 if (
n < grouping.
size() ) {
57 if ((groupsize <= 0) || (groupsize >= cur_group -
first) || (groupsize ==
CHAR_MAX)) {
62 cur_group -= groupsize;
static size_t double int int int * sign
static const WCHAR separator[]
#define __STATIC_CAST(__x, __y)
_Base::size_type size_type
_STLP_MOVE_TO_STD_NAMESPACE _OutputIter copy_backward(_InputIter __first, _InputIter __last, _OutputIter __result)
Referenced by __insert_grouping().
◆ __insert_grouping_aux() [2/2]
template<class Char , class Str >
static void __insert_grouping_aux |
( |
Str & |
iostr, |
|
|
size_t |
__group_pos, |
|
|
const string & |
grouping, |
|
|
Char |
separator, |
|
|
Char |
Plus, |
|
|
Char |
Minus, |
|
|
int |
basechars |
|
) |
| |
|
static |
Definition at line 74 of file num_put.cpp.
80 if (iostr.size() < __group_pos)
84 Char __first = *iostr.begin();
86 if (__first == Plus || __first == Minus) {
90 __first_pos += basechars;
92 typename Str::iterator cur_group(iostr.begin() + __group_pos);
97 for ( str_size
n = 0; ; ) {
98 if (
n < grouping.
size() ) {
102 if ( (groupsize <= 0) || (groupsize >= ((cur_group - iostr.begin()) - __first_pos)) ||
108 cur_group -= groupsize;
109 cur_group = iostr.insert(cur_group,
separator);
static const WCHAR separator[]
#define __STATIC_CAST(__x, __y)
_Base::size_type size_type
WDF_CHILD_LIST_ITERATOR iterator
◆ __write_integer()
Definition at line 125 of file num_put.cpp.
127 char* bufend = tmp+64;
GLint GLint GLint GLint GLint x
GLenum GLuint GLenum GLsizei const GLchar * buf
char *_STLP_CALL __write_integer_backward(char *__buf, ios_base::fmtflags __flags, _Integer __x)
INT copy(TCHAR source[MAX_PATH], TCHAR dest[MAX_PATH], INT append, DWORD lpdwFlags, BOOL bTouch)
Referenced by __write_formatted_timeT(), and ios_base::_M_throw_failure().
◆ ostreambuf_iterator< char, char_traits< char > >