Home
last modified time | relevance | path

Searched refs:MAX_BYTES_PER_CHAR (Results 1 – 3 of 3) sorted by relevance

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/test/java/com/google/protobuf/
DCodedOutputStreamTest.java389 != CodedOutputStream.computeUInt32SizeNoTag(string.length() * Utf8.MAX_BYTES_PER_CHAR));
410 2, CodedOutputStream.computeUInt32SizeNoTag(string.length() * Utf8.MAX_BYTES_PER_CHAR));
411 assertEquals(bufferSize, string.length() * Utf8.MAX_BYTES_PER_CHAR);
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/main/java/com/google/protobuf/
DCodedOutputStream.java1441 final int maxLength = value.length() * Utf8.MAX_BYTES_PER_CHAR; in writeStringNoTag()
1756 final int maxEncodedSize = value.length() * Utf8.MAX_BYTES_PER_CHAR; in writeStringNoTag()
2176 final int maxLength = value.length() * Utf8.MAX_BYTES_PER_CHAR; in writeStringNoTag()
2480 final int maxLength = value.length() * Utf8.MAX_BYTES_PER_CHAR; in writeStringNoTag()
DUtf8.java99 static final int MAX_BYTES_PER_CHAR = 3; field in Utf8