Searched refs:ComputeEnumSize (Results 1 – 18 of 18) sorted by relevance
181 public static int ComputeEnumSize(int value) in ComputeEnumSize() method in Google.Protobuf.CodedOutputStream
395 value => CodedOutputStream.ComputeEnumSize(toInt32(value)), tag, defaultValue); in ForEnum()
326 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()
344 size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Syntax); in CalculateSize()750 size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Syntax); in CalculateSize()
533 size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) NullValue); in CalculateSize()
276 Assert.AreEqual(10, CodedOutputStream.ComputeEnumSize((int) SampleEnum.NegativeValue)); in TestNegativeEnumNoTag()
636 size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) RequestedOutputFormat); in CalculateSize()642 size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) TestCategory); in CalculateSize()
370 Assert.AreEqual(10, CodedOutputStream.ComputeEnumSize((int) SampleEnum.NegativeValue)); in TestNegativeEnumNoTag()
666 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()
869 size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) OptionalNestedEnum); in CalculateSize()
3165 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()
1350 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()
3181 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()
3356 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 …]
515 size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Type); in CalculateSize()
573 size += CodedOutputStream.ComputeEnumSize(i); in TestNegativeEnumPackedArray()
574 size += CodedOutputStream.ComputeEnumSize(i); in TestNegativeEnumPackedArray()
2649 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()