Searched refs:minLengthVarIntSize (Results 1 – 2 of 2) sorted by relevance
1411 final int minLengthVarIntSize = computeUInt32SizeNoTag(value.length()); in writeStringNoTag() local1412 if (minLengthVarIntSize == maxLengthVarIntSize) { in writeStringNoTag()1413 position = oldPosition + minLengthVarIntSize; in writeStringNoTag()1418 int length = newPosition - oldPosition - minLengthVarIntSize; in writeStringNoTag()1726 final int minLengthVarIntSize = computeUInt32SizeNoTag(value.length()); in writeStringNoTag() local1727 if (minLengthVarIntSize == maxLengthVarIntSize) { in writeStringNoTag()1730 final int startOfBytes = buffer.position() + minLengthVarIntSize; in writeStringNoTag()2171 final int minLengthVarIntSize = computeUInt32SizeNoTag(value.length()); in writeStringNoTag() local2173 if (minLengthVarIntSize == maxLengthVarIntSize) { in writeStringNoTag()2174 position = oldPosition + minLengthVarIntSize; in writeStringNoTag()[all …]
309 final int minLengthVarIntSize = computeRawVarint32Size(value.length()); in writeStringNoTag() local311 if (minLengthVarIntSize == maxLengthVarIntSize) { in writeStringNoTag()316 if (buffer.remaining() < minLengthVarIntSize) { in writeStringNoTag()317 throw new OutOfSpaceException(oldPosition + minLengthVarIntSize, buffer.limit()); in writeStringNoTag()319 buffer.position(oldPosition + minLengthVarIntSize); in writeStringNoTag()323 writeRawVarint32(newPosition - oldPosition - minLengthVarIntSize); in writeStringNoTag()