Lines Matching refs:utf8Len
31 size_t utf8Len = 0; in strnlen16to8() local
62 utf8Len += 3; in strnlen16to8()
64 utf8Len += 2; in strnlen16to8()
66 utf8Len++; in strnlen16to8()
68 return utf8Len; in strnlen16to8()
74 size_t utf8Cur = utf8Len; in strnlen16to8()
77 utf8Len += 3; in strnlen16to8()
79 utf8Len += 2; in strnlen16to8()
81 utf8Len++; in strnlen16to8()
83 if (utf8Len < utf8Cur) /* overflow detected */ in strnlen16to8()
88 if (utf8Len == SIZE_MAX) in strnlen16to8()
89 utf8Len = SIZE_MAX-1; in strnlen16to8()
91 return utf8Len; in strnlen16to8()