Home
last modified time | relevance | path

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

12

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/
DDynamicMessageTest.java37 import protobuf_unittest.UnittestProto.TestPackedTypes;
56 new TestUtil.ReflectionTester(TestPackedTypes.getDescriptor(), null);
209 DynamicMessage.newBuilder(TestPackedTypes.getDescriptor()); in testDynamicMessagePackedSerialization()
214 TestPackedTypes message2 = TestPackedTypes.parseFrom(rawBytes); in testDynamicMessagePackedSerialization()
223 TestPackedTypes.Builder builder = TestPackedTypes.newBuilder(); in testDynamicMessagePackedParsing()
225 TestPackedTypes message = builder.build(); in testDynamicMessagePackedParsing()
230 DynamicMessage.parseFrom(TestPackedTypes.getDescriptor(), rawBytes); in testDynamicMessagePackedParsing()
DWireFormatTest.java45 import protobuf_unittest.UnittestProto.TestPackedTypes;
69 TestPackedTypes message = TestUtil.getPackedSet(); in testSerializationPacked()
74 TestPackedTypes message2 = TestPackedTypes.parseFrom(rawBytes); in testSerializationPacked()
99 TestPackedTypes message2 = TestUtil.getPackedSet(); in testSerializePackedExtensions()
110 TestPackedTypes message = TestUtil.getPackedSet(); in testSerializationPackedWithoutGetSerializedSize()
121 TestPackedTypes message2 = TestPackedTypes.parseFrom( in testSerializationPackedWithoutGetSerializedSize()
172 TestUtil.assertPackedFieldsSet(TestPackedTypes.parseDelimitedFrom(input)); in testSerializeDelimited()
DAbstractMessageTest.java40 import protobuf_unittest.UnittestProto.TestPackedTypes;
265 TestPackedTypes.parseFrom(abstractMessage.toByteString())); in testPackedSerialization()
273 new AbstractMessageWrapper.Builder(TestPackedTypes.newBuilder()); in testPackedParsing()
276 TestUtil.assertPackedFieldsSet((TestPackedTypes) message.wrappedMessage); in testPackedParsing()
301 new AbstractMessageWrapper.Builder(TestPackedTypes.newBuilder()); in testParseUnpackedToPacked()
304 TestUtil.assertPackedFieldsSet((TestPackedTypes) message.wrappedMessage); in testParseUnpackedToPacked()
DCodedOutputStreamTest.java36 import protobuf_unittest.UnittestProto.TestPackedTypes;
300 TestPackedTypes message = TestUtil.getPackedSet(); in testWriteWholePackedFieldsMessage()
DGeneratedMessageTest.java57 import protobuf_unittest.UnittestProto.TestPackedTypes;
502 TestPackedTypes.Builder builder = TestPackedTypes.newBuilder(); in testParseUnpackedToPacked()
503 TestPackedTypes message = in testParseUnpackedToPacked()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/objectivec/Tests/
DGPBTestUtilities.h36 @class TestPackedTypes;
58 - (void)setPackedFields:(TestPackedTypes *)message
70 - (TestPackedTypes *)packedSetRepeatedCount:(uint32_t)count;
83 - (void)assertPackedFieldsSet:(TestPackedTypes *)message
DGPBWireFormatTests.m58 TestPackedTypes* message =
65 TestPackedTypes* message2 =
66 [TestPackedTypes parseFromData:rawBytes error:NULL];
88 // TestPackedTypes and TestPackedExtensions should have compatible wire
95 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];
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/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.cc567 unittest::TestPackedTypes destination; in TEST()
588 unittest::TestPackedTypes destination; in TEST()
618 unittest::TestPackedTypes source; in TEST()
629 unittest::TestPackedTypes source; in TEST()
660 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_lite.proto149 message TestPackedTypes { message
Dunittest_proto3_arena.proto149 message TestPackedTypes { message
Dmessage_unittest.cc128 unittest::TestPackedTypes message; in TEST()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/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()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/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()
1763 message = packed_field_test_pb2.TestPackedTypes()
Dreflection_test.py1965 self.packed_proto = unittest_pb2.TestPackedTypes()
2617 first_proto = unittest_pb2.TestPackedTypes()
2618 second_proto = unittest_pb2.TestPackedTypes()
2636 first_proto = unittest_pb2.TestPackedTypes()
2641 second_proto = unittest_pb2.TestPackedTypes()
2654 proto = unittest_pb2.TestPackedTypes()
2680 packed = unittest_pb2.TestPackedTypes()
2685 expected = unittest_pb2.TestPackedTypes()
2690 packed = unittest_pb2.TestPackedTypes()
2834 proto = unittest_pb2.TestPackedTypes()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf.Test/TestProtos/
DUnittestProto3.cs178 …typeof(global::Google.Protobuf.TestProtos.TestPackedTypes), global::Google.Protobuf.TestProtos.Tes… in UnittestProto3Reflection()
4986 public sealed partial class TestPackedTypes : pb::IMessage<TestPackedTypes> { class
4987 …tic readonly pb::MessageParser<TestPackedTypes> _parser = new pb::MessageParser<TestPackedTypes>((…
4989 public static pb::MessageParser<TestPackedTypes> Parser { get { return _parser; } }
5002 public TestPackedTypes() { in TestPackedTypes() method in Google.Protobuf.TestProtos.TestPackedTypes
5009 public TestPackedTypes(TestPackedTypes other) : this() { in TestPackedTypes() method in Google.Protobuf.TestProtos.TestPackedTypes
5027 public TestPackedTypes Clone() { in Clone()
5028 return new TestPackedTypes(this); in Clone()
5173 return Equals(other as TestPackedTypes); in Equals()
5177 public bool Equals(TestPackedTypes other) { in Equals()
[all …]

12