/ndk/sources/android/support/src/musl-multibyte/ |
D | mbsnrtowcs.c | 12 wchar_t *ws, wbuf[256]; in mbsnrtowcs() local 15 if (!wcs) ws = wbuf, wn = sizeof wbuf / sizeof *wbuf; in mbsnrtowcs() 31 if (ws != wbuf) { in mbsnrtowcs()
|
/ndk/tests/device/test-gnustl-full/unit/ |
D | codecvt_test.cpp | 539 wchar_t wbuf[4096]; in special_encodings() local 541 …ngth(state, cp936_str.data(), cp936_str.data() + cp936_str.size(), sizeof(wbuf) / sizeof(wchar_t)); in special_encodings() 547 wbuf, wbuf + sizeof(wbuf) / sizeof(wchar_t), to_next); in special_encodings() 550 cp936_wstr.assign(wbuf, to_next); in special_encodings() 579 wchar_t wbuf[4096]; in special_encodings() local 581 …int len = cvt.length(state, utf8_str.data(), utf8_str.data() + utf8_str.size(), sizeof(wbuf) / siz… in special_encodings() 587 wbuf, wbuf + sizeof(wbuf) / sizeof(wchar_t), to_next); in special_encodings() 590 utf8_wstr.assign(wbuf, to_next); in special_encodings()
|
/ndk/tests/device/test-stlport/unit/ |
D | codecvt_test.cpp | 539 wchar_t wbuf[4096]; in special_encodings() local 541 …ngth(state, cp936_str.data(), cp936_str.data() + cp936_str.size(), sizeof(wbuf) / sizeof(wchar_t)); in special_encodings() 547 wbuf, wbuf + sizeof(wbuf) / sizeof(wchar_t), to_next); in special_encodings() 550 cp936_wstr.assign(wbuf, to_next); in special_encodings() 579 wchar_t wbuf[4096]; in special_encodings() local 581 …int len = cvt.length(state, utf8_str.data(), utf8_str.data() + utf8_str.size(), sizeof(wbuf) / siz… in special_encodings() 587 wbuf, wbuf + sizeof(wbuf) / sizeof(wchar_t), to_next); in special_encodings() 590 utf8_wstr.assign(wbuf, to_next); in special_encodings()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/src/ |
D | locale.cpp | 4983 wchar_t wbuf[100]; in __analyze() local 4984 wchar_t* wbb = wbuf; in __analyze() 4988 size_t j = mbsrtowcs_l( wbb, &bb, countof(wbuf), &mb, __loc_); in __analyze() 4990 size_t j = __mbsrtowcs_l( wbb, &bb, countof(wbuf), &mb, __loc_); in __analyze() 5161 wchar_t wbuf[100]; in init() local 5172 size_t j = mbsrtowcs_l(wbuf, &bb, countof(wbuf), &mb, __loc_); in init() 5174 size_t j = __mbsrtowcs_l(wbuf, &bb, countof(wbuf), &mb, __loc_); in init() 5178 wbe = wbuf + j; in init() 5179 __weeks_[i].assign(wbuf, wbe); in init() 5184 j = mbsrtowcs_l(wbuf, &bb, countof(wbuf), &mb, __loc_); in init() [all …]
|
/ndk/sources/cxx-stl/stlport/src/c_locale_win32/ |
D | c_locale_win32.c | 241 …P(LCID lcid, const char* cp, LCTYPE lctype, char* buf, int buf_size, wchar_t* wbuf, int wbuf_size); 388 wchar_t wbuf[4]; in _Locale_numeric_create() local 402 __GetLocaleInfoUsingACP(lnum->lc.id, lnum->cp, LOCALE_SDECIMAL, lnum->decimal_point, 4, wbuf, 4); in _Locale_numeric_create() 403 __GetLocaleInfoUsingACP(lnum->lc.id, lnum->cp, LOCALE_STHOUSAND, lnum->thousands_sep, 4, wbuf, 4); in _Locale_numeric_create() 831 wchar_t wbuf[6]; in _Locale_monetary_create() local 842 … __GetLocaleInfoUsingACP(lmon->lc.id, lmon->cp, LOCALE_SDECIMAL, lmon->decimal_point, 4, wbuf, 6); in _Locale_monetary_create() 843 … __GetLocaleInfoUsingACP(lmon->lc.id, lmon->cp, LOCALE_STHOUSAND, lmon->thousands_sep, 4, wbuf, 6); in _Locale_monetary_create() 853 __GetLocaleInfoUsingACP(lmon->lc.id, lmon->cp, LOCALE_SCURRENCY, lmon->curr_symbol, 6, wbuf, 6); in _Locale_monetary_create() 854 …etLocaleInfoUsingACP(lmon->lc.id, lmon->cp, LOCALE_SNEGATIVESIGN, lmon->negative_sign, 5, wbuf, 6); in _Locale_monetary_create() 855 …etLocaleInfoUsingACP(lmon->lc.id, lmon->cp, LOCALE_SPOSITIVESIGN, lmon->positive_sign, 5, wbuf, 6); in _Locale_monetary_create() [all …]
|
/ndk/sources/cxx-stl/stlport/src/c_locale_glibc/ |
D | c_locale_glibc2.c | 12 static wchar_t* _ToWChar(const char* buf, wchar_t *wbuf, size_t wbufSize) { in _ToWChar() argument 13 wchar_t *wcur = wbuf; in _ToWChar() 14 wchar_t *wend = wbuf + wbufSize - 1; in _ToWChar() 18 return wbuf; in _ToWChar()
|