Home
last modified time | relevance | path

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

/external/protobuf/java/core/src/main/java/com/google/protobuf/
DUtf8.java1207 final int inLimit = in.length(); in encodeUtf8() local
1208 if (inLimit > length || out.length - length < offset) { in encodeUtf8()
1211 "Failed writing " + in.charAt(inLimit - 1) + " at index " + (offset + length)); in encodeUtf8()
1217 for (char c; inIx < inLimit && (c = in.charAt(inIx)) < 0x80; ++inIx) { in encodeUtf8()
1220 if (inIx == inLimit) { in encodeUtf8()
1225 for (char c; inIx < inLimit; ++inIx) { in encodeUtf8()
1241 if (inIx + 1 == inLimit || !isSurrogatePair(c, (low = in.charAt(++inIx)))) { in encodeUtf8()
1242 throw new UnpairedSurrogateException((inIx - 1), inLimit); in encodeUtf8()
1251 && (inIx + 1 == inLimit || !isSurrogatePair(c, in.charAt(inIx + 1)))) { in encodeUtf8()
1253 throw new UnpairedSurrogateException(inIx, inLimit); in encodeUtf8()
[all …]