Home
last modified time | relevance | path

Searched refs:utf8Length (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.java341 int utf8Length = utf16Length; in encodedLength() local
353 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() local
374 utf8Length += (0x7f - c) >>> 31; // branch free! in encodedLengthGeneral()
376 utf8Length += 2; in encodedLengthGeneral()
388 return utf8Length; in encodedLengthGeneral()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/main/java/com/google/protobuf/
DUtf8.java253 int utf8Length = utf16Length; in encodedLength() local
265 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() local
286 utf8Length += (0x7f - c) >>> 31; // branch free! in encodedLengthGeneral()
288 utf8Length += 2; in encodedLengthGeneral()
300 return utf8Length; in encodedLengthGeneral()