Home
last modified time | relevance | path

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

/external/protobuf/java/core/src/main/java/com/google/protobuf/
DCodedOutputStream.java36 import static com.google.protobuf.WireFormat.MAX_VARINT_SIZE;
722 return MAX_VARINT_SIZE; in computeInt32SizeNoTag()
1398 if (HAS_UNSAFE_ARRAY_OPERATIONS && spaceLeft() >= MAX_VARINT_SIZE) { in writeUInt64NoTag()
1891 oneVarintLimit = limit - MAX_VARINT_SIZE; in UnsafeDirectNioEncoder()
2248 this.buffer = new byte[max(bufferSize, MAX_VARINT_SIZE * 2)]; in AbstractBufferedEncoder()
2412 flushIfNotAvailable(MAX_VARINT_SIZE * 2); in writeInt32()
2419 flushIfNotAvailable(MAX_VARINT_SIZE * 2); in writeUInt32()
2426 flushIfNotAvailable(MAX_VARINT_SIZE + FIXED32_SIZE); in writeFixed32()
2433 flushIfNotAvailable(MAX_VARINT_SIZE * 2); in writeUInt64()
2440 flushIfNotAvailable(MAX_VARINT_SIZE + FIXED64_SIZE); in writeFixed64()
[all …]
DCodedInputStream.java39 import static com.google.protobuf.WireFormat.MAX_VARINT_SIZE;
1022 if (limit - pos >= MAX_VARINT_SIZE) { in skipRawVarint()
1030 for (int i = 0; i < MAX_VARINT_SIZE; i++) { in skipRawVarintFastPath()
1039 for (int i = 0; i < MAX_VARINT_SIZE; i++) { in skipRawVarintSlowPath()
1748 if (remaining() >= MAX_VARINT_SIZE) { in skipRawVarint()
1756 for (int i = 0; i < MAX_VARINT_SIZE; i++) { in skipRawVarintFastPath()
1765 for (int i = 0; i < MAX_VARINT_SIZE; i++) { in skipRawVarintSlowPath()
2498 if (bufferSize - pos >= MAX_VARINT_SIZE) { in skipRawVarint()
2506 for (int i = 0; i < MAX_VARINT_SIZE; i++) { in skipRawVarintFastPath()
2515 for (int i = 0; i < MAX_VARINT_SIZE; i++) { in skipRawVarintSlowPath()
[all …]
DWireFormat.java53 static final int MAX_VARINT_SIZE = 10; field in WireFormat
/external/opencensus-java/impl_core/src/main/java/io/opencensus/implcore/internal/
DVarInt.java30 public static final int MAX_VARINT_SIZE = 5; field in VarInt
/external/pigweed/pw_protobuf/
Ddocs.rst43 | MAX_VARINT_SIZE | Maximum submessage length |
/external/protobuf/
DCHANGES.txt104 …ializing uint32 varints, check that we have MAX_VARINT32_SIZE bytes left, not just MAX_VARINT_SIZE.