Home
last modified time | relevance | path

Searched refs:ComputeInt32Size (Results 1 – 25 of 29) sorted by relevance

12

/third_party/protobuf/csharp/src/Google.Protobuf.Benchmarks/
DBenchmarkMessage1Proto3.cs1068 size += 1 + pb::CodedOutputStream.ComputeInt32Size(Field2); in CalculateSize()
1071 size += 1 + pb::CodedOutputStream.ComputeInt32Size(Field3); in CalculateSize()
1074 size += 2 + pb::CodedOutputStream.ComputeInt32Size(Field280); in CalculateSize()
1077 size += 1 + pb::CodedOutputStream.ComputeInt32Size(Field6); in CalculateSize()
1093 size += 2 + pb::CodedOutputStream.ComputeInt32Size(Field16); in CalculateSize()
1096 size += 2 + pb::CodedOutputStream.ComputeInt32Size(Field130); in CalculateSize()
1111 size += 2 + pb::CodedOutputStream.ComputeInt32Size(Field104); in CalculateSize()
1114 size += 2 + pb::CodedOutputStream.ComputeInt32Size(Field100); in CalculateSize()
1117 size += 2 + pb::CodedOutputStream.ComputeInt32Size(Field101); in CalculateSize()
1126 size += 2 + pb::CodedOutputStream.ComputeInt32Size(Field29); in CalculateSize()
[all …]
/third_party/protobuf/csharp/src/Google.Protobuf/
DCodedOutputStream.ComputeSize.cs89 public static int ComputeInt32Size(int value) in ComputeInt32Size() method in Google.Protobuf.CodedOutputStream
184 return ComputeInt32Size(value); in ComputeEnumSize()
DFieldCodec.cs255 …t output, int value) => output.WriteInt32(value), CodedOutputStream.ComputeInt32Size, tag, default… in ForInt32()
/third_party/protobuf/csharp/src/Google.Protobuf.Test.TestProtos/
DTestMessagesProto2.cs3130 size += 1 + pb::CodedOutputStream.ComputeInt32Size(OptionalInt32); in CalculateSize()
3294 size += 2 + pb::CodedOutputStream.ComputeInt32Size(Fieldname1); in CalculateSize()
3297 size += 2 + pb::CodedOutputStream.ComputeInt32Size(FieldName2); in CalculateSize()
3300 size += 2 + pb::CodedOutputStream.ComputeInt32Size(FieldName3); in CalculateSize()
3303 size += 2 + pb::CodedOutputStream.ComputeInt32Size(FieldName4); in CalculateSize()
3306 size += 2 + pb::CodedOutputStream.ComputeInt32Size(Field0Name5); in CalculateSize()
3309 size += 2 + pb::CodedOutputStream.ComputeInt32Size(Field0Name6); in CalculateSize()
3312 size += 2 + pb::CodedOutputStream.ComputeInt32Size(FieldName7); in CalculateSize()
3315 size += 2 + pb::CodedOutputStream.ComputeInt32Size(FieldName8); in CalculateSize()
3318 size += 2 + pb::CodedOutputStream.ComputeInt32Size(FieldName9); in CalculateSize()
[all …]
DTestMessagesProto3.cs3114 size += 1 + pb::CodedOutputStream.ComputeInt32Size(OptionalInt32); in CalculateSize()
3339 size += 2 + pb::CodedOutputStream.ComputeInt32Size(Fieldname1); in CalculateSize()
3342 size += 2 + pb::CodedOutputStream.ComputeInt32Size(FieldName2); in CalculateSize()
3345 size += 2 + pb::CodedOutputStream.ComputeInt32Size(FieldName3); in CalculateSize()
3348 size += 2 + pb::CodedOutputStream.ComputeInt32Size(FieldName4); in CalculateSize()
3351 size += 2 + pb::CodedOutputStream.ComputeInt32Size(Field0Name5); in CalculateSize()
3354 size += 2 + pb::CodedOutputStream.ComputeInt32Size(Field0Name6); in CalculateSize()
3357 size += 2 + pb::CodedOutputStream.ComputeInt32Size(FieldName7); in CalculateSize()
3360 size += 2 + pb::CodedOutputStream.ComputeInt32Size(FieldName8); in CalculateSize()
3363 size += 2 + pb::CodedOutputStream.ComputeInt32Size(FieldName9); in CalculateSize()
[all …]
DUnittestSelfreferentialOptions.cs250 size += 1 + pb::CodedOutputStream.ComputeInt32Size(IntOpt); in CalculateSize()
253 size += 1 + pb::CodedOutputStream.ComputeInt32Size(Foo); in CalculateSize()
DUnittest.cs3299 size += 1 + pb::CodedOutputStream.ComputeInt32Size(OptionalInt32); in CalculateSize()
3402 size += 2 + pb::CodedOutputStream.ComputeInt32Size(DefaultInt32); in CalculateSize()
4541 size += 1 + pb::CodedOutputStream.ComputeInt32Size(Bb); in CalculateSize()
4728 size += 2 + pb::CodedOutputStream.ComputeInt32Size(A); in CalculateSize()
4919 size += 2 + pb::CodedOutputStream.ComputeInt32Size(A); in CalculateSize()
5434 size += 1 + pb::CodedOutputStream.ComputeInt32Size(DeprecatedInt32); in CalculateSize()
5437 size += 1 + pb::CodedOutputStream.ComputeInt32Size(DeprecatedInt32InOneof); in CalculateSize()
5814 size += 1 + pb::CodedOutputStream.ComputeInt32Size(C); in CalculateSize()
5817 size += 1 + pb::CodedOutputStream.ComputeInt32Size(D); in CalculateSize()
6332 size += 2 + pb::CodedOutputStream.ComputeInt32Size(A); in CalculateSize()
[all …]
DUnittestImportPublicProto3.cs154 size += 1 + pb::CodedOutputStream.ComputeInt32Size(E); in CalculateSize()
DUnittestIssues.cs1093 size += 1 + pb::CodedOutputStream.ComputeInt32Size(PrimitiveValue); in CalculateSize()
1339 size += 1 + pb::CodedOutputStream.ComputeInt32Size(Item); in CalculateSize()
1533 size += 1 + pb::CodedOutputStream.ComputeInt32Size(Types_); in CalculateSize()
1536 size += 1 + pb::CodedOutputStream.ComputeInt32Size(Descriptor_); in CalculateSize()
2043 size += 1 + pb::CodedOutputStream.ComputeInt32Size(PlainInt32); in CalculateSize()
2049 size += 1 + pb::CodedOutputStream.ComputeInt32Size(O1Int32); in CalculateSize()
2055 size += 1 + pb::CodedOutputStream.ComputeInt32Size(O2Int32); in CalculateSize()
2819 size += 1 + pb::CodedOutputStream.ComputeInt32Size(X); in CalculateSize()
2822 size += 1 + pb::CodedOutputStream.ComputeInt32Size(Y); in CalculateSize()
DUnittestImportProto3.cs166 size += 1 + pb::CodedOutputStream.ComputeInt32Size(D); in CalculateSize()
DUnittestImportPublic.cs168 size += 1 + pb::CodedOutputStream.ComputeInt32Size(E); in CalculateSize()
DUnittestCustomOptionsProto3.cs423 size += 1 + pb::CodedOutputStream.ComputeInt32Size(OneofField); in CalculateSize()
2194 size += 1 + pb::CodedOutputStream.ComputeInt32Size(Foo); in CalculateSize()
2197 size += 1 + pb::CodedOutputStream.ComputeInt32Size(Foo2); in CalculateSize()
2200 size += 1 + pb::CodedOutputStream.ComputeInt32Size(Foo3); in CalculateSize()
2468 size += 1 + pb::CodedOutputStream.ComputeInt32Size(Baz); in CalculateSize()
2695 size += 1 + pb::CodedOutputStream.ComputeInt32Size(Waldo); in CalculateSize()
2881 size += 1 + pb::CodedOutputStream.ComputeInt32Size(Qux); in CalculateSize()
3242 size += 1 + pb::CodedOutputStream.ComputeInt32Size(I); in CalculateSize()
3451 size += 1 + pb::CodedOutputStream.ComputeInt32Size(Fieldname); in CalculateSize()
3769 size += 1 + pb::CodedOutputStream.ComputeInt32Size(NestedField); in CalculateSize()
DUnittestImport.cs190 size += 1 + pb::CodedOutputStream.ComputeInt32Size(D); in CalculateSize()
DUnittestProto3Optional.cs815 size += 1 + pb::CodedOutputStream.ComputeInt32Size(OptionalInt32); in CalculateSize()
872 size += 2 + pb::CodedOutputStream.ComputeInt32Size(SingularInt32); in CalculateSize()
1316 size += 1 + pb::CodedOutputStream.ComputeInt32Size(Bb); in CalculateSize()
DUnittestProto3.cs1296 size += 1 + pb::CodedOutputStream.ComputeInt32Size(SingleInt32); in CalculateSize()
2140 size += 1 + pb::CodedOutputStream.ComputeInt32Size(Bb); in CalculateSize()
2572 size += 1 + pb::CodedOutputStream.ComputeInt32Size(DeprecatedInt32); in CalculateSize()
2748 size += 1 + pb::CodedOutputStream.ComputeInt32Size(C); in CalculateSize()
3269 size += 1 + pb::CodedOutputStream.ComputeInt32Size(A); in CalculateSize()
3272 size += 5 + pb::CodedOutputStream.ComputeInt32Size(Bb); in CalculateSize()
3480 size += 1 + pb::CodedOutputStream.ComputeInt32Size(I); in CalculateSize()
3881 size += 1 + pb::CodedOutputStream.ComputeInt32Size(OptionalInt32); in CalculateSize()
4375 size += 1 + pb::CodedOutputStream.ComputeInt32Size(PrimitiveField); in CalculateSize()
4967 size += 1 + pb::CodedOutputStream.ComputeInt32Size(Bb); in CalculateSize()
[all …]
/third_party/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/Collections/
DRepeatedFieldTest.cs312 var length = CodedOutputStream.ComputeInt32Size(10) in AddEntriesFrom_PackedInt32()
313 + CodedOutputStream.ComputeInt32Size(999) in AddEntriesFrom_PackedInt32()
314 + CodedOutputStream.ComputeInt32Size(-1000); in AddEntriesFrom_PackedInt32()
/third_party/protobuf/csharp/src/Google.Protobuf.Test/
DLegacyGeneratedCodeTest.cs262 size += 1 + pb::CodedOutputStream.ComputeInt32Size(OptionalInt32); in CalculateSize()
DGeneratedMessageTest.cs294 output.WriteLength(1 + CodedOutputStream.ComputeInt32Size(key)); in MapWithOnlyKey_PrimitiveValue()
316 output.WriteLength(1 + CodedOutputStream.ComputeInt32Size(key)); in MapWithOnlyKey_MessageValue()
DCodedOutputStreamTest.cs369 Assert.AreEqual(10, CodedOutputStream.ComputeInt32Size(-2)); in TestNegativeEnumNoTag()
/third_party/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/
DDuration.cs254 size += 1 + pb::CodedOutputStream.ComputeInt32Size(Nanos); in CalculateSize()
DTimestamp.cs275 size += 1 + pb::CodedOutputStream.ComputeInt32Size(Nanos); in CalculateSize()
DType.cs788 size += 1 + pb::CodedOutputStream.ComputeInt32Size(Number); in CalculateSize()
797 size += 1 + pb::CodedOutputStream.ComputeInt32Size(OneofIndex); in CalculateSize()
1560 size += 1 + pb::CodedOutputStream.ComputeInt32Size(Number); in CalculateSize()
/third_party/protobuf/csharp/src/Google.Protobuf.Test/Collections/
DRepeatedFieldTest.cs313 var length = CodedOutputStream.ComputeInt32Size(10) in AddEntriesFrom_PackedInt32()
314 + CodedOutputStream.ComputeInt32Size(999) in AddEntriesFrom_PackedInt32()
315 + CodedOutputStream.ComputeInt32Size(-1000); in AddEntriesFrom_PackedInt32()
/third_party/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/
DGeneratedMessageTest.cs279 output.WriteLength(1 + CodedOutputStream.ComputeInt32Size(key)); in MapWithOnlyKey_PrimitiveValue()
296 output.WriteLength(1 + CodedOutputStream.ComputeInt32Size(key)); in MapWithOnlyKey_MessageValue()
DCodedOutputStreamTest.cs275 Assert.AreEqual(10, CodedOutputStream.ComputeInt32Size(-2)); in TestNegativeEnumNoTag()

12