/external/protobuf/java/core/src/test/java/com/google/protobuf/ |
D | DynamicMessageTest.java | 39 import protobuf_unittest.UnittestProto.TestPackedTypes; 59 new TestUtil.ReflectionTester(TestPackedTypes.getDescriptor(), null); 212 DynamicMessage.newBuilder(TestPackedTypes.getDescriptor()); in testDynamicMessagePackedSerialization() 217 TestPackedTypes message2 = TestPackedTypes.parseFrom(rawBytes); in testDynamicMessagePackedSerialization() 226 TestPackedTypes.Builder builder = TestPackedTypes.newBuilder(); in testDynamicMessagePackedParsing() 228 TestPackedTypes message = builder.build(); in testDynamicMessagePackedParsing() 233 DynamicMessage.parseFrom(TestPackedTypes.getDescriptor(), rawBytes); in testDynamicMessagePackedParsing()
|
D | WireFormatTest.java | 45 import protobuf_unittest.UnittestProto.TestPackedTypes; 72 TestPackedTypes message = TestUtil.getPackedSet(); in testSerializationPacked() 77 TestPackedTypes message2 = TestPackedTypes.parseFrom(rawBytes); in testSerializationPacked() 102 TestPackedTypes message2 = TestUtil.getPackedSet(); in testSerializePackedExtensions() 113 TestPackedTypes message = TestUtil.getPackedSet(); in testSerializationPackedWithoutGetSerializedSize() 124 TestPackedTypes message2 = TestPackedTypes.parseFrom( in testSerializationPackedWithoutGetSerializedSize() 150 TestPackedTypes message2 = TestUtil.getPackedSet(); in testSerializePackedExtensionsLite() 238 TestUtil.assertPackedFieldsSet(TestPackedTypes.parseDelimitedFrom(input)); in testSerializeDelimited()
|
D | AbstractMessageTest.java | 39 import protobuf_unittest.UnittestProto.TestPackedTypes; 288 TestPackedTypes.parseFrom(abstractMessage.toByteString())); in testPackedSerialization() 296 new AbstractMessageWrapper.Builder(TestPackedTypes.newBuilder()); in testPackedParsing() 299 TestUtil.assertPackedFieldsSet((TestPackedTypes) message.wrappedMessage); in testPackedParsing() 324 new AbstractMessageWrapper.Builder(TestPackedTypes.newBuilder()); in testParseUnpackedToPacked() 327 TestUtil.assertPackedFieldsSet((TestPackedTypes) message.wrappedMessage); in testParseUnpackedToPacked()
|
D | UnknownFieldSetTest.java | 40 import protobuf_unittest.UnittestProto.TestPackedTypes; 474 TestPackedTypes allPackedFields = TestUtil.getPackedSet(); in testAllPackedFieldsLite() 479 TestPackedTypes message = in testAllPackedFieldsLite() 480 TestPackedTypes.parseFrom(data, TestUtil.getExtensionRegistry()); in testAllPackedFieldsLite()
|
D | CodedOutputStreamTest.java | 36 import protobuf_unittest.UnittestProto.TestPackedTypes; 343 TestPackedTypes message = TestUtil.getPackedSet(); in testWriteWholePackedFieldsMessage()
|
D | GeneratedMessageTest.java | 66 import protobuf_unittest.UnittestProto.TestPackedTypes; 590 TestPackedTypes.Builder builder = TestPackedTypes.newBuilder(); in testParseUnpackedToPacked() 591 TestPackedTypes message = in testParseUnpackedToPacked()
|
/external/protobuf/objectivec/Tests/ |
D | GPBTestUtilities.h | 36 @class TestPackedTypes; 58 - (void)setPackedFields:(TestPackedTypes *)message 70 - (TestPackedTypes *)packedSetRepeatedCount:(uint32_t)count; 83 - (void)assertPackedFieldsSet:(TestPackedTypes *)message
|
D | GPBWireFormatTests.m | 57 TestPackedTypes* message = 63 TestPackedTypes* message2 = 64 [TestPackedTypes parseFromData:rawBytes error:NULL]; 85 // TestPackedTypes and TestPackedExtensions should have compatible wire 91 TestPackedTypes* message2 =
|
D | GPBPerfTests.m | 84 TestPackedTypes* message = [[TestPackedTypes alloc] init]; 88 message = [[TestPackedTypes alloc] initWithData:rawBytes error:NULL];
|
D | GPBMessageTests+Serialization.m | 762 TestPackedTypes *packedOrig = [TestPackedTypes message]; 775 TestPackedTypes *packedParse = 776 [TestPackedTypes parseFromData:unpackedData error:&error]; 828 TestPackedTypes *fieldsOrig = [TestPackedTypes message]; 840 TestPackedTypes *fieldsParse = 841 [TestPackedTypes parseFromData:extsData error:&error];
|
D | GPBTestUtilities.m | 1127 - (void)setAllTestPackedFields:(TestPackedTypes *)message { argument 1209 - (TestPackedTypes *)packedSetRepeatedCount:(uint32_t)count { 1210 TestPackedTypes *message = [TestPackedTypes message]; 1713 - (void)setPackedFields:(TestPackedTypes *)message 1813 - (void)assertPackedFieldsSet:(TestPackedTypes *)message
|
/external/protobuf/src/google/protobuf/ |
D | test_util.h | 61 static void SetPackedFields(unittest::TestPackedTypes* message); 73 static void ModifyPackedFields(unittest::TestPackedTypes* message); 81 static void ExpectPackedFieldsSet(const unittest::TestPackedTypes& message); 98 const unittest::TestPackedTypes& message); 105 static void ExpectPackedClear(const unittest::TestPackedTypes& message);
|
D | extension_set_unittest.cc | 499 unittest::TestPackedTypes destination; in TEST() 520 unittest::TestPackedTypes destination; in TEST() 550 unittest::TestPackedTypes source; in TEST() 561 unittest::TestPackedTypes source; in TEST() 592 unittest::TestPackedTypes packed; in TEST()
|
D | wire_format_unittest.cc | 117 unittest::TestPackedTypes source, dest; in TEST() 140 unittest::TestPackedTypes dest; in TEST() 151 unittest::TestPackedTypes source; in TEST() 241 unittest::TestPackedTypes message; in TEST()
|
D | unittest_proto3.proto | 314 message TestPackedTypes { message 331 // A message with the same fields as TestPackedTypes, but without packing. Used
|
D | unittest_proto3_arena_lite.proto | 150 message TestPackedTypes { message
|
D | unittest_proto3_lite.proto | 149 message TestPackedTypes { message
|
D | unittest_proto3_arena.proto | 149 message TestPackedTypes { message
|
D | message_unittest.cc | 128 unittest::TestPackedTypes message; in TEST()
|
D | unittest.proto | 702 message TestPackedTypes { message 719 // A message with the same fields as TestPackedTypes, but without packing. Used
|
/external/protobuf/python/google/protobuf/internal/ |
D | packed_field_test.proto | 35 message TestPackedTypes { message 72 repeated TestPackedTypes.NestedEnum repeated_nested_enum = 14 [packed = false];
|
D | message_test.py | 126 golden_message = message_module.TestPackedTypes() 128 all_set = message_module.TestPackedTypes() 211 golden_message = message_module.TestPackedTypes() 220 golden_message = message_module.TestPackedTypes() 229 golden_message = message_module.TestPackedTypes() 235 message = message_module.TestPackedTypes() 1759 message = packed_field_test_pb2.TestPackedTypes()
|
D | reflection_test.py | 1964 self.packed_proto = unittest_pb2.TestPackedTypes() 2616 first_proto = unittest_pb2.TestPackedTypes() 2617 second_proto = unittest_pb2.TestPackedTypes() 2635 first_proto = unittest_pb2.TestPackedTypes() 2640 second_proto = unittest_pb2.TestPackedTypes() 2653 proto = unittest_pb2.TestPackedTypes() 2679 packed = unittest_pb2.TestPackedTypes() 2684 expected = unittest_pb2.TestPackedTypes() 2689 packed = unittest_pb2.TestPackedTypes() 2833 proto = unittest_pb2.TestPackedTypes()
|
/external/protobuf/csharp/src/Google.Protobuf.Test/TestProtos/ |
D | UnittestProto3.cs | 179 …typeof(global::Google.Protobuf.TestProtos.TestPackedTypes), global::Google.Protobuf.TestProtos.Tes… in UnittestProto3Reflection() 4570 public sealed partial class TestPackedTypes : pb::IMessage<TestPackedTypes> { class 4571 …tic readonly pb::MessageParser<TestPackedTypes> _parser = new pb::MessageParser<TestPackedTypes>((… 4572 public static pb::MessageParser<TestPackedTypes> Parser { get { return _parser; } } 4582 public TestPackedTypes() { in TestPackedTypes() method in Google.Protobuf.TestProtos.TestPackedTypes 4588 public TestPackedTypes(TestPackedTypes other) : this() { in TestPackedTypes() method in Google.Protobuf.TestProtos.TestPackedTypes 4605 public TestPackedTypes Clone() { in Clone() 4606 return new TestPackedTypes(this); in Clone() 4736 return Equals(other as TestPackedTypes); in Equals() 4739 public bool Equals(TestPackedTypes other) { in Equals() [all …]
|
/external/protobuf/src/google/protobuf/util/ |
D | type_resolver_util_test.cc | 286 GetTypeUrl<protobuf_unittest::TestPackedTypes>(), &type).ok()); in TEST_F()
|