Home
last modified time | relevance | path

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

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/main/java/com/google/protobuf/
DCodedOutputStream.java64 private static final int MAX_VARINT_SIZE = 10; field in CodedOutputStream
710 return MAX_VARINT_SIZE; in computeInt32SizeNoTag()
1308 if (HAS_UNSAFE_ARRAY_OPERATIONS && spaceLeft() >= MAX_VARINT_SIZE) { in writeUInt32NoTag()
1354 if (HAS_UNSAFE_ARRAY_OPERATIONS && spaceLeft() >= MAX_VARINT_SIZE) { in writeUInt64NoTag()
1834 this.buffer = new byte[max(bufferSize, MAX_VARINT_SIZE * 2)]; in AbstractBufferedEncoder()
2002 flushIfNotAvailable(MAX_VARINT_SIZE * 2); in writeInt32()
2009 flushIfNotAvailable(MAX_VARINT_SIZE * 2); in writeUInt32()
2016 flushIfNotAvailable(MAX_VARINT_SIZE + FIXED_32_SIZE); in writeFixed32()
2023 flushIfNotAvailable(MAX_VARINT_SIZE * 2); in writeUInt64()
2030 flushIfNotAvailable(MAX_VARINT_SIZE + FIXED_64_SIZE); in writeFixed64()
[all …]