Home
last modified time | relevance | path

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

/third_party/protobuf/csharp/src/Google.Protobuf/
DCodedOutputStream.ComputeSize.cs93 return ComputeRawVarint32Size((uint) value); in ComputeInt32Size()
173 return ComputeRawVarint32Size(value); in ComputeUInt32Size()
211 return ComputeRawVarint32Size(WritingPrimitives.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.cs795 tagSize = CodedOutputStream.ComputeRawVarint32Size(tag);
797 tagSize += CodedOutputStream.ComputeRawVarint32Size(endTag);
/third_party/protobuf/csharp/src/Google.Protobuf/Collections/
DRepeatedField.cs186 return CodedOutputStream.ComputeRawVarint32Size(tag) + in CalculateSize()
193 int size = count * CodedOutputStream.ComputeRawVarint32Size(tag); in CalculateSize()
196 size += count * CodedOutputStream.ComputeRawVarint32Size(codec.EndTag); in CalculateSize()
DMapField.cs515 size += CodedOutputStream.ComputeRawVarint32Size(codec.MapTag); in CalculateSize()
/third_party/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/
DCodedOutputStreamTest.cs57 … Assert.AreEqual(data.Length, CodedOutputStream.ComputeRawVarint32Size((uint) value)); in AssertWriteVarint()
/third_party/protobuf/csharp/src/Google.Protobuf.Test/
DCodedOutputStreamTest.cs67 … Assert.AreEqual(data.Length, CodedOutputStream.ComputeRawVarint32Size((uint) value)); in AssertWriteVarint()