Home
last modified time | relevance | path

Searched refs:mbState (Results 1 – 8 of 8) sorted by relevance

/haiku/src/system/libroot/add-ons/icu/
H A DICUCtypeData.cpp216 mbstate_t* mbState, size_t& lengthOut) in MultibyteToWchar() argument
219 status_t result = _GetConverterForMbState(mbState, converter); in MultibyteToWchar()
222 "%" B_PRIx32 "\n", mbState, result)); in MultibyteToWchar()
262 mbState->count = sourceLengthUsed; in MultibyteToWchar()
270 _DropConverterFromMbState(mbState); in MultibyteToWchar()
271 memset(mbState, 0, sizeof(mbstate_t)); in MultibyteToWchar()
274 mbState->count = 0; in MultibyteToWchar()
290 const char** mbSource, size_t mbSourceLength, mbstate_t* mbState, in MultibyteStringToWchar() argument
294 status_t result = _GetConverterForMbState(mbState, converter); in MultibyteStringToWchar()
297 " - %" B_PRIx32 "\n", mbState, result)); in MultibyteStringToWchar()
[all …]
H A DICULocaleBackend.cpp168 size_t mbLength, mbstate_t* mbState, size_t& lengthOut) in MultibyteToWchar() argument
172 return fCtypeData.MultibyteToWchar(wcOut, mb, mbLength, mbState, lengthOut); in MultibyteToWchar()
178 const char** mbSource, size_t mbSourceLength, mbstate_t* mbState, in MultibyteStringToWchar() argument
184 mbSourceLength, mbState, lengthOut); in MultibyteStringToWchar()
189 ICULocaleBackend::WcharToMultibyte(char* mbOut, wchar_t wc, mbstate_t* mbState, in WcharToMultibyte() argument
194 return fCtypeData.WcharToMultibyte(mbOut, wc, mbState, lengthOut); in WcharToMultibyte()
200 const wchar_t** wcSource, size_t wcSourceLength, mbstate_t* mbState, in WcharStringToMultibyte() argument
206 wcSourceLength, mbState, lengthOut); in WcharStringToMultibyte()
/haiku/headers/posix/
H A Duchar.h30 c16rtomb(char *dest, char32_t wc, mbstate_t *mbState) in c16rtomb() argument
33 return wcrtomb(dest, tmp, mbState); in c16rtomb()
38 mbrtoc32(char32_t *dest, const char *src, size_t srcLength, mbstate_t *mbState) in mbrtoc32() argument
40 return mbrtowc((wchar_t*)dest, src, srcLength, mbState); in mbrtoc32()
45 c32rtomb(char *dest, char32_t wc, mbstate_t *mbState) in c32rtomb() argument
47 return wcrtomb(dest, (wchar_t)wc, mbState); in c32rtomb()
H A Dwchar.h66 extern size_t mbrlen(const char *s, size_t n, mbstate_t *mbState);
68 mbstate_t *mbState);
69 extern int mbsinit(const mbstate_t *mbState);
71 size_t destLength, mbstate_t *mbState);
73 mbstate_t *mbState);
95 extern size_t wcrtomb(char *dest, wchar_t wc, mbstate_t *mbState);
124 size_t destLength, mbstate_t *mbState);
128 mbstate_t *mbState);
/haiku/headers/private/libroot/locale/
H A DICUCtypeData.h35 size_t mbLength, mbstate_t* mbState,
39 size_t mbSourceLength, mbstate_t* mbState,
42 mbstate_t* mbState, size_t& lengthOut);
46 size_t wcSourceLength, mbstate_t* mbState,
52 status_t _GetConverterForMbState(mbstate_t* mbState,
55 status_t _DropConverterFromMbState(mbstate_t* mbState);
H A DICULocaleBackend.h45 size_t mbLength, mbstate_t* mbState,
49 size_t mbSourceLength, mbstate_t* mbState,
52 mbstate_t* mbState, size_t& lengthOut);
56 size_t wcSourceLength, mbstate_t* mbState,
H A DLocaleBackend.h154 size_t mbLength, mbstate_t* mbState,
158 size_t mbSourceLength, mbstate_t* mbState,
161 mbstate_t* mbState, size_t& lengthOut) = 0;
165 size_t wcSourceLength, mbstate_t* mbState,
/haiku/headers/private/libroot/
H A Dwchar_private.h21 extern size_t __mbrlen(const char *s, size_t n, mbstate_t *mbState);
23 mbstate_t *mbState);
24 extern int __mbsinit(const mbstate_t *mbState);
26 size_t destLength, mbstate_t *mbState);
28 mbstate_t *mbState);
34 extern size_t __wcrtomb(char *dest, wchar_t wc, mbstate_t *mbState);
63 size_t destLength, mbstate_t *mbState);
67 mbstate_t *mbState);