Home
last modified time | relevance | path

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

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/javanano/src/main/java/com/google/protobuf/nano/
DCodedOutputByteBufferNano.java340 int utf16Length = sequence.length(); in encodedLength() local
341 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() local
371 for (int i = start; i < utf16Length; i++) { in encodedLengthGeneral()
428 int utf16Length = sequence.length(); in encodeDirect() local
429 for (int i = 0; i < utf16Length; i++) { in encodeDirect()
457 int utf16Length = sequence.length(); in encode() local
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/main/java/com/google/protobuf/
DUtf8.java252 int utf16Length = sequence.length(); in encodedLength() local
253 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() local
283 for (int i = start; i < utf16Length; i++) { in encodedLengthGeneral()
294 throw new UnpairedSurrogateException(i, utf16Length); in encodedLengthGeneral()
856 int utf16Length = in.length(); in encodeUtf8() local
862 for (char c; i < utf16Length && i + j < limit && (c = in.charAt(i)) < 0x80; i++) { in encodeUtf8()
[all …]