Searched refs:inIx (Results 1 – 2 of 2) sorted by relevance
690 int inIx = 0; in encodeUtf8Default() local698 for (char c; inIx < inLength && (c = in.charAt(inIx)) < 0x80; ++inIx) { in encodeUtf8Default()699 out.put(outIx + inIx, (byte) c); in encodeUtf8Default()701 if (inIx == inLength) { in encodeUtf8Default()703 out.position(outIx + inIx); in encodeUtf8Default()707 outIx += inIx; in encodeUtf8Default()708 for (char c; inIx < inLength; ++inIx, ++outIx) { in encodeUtf8Default()709 c = in.charAt(inIx); in encodeUtf8Default()733 if (inIx + 1 == inLength || !isSurrogatePair(c, (low = in.charAt(++inIx)))) { in encodeUtf8Default()734 throw new UnpairedSurrogateException(inIx, inLength); in encodeUtf8Default()[all …]
300 int inIx = 0; in encodeUtf8Buffer() local308 for (char c; inIx < inLength && (c = in.charAt(inIx)) < 0x80; ++inIx) { in encodeUtf8Buffer()309 out.put(outIx + inIx, (byte) c); in encodeUtf8Buffer()311 if (inIx == inLength) { in encodeUtf8Buffer()313 out.position(outIx + inIx); in encodeUtf8Buffer()317 outIx += inIx; in encodeUtf8Buffer()318 for (char c; inIx < inLength; ++inIx, ++outIx) { in encodeUtf8Buffer()319 c = in.charAt(inIx); in encodeUtf8Buffer()343 if (inIx + 1 == inLength || !isSurrogatePair(c, (low = in.charAt(++inIx)))) { in encodeUtf8Buffer()344 throw new UnpairedSurrogateException(inIx, inLength); in encodeUtf8Buffer()[all …]