Home
last modified time | relevance | path

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

/external/protobuf/csharp/src/Google.Protobuf/
DCodedOutputStream.ComputeSize.cs93 return ComputeRawVarint32Size((uint) value); in ComputeInt32Size()
173 return ComputeRawVarint32Size(value); in ComputeUInt32Size()
211 return ComputeRawVarint32Size(EncodeZigZag32(value)); in ComputeSInt32Size()
229 return ComputeRawVarint32Size((uint) length); in ComputeLengthSize()
235 public static int ComputeRawVarint32Size(uint value) in ComputeRawVarint32Size() method in Google.Protobuf.CodedOutputStream
305 return ComputeRawVarint32Size(WireFormat.MakeTag(fieldNumber, 0)); in ComputeTagSize()
DFieldCodec.cs735 tagSize = CodedOutputStream.ComputeRawVarint32Size(tag);
737 tagSize += CodedOutputStream.ComputeRawVarint32Size(endTag);
/external/protobuf/csharp/src/Google.Protobuf/Collections/
DRepeatedField.cs143 return CodedOutputStream.ComputeRawVarint32Size(tag) + in CalculateSize()
150 int size = count * CodedOutputStream.ComputeRawVarint32Size(tag); in CalculateSize()
DMapField.cs469 size += CodedOutputStream.ComputeRawVarint32Size(codec.MapTag); in CalculateSize()
/external/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/
DCodedOutputStreamTest.cs57 … Assert.AreEqual(data.Length, CodedOutputStream.ComputeRawVarint32Size((uint) value)); in AssertWriteVarint()
/external/protobuf/csharp/src/Google.Protobuf.Test/
DCodedOutputStreamTest.cs57 … Assert.AreEqual(data.Length, CodedOutputStream.ComputeRawVarint32Size((uint) value)); in AssertWriteVarint()