Lines Matching refs:ce
71 _FUNCNAME(stdenc_init)(struct _citrus_stdenc * __restrict ce, in _FUNCNAME()
91 ce->ce_closure = ei; in _FUNCNAME()
93 et->et_mb_cur_max = _ENCODING_MB_CUR_MAX(_CE_TO_EI(ce)); in _FUNCNAME()
94 et->et_mb_cur_min = _ENCODING_MB_CUR_MIN(_CE_TO_EI(ce)); in _FUNCNAME()
100 _FUNCNAME(stdenc_uninit)(struct _citrus_stdenc * __restrict ce) in _FUNCNAME()
103 if (ce) { in _FUNCNAME()
104 _FUNCNAME(encoding_module_uninit)(_CE_TO_EI(ce)); in _FUNCNAME()
105 free(ce->ce_closure); in _FUNCNAME()
110 _FUNCNAME(stdenc_init_state)(struct _citrus_stdenc * __restrict ce, in _FUNCNAME()
114 _FUNCNAME(init_state)(_CE_TO_EI(ce), _TO_STATE(ps)); in _FUNCNAME()
120 _FUNCNAME(stdenc_mbtocs)(struct _citrus_stdenc * __restrict ce, in _FUNCNAME()
128 ret = _FUNCNAME(mbrtowc_priv)(_CE_TO_EI(ce), &wc, s, n, in _FUNCNAME()
132 ret = _FUNCNAME(stdenc_wctocs)(_CE_TO_EI(ce), csid, idx, wc); in _FUNCNAME()
140 _FUNCNAME(stdenc_cstomb)(struct _citrus_stdenc * __restrict ce, in _FUNCNAME()
151 ret = _FUNCNAME(stdenc_cstowc)(_CE_TO_EI(ce), &wc, csid, idx); in _FUNCNAME()
154 ret = _FUNCNAME(wcrtomb_priv)(_CE_TO_EI(ce), s, n, wc, in _FUNCNAME()
160 _FUNCNAME(stdenc_mbtowc)(struct _citrus_stdenc * __restrict ce, in _FUNCNAME()
167 ret = _FUNCNAME(mbrtowc_priv)(_CE_TO_EI(ce), wc, s, n, in _FUNCNAME()
175 _FUNCNAME(stdenc_wctomb)(struct _citrus_stdenc * __restrict ce, in _FUNCNAME()
181 ret = _FUNCNAME(wcrtomb_priv)(_CE_TO_EI(ce), s, n, wc, _TO_STATE(ps), in _FUNCNAME()
187 _FUNCNAME(stdenc_put_state_reset)(struct _citrus_stdenc * __restrict ce __unused, in _FUNCNAME()
193 return ((_FUNCNAME(put_state_reset)(_CE_TO_EI(ce), s, n, _TO_STATE(ps), in _FUNCNAME()
202 _FUNCNAME(stdenc_get_state_desc)(struct _citrus_stdenc * __restrict ce, in _FUNCNAME()
211 _CE_TO_EI(ce), _TO_STATE(ps), &d->u.generic.state); in _FUNCNAME()