Searched refs:ComputeRawVarint32Size (Results 1 – 6 of 6) 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()
515 size += CodedOutputStream.ComputeRawVarint32Size(codec.MapTag); in CalculateSize()
57 … Assert.AreEqual(data.Length, CodedOutputStream.ComputeRawVarint32Size((uint) value)); in AssertWriteVarint()
67 … Assert.AreEqual(data.Length, CodedOutputStream.ComputeRawVarint32Size((uint) value)); in AssertWriteVarint()