Home
last modified time | relevance | path

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

/external/protobuf/csharp/src/Google.Protobuf/
DCodedOutputStream.ComputeSize.cs181 public static int ComputeEnumSize(int value) in ComputeEnumSize() method in Google.Protobuf.CodedOutputStream
DFieldCodec.cs394 value => CodedOutputStream.ComputeEnumSize(toInt32(value)), tag); in ForEnum()
/external/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/
DType.cs294 size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Syntax); in CalculateSize()
651 size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Kind); in CalculateSize()
654 size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Cardinality); in CalculateSize()
1067 size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Syntax); in CalculateSize()
DApi.cs308 size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Syntax); in CalculateSize()
623 size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Syntax); in CalculateSize()
DStruct.cs452 size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) NullValue); in CalculateSize()
/external/grpc-grpc/src/csharp/Grpc.HealthCheck/
DHealth.cs269 size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Status); in CalculateSize()
/external/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/
DCodedOutputStreamTest.cs276 Assert.AreEqual(10, CodedOutputStream.ComputeEnumSize((int) SampleEnum.NegativeValue)); in TestNegativeEnumNoTag()
/external/protobuf/csharp/src/Google.Protobuf.Test/
DCodedOutputStreamTest.cs276 Assert.AreEqual(10, CodedOutputStream.ComputeEnumSize((int) SampleEnum.NegativeValue)); in TestNegativeEnumNoTag()
/external/protobuf/csharp/src/Google.Protobuf.Conformance/
DConformance.cs543 size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) RequestedOutputFormat); in CalculateSize()
549 size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) TestCategory); in CalculateSize()
/external/grpc-grpc/src/csharp/Grpc.IntegrationTesting/
DMessages.cs348 size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Type); in CalculateSize()
805 size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) ResponseType); in CalculateSize()
1823 size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) ResponseType); in CalculateSize()
DControl.cs1416 size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) ClientType); in CalculateSize()
1431 size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) RpcType); in CalculateSize()
2390 size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) ServerType); in CalculateSize()
/external/protobuf/csharp/src/AddressBook/
DAddressbook.cs415 size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Type); in CalculateSize()
/external/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/Collections/
DRepeatedFieldTest.cs573 size += CodedOutputStream.ComputeEnumSize(i); in TestNegativeEnumPackedArray()
/external/protobuf/csharp/src/Google.Protobuf.Test/Collections/
DRepeatedFieldTest.cs573 size += CodedOutputStream.ComputeEnumSize(i); in TestNegativeEnumPackedArray()
/external/protobuf/csharp/src/Google.Protobuf.Test/TestProtos/
DTestMessagesProto3.cs2394 size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) OptionalNestedEnum); in CalculateSize()
2397 size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) OptionalForeignEnum); in CalculateSize()
2400 size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) OptionalAliasedEnum); in CalculateSize()
2476 size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) OneofEnum); in CalculateSize()
DUnittestIssues.cs528 size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Value); in CalculateSize()
864 size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) EnumValue); in CalculateSize()
DUnittestProto3.cs1207 size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) SingleNestedEnum); in CalculateSize()
1210 size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) SingleForeignEnum); in CalculateSize()
1213 size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) SingleImportEnum); in CalculateSize()
3189 size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Value); in CalculateSize()
3438 size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) EnumField); in CalculateSize()
4015 size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) SparseEnum); in CalculateSize()
/external/protobuf/csharp/src/Google.Protobuf/Reflection/
DDescriptor.cs2172 size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Label); in CalculateSize()
2175 size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Type); in CalculateSize()
4644 size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) OptimizeFor); in CalculateSize()
5652 size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Ctype); in CalculateSize()
5658 size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Jstype); in CalculateSize()
6823 size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) IdempotencyLevel); in CalculateSize()