Searched refs:utf8Length (Results 1 – 2 of 2) sorted by relevance
341 int utf8Length = utf16Length; in encodedLength() local353 utf8Length += ((0x7f - c) >>> 31); // branch free! in encodedLength()355 utf8Length += encodedLengthGeneral(sequence, i); in encodedLength()360 if (utf8Length < utf16Length) { in encodedLength()363 + (utf8Length + (1L << 32))); in encodedLength()365 return utf8Length; in encodedLength()370 int utf8Length = 0; in encodedLengthGeneral() local374 utf8Length += (0x7f - c) >>> 31; // branch free! in encodedLengthGeneral()376 utf8Length += 2; in encodedLengthGeneral()388 return utf8Length; in encodedLengthGeneral()
253 int utf8Length = utf16Length; in encodedLength() local265 utf8Length += ((0x7f - c) >>> 31); // branch free! in encodedLength()267 utf8Length += encodedLengthGeneral(sequence, i); in encodedLength()272 if (utf8Length < utf16Length) { in encodedLength()275 + (utf8Length + (1L << 32))); in encodedLength()277 return utf8Length; in encodedLength()282 int utf8Length = 0; in encodedLengthGeneral() local286 utf8Length += (0x7f - c) >>> 31; // branch free! in encodedLengthGeneral()288 utf8Length += 2; in encodedLengthGeneral()300 return utf8Length; in encodedLengthGeneral()