Home
last modified time | relevance | path

Searched refs:ComputeEnumSize (Results 1 – 12 of 12) sorted by relevance

/external/protobuf/csharp/src/Google.Protobuf/
DCodedOutputStream.ComputeSize.cs177 public static int ComputeEnumSize(int value) in ComputeEnumSize() method in Google.Protobuf.CodedOutputStream
DFieldCodec.cs212 value => CodedOutputStream.ComputeEnumSize(toInt32(value)), tag); in ForEnum()
/external/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/
DType.cs267 size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Syntax); in CalculateSize()
589 size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Kind); in CalculateSize()
592 size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Cardinality); in CalculateSize()
975 size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Syntax); in CalculateSize()
DApi.cs273 size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Syntax); in CalculateSize()
556 size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Syntax); in CalculateSize()
DStruct.cs398 size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) NullValue); in CalculateSize()
/external/protobuf/csharp/src/Google.Protobuf.Test/
DCodedOutputStreamTest.cs276 Assert.AreEqual(10, CodedOutputStream.ComputeEnumSize((int) SampleEnum.NegativeValue)); in TestNegativeEnumNoTag()
/external/protobuf/csharp/src/AddressBook/
DAddressbook.cs328 size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Type); in CalculateSize()
/external/protobuf/csharp/src/Google.Protobuf.Test/TestProtos/
DUnittestIssues.cs426 size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Value); in CalculateSize()
706 size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) EnumValue); in CalculateSize()
DUnittestProto3.cs1119 size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) SingleNestedEnum); in CalculateSize()
1122 size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) SingleForeignEnum); in CalculateSize()
1125 size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) SingleImportEnum); in CalculateSize()
2921 size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) EnumField); in CalculateSize()
3416 size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) SparseEnum); in CalculateSize()
/external/protobuf/csharp/src/Google.Protobuf.Test/Collections/
DRepeatedFieldTest.cs487 size += CodedOutputStream.ComputeEnumSize(i); in TestNegativeEnumPackedArray()
/external/protobuf/csharp/src/Google.Protobuf/Reflection/
DDescriptor.cs1498 size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Label); in CalculateSize()
1501 size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Type); in CalculateSize()
2934 size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) OptimizeFor); in CalculateSize()
3606 size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Ctype); in CalculateSize()
3612 size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Jstype); in CalculateSize()
/external/protobuf/csharp/src/Google.Protobuf.Conformance/
DConformance.cs364 size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) RequestedOutputFormat); in CalculateSize()
2496 size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) OptionalNestedEnum); in CalculateSize()
2499 size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) OptionalForeignEnum); in CalculateSize()