Home
last modified time | relevance | path

Searched refs:NestedMessage (Results 1 – 25 of 46) sorted by relevance

12

/external/libchrome/base/json/
Djson_value_converter_unittest.cc80 struct NestedMessage { struct
85 NestedMessage() : foo(0) {} in NestedMessage() argument
88 base::JSONValueConverter<NestedMessage>* converter) { in RegisterJSONConverter()
89 converter->RegisterDoubleField("foo", &NestedMessage::foo); in RegisterJSONConverter()
90 converter->RegisterNestedField("child", &NestedMessage::child); in RegisterJSONConverter()
91 converter->RegisterRepeatedMessage("children", &NestedMessage::children); in RegisterJSONConverter()
152 NestedMessage message; in TEST()
153 base::JSONValueConverter<NestedMessage> converter; in TEST()
/external/protobuf/java/src/test/java/com/google/protobuf/
DGeneratedMessageTest.java61 import protobuf_unittest.UnittestProto.TestAllTypes.NestedMessage;
246 builder.setOptionalNestedMessage((TestAllTypes.NestedMessage) null); in testSettersRejectNull()
253 (TestAllTypes.NestedMessage.Builder) null); in testSettersRejectNull()
277 builder.addRepeatedNestedMessage((TestAllTypes.NestedMessage) null); in testSettersRejectNull()
284 (TestAllTypes.NestedMessage.Builder) null); in testSettersRejectNull()
327 TestAllTypes.NestedMessage.newBuilder().setBb(218).build()); in testRepeatedSettersRejectNull()
329 TestAllTypes.NestedMessage.newBuilder().setBb(456).build()); in testRepeatedSettersRejectNull()
331 builder.setRepeatedNestedMessage(1, (TestAllTypes.NestedMessage) null); in testRepeatedSettersRejectNull()
338 1, (TestAllTypes.NestedMessage.Builder) null); in testRepeatedSettersRejectNull()
784 .setNested(MessageWithNoOuter.NestedMessage.newBuilder().setI(1)) in testMultipleFilesOption()
[all …]
DLiteTest.java75 TestAllTypesLite.NestedMessage.newBuilder().setBb(7)) in testLite()
100 TestAllTypesLite.NestedMessage.newBuilder().setBb(7).build()) in testLiteExtensions()
129 TestAllTypesLite.NestedMessage.newBuilder().setBb(7)) in testSerialize()
DNanoTest.java95 SimpleMessageNano.NestedMessage nestedMsg = new SimpleMessageNano.NestedMessage(); in testSimpleMessageNano()
134 RecursiveMessageNano.NestedMessage nestedMsg = new RecursiveMessageNano.NestedMessage(); in testRecursiveMessageNano()
552 TestAllTypesNano.NestedMessage nestedMsg = new TestAllTypesNano.NestedMessage(); in testNanoOptionalNestedMessage()
561 .optionalNestedMessage = new TestAllTypesNano.NestedMessage(); in testNanoOptionalNestedMessage()
1472 TestAllTypesNano.NestedMessage nestedMsg0 = in testNanoRepeatedNestedMessage()
1473 new TestAllTypesNano.NestedMessage(); in testNanoRepeatedNestedMessage()
1475 TestAllTypesNano.NestedMessage nestedMsg1 = in testNanoRepeatedNestedMessage()
1476 new TestAllTypesNano.NestedMessage(); in testNanoRepeatedNestedMessage()
1478 TestAllTypesNano.NestedMessage nestedMsg2 = in testNanoRepeatedNestedMessage()
1479 new TestAllTypesNano.NestedMessage(); in testNanoRepeatedNestedMessage()
[all …]
Dmultiple_files_test.proto50 message NestedMessage { message
56 optional NestedMessage nested = 1;
/external/protobuf/src/google/protobuf/
Dunittest_lite.proto45 message NestedMessage { message
76 optional NestedMessage optional_nested_message = 18;
92 optional NestedMessage optional_lazy_message = 27 [lazy=true];
115 repeated NestedMessage repeated_nested_message = 48;
127 repeated NestedMessage repeated_lazy_message = 57 [lazy=true];
158 NestedMessage oneof_nested_message = 112;
217 optional TestAllTypesLite.NestedMessage optional_nested_message_extension_lite
235 optional TestAllTypesLite.NestedMessage
259 repeated TestAllTypesLite.NestedMessage repeated_nested_message_extension_lite
274 repeated TestAllTypesLite.NestedMessage
[all …]
Dunittest.proto61 message NestedMessage { message
96 optional NestedMessage optional_nested_message = 18;
111 optional NestedMessage optional_lazy_message = 27 [lazy=true];
134 repeated NestedMessage repeated_nested_message = 48;
145 repeated NestedMessage repeated_lazy_message = 57 [lazy=true];
175 NestedMessage oneof_nested_message = 112;
229 optional TestAllTypes.NestedMessage optional_nested_message_extension = 18;
245 optional TestAllTypes.NestedMessage
269 repeated TestAllTypes.NestedMessage repeated_nested_message_extension = 48;
282 repeated TestAllTypes.NestedMessage
[all …]
Dunittest_reference_types_nano.proto14 message NestedMessage { message
39 optional NestedMessage optional_nested_message = 18;
67 repeated NestedMessage repeated_nested_message = 48;
Dunittest_has_nano.proto40 message NestedMessage { message
57 optional NestedMessage optional_nested_message = 18;
66 repeated NestedMessage repeated_nested_message = 48;
Dunittest_accessors_nano.proto40 message NestedMessage { message
57 optional NestedMessage optional_nested_message = 18;
66 repeated NestedMessage repeated_nested_message = 48;
Dunittest_recursive_nano.proto41 message NestedMessage { message
46 optional NestedMessage nested_message = 2;
Dunittest_recursive_micro.proto41 message NestedMessage { message
46 optional NestedMessage nested_message = 2;
Dunittest_simple_nano.proto41 message NestedMessage { message
52 optional NestedMessage nested_msg = 2;
Dunittest_simple_micro.proto41 message NestedMessage { message
52 optional NestedMessage nested_msg = 2;
/external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/protorpc/
Dtest_util.py258 class NestedMessage(messages.Message): class
267 nested = messages.MessageField(NestedMessage, 1)
268 repeated_nested = messages.MessageField(NestedMessage, 2, repeated=True)
437 message = NestedMessage()
506 nested_message = NestedMessage()
516 nested_message1 = NestedMessage()
518 nested_message2 = NestedMessage()
534 required = NestedMessage()
Dprotorpc_test.proto19 message NestedMessage { message
25 optional NestedMessage nested = 1;
26 repeated NestedMessage repeated_nested = 2;
Dwebapp_test_util.py251 @remote.method(test_util.NestedMessage, test_util.NestedMessage)
268 @remote.method(response_type=test_util.NestedMessage)
270 return test_util.NestedMessage()
Dmessages_test.py277 class NestedMessage(messages.Message): class in EnumTest.testDefinitionName_Nested.MyMessage
292 MyMessage.NestedMessage.NestedEnum.definition_name())
295 MyMessage.NestedMessage.NestedEnum.outer_definition_name())
297 MyMessage.NestedMessage.NestedEnum.definition_package())
873 class NestedMessage(messages.Message): class in FieldTest.testMessageField_ForwardReference.ForwardMessage
883 self.assertEquals(ForwardMessage.NestedMessage,
1234 class NestedMessage(messages.Message): class
1239 nested_message = NestedMessage(simple=simple_message)
1252 class NestedMessage(messages.Message): class
1258 nested_message1 = NestedMessage(simple={'required': 10})
[all …]
Dregistry_test.py43 @remote.method(test_util.NestedMessage, test_util.NestedMessage)
/external/protobuf/python/google/protobuf/internal/
Dgenerator_test.py64 proto_type.NestedMessage.DESCRIPTOR,
159 unittest_pb2.TestAllTypes.NestedMessage.DESCRIPTOR,
165 unittest_pb2.TestAllTypes.NestedMessage.DESCRIPTOR.nested_types, [])
173 unittest_pb2.TestAllTypes.NestedMessage.DESCRIPTOR.containing_type,
176 unittest_pb2.TestAllTypes.NestedMessage.DESCRIPTOR.containing_type,
191 desc = unittest_pb2.TestAllTypes.NestedMessage.DESCRIPTOR
312 unittest_pb2.TestAllTypes.NestedMessage,
Ddescriptor_pool_test1.proto44 message NestedMessage { message
63 optional NestedMessage nested_message = 2;
74 message NestedMessage { message
93 optional NestedMessage nested_message = 2;
Dsymbol_database_test.py47 db.RegisterMessage(unittest_pb2.TestAllTypes.NestedMessage)
71 unittest_pb2.TestAllTypes.NestedMessage, self._Database().GetSymbol(
Ddescriptor_pool_test2.proto49 message NestedMessage { message
68 optional NestedMessage nested_message = 2;
/external/protobuf/python/google/protobuf/pyext/
Dpython.proto45 message NestedMessage { message
50 repeated NestedMessage repeated_nested_message = 1;
51 optional NestedMessage optional_nested_message = 2;
65 optional TestAllTypes.NestedMessage optional_nested_message_extension = 1;
/external/protobuf/java/src/device/test/java/com/google/protobuf/nano/
DNanoAndroidTest.java36 import com.google.protobuf.nano.UnittestSimpleNano.SimpleMessageNano.NestedMessage;
46 message.nestedMsg = new NestedMessage(); in testParceling()

12