Home
last modified time | relevance | path

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

/third_party/protobuf/csharp/src/Google.Protobuf/
DCodedOutputStream.ComputeSize.cs181 public static int ComputeEnumSize(int value) in ComputeEnumSize() method in Google.Protobuf.CodedOutputStream
DFieldCodec.cs395 value => CodedOutputStream.ComputeEnumSize(toInt32(value)), tag, defaultValue); in ForEnum()
/third_party/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/
DType.cs326 size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Syntax); in CalculateSize()
782 size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Kind); in CalculateSize()
785 size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Cardinality); in CalculateSize()
1287 size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Syntax); in CalculateSize()
DApi.cs344 size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Syntax); in CalculateSize()
750 size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Syntax); in CalculateSize()
DStruct.cs533 size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) NullValue); in CalculateSize()
/third_party/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/
DCodedOutputStreamTest.cs276 Assert.AreEqual(10, CodedOutputStream.ComputeEnumSize((int) SampleEnum.NegativeValue)); in TestNegativeEnumNoTag()
/third_party/protobuf/csharp/src/Google.Protobuf.Conformance/
DConformance.cs636 size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) RequestedOutputFormat); in CalculateSize()
642 size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) TestCategory); in CalculateSize()
/third_party/protobuf/csharp/src/Google.Protobuf.Test/
DCodedOutputStreamTest.cs370 Assert.AreEqual(10, CodedOutputStream.ComputeEnumSize((int) SampleEnum.NegativeValue)); in TestNegativeEnumNoTag()
/third_party/protobuf/csharp/src/Google.Protobuf.Test.TestProtos/
DUnittestIssues.cs666 size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Value); in CalculateSize()
1101 size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) EnumValue); in CalculateSize()
3063 size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) NullValue); in CalculateSize()
3251 size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) NullValue); in CalculateSize()
DUnittestProto3Optional.cs869 size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) OptionalNestedEnum); in CalculateSize()
DTestMessagesProto3.cs3165 size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) OptionalNestedEnum); in CalculateSize()
3168 size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) OptionalForeignEnum); in CalculateSize()
3171 size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) OptionalAliasedEnum); in CalculateSize()
3275 size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) OneofEnum); in CalculateSize()
DUnittestProto3.cs1350 size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) SingleNestedEnum); in CalculateSize()
1353 size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) SingleForeignEnum); in CalculateSize()
1356 size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) SingleImportEnum); in CalculateSize()
4073 size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Value); in CalculateSize()
4381 size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) EnumField); in CalculateSize()
5155 size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) SparseEnum); in CalculateSize()
DTestMessagesProto2.cs3181 size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) OptionalNestedEnum); in CalculateSize()
3184 size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) OptionalForeignEnum); in CalculateSize()
3288 size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) OneofEnum); in CalculateSize()
DUnittest.cs3356 size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) OptionalNestedEnum); in CalculateSize()
3359 size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) OptionalForeignEnum); in CalculateSize()
3362 size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) OptionalImportEnum); in CalculateSize()
3447 size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) DefaultNestedEnum); in CalculateSize()
3450 size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) DefaultForeignEnum); in CalculateSize()
3453 size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) DefaultImportEnum); in CalculateSize()
6751 size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) OptionalForeignEnum); in CalculateSize()
14320 size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) EnumField); in CalculateSize()
17333 size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) SparseEnum); in CalculateSize()
20990 size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) FooEnum); in CalculateSize()
[all …]
/third_party/protobuf/csharp/src/AddressBook/
DAddressbook.cs515 size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Type); in CalculateSize()
/third_party/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/Collections/
DRepeatedFieldTest.cs573 size += CodedOutputStream.ComputeEnumSize(i); in TestNegativeEnumPackedArray()
/third_party/protobuf/csharp/src/Google.Protobuf.Test/Collections/
DRepeatedFieldTest.cs574 size += CodedOutputStream.ComputeEnumSize(i); in TestNegativeEnumPackedArray()
/third_party/protobuf/csharp/src/Google.Protobuf/Reflection/
DDescriptor.cs2649 size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Label); in CalculateSize()
2652 size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Type); in CalculateSize()
5629 size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) OptimizeFor); in CalculateSize()
6865 size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Ctype); in CalculateSize()
6871 size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Jstype); in CalculateSize()
8330 size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) IdempotencyLevel); in CalculateSize()