Lines Matching refs:inIx
300 int inIx = 0; in encodeUtf8Buffer() local
308 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()
362 int badWriteIndex = out.position() + Math.max(inIx, outIx - out.position() + 1); in encodeUtf8Buffer()
364 "Failed writing " + in.charAt(inIx) + " at index " + badWriteIndex); in encodeUtf8Buffer()