Home
last modified time | relevance | path

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

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/main/java/com/google/protobuf/
DCodedOutputStream.java1443 final int minLengthVarIntSize = computeUInt32SizeNoTag(value.length()); in writeStringNoTag() local
1444 if (minLengthVarIntSize == maxLengthVarIntSize) { in writeStringNoTag()
1445 position = oldPosition + minLengthVarIntSize; in writeStringNoTag()
1450 int length = newPosition - oldPosition - minLengthVarIntSize; in writeStringNoTag()
1758 final int minLengthVarIntSize = computeUInt32SizeNoTag(value.length()); in writeStringNoTag() local
1759 if (minLengthVarIntSize == maxLengthVarIntSize) { in writeStringNoTag()
1762 final int startOfBytes = buffer.position() + minLengthVarIntSize; in writeStringNoTag()
2203 final int minLengthVarIntSize = computeUInt32SizeNoTag(value.length()); in writeStringNoTag() local
2205 if (minLengthVarIntSize == maxLengthVarIntSize) { in writeStringNoTag()
2206 position = oldPosition + minLengthVarIntSize; in writeStringNoTag()
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/javanano/src/main/java/com/google/protobuf/nano/
DCodedOutputByteBufferNano.java301 final int minLengthVarIntSize = computeRawVarint32Size(value.length()); in writeStringNoTag() local
303 if (minLengthVarIntSize == maxLengthVarIntSize) { in writeStringNoTag()
308 if (buffer.remaining() < minLengthVarIntSize) { in writeStringNoTag()
309 throw new OutOfSpaceException(oldPosition + minLengthVarIntSize, buffer.limit()); in writeStringNoTag()
311 buffer.position(oldPosition + minLengthVarIntSize); in writeStringNoTag()
315 writeRawVarint32(newPosition - oldPosition - minLengthVarIntSize); in writeStringNoTag()