Home
last modified time | relevance | path

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

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/
Dmap_test_util.cc342 Message* sub_message = NULL; in SetMapFieldsViaReflection() local
346 sub_message = reflection->AddMessage(message, F("map_int32_int32")); in SetMapFieldsViaReflection()
347 sub_message->GetReflection() in SetMapFieldsViaReflection()
348 ->SetInt32(sub_message, map_int32_int32_key_, 0); in SetMapFieldsViaReflection()
349 sub_message->GetReflection() in SetMapFieldsViaReflection()
350 ->SetInt32(sub_message, map_int32_int32_val_, 0); in SetMapFieldsViaReflection()
352 sub_message = reflection->AddMessage(message, F("map_int64_int64")); in SetMapFieldsViaReflection()
353 sub_message->GetReflection() in SetMapFieldsViaReflection()
354 ->SetInt64(sub_message, map_int64_int64_key_, 0); in SetMapFieldsViaReflection()
355 sub_message->GetReflection() in SetMapFieldsViaReflection()
[all …]
Dtest_util.cc2386 Message* sub_message; in SetAllFieldsViaReflection() local
2404 sub_message = reflection->MutableMessage(message, F("optionalgroup")); in SetAllFieldsViaReflection()
2405 sub_message->GetReflection()->SetInt32(sub_message, group_a_, 117); in SetAllFieldsViaReflection()
2406 sub_message = reflection->MutableMessage(message, F("optional_nested_message")); in SetAllFieldsViaReflection()
2407 sub_message->GetReflection()->SetInt32(sub_message, nested_b_, 118); in SetAllFieldsViaReflection()
2408 sub_message = reflection->MutableMessage(message, F("optional_foreign_message")); in SetAllFieldsViaReflection()
2409 sub_message->GetReflection()->SetInt32(sub_message, foreign_c_, 119); in SetAllFieldsViaReflection()
2410 sub_message = reflection->MutableMessage(message, F("optional_import_message")); in SetAllFieldsViaReflection()
2411 sub_message->GetReflection()->SetInt32(sub_message, import_d_, 120); in SetAllFieldsViaReflection()
2420 sub_message = reflection->MutableMessage(message, F("optional_public_import_message")); in SetAllFieldsViaReflection()
[all …]
Dwire_format.cc458 Message* sub_message = message_reflection->MutableMessage( in ParseAndMergeMessageSetField() local
460 return WireFormatLite::ReadMessage(input, sub_message); in ParseAndMergeMessageSetField()
673 Message* sub_message; in ParseAndMergeField() local
675 sub_message = message_reflection->AddMessage( in ParseAndMergeField()
678 sub_message = message_reflection->MutableMessage( in ParseAndMergeField()
683 input, sub_message)) in ParseAndMergeField()
689 Message* sub_message; in ParseAndMergeField() local
691 sub_message = message_reflection->AddMessage( in ParseAndMergeField()
694 sub_message = message_reflection->MutableMessage( in ParseAndMergeField()
698 if (!WireFormatLite::ReadMessage(input, sub_message)) return false; in ParseAndMergeField()
[all …]
Dreflection_ops.cc251 const Message& sub_message = in FindInitializationErrors() local
253 FindInitializationErrors(sub_message, in FindInitializationErrors()
258 const Message& sub_message = reflection->GetMessage(message, field); in FindInitializationErrors() local
259 FindInitializationErrors(sub_message, in FindInitializationErrors()
Dgenerated_message_reflection.cc379 const Message* sub_message = GetRaw<const Message*>(message, field); in SpaceUsed() local
380 if (sub_message != NULL) { in SpaceUsed()
381 total_size += sub_message->SpaceUsed(); in SpaceUsed()
1512 Message* sub_message, in UnsafeArenaSetAllocatedMessage() argument
1518 field->number(), field->type(), field, sub_message); in UnsafeArenaSetAllocatedMessage()
1521 if (sub_message == NULL) { in UnsafeArenaSetAllocatedMessage()
1526 *MutableRaw<Message*>(message, field) = sub_message; in UnsafeArenaSetAllocatedMessage()
1531 if (sub_message == NULL) { in UnsafeArenaSetAllocatedMessage()
1540 *sub_message_holder = sub_message; in UnsafeArenaSetAllocatedMessage()
1546 Message* sub_message, in SetAllocatedMessage() argument
[all …]
Dreflection_ops_unittest.cc367 unittest::TestRequired* sub_message = message.add_repeated_message(); in TEST() local
371 sub_message->set_a(1); in TEST()
372 sub_message->set_b(2); in TEST()
373 sub_message->set_c(3); in TEST()
Dgenerated_message_reflection_unittest.cc700 const Message& sub_message = reflection->GetMessage( in TEST() local
705 EXPECT_EQ(&sub_message, released); in TEST()
784 const Message& sub_message = reflection->GetMessage( in TEST() local
790 EXPECT_EQ(&sub_message, released); in TEST()
Dextension_set_unittest.cc1244 const Message& sub_message = in TEST() local
1248 static_cast<const unittest::ForeignMessage*>(&sub_message); in TEST()
1250 dynamic_cast<const unittest::ForeignMessage*>(&sub_message); in TEST()
1263 const Message& sub_message = in TEST() local
1268 EXPECT_EQ(prototype, &sub_message); in TEST()
Dgenerated_message_reflection.h310 Message* sub_message,
568 Message* sub_message,
Dfield_mask.proto225 // SubMessage sub_message = 9;
238 // paths: "sub_message"
Dtext_format.cc1719 const Message& sub_message = in PrintField() local
1727 sub_message, field_index, count, single_line_mode_)); in PrintField()
1729 Print(sub_message, generator); in PrintField()
1733 sub_message, field_index, count, single_line_mode_)); in PrintField()
Dmessage.h598 Message* sub_message,
Dmap_test.cc1491 const ForeignMessage& sub_message = down_cast<const ForeignMessage&>( in TEST_F() local
1494 result[key].MergeFrom(sub_message); in TEST_F()
2619 Message* sub_message = in TEST() local
2621 EXPECT_EQ(0, sub_message->GetReflection()->GetEnumValue(*sub_message, in TEST()
Dunittest.proto452 optional TestAllTypes sub_message = 1 [lazy=false]; field
455 optional TestAllTypes sub_message = 1 [lazy=true]; field
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/
Djson_format.py228 sub_message = _CreateMessageFromTypeUrl(type_url)
229 sub_message.ParseFromString(message.value)
230 message_descriptor = sub_message.DESCRIPTOR
233 js['value'] = self._WrapperMessageToJsonObject(sub_message)
237 sub_message)(self)
239 return self._RegularMessageToJsonObject(sub_message, js)
417 sub_message = getattr(message, field.name).add()
420 sub_message.DESCRIPTOR.full_name != 'google.protobuf.Value'):
423 self.ConvertMessage(item, sub_message)
433 sub_message = getattr(message, field.name)
[all …]
Dtext_format.py750 sub_message = message.Extensions[field].add()
753 sub_message = field.message_type._concrete_class()
755 sub_message = getattr(message, field.name).add()
758 sub_message = message.Extensions[field]
760 sub_message = getattr(message, field.name)
761 sub_message.SetInParent()
766 self._MergeField(tokenizer, sub_message)
771 value = getattr(message, field.name)[sub_message.key]
772 value.MergeFrom(sub_message.value)
774 getattr(message, field.name)[sub_message.key] = sub_message.value
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/javanano/
Djavanano_file.cc72 const Message& sub_message = in UsesExtensions() local
74 if (UsesExtensions(sub_message)) return true; in UsesExtensions()
77 const Message& sub_message = reflection->GetMessage(message, fields[i]); in UsesExtensions() local
78 if (UsesExtensions(sub_message)) return true; in UsesExtensions()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/pyext/
Dextension_dict.cc122 PyObject* sub_message = cmessage::InternalGetSubMessage( in subscript() local
124 if (sub_message == NULL) { in subscript()
127 PyDict_SetItem(self->values, key, sub_message); in subscript()
128 return sub_message; in subscript()
Drepeated_composite_container.cc108 const Message& sub_message = reflection->GetRepeatedMessage( in UpdateChildMessages() local
116 cmsg->message = const_cast<Message*>(&sub_message); in UpdateChildMessages()
139 Message* sub_message = in AddToAttached() local
147 cmsg->message = sub_message; in AddToAttached()
Dmessage.cc2310 const Message& sub_message = reflection->GetMessage( in CheckAndGetInteger() local
2328 cmsg->message = const_cast<Message*>(&sub_message); in CheckAndGetInteger()
2704 PyObject* sub_message = InternalGetSubMessage(self, field_descriptor); in CheckAndGetInteger() local
2705 if (sub_message == NULL) { in CheckAndGetInteger()
2708 if (!SetCompositeField(self, name, sub_message)) { in CheckAndGetInteger()
2709 Py_DECREF(sub_message); in CheckAndGetInteger()
2712 return sub_message; in CheckAndGetInteger()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/java/
Djava_file.cc103 const Message& sub_message = in CollectExtensions() local
105 if (!CollectExtensions(sub_message, extensions)) return false; in CollectExtensions()
108 const Message& sub_message = reflection->GetMessage(message, fields[i]); in CollectExtensions() local
109 if (!CollectExtensions(sub_message, extensions)) return false; in CollectExtensions()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/internal/
Dpython_message.py1295 for sub_message in value:
1296 sub_message.DiscardUnknownFields()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/compatibility_tests/v2.5.0/protos/src/proto/google/protobuf/
Dunittest.proto419 optional TestAllTypes sub_message = 1 [lazy=false]; field
422 optional TestAllTypes sub_message = 1 [lazy=true]; field
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/compatibility_tests/v2.5.0/more_protos/src/proto/google/protobuf/
Dunittest.proto419 optional TestAllTypes sub_message = 1 [lazy=false]; field
422 optional TestAllTypes sub_message = 1 [lazy=true]; field
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/
DCHANGES.txt749 YourMessage sub_message = 9;