/external/protobuf/csharp/src/Google.Protobuf.Test/TestProtos/ |
D | MapUnittestProto3.cs | 451 public int CalculateSize() { in CalculateSize() method in Google.Protobuf.TestProtos.TestMap 453 size += mapInt32Int32_.CalculateSize(_map_mapInt32Int32_codec); in CalculateSize() 454 size += mapInt64Int64_.CalculateSize(_map_mapInt64Int64_codec); in CalculateSize() 455 size += mapUint32Uint32_.CalculateSize(_map_mapUint32Uint32_codec); in CalculateSize() 456 size += mapUint64Uint64_.CalculateSize(_map_mapUint64Uint64_codec); in CalculateSize() 457 size += mapSint32Sint32_.CalculateSize(_map_mapSint32Sint32_codec); in CalculateSize() 458 size += mapSint64Sint64_.CalculateSize(_map_mapSint64Sint64_codec); in CalculateSize() 459 size += mapFixed32Fixed32_.CalculateSize(_map_mapFixed32Fixed32_codec); in CalculateSize() 460 size += mapFixed64Fixed64_.CalculateSize(_map_mapFixed64Fixed64_codec); in CalculateSize() 461 size += mapSfixed32Sfixed32_.CalculateSize(_map_mapSfixed32Sfixed32_codec); in CalculateSize() [all …]
|
D | UnittestProto3.cs | 1062 public int CalculateSize() { in CalculateSize() method in Google.Protobuf.TestProtos.TestAllTypes 1130 size += repeatedInt32_.CalculateSize(_repeated_repeatedInt32_codec); in CalculateSize() 1131 size += repeatedInt64_.CalculateSize(_repeated_repeatedInt64_codec); in CalculateSize() 1132 size += repeatedUint32_.CalculateSize(_repeated_repeatedUint32_codec); in CalculateSize() 1133 size += repeatedUint64_.CalculateSize(_repeated_repeatedUint64_codec); in CalculateSize() 1134 size += repeatedSint32_.CalculateSize(_repeated_repeatedSint32_codec); in CalculateSize() 1135 size += repeatedSint64_.CalculateSize(_repeated_repeatedSint64_codec); in CalculateSize() 1136 size += repeatedFixed32_.CalculateSize(_repeated_repeatedFixed32_codec); in CalculateSize() 1137 size += repeatedFixed64_.CalculateSize(_repeated_repeatedFixed64_codec); in CalculateSize() 1138 size += repeatedSfixed32_.CalculateSize(_repeated_repeatedSfixed32_codec); in CalculateSize() [all …]
|
D | UnittestWellKnownTypes.cs | 559 public int CalculateSize() { in CalculateSize() method in Google.Protobuf.TestProtos.TestWellKnownTypes 1170 public int CalculateSize() { in CalculateSize() method in Google.Protobuf.TestProtos.RepeatedWellKnownTypes 1172 size += anyField_.CalculateSize(_repeated_anyField_codec); in CalculateSize() 1173 size += apiField_.CalculateSize(_repeated_apiField_codec); in CalculateSize() 1174 size += durationField_.CalculateSize(_repeated_durationField_codec); in CalculateSize() 1175 size += emptyField_.CalculateSize(_repeated_emptyField_codec); in CalculateSize() 1176 size += fieldMaskField_.CalculateSize(_repeated_fieldMaskField_codec); in CalculateSize() 1177 size += sourceContextField_.CalculateSize(_repeated_sourceContextField_codec); in CalculateSize() 1178 size += structField_.CalculateSize(_repeated_structField_codec); in CalculateSize() 1179 size += timestampField_.CalculateSize(_repeated_timestampField_codec); in CalculateSize() [all …]
|
D | UnittestIssues.cs | 138 public int CalculateSize() { in CalculateSize() method in UnitTest.Issues.TestProtos.Issue307 216 public int CalculateSize() { in CalculateSize() method in UnitTest.Issues.TestProtos.Issue307.Types.NestedOnce 294 public int CalculateSize() { in CalculateSize() method in UnitTest.Issues.TestProtos.Issue307.Types.NestedOnce.Types.NestedTwice 423 public int CalculateSize() { in CalculateSize() method in UnitTest.Issues.TestProtos.NegativeEnumMessage 428 size += values_.CalculateSize(_repeated_values_codec); in CalculateSize() 429 size += packedValues_.CalculateSize(_repeated_packedValues_codec); in CalculateSize() 523 public int CalculateSize() { in CalculateSize() method in UnitTest.Issues.TestProtos.DeprecatedChild 695 public int CalculateSize() { in CalculateSize() method in UnitTest.Issues.TestProtos.DeprecatedFieldsMessage 700 size += primitiveArray_.CalculateSize(_repeated_primitiveArray_codec); in CalculateSize() 704 size += messageArray_.CalculateSize(_repeated_messageArray_codec); in CalculateSize() [all …]
|
D | UnittestImportPublicProto3.cs | 109 public int CalculateSize() { in CalculateSize() method in Google.Protobuf.TestProtos.PublicImportMessage
|
D | UnittestImportProto3.cs | 123 public int CalculateSize() { in CalculateSize() method in Google.Protobuf.TestProtos.ImportMessage
|
/external/protobuf/csharp/src/Google.Protobuf.Conformance/ |
D | Conformance.cs | 355 public int CalculateSize() { in CalculateSize() method in Conformance.ConformanceRequest 636 public int CalculateSize() { in CalculateSize() method in Conformance.ConformanceResponse 2442 public int CalculateSize() { in CalculateSize() method in Conformance.TestAllTypes 2510 size += repeatedInt32_.CalculateSize(_repeated_repeatedInt32_codec); in CalculateSize() 2511 size += repeatedInt64_.CalculateSize(_repeated_repeatedInt64_codec); in CalculateSize() 2512 size += repeatedUint32_.CalculateSize(_repeated_repeatedUint32_codec); in CalculateSize() 2513 size += repeatedUint64_.CalculateSize(_repeated_repeatedUint64_codec); in CalculateSize() 2514 size += repeatedSint32_.CalculateSize(_repeated_repeatedSint32_codec); in CalculateSize() 2515 size += repeatedSint64_.CalculateSize(_repeated_repeatedSint64_codec); in CalculateSize() 2516 size += repeatedFixed32_.CalculateSize(_repeated_repeatedFixed32_codec); in CalculateSize() [all …]
|
/external/protobuf/csharp/src/Google.Protobuf/Reflection/ |
D | Descriptor.cs | 239 public int CalculateSize() { in CalculateSize() method in Google.Protobuf.Reflection.FileDescriptorSet 241 size += file_.CalculateSize(_repeated_file_codec); in CalculateSize() 529 public int CalculateSize() { in CalculateSize() method in Google.Protobuf.Reflection.FileDescriptorProto 537 size += dependency_.CalculateSize(_repeated_dependency_codec); in CalculateSize() 538 size += publicDependency_.CalculateSize(_repeated_publicDependency_codec); in CalculateSize() 539 size += weakDependency_.CalculateSize(_repeated_weakDependency_codec); in CalculateSize() 540 size += messageType_.CalculateSize(_repeated_messageType_codec); in CalculateSize() 541 size += enumType_.CalculateSize(_repeated_enumType_codec); in CalculateSize() 542 size += service_.CalculateSize(_repeated_service_codec); in CalculateSize() 543 size += extension_.CalculateSize(_repeated_extension_codec); in CalculateSize() [all …]
|
/external/protobuf/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()
|
/external/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/ |
D | Wrappers.cs | 131 public int CalculateSize() { in CalculateSize() method in Google.Protobuf.WellKnownTypes.DoubleValue 242 public int CalculateSize() { in CalculateSize() method in Google.Protobuf.WellKnownTypes.FloatValue 353 public int CalculateSize() { in CalculateSize() method in Google.Protobuf.WellKnownTypes.Int64Value 464 public int CalculateSize() { in CalculateSize() method in Google.Protobuf.WellKnownTypes.UInt64Value 575 public int CalculateSize() { in CalculateSize() method in Google.Protobuf.WellKnownTypes.Int32Value 686 public int CalculateSize() { in CalculateSize() method in Google.Protobuf.WellKnownTypes.UInt32Value 797 public int CalculateSize() { in CalculateSize() method in Google.Protobuf.WellKnownTypes.BoolValue 908 public int CalculateSize() { in CalculateSize() method in Google.Protobuf.WellKnownTypes.StringValue 1019 public int CalculateSize() { in CalculateSize() method in Google.Protobuf.WellKnownTypes.BytesValue
|
D | Type.cs | 255 public int CalculateSize() { in CalculateSize() method in Google.Protobuf.WellKnownTypes.Type 260 size += fields_.CalculateSize(_repeated_fields_codec); in CalculateSize() 261 size += oneofs_.CalculateSize(_repeated_oneofs_codec); in CalculateSize() 262 size += options_.CalculateSize(_repeated_options_codec); in CalculateSize() 586 public int CalculateSize() { in CalculateSize() method in Google.Protobuf.WellKnownTypes.Field 609 size += options_.CalculateSize(_repeated_options_codec); in CalculateSize() 964 public int CalculateSize() { in CalculateSize() method in Google.Protobuf.WellKnownTypes.Enum 969 size += enumvalue_.CalculateSize(_repeated_enumvalue_codec); in CalculateSize() 970 size += options_.CalculateSize(_repeated_options_codec); in CalculateSize() 1147 public int CalculateSize() { in CalculateSize() method in Google.Protobuf.WellKnownTypes.EnumValue [all …]
|
D | Api.cs | 258 public int CalculateSize() { in CalculateSize() method in Google.Protobuf.WellKnownTypes.Api 263 size += methods_.CalculateSize(_repeated_methods_codec); in CalculateSize() 264 size += options_.CalculateSize(_repeated_options_codec); in CalculateSize() 271 size += mixins_.CalculateSize(_repeated_mixins_codec); in CalculateSize() 537 public int CalculateSize() { in CalculateSize() method in Google.Protobuf.WellKnownTypes.Method 554 size += options_.CalculateSize(_repeated_options_codec); in CalculateSize() 799 public int CalculateSize() { in CalculateSize() method in Google.Protobuf.WellKnownTypes.Mixin
|
D | Struct.cs | 147 public int CalculateSize() { in CalculateSize() method in Google.Protobuf.WellKnownTypes.Struct 149 size += fields_.CalculateSize(_map_fields_codec); in CalculateSize() 395 public int CalculateSize() { in CalculateSize() method in Google.Protobuf.WellKnownTypes.Value 566 public int CalculateSize() { in CalculateSize() method in Google.Protobuf.WellKnownTypes.ListValue 568 size += values_.CalculateSize(_repeated_values_codec); in CalculateSize()
|
D | FieldMask.cs | 258 public int CalculateSize() { in CalculateSize() method in Google.Protobuf.WellKnownTypes.FieldMask 260 size += paths_.CalculateSize(_repeated_paths_codec); in CalculateSize()
|
D | Empty.cs | 104 public int CalculateSize() { in CalculateSize() method in Google.Protobuf.WellKnownTypes.Empty
|
D | SourceContext.cs | 118 public int CalculateSize() { in CalculateSize() method in Google.Protobuf.WellKnownTypes.SourceContext
|
D | Duration.cs | 182 public int CalculateSize() { in CalculateSize() method in Google.Protobuf.WellKnownTypes.Duration
|
/external/protobuf/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 | 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
|
D | IMessage.cs | 62 int CalculateSize(); in CalculateSize() method
|
/external/protobuf/csharp/src/AddressBook/ |
D | Addressbook.cs | 168 public int CalculateSize() { in CalculateSize() method in Google.Protobuf.Examples.AddressBook.Person 179 size += phones_.CalculateSize(_repeated_phones_codec); in CalculateSize() 322 public int CalculateSize() { in CalculateSize() method in Google.Protobuf.Examples.AddressBook.Person.Types.PhoneNumber 439 public int CalculateSize() { in CalculateSize() method in Google.Protobuf.Examples.AddressBook.AddressBook 441 size += people_.CalculateSize(_repeated_people_codec); in CalculateSize()
|
/external/google-breakpad/src/common/mac/ |
D | MachIPC.mm | 58 size_t size = CalculateSize(); 68 CalculateSize(); 77 mach_msg_size_t MachMessage::CalculateSize() { 113 int size = CalculateSize(); 128 CalculateSize();
|
/external/protobuf/csharp/src/Google.Protobuf.Test/ |
D | TestCornerCases.cs | 50 Assert.AreEqual(58, msg.CalculateSize()); in TestRoundTripNegativeEnums()
|
/external/protobuf/csharp/src/Google.Protobuf.Test/Collections/ |
D | RepeatedFieldTest.cs | 411 Assert.AreEqual(7, list.CalculateSize(FieldCodec.ForInt32(tag))); in CalculateSize_VariableSizeNonPacked() 420 Assert.AreEqual(15, list.CalculateSize(FieldCodec.ForSFixed32(tag))); in CalculateSize_FixedSizeNonPacked() 430 Assert.AreEqual(6, list.CalculateSize(FieldCodec.ForInt32(tag))); in CalculateSize_VariableSizePacked() 439 Assert.AreEqual(14, list.CalculateSize(FieldCodec.ForSFixed32(tag))); in CalculateSize_FixedSizePacked()
|