Home | History | Annotate | Download | only in libcutils

Lines Matching refs:utf8Len

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