Home
last modified time | relevance | path

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

/system/core/libcutils/
Dstrdup16to8.cpp31 size_t utf8Len = 0; in strnlen16to8() local
63 utf8Len += 3; in strnlen16to8()
65 utf8Len += 2; in strnlen16to8()
67 utf8Len++; in strnlen16to8()
69 return utf8Len; in strnlen16to8()
76 size_t utf8Cur = utf8Len; in strnlen16to8()
79 utf8Len += 3; in strnlen16to8()
81 utf8Len += 2; in strnlen16to8()
83 utf8Len++; in strnlen16to8()
85 if (utf8Len < utf8Cur) /* overflow detected */ in strnlen16to8()
[all …]