Home
last modified time | relevance | path

Searched refs:TestPackedTypes (Results 1 – 25 of 28) sorted by relevance

12

/external/protobuf/java/core/src/test/java/com/google/protobuf/
DDynamicMessageTest.java39 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()
DWireFormatTest.java45 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()
DAbstractMessageTest.java39 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()
DUnknownFieldSetTest.java40 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()
DCodedOutputStreamTest.java36 import protobuf_unittest.UnittestProto.TestPackedTypes;
343 TestPackedTypes message = TestUtil.getPackedSet(); in testWriteWholePackedFieldsMessage()
DGeneratedMessageTest.java66 import protobuf_unittest.UnittestProto.TestPackedTypes;
590 TestPackedTypes.Builder builder = TestPackedTypes.newBuilder(); in testParseUnpackedToPacked()
591 TestPackedTypes message = in testParseUnpackedToPacked()
/external/protobuf/objectivec/Tests/
DGPBTestUtilities.h36 @class TestPackedTypes;
58 - (void)setPackedFields:(TestPackedTypes *)message
70 - (TestPackedTypes *)packedSetRepeatedCount:(uint32_t)count;
83 - (void)assertPackedFieldsSet:(TestPackedTypes *)message
DGPBWireFormatTests.m57 TestPackedTypes* message =
63 TestPackedTypes* message2 =
64 [TestPackedTypes parseFromData:rawBytes error:NULL];
85 // TestPackedTypes and TestPackedExtensions should have compatible wire
91 TestPackedTypes* message2 =
DGPBPerfTests.m84 TestPackedTypes* message = [[TestPackedTypes alloc] init];
88 message = [[TestPackedTypes alloc] initWithData:rawBytes error:NULL];
DGPBMessageTests+Serialization.m762 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];
DGPBTestUtilities.m1127 - (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/
Dtest_util.h61 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);
Dextension_set_unittest.cc499 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()
Dwire_format_unittest.cc117 unittest::TestPackedTypes source, dest; in TEST()
140 unittest::TestPackedTypes dest; in TEST()
151 unittest::TestPackedTypes source; in TEST()
241 unittest::TestPackedTypes message; in TEST()
Dunittest_proto3.proto314 message TestPackedTypes { message
331 // A message with the same fields as TestPackedTypes, but without packing. Used
Dunittest_proto3_arena_lite.proto150 message TestPackedTypes { message
Dunittest_proto3_lite.proto149 message TestPackedTypes { message
Dunittest_proto3_arena.proto149 message TestPackedTypes { message
Dmessage_unittest.cc128 unittest::TestPackedTypes message; in TEST()
Dunittest.proto702 message TestPackedTypes { message
719 // A message with the same fields as TestPackedTypes, but without packing. Used
/external/protobuf/python/google/protobuf/internal/
Dpacked_field_test.proto35 message TestPackedTypes { message
72 repeated TestPackedTypes.NestedEnum repeated_nested_enum = 14 [packed = false];
Dmessage_test.py126 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()
Dreflection_test.py1964 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/
DUnittestProto3.cs179 …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/
Dtype_resolver_util_test.cc286 GetTypeUrl<protobuf_unittest::TestPackedTypes>(), &type).ok()); in TEST_F()

12