|
ReactOS 0.4.16-dev-1948-gd260c1d
|

Go to the source code of this file.
Functions | |
| _Check_return_ | _Post_satisfies_ ((return<=_String_length_(string) &&return<=max_size)||return==(size_t) -1) static size_t __cdecl common_mbstrlen_l(char const *const string |
| _ASSERTE (locale_update.GetLocaleT() ->locinfo->_public._locale_mb_cur_max==1||locale_update.GetLocaleT() ->locinfo->_public._locale_mb_cur_max==2) | |
| if (locale_update.GetLocaleT() ->locinfo->_public._locale_mb_cur_max==1) | |
| if (__acrt_MultiByteToWideChar(locale_update.GetLocaleT() ->locinfo->_public._locale_lc_codepage, MB_PRECOMPOSED|MB_ERR_INVALID_CHARS, string, static_cast< int >(max_size), nullptr, 0)==0) | |
| for (char const *it=string;size< max_size &&*it;++n,++it,++size) | |
| size_t __cdecl | _mbstrlen_l (char const *const string, _locale_t const locale) |
| size_t __cdecl | _mbstrlen (char const *const string) |
| size_t __cdecl | _mbstrnlen_l (char const *const string, size_t const max_size, _locale_t const locale) |
| size_t __cdecl | _mbstrnlen (char const *const string, size_t const max_size) |
Variables | |
| _Check_return_ size_t const | max_size |
| _Check_return_ size_t const _locale_t const | locale |
| size_t | n = 0 |
| size_t | size = 0 |
| _ASSERTE | ( | locale_update.GetLocaleT() ->locinfo->_public. | _locale_mb_cur_max = =1||locale_update.GetLocaleT() ->locinfo->_public._locale_mb_cur_max==2 | ) |
Definition at line 87 of file _mbslen.cpp.
Definition at line 79 of file _mbslen.cpp.
Referenced by _mbstrlen().
Definition at line 113 of file _mbslen.cpp.
| size_t __cdecl _mbstrnlen_l | ( | char const *const | string, |
| size_t const | max_size, | ||
| _locale_t const | locale | ||
| ) |
Definition at line 101 of file _mbslen.cpp.
Referenced by _mbstrnlen().
| _Check_return_ _Post_satisfies_ | ( | (return<=_String_length_(string) &&return<=max_size)|| | return = = (size_t)-1 | ) | const |
| for | ( | ) |
Definition at line 60 of file _mbslen.cpp.
| if | ( | __acrt_MultiByteToWideChar( locale_update.GetLocaleT() ->locinfo->_public._locale_lc_codepage, MB_PRECOMPOSED|MB_ERR_INVALID_CHARS, string, static_cast< int >(max_size), nullptr, 0) | = = 0 | ) |
Definition at line 43 of file _mbslen.cpp.
| if | ( | locale_update.GetLocaleT() ->locinfo->_public. | _locale_mb_cur_max = = 1 | ) |
Definition at line 37 of file _mbslen.cpp.
Definition at line 27 of file _mbslen.cpp.
| _Check_return_ size_t const max_size |
Definition at line 26 of file _mbslen.cpp.
Referenced by _mbstrnlen(), _mbstrnlen_l(), for(), and if().
Definition at line 58 of file _mbslen.cpp.
Definition at line 59 of file _mbslen.cpp.
Referenced by for().