Home
last modified time | relevance | path

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

/external/protobuf/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);
/external/protobuf/java/core/src/main/java/com/google/protobuf/
DCodedOutputStream.java1409 final int maxLength = value.length() * Utf8.MAX_BYTES_PER_CHAR; in writeStringNoTag()
1724 final int maxEncodedSize = value.length() * Utf8.MAX_BYTES_PER_CHAR; in writeStringNoTag()
2144 final int maxLength = value.length() * Utf8.MAX_BYTES_PER_CHAR; in writeStringNoTag()
2448 final int maxLength = value.length() * Utf8.MAX_BYTES_PER_CHAR; in writeStringNoTag()
DUtf8.java102 static final int MAX_BYTES_PER_CHAR = 3; field in Utf8