|
virtual result | do_in (_Statype &, const _Byte *_First1, const _Byte *_Last1, const _Byte *&_Mid1, _Elem *_First2, _Elem *_Last2, _Elem *&_Mid2) const |
|
virtual result | do_out (_Statype &, const _Elem *_First1, const _Elem *_Last1, const _Elem *&_Mid1, _Byte *_First2, _Byte *_Last2, _Byte *&_Mid2) const |
|
virtual result | do_unshift (_Statype &, _Byte *_First2, _Byte *, _Byte *&_Mid2) const |
|
virtual int | do_length (_Statype &, const _Byte *_First1, const _Byte *_Last1, size_t _Count) const _THROW0() |
|
virtual bool | do_always_noconv () const _THROW0() |
|
virtual int | do_max_length () const _THROW0() |
|
virtual int | do_encoding () const _THROW0() |
|
template<class _Elem, class _Table, unsigned long _Maxcode = 0xffff>
template<class _Elem, class _Table, unsigned long _Maxcode = 0xffff>
template<class _Elem, class _Table, unsigned long _Maxcode = 0xffff>
template<class _Elem, class _Table, unsigned long _Maxcode = 0xffff>
template<class _Elem, class _Table, unsigned long _Maxcode = 0xffff>
template<class _Elem, class _Table, unsigned long _Maxcode = 0xffff>
template<class _Elem, class _Table, unsigned long _Maxcode = 0xffff>
_STD codecvt< _Elem, char, _Statype > _Mybase
Definition: xone_byte:28
template<class _Elem, class _Table, unsigned long _Maxcode = 0xffff>
template<class _Elem, class _Table, unsigned long _Maxcode = 0xffff>
template<class _Elem, class _Table, unsigned long _Maxcode = 0xffff>
template<class _Elem, class _Table, unsigned long _Maxcode = 0xffff>
49 unsigned long _Maxc = _Maxcode;
53 for (; _Mid1 != _Last1 && _Mid2 != _Last2; ++_Mid1)
55 unsigned short _Bytecode = (
unsigned char)*_Mid1;
57 if ((_Table::_Nlow <= _Bytecode
58 && (_Bytecode = _Table::_Btw[_Bytecode - _Table::_Nlow]) == 0)
60 return (_Mybase::error);
61 *_Mid2++ = (_Elem)_Bytecode;
64 return (_First1 == _Mid1 ? _Mybase::partial : _Mybase::ok);
unsigned char
Definition: mbstring.h:107
template<class _Elem, class _Table, unsigned long _Maxcode = 0xffff>
124 size_t _Wchars = _Last1 - _First1;
_Diff _Count
Definition: algorithm:1941
template<class _Elem, class _Table, unsigned long _Maxcode = 0xffff>
template<class _Elem, class _Table, unsigned long _Maxcode = 0xffff>
71 unsigned long _Maxc = _Maxcode;
75 for (; _Mid1 != _Last1 && _Mid2 != _Last2; ++_Mid1)
77 unsigned long _Hugecode = (
unsigned long)*_Mid1;
78 unsigned short _Widecode = (
unsigned short)_Hugecode;
80 if (_Maxc < _Widecode)
81 return (_Mybase::error);
82 else if (_Widecode < _Table::_Nlow || (_Widecode < 0x100
83 && _Table::_Btw[_Widecode - _Table::_Nlow] == _Widecode))
87 unsigned long _Lo = 0;
88 unsigned long _Hi =
sizeof (_Table::_Wvalid)
89 /
sizeof (_Table::_Wvalid[0]);
93 unsigned long _Mid = (_Hi + _Lo) / 2;
95 if (_Widecode < _Table::_Wvalid[_Mid])
97 else if (_Widecode == _Table::_Wvalid[_Mid])
99 _Widecode = _Table::_Wtb[_Mid];
106 return (_Mybase::error);
108 *_Mid2++ = (
_Byte)_Widecode;
111 return (_First1 == _Mid1 ? _Mybase::partial : _Mybase::ok);
_In_ long
Definition: corecrt_wstdlib.h:88
char _Byte
Definition: xone_byte:30
template<class _Elem, class _Table, unsigned long _Maxcode = 0xffff>
118 return (_Mybase::ok);
The documentation for this class was generated from the following file: