Searched refs:outLimit (Results 1 – 2 of 2) sorted by relevance
1206 final long outLimit = outIx + length; in encodeUtf8() local1227 if (c < 0x80 && outIx < outLimit) { in encodeUtf8()1229 } else if (c < 0x800 && outIx <= outLimit - 2L) { // 11 bits, two UTF-8 bytes in encodeUtf8()1232 } else if ((c < MIN_SURROGATE || MAX_SURROGATE < c) && outIx <= outLimit - 3L) { in encodeUtf8()1237 } else if (outIx <= outLimit - 4L) { in encodeUtf8()1268 final long outLimit = address + out.limit(); in encodeUtf8Direct() local1270 if (inLimit > outLimit - outIx) { in encodeUtf8Direct()1290 if (c < 0x80 && outIx < outLimit) { in encodeUtf8Direct()1292 } else if (c < 0x800 && outIx <= outLimit - 2L) { // 11 bits, two UTF-8 bytes in encodeUtf8Direct()1295 } else if ((c < MIN_SURROGATE || MAX_SURROGATE < c) && outIx <= outLimit - 3L) { in encodeUtf8Direct()[all …]
1038 const UChar *expect, *outLimit, *in; in _testIter() local1044 outLimit=out+outLength; in _testIter()1049 expect=outLimit; in _testIter()1072 while((expect+expectLength)!=outLimit && expect[expectLength]!=_PLUS) { in _testIter()