Lines Matching refs:s
47 utf8_mbtowc(wchar_t *p, const __u8 *s, int n) in utf8_mbtowc() argument
54 c0 = *s; in utf8_mbtowc()
67 s++; in utf8_mbtowc()
68 c = (*s ^ 0x80) & 0xFF; in utf8_mbtowc()
77 utf8_mbstowcs(wchar_t *pwcs, const __u8 *s, int n) in utf8_mbstowcs() argument
84 ip = s; in utf8_mbstowcs()
106 utf8_wctomb(__u8 *s, wchar_t wc, int maxlen) in utf8_wctomb() argument
112 if (!s) in utf8_wctomb()
121 *s = t->cval | (l >> c); in utf8_wctomb()
124 s++; in utf8_wctomb()
125 *s = 0x80 | ((l >> c) & 0x3F); in utf8_wctomb()
134 utf8_wcstombs(__u8 *s, const wchar_t *pwcs, int maxlen) in utf8_wcstombs() argument
140 op = s; in utf8_wcstombs()
157 return (op - s); in utf8_wcstombs()