/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf.Test/TestProtos/ |
D | MapUnittestProto3.cs | 478 public int CalculateSize() { in CalculateSize() method in Google.Protobuf.TestProtos.TestMap 480 size += mapInt32Int32_.CalculateSize(_map_mapInt32Int32_codec); in CalculateSize() 481 size += mapInt64Int64_.CalculateSize(_map_mapInt64Int64_codec); in CalculateSize() 482 size += mapUint32Uint32_.CalculateSize(_map_mapUint32Uint32_codec); in CalculateSize() 483 size += mapUint64Uint64_.CalculateSize(_map_mapUint64Uint64_codec); in CalculateSize() 484 size += mapSint32Sint32_.CalculateSize(_map_mapSint32Sint32_codec); in CalculateSize() 485 size += mapSint64Sint64_.CalculateSize(_map_mapSint64Sint64_codec); in CalculateSize() 486 size += mapFixed32Fixed32_.CalculateSize(_map_mapFixed32Fixed32_codec); in CalculateSize() 487 size += mapFixed64Fixed64_.CalculateSize(_map_mapFixed64Fixed64_codec); in CalculateSize() 488 size += mapSfixed32Sfixed32_.CalculateSize(_map_mapSfixed32Sfixed32_codec); in CalculateSize() [all …]
|
D | UnittestProto3.cs | 1122 public int CalculateSize() { in CalculateSize() method in Google.Protobuf.TestProtos.TestAllTypes 1190 size += repeatedInt32_.CalculateSize(_repeated_repeatedInt32_codec); in CalculateSize() 1191 size += repeatedInt64_.CalculateSize(_repeated_repeatedInt64_codec); in CalculateSize() 1192 size += repeatedUint32_.CalculateSize(_repeated_repeatedUint32_codec); in CalculateSize() 1193 size += repeatedUint64_.CalculateSize(_repeated_repeatedUint64_codec); in CalculateSize() 1194 size += repeatedSint32_.CalculateSize(_repeated_repeatedSint32_codec); in CalculateSize() 1195 size += repeatedSint64_.CalculateSize(_repeated_repeatedSint64_codec); in CalculateSize() 1196 size += repeatedFixed32_.CalculateSize(_repeated_repeatedFixed32_codec); in CalculateSize() 1197 size += repeatedFixed64_.CalculateSize(_repeated_repeatedFixed64_codec); in CalculateSize() 1198 size += repeatedSfixed32_.CalculateSize(_repeated_repeatedSfixed32_codec); in CalculateSize() [all …]
|
D | UnittestWellKnownTypes.cs | 588 public int CalculateSize() { in CalculateSize() method in Google.Protobuf.TestProtos.TestWellKnownTypes 1230 public int CalculateSize() { in CalculateSize() method in Google.Protobuf.TestProtos.RepeatedWellKnownTypes 1232 size += anyField_.CalculateSize(_repeated_anyField_codec); in CalculateSize() 1233 size += apiField_.CalculateSize(_repeated_apiField_codec); in CalculateSize() 1234 size += durationField_.CalculateSize(_repeated_durationField_codec); in CalculateSize() 1235 size += emptyField_.CalculateSize(_repeated_emptyField_codec); in CalculateSize() 1236 size += fieldMaskField_.CalculateSize(_repeated_fieldMaskField_codec); in CalculateSize() 1237 size += sourceContextField_.CalculateSize(_repeated_sourceContextField_codec); in CalculateSize() 1238 size += structField_.CalculateSize(_repeated_structField_codec); in CalculateSize() 1239 size += timestampField_.CalculateSize(_repeated_timestampField_codec); in CalculateSize() [all …]
|
D | UnittestIssues.cs | 148 public int CalculateSize() { in CalculateSize() method in UnitTest.Issues.TestProtos.Issue307 239 public int CalculateSize() { in CalculateSize() method in UnitTest.Issues.TestProtos.Issue307.Types.NestedOnce 330 public int CalculateSize() { in CalculateSize() method in UnitTest.Issues.TestProtos.Issue307.Types.NestedOnce.Types.NestedTwice 475 public int CalculateSize() { in CalculateSize() method in UnitTest.Issues.TestProtos.NegativeEnumMessage 480 size += values_.CalculateSize(_repeated_values_codec); in CalculateSize() 481 size += packedValues_.CalculateSize(_repeated_packedValues_codec); in CalculateSize() 588 public int CalculateSize() { in CalculateSize() method in UnitTest.Issues.TestProtos.DeprecatedChild 779 public int CalculateSize() { in CalculateSize() method in UnitTest.Issues.TestProtos.DeprecatedFieldsMessage 784 size += primitiveArray_.CalculateSize(_repeated_primitiveArray_codec); in CalculateSize() 788 size += messageArray_.CalculateSize(_repeated_messageArray_codec); in CalculateSize() [all …]
|
D | UnittestImportPublicProto3.cs | 120 public int CalculateSize() { in CalculateSize() method in Google.Protobuf.TestProtos.PublicImportMessage
|
D | UnittestImportProto3.cs | 134 public int CalculateSize() { in CalculateSize() method in Google.Protobuf.TestProtos.ImportMessage
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf.Test/WellKnownTypes/ |
D | AnyTest.cs | 46 Assert.AreEqual(message.CalculateSize(), any.Value.Length); in Pack() 55 Assert.AreEqual(message.CalculateSize(), any.Value.Length); in Pack_WithCustomPrefix() 64 Assert.AreEqual(message.CalculateSize(), any.Value.Length); in Pack_WithCustomPrefixTrailingSlash()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf.Conformance/ |
D | Conformance.cs | 370 public int CalculateSize() { in CalculateSize() method in Conformance.ConformanceRequest 672 public int CalculateSize() { in CalculateSize() method in Conformance.ConformanceResponse 2601 public int CalculateSize() { in CalculateSize() method in Conformance.TestAllTypes 2669 size += repeatedInt32_.CalculateSize(_repeated_repeatedInt32_codec); in CalculateSize() 2670 size += repeatedInt64_.CalculateSize(_repeated_repeatedInt64_codec); in CalculateSize() 2671 size += repeatedUint32_.CalculateSize(_repeated_repeatedUint32_codec); in CalculateSize() 2672 size += repeatedUint64_.CalculateSize(_repeated_repeatedUint64_codec); in CalculateSize() 2673 size += repeatedSint32_.CalculateSize(_repeated_repeatedSint32_codec); in CalculateSize() 2674 size += repeatedSint64_.CalculateSize(_repeated_repeatedSint64_codec); in CalculateSize() 2675 size += repeatedFixed32_.CalculateSize(_repeated_repeatedFixed32_codec); in CalculateSize() [all …]
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf/ |
D | CodedOutputStream.ComputeSize.cs | 141 return value.CalculateSize(); in ComputeGroupSize() 150 int size = value.CalculateSize(); in ComputeMessageSize()
|
D | MessageExtensions.cs | 110 byte[] result = new byte[message.CalculateSize()]; in ToByteArray() 141 codedOutput.WriteRawVarint32((uint)message.CalculateSize()); in WriteDelimitedTo()
|
D | IMessage.cs | 62 int CalculateSize(); in CalculateSize() method
|
D | FieldCodec.cs | 236 value => WrapperCodecs.CalculateSize<T>(value, nestedCodec), 251 … value => value == null ? 0 : WrapperCodecs.CalculateSize<T>(value.Value, nestedCodec), 324 internal static int CalculateSize<T>(T value, FieldCodec<T> codec) in CalculateSize() method in Google.Protobuf.FieldCodec.WrapperCodecs
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf/Reflection/ |
D | Descriptor.cs | 254 public int CalculateSize() { in CalculateSize() method in Google.Protobuf.Reflection.FileDescriptorSet 256 size += file_.CalculateSize(_repeated_file_codec); in CalculateSize() 569 public int CalculateSize() { in CalculateSize() method in Google.Protobuf.Reflection.FileDescriptorProto 577 size += dependency_.CalculateSize(_repeated_dependency_codec); in CalculateSize() 578 size += publicDependency_.CalculateSize(_repeated_publicDependency_codec); in CalculateSize() 579 size += weakDependency_.CalculateSize(_repeated_weakDependency_codec); in CalculateSize() 580 size += messageType_.CalculateSize(_repeated_messageType_codec); in CalculateSize() 581 size += enumType_.CalculateSize(_repeated_enumType_codec); in CalculateSize() 582 size += service_.CalculateSize(_repeated_service_codec); in CalculateSize() 583 size += extension_.CalculateSize(_repeated_extension_codec); in CalculateSize() [all …]
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf/WellKnownTypes/ |
D | Type.cs | 271 public int CalculateSize() { in CalculateSize() method in Google.Protobuf.WellKnownTypes.Type 276 size += fields_.CalculateSize(_repeated_fields_codec); in CalculateSize() 277 size += oneofs_.CalculateSize(_repeated_oneofs_codec); in CalculateSize() 278 size += options_.CalculateSize(_repeated_options_codec); in CalculateSize() 625 public int CalculateSize() { in CalculateSize() method in Google.Protobuf.WellKnownTypes.Field 648 size += options_.CalculateSize(_repeated_options_codec); in CalculateSize() 1021 public int CalculateSize() { in CalculateSize() method in Google.Protobuf.WellKnownTypes.Enum 1026 size += enumvalue_.CalculateSize(_repeated_enumvalue_codec); in CalculateSize() 1027 size += options_.CalculateSize(_repeated_options_codec); in CalculateSize() 1220 public int CalculateSize() { in CalculateSize() method in Google.Protobuf.WellKnownTypes.EnumValue [all …]
|
D | Api.cs | 275 public int CalculateSize() { in CalculateSize() method in Google.Protobuf.WellKnownTypes.Api 280 size += methods_.CalculateSize(_repeated_methods_codec); in CalculateSize() 281 size += options_.CalculateSize(_repeated_options_codec); in CalculateSize() 288 size += mixins_.CalculateSize(_repeated_mixins_codec); in CalculateSize() 574 public int CalculateSize() { in CalculateSize() method in Google.Protobuf.WellKnownTypes.Method 591 size += options_.CalculateSize(_repeated_options_codec); in CalculateSize() 851 public int CalculateSize() { in CalculateSize() method in Google.Protobuf.WellKnownTypes.Mixin
|
D | Wrappers.cs | 142 public int CalculateSize() { in CalculateSize() method in Google.Protobuf.WellKnownTypes.DoubleValue 267 public int CalculateSize() { in CalculateSize() method in Google.Protobuf.WellKnownTypes.FloatValue 392 public int CalculateSize() { in CalculateSize() method in Google.Protobuf.WellKnownTypes.Int64Value 517 public int CalculateSize() { in CalculateSize() method in Google.Protobuf.WellKnownTypes.UInt64Value 642 public int CalculateSize() { in CalculateSize() method in Google.Protobuf.WellKnownTypes.Int32Value 767 public int CalculateSize() { in CalculateSize() method in Google.Protobuf.WellKnownTypes.UInt32Value 892 public int CalculateSize() { in CalculateSize() method in Google.Protobuf.WellKnownTypes.BoolValue 1017 public int CalculateSize() { in CalculateSize() method in Google.Protobuf.WellKnownTypes.StringValue 1142 public int CalculateSize() { in CalculateSize() method in Google.Protobuf.WellKnownTypes.BytesValue
|
D | FieldMask.cs | 321 public int CalculateSize() { in CalculateSize() method in Google.Protobuf.WellKnownTypes.FieldMask 323 size += paths_.CalculateSize(_repeated_paths_codec); in CalculateSize()
|
D | Struct.cs | 158 public int CalculateSize() { in CalculateSize() method in Google.Protobuf.WellKnownTypes.Struct 160 size += fields_.CalculateSize(_map_fields_codec); in CalculateSize() 427 public int CalculateSize() { in CalculateSize() method in Google.Protobuf.WellKnownTypes.Value 612 public int CalculateSize() { in CalculateSize() method in Google.Protobuf.WellKnownTypes.ListValue 614 size += values_.CalculateSize(_repeated_values_codec); in CalculateSize()
|
D | SourceContext.cs | 129 public int CalculateSize() { in CalculateSize() method in Google.Protobuf.WellKnownTypes.SourceContext
|
D | Duration.cs | 194 public int CalculateSize() { in CalculateSize() method in Google.Protobuf.WellKnownTypes.Duration
|
D | Timestamp.cs | 205 public int CalculateSize() { in CalculateSize() method in Google.Protobuf.WellKnownTypes.Timestamp
|
D | Any.cs | 235 public int CalculateSize() { in CalculateSize() method in Google.Protobuf.WellKnownTypes.Any
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/AddressBook/ |
D | Addressbook.cs | 182 public int CalculateSize() { in CalculateSize() method in Google.Protobuf.Examples.AddressBook.Person 193 size += phones_.CalculateSize(_repeated_phones_codec); in CalculateSize() 351 public int CalculateSize() { in CalculateSize() method in Google.Protobuf.Examples.AddressBook.Person.Types.PhoneNumber 482 public int CalculateSize() { in CalculateSize() method in Google.Protobuf.Examples.AddressBook.AddressBook 484 size += people_.CalculateSize(_repeated_people_codec); in CalculateSize()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf.Test/ |
D | TestCornerCases.cs | 50 Assert.AreEqual(58, msg.CalculateSize()); in TestRoundTripNegativeEnums()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf.Test/Collections/ |
D | RepeatedFieldTest.cs | 497 Assert.AreEqual(7, list.CalculateSize(FieldCodec.ForInt32(tag))); in CalculateSize_VariableSizeNonPacked() 506 Assert.AreEqual(15, list.CalculateSize(FieldCodec.ForSFixed32(tag))); in CalculateSize_FixedSizeNonPacked() 516 Assert.AreEqual(6, list.CalculateSize(FieldCodec.ForInt32(tag))); in CalculateSize_VariableSizePacked() 525 Assert.AreEqual(14, list.CalculateSize(FieldCodec.ForSFixed32(tag))); in CalculateSize_FixedSizePacked()
|