Searched refs:mbstr (Results 1 – 5 of 5) sorted by relevance
/reactos/sdk/lib/crt/stdlib/ |
H A D | mbstowcs.c | 6 size_t CDECL _mbstowcs_l(wchar_t *wcstr, const char *mbstr, in _mbstowcs_l() argument 12 if(!mbstr) { in _mbstowcs_l() 24 return strlen(mbstr); in _mbstowcs_l() 27 wcstr[i] = (unsigned char)mbstr[i]; in _mbstowcs_l() 35 return MultiByteToWideChar(locinfo->lc_codepage, 0, mbstr, -1, NULL, 0)-1; in _mbstowcs_l() 38 if(mbstr[size] == '\0') in _mbstowcs_l() 41 size += (_isleadbyte_l((unsigned char)mbstr[size], locale) ? 2 : 1); in _mbstowcs_l() 46 mbstr, size, wcstr, count); in _mbstowcs_l()
|
/reactos/sdk/lib/crt/string/ |
H A D | wcs.c | 260 static size_t CDECL wcsrtombs_l(char *mbstr, const wchar_t **wcstr, in wcsrtombs_l() argument 275 if(!mbstr) in wcsrtombs_l() 284 mbstr[i] = (*wcstr)[i]; in wcsrtombs_l() 290 if(!mbstr) { in wcsrtombs_l() 314 mbstr[tmp++] = buf[i]; in wcsrtombs_l() 319 mbstr[tmp] = '\0'; in wcsrtombs_l() 328 size_t CDECL _wcstombs_l(char *mbstr, const wchar_t *wcstr, size_t count, _locale_t locale) in _wcstombs_l() argument 330 return wcsrtombs_l(mbstr, &wcstr, count, locale); in _wcstombs_l() 336 size_t CDECL wcstombs(char *mbstr, const wchar_t *wcstr, size_t count) in wcstombs() argument 338 return wcsrtombs_l(mbstr, &wcstr, count, NULL); in wcstombs()
|
H A D | mbstowcs_nt.c | 38 size_t mbstowcs (wchar_t *wcstr, const char *mbstr, size_t count) in mbstowcs() argument 44 Length = (ULONG)strlen (mbstr); in mbstowcs() 49 mbstr, in mbstowcs() 58 mbstr, in mbstowcs()
|
H A D | wcstombs_nt.c | 29 size_t wcstombs (char *mbstr, const wchar_t *wcstr, size_t count) in wcstombs() argument 37 if (mbstr == NULL) in wcstombs() 46 Status = RtlUnicodeToMultiByteN (mbstr, in wcstombs()
|
/reactos/modules/rostests/winetests/msvcrt/ |
H A D | string.c | 534 ret=_mbsspn( mbstr, mbset1); in test_mbsspn() 536 ret=_mbsspn( mbstr, mbset2); in test_mbsspn() 538 ret=_mbsspn( mbstr+8, mbset1); in test_mbsspn() 540 ret=_mbsspn( mbstr+8, mbset2); in test_mbsspn() 542 ret=_mbsspn( mbstr, mbset3); in test_mbsspn() 571 ret=_mbsspnp( mbstr, mbset1); in test_mbsspnp() 572 ok( ret==mbstr+8, "_mbsspnp returns %p should be %p\n", ret, mbstr+8); in test_mbsspnp() 573 ret=_mbsspnp( mbstr, mbset2); in test_mbsspnp() 574 ok( ret==mbstr+1, "_mbsspnp returns %p should be %p\n", ret, mbstr+1); in test_mbsspnp() 576 ok( ret==mbstr+8, "_mbsspnp returns %p should be %p\n", ret, mbstr+8); in test_mbsspnp() [all …]
|