Searched refs:ComputeRawVarint32Size (Results 1 – 12 of 12) sorted by relevance
93 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.CodedOutputStream305 return ComputeRawVarint32Size(WireFormat.MakeTag(fieldNumber, 0)); in ComputeTagSize()
795 tagSize = CodedOutputStream.ComputeRawVarint32Size(tag);797 tagSize += CodedOutputStream.ComputeRawVarint32Size(endTag);
186 return CodedOutputStream.ComputeRawVarint32Size(tag) + in CalculateSize()193 int size = count * CodedOutputStream.ComputeRawVarint32Size(tag); in CalculateSize()196 size += count * CodedOutputStream.ComputeRawVarint32Size(codec.EndTag); in CalculateSize()
512 size += CodedOutputStream.ComputeRawVarint32Size(codec.MapTag); in CalculateSize()
57 … Assert.AreEqual(data.Length, CodedOutputStream.ComputeRawVarint32Size((uint) value)); in AssertWriteVarint()
68 … Assert.AreEqual(data.Length, CodedOutputStream.ComputeRawVarint32Size((uint) value)); in AssertWriteVarint()