Home
last modified time | relevance | path

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

/external/protobuf/csharp/src/Google.Protobuf/
DCodedOutputStream.ComputeSize.cs132 return ComputeLengthSize(byteArraySize) + byteArraySize; in ComputeStringSize()
151 return ComputeLengthSize(size) + size; in ComputeMessageSize()
160 return ComputeLengthSize(value.Length) + value.Length; in ComputeBytesSize()
223 public static int ComputeLengthSize(int length) in ComputeLengthSize() method in Google.Protobuf.CodedOutputStream
DFieldCodec.cs327 return CodedOutputStream.ComputeLengthSize(fieldLength) + fieldLength; in CalculateSize()
/external/protobuf/csharp/src/Google.Protobuf/Collections/
DRepeatedField.cs141 CodedOutputStream.ComputeLengthSize(dataSize) + in CalculateSize()
/external/protobuf/csharp/src/Google.Protobuf.Test/Collections/
DRepeatedFieldTest.cs339 … Assert.AreEqual(1 + CodedOutputStream.ComputeLengthSize(length) + length, stream.Length); in WriteTo_PackedInt32()