Searched refs:outLimit (Results 1 – 1 of 1) sorted by relevance
1191 final long outLimit = outIx + length; in encodeUtf8() local1212 if (c < 0x80 && outIx < outLimit) { in encodeUtf8()1214 } else if (c < 0x800 && outIx <= outLimit - 2L) { // 11 bits, two UTF-8 bytes in encodeUtf8()1217 } else if ((c < MIN_SURROGATE || MAX_SURROGATE < c) && outIx <= outLimit - 3L) { in encodeUtf8()1222 } else if (outIx <= outLimit - 4L) { in encodeUtf8()1253 final long outLimit = address + out.limit(); in encodeUtf8Direct() local1255 if (inLimit > outLimit - outIx) { in encodeUtf8Direct()1275 if (c < 0x80 && outIx < outLimit) { in encodeUtf8Direct()1277 } else if (c < 0x800 && outIx <= outLimit - 2L) { // 11 bits, two UTF-8 bytes in encodeUtf8Direct()1280 } else if ((c < MIN_SURROGATE || MAX_SURROGATE < c) && outIx <= outLimit - 3L) { in encodeUtf8Direct()[all …]