Searched refs:computeRawVarint32Size (Results 1 – 9 of 9) sorted by relevance
301 final int minLengthVarIntSize = computeRawVarint32Size(value.length()); in writeStringNoTag()302 final int maxLengthVarIntSize = computeRawVarint32Size(value.length() * MAX_UTF8_EXPANSION); in writeStringNoTag()775 return computeRawVarint32Size(value); in computeInt32SizeNoTag()812 return computeRawVarint32Size(length) + length; in computeStringSizeNoTag()829 return computeRawVarint32Size(size) + size; in computeMessageSizeNoTag()837 return computeRawVarint32Size(value.length) + value.length; in computeBytesSizeNoTag()845 return computeRawVarint32Size(value); in computeUInt32SizeNoTag()853 return computeRawVarint32Size(value); in computeEnumSizeNoTag()877 return computeRawVarint32Size(encodeZigZag32(value)); in computeSInt32SizeNoTag()982 return computeRawVarint32Size(WireFormatNano.makeTag(fieldNumber, 0)); in computeTagSize()[all …]
58 size += CodedOutputByteBufferNano.computeRawVarint32Size(tag); in computeSerializedSize()
638 dataSize + CodedOutputByteBufferNano.computeRawVarint32Size(dataSize); in computeRepeatedSerializedSize()639 return payloadSize + CodedOutputByteBufferNano.computeRawVarint32Size(tag); in computeRepeatedSerializedSize()
476 + CodedOutputByteBufferNano.computeRawVarint32Size(entrySize); in computeMapFieldSize()
92 CodedOutputStream.computeRawVarint32Size((int) value)); in assertWriteVarint()
91 CodedOutputStream.computeRawVarint32Size(serialized) + serialized); in writeDelimitedTo()
896 CodedOutputStream.computeRawVarint32Size(dataSize); in computeFieldSize()
1097 public static int computeRawVarint32Size(final int value) { in computeRawVarint32Size() method in CodedOutputStream
2329 assertEquals(CodedOutputByteBufferNano.computeRawVarint32Size(testCase.length()), in testCorrectExceptionThrowWhenEncodingStringsWithoutEnoughSpace()2330 CodedOutputByteBufferNano.computeRawVarint32Size(testCase.length() * 3)); in testCorrectExceptionThrowWhenEncodingStringsWithoutEnoughSpace()