Home
last modified time | relevance | path

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

/external/protobuf/java/core/src/main/java/com/google/protobuf/
DUtf8.java1206 final long outLimit = outIx + length; in encodeUtf8() local
1227 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() local
1270 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 …]
/external/icu/icu4c/source/test/cintltst/
Dcnormtst.c1038 const UChar *expect, *outLimit, *in; in _testIter() local
1044 outLimit=out+outLength; in _testIter()
1049 expect=outLimit; in _testIter()
1072 while((expect+expectLength)!=outLimit && expect[expectLength]!=_PLUS) { in _testIter()