Home
last modified time | relevance | path

Searched refs:utf8Len (Results 1 – 1 of 1) sorted by relevance

/system/core/libcutils/
Dstrdup16to8.c31 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()
[all …]