Home
last modified time | relevance | path

Searched refs:ComputeLengthSize (Results 1 – 5 of 5) sorted by relevance

/external/protobuf/csharp/src/Google.Protobuf/
DCodedOutputStream.ComputeSize.cs136 return ComputeLengthSize(byteArraySize) + byteArraySize; in ComputeStringSize()
155 return ComputeLengthSize(size) + size; in ComputeMessageSize()
164 return ComputeLengthSize(value.Length) + value.Length; in ComputeBytesSize()
227 public static int ComputeLengthSize(int length) in ComputeLengthSize() method in Google.Protobuf.CodedOutputStream
DFieldCodec.cs573 return CodedOutputStream.ComputeLengthSize(fieldLength) + fieldLength;
/external/protobuf/csharp/src/Google.Protobuf/Collections/
DRepeatedField.cs144 CodedOutputStream.ComputeLengthSize(dataSize) + in CalculateSize()
/external/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/Collections/
DRepeatedFieldTest.cs425 … Assert.AreEqual(1 + CodedOutputStream.ComputeLengthSize(length) + length, stream.Length); in WriteTo_PackedInt32()
/external/protobuf/csharp/src/Google.Protobuf.Test/Collections/
DRepeatedFieldTest.cs425 … Assert.AreEqual(1 + CodedOutputStream.ComputeLengthSize(length) + length, stream.Length); in WriteTo_PackedInt32()