Home
last modified time | relevance | path

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

12

/external/protobuf/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.cc1176 const Message& sub_message = in TEST() local
1180 static_cast<const unittest::ForeignMessage*>(&sub_message); in TEST()
1182 dynamic_cast<const unittest::ForeignMessage*>(&sub_message); in TEST()
1195 const Message& sub_message = in TEST() local
1200 EXPECT_EQ(prototype, &sub_message); in TEST()
Dfield_mask.proto173 // SubMessage sub_message = 9;
186 // paths: "sub_message"
Dgenerated_message_reflection.h310 Message* sub_message,
568 Message* sub_message,
Dtext_format.cc1687 const Message& sub_message = in PrintField() local
1695 sub_message, field_index, count, single_line_mode_)); in PrintField()
1697 Print(sub_message, generator); in PrintField()
1701 sub_message, field_index, count, single_line_mode_)); in PrintField()
Dmap_test.cc1441 const ForeignMessage& sub_message = down_cast<const ForeignMessage&>( in TEST_F() local
1444 result[key].MergeFrom(sub_message); in TEST_F()
2431 Message* sub_message = in TEST() local
2433 EXPECT_EQ(0, sub_message->GetReflection()->GetEnumValue(*sub_message, in TEST()
Dmessage.h598 Message* sub_message,
/external/dng_sdk/source/
Ddng_exceptions.h33 const char *sub_message = NULL);
40 const char *sub_message = NULL);
85 const char * sub_message = NULL,
110 inline void ThrowProgramError (const char * sub_message = NULL)
113 Throw_dng_error (dng_error_unknown, NULL, sub_message);
122 inline void ThrowNotYetImplemented (const char * sub_message = NULL)
125 Throw_dng_error (dng_error_not_yet_implemented, NULL, sub_message);
158 inline void ThrowHostInsufficient (const char * sub_message = NULL)
161 Throw_dng_error (dng_error_host_insufficient, NULL, sub_message);
170 inline void ThrowMemoryFull (const char * sub_message = NULL)
[all …]
Ddng_exceptions.cpp31 const char *sub_message) in ReportWarning() argument
37 if (sub_message) in ReportWarning()
38 fprintf (stderr, "*** Warning: %s (%s) ***\n", message, sub_message); in ReportWarning()
45 (void) sub_message; in ReportWarning()
54 const char *sub_message) in ReportError() argument
59 if (sub_message) in ReportError()
60 fprintf (stderr, "*** Error: %s (%s) ***\n", message, sub_message); in ReportError()
67 (void) sub_message; in ReportError()
77 const char *sub_message, in Throw_dng_error() argument
188 ReportError (message, sub_message); in Throw_dng_error()
[all …]
/external/protobuf/python/google/protobuf/
Djson_format.py214 sub_message = _CreateMessageFromTypeUrl(type_url)
215 sub_message.ParseFromString(message.value)
216 message_descriptor = sub_message.DESCRIPTOR
219 js['value'] = _WrapperMessageToJsonObject(sub_message)
222 js['value'] = _WKTJSONMETHODS[full_name][0](sub_message, including_default)
224 return _RegularMessageToJsonObject(sub_message, js, including_default)
374 sub_message = getattr(message, field.name).add()
377 sub_message.DESCRIPTOR.full_name != 'google.protobuf.Value'):
380 _ConvertMessage(item, sub_message)
390 sub_message = getattr(message, field.name)
[all …]
Dtext_format.py587 sub_message = message.Extensions[field].add()
590 sub_message = field.message_type._concrete_class()
592 sub_message = getattr(message, field.name).add()
595 sub_message = message.Extensions[field]
597 sub_message = getattr(message, field.name)
598 sub_message.SetInParent()
603 self._MergeField(tokenizer, sub_message)
608 value = getattr(message, field.name)[sub_message.key]
609 value.MergeFrom(sub_message.value)
611 getattr(message, field.name)[sub_message.key] = sub_message.value
/external/protobuf/src/google/protobuf/compiler/javamicro/
Djavamicro_file.cc71 const Message& sub_message = in UsesExtensions() local
73 if (UsesExtensions(sub_message)) return true; in UsesExtensions()
76 const Message& sub_message = reflection->GetMessage(message, fields[i]); in UsesExtensions() local
77 if (UsesExtensions(sub_message)) return true; in UsesExtensions()
/external/protobuf/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()
/external/protobuf/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.cc2313 const Message& sub_message = reflection->GetMessage( in CheckAndGetInteger() local
2331 cmsg->message = const_cast<Message*>(&sub_message); in CheckAndGetInteger()
2707 PyObject* sub_message = InternalGetSubMessage(self, field_descriptor); in CheckAndGetInteger() local
2708 if (sub_message == NULL) { in CheckAndGetInteger()
2711 if (!SetCompositeField(self, name, sub_message)) { in CheckAndGetInteger()
2712 Py_DECREF(sub_message); in CheckAndGetInteger()
2715 return sub_message; in CheckAndGetInteger()
/external/nanopb-c/generator/google/protobuf/
Dtext_format.py223 sub_message = message.Extensions[field].add()
225 sub_message = getattr(message, field.name).add()
228 sub_message = message.Extensions[field]
230 sub_message = getattr(message, field.name)
231 sub_message.SetInParent()
236 _MergeField(tokenizer, sub_message)
/external/protobuf/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()
/external/protobuf/python/google/protobuf/internal/
Dpython_message.py1293 for sub_message in value:
1294 sub_message.DiscardUnknownFields()

12