Home | History | Annotate | Download | only in modules

Lines Matching refs:ei

85 _citrus_UTF1632_init_state(_UTF1632EncodingInfo *ei, _UTF1632State *s)
91 _citrus_UTF1632_mbrtowc_priv(_UTF1632EncodingInfo *ei, wchar_t *pwc,
101 _DIAGASSERT(ei != NULL);
108 _citrus_UTF1632_init_state(ei, psenc);
117 if ((ei->mode & _MODE_UTF32) != 0 || chlenbak>=2)
131 if ((ei->mode & _MODE_FORCE_ENDIAN) == 0) {
133 if ((ei->mode & _MODE_UTF32) == 0) {
159 psenc->current_endian = ei->preffered_endian;
164 if ((ei->mode & _MODE_UTF32) == 0) {
249 _citrus_UTF1632_wcrtomb_priv(_UTF1632EncodingInfo *ei, char *s, size_t n,
264 _DIAGASSERT(ei != NULL);
270 if ((ei->mode & _MODE_FORCE_ENDIAN) == 0) {
271 if (ei->mode & _MODE_UTF32) {
284 psenc->current_endian = ei->preffered_endian;
288 if ((ei->mode & _MODE_UTF32)==0) {
358 parse_variable(_UTF1632EncodingInfo * __restrict ei,
376 MATCH(big, ei->preffered_endian = _ENDIAN_BIG);
380 MATCH(little, ei->preffered_endian = _ENDIAN_LITTLE);
384 MATCH(force, ei->mode |= _MODE_FORCE_ENDIAN);
388 MATCH(utf32, ei->mode |= _MODE_UTF32);
398 _citrus_UTF1632_encoding_module_init(_UTF1632EncodingInfo * __restrict ei,
402 _DIAGASSERT(ei != NULL);
404 memset((void *)ei, 0, sizeof(*ei));
406 parse_variable(ei, var, lenvar);
408 if ((ei->mode&_MODE_UTF32)==0)
409 ei->cur_max = 6; /* endian + surrogate */
411 ei->cur_max = 8; /* endian + normal */
413 if (ei->preffered_endian == _ENDIAN_UNKNOWN) {
415 ei->preffered_endian = _ENDIAN_BIG;
417 ei->preffered_endian = _ENDIAN_LITTLE;
426 _citrus_UTF1632_encoding_module_uninit(_UTF1632EncodingInfo *ei)
432 _citrus_UTF1632_stdenc_wctocs(_UTF1632EncodingInfo * __restrict ei,
448 _citrus_UTF1632_stdenc_cstowc(_UTF1632EncodingInfo * __restrict ei,
465 _citrus_UTF1632_stdenc_get_state_desc_generic(_UTF1632EncodingInfo * __restrict ei,