Lines Matching refs:inlen
55 int utf8_to_utf32(const u8 *s, int inlen, unicode_t *pu) in utf8_to_utf32() argument
74 if (inlen <= nc) in utf8_to_utf32()
132 int utf8s_to_utf16s(const u8 *s, int inlen, enum utf16_endian endian, in utf8s_to_utf16s() argument
140 while (inlen > 0 && maxout > 0 && *s) { in utf8s_to_utf16s()
142 size = utf8_to_utf32(s, inlen, &u); in utf8s_to_utf16s()
146 inlen -= size; in utf8s_to_utf16s()
166 inlen--; in utf8s_to_utf16s()
186 int utf16s_to_utf8s(const wchar_t *pwcs, int inlen, enum utf16_endian endian, in utf16s_to_utf8s() argument
194 while (inlen > 0 && maxout > 0) { in utf16s_to_utf8s()
199 inlen--; in utf16s_to_utf8s()
206 if (inlen <= 0) in utf16s_to_utf8s()
217 inlen--; in utf16s_to_utf8s()