49 __crt_cached_ptd_host&
ptd
82 locale->locinfo->_public._locale_mb_cur_max == 2);
95 _ASSERTE(
locale->locinfo->_public._locale_lc_codepage !=
CP_UTF8 &&
L"UTF-8 isn't supported in this _mbtowc_l function yet!!!");
101 if ((
locale->locinfo->_public._locale_mb_cur_max <= 1) || ((
int) n < locale->
locinfo->_public._locale_mb_cur_max) ||
102 (__acrt_MultiByteToWideChar(
locale->locinfo->_public._locale_lc_codepage,
105 locale->locinfo->_public._locale_mb_cur_max,
107 (pwc) ? 1 : 0) == 0))
110 if ((
n < (
size_t)
locale->locinfo->_public._locale_mb_cur_max) || (!*(
s + 1)))
116 return locale->locinfo->_public._locale_mb_cur_max;
120 if (__acrt_MultiByteToWideChar(
locale->locinfo->_public._locale_lc_codepage,
151 __crt_cached_ptd_host
ptd;
_Check_return_ __forceinline unsigned short __cdecl _isleadbyte_fast_internal(_In_ unsigned char const c, _In_ _locale_t const locale)
_In_ size_t const _In_ int _In_ bool const _In_ unsigned const _In_ __acrt_rounding_mode const _Inout_ __crt_cached_ptd_host & ptd
#define MB_ERR_INVALID_CHARS
int __cdecl _mbtowc_internal(wchar_t *pwc, const char *s, size_t n, __crt_cached_ptd_host &ptd)
int __cdecl _mbtowc_l(wchar_t *pwc, const char *s, size_t n, _locale_t plocinfo)
size_t __cdecl __mbrtowc_utf8(wchar_t *pwc, const char *s, size_t n, mbstate_t *ps, __crt_cached_ptd_host &ptd)