Searched refs:utf16Length (Results 1 – 2 of 2) sorted by relevance
340 int utf16Length = sequence.length(); in encodedLength() local341 int utf8Length = utf16Length; in encodedLength()345 while (i < utf16Length && sequence.charAt(i) < 0x80) { in encodedLength()350 for (; i < utf16Length; i++) { in encodedLength()360 if (utf8Length < utf16Length) { in encodedLength()369 int utf16Length = sequence.length(); in encodedLengthGeneral() local371 for (int i = start; i < utf16Length; i++) { in encodedLengthGeneral()428 int utf16Length = sequence.length(); in encodeDirect() local429 for (int i = 0; i < utf16Length; i++) { in encodeDirect()457 int utf16Length = sequence.length(); in encode() local[all …]
252 int utf16Length = sequence.length(); in encodedLength() local253 int utf8Length = utf16Length; in encodedLength()257 while (i < utf16Length && sequence.charAt(i) < 0x80) { in encodedLength()262 for (; i < utf16Length; i++) { in encodedLength()272 if (utf8Length < utf16Length) { in encodedLength()281 int utf16Length = sequence.length(); in encodedLengthGeneral() local283 for (int i = start; i < utf16Length; i++) { in encodedLengthGeneral()294 throw new UnpairedSurrogateException(i, utf16Length); in encodedLengthGeneral()856 int utf16Length = in.length(); in encodeUtf8() local862 for (char c; i < utf16Length && i + j < limit && (c = in.charAt(i)) < 0x80; i++) { in encodeUtf8()[all …]