Home
last modified time | relevance | path

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

12

/external/protobuf/src/google/protobuf/
Dmap_test_util.cc350 Message* sub_message = NULL; in SetMapFieldsViaReflection() local
354 sub_message = reflection->AddMessage(message, F("map_int32_int32")); in SetMapFieldsViaReflection()
355 sub_message->GetReflection()->SetInt32(sub_message, map_int32_int32_key_, 0); in SetMapFieldsViaReflection()
356 sub_message->GetReflection()->SetInt32(sub_message, map_int32_int32_val_, 0); in SetMapFieldsViaReflection()
358 sub_message = reflection->AddMessage(message, F("map_int64_int64")); in SetMapFieldsViaReflection()
359 sub_message->GetReflection()->SetInt64(sub_message, map_int64_int64_key_, 0); in SetMapFieldsViaReflection()
360 sub_message->GetReflection()->SetInt64(sub_message, map_int64_int64_val_, 0); in SetMapFieldsViaReflection()
362 sub_message = reflection->AddMessage(message, F("map_uint32_uint32")); in SetMapFieldsViaReflection()
363 sub_message->GetReflection()->SetUInt32(sub_message, map_uint32_uint32_key_, in SetMapFieldsViaReflection()
365 sub_message->GetReflection()->SetUInt32(sub_message, map_uint32_uint32_val_, in SetMapFieldsViaReflection()
[all …]
Dtest_util.h196 Message* sub_message; in SetAllFieldsViaReflection() local
214 sub_message = reflection->MutableMessage(message, F("optionalgroup")); in SetAllFieldsViaReflection()
215 sub_message->GetReflection()->SetInt32(sub_message, group_a_, 117); in SetAllFieldsViaReflection()
216 sub_message = in SetAllFieldsViaReflection()
218 sub_message->GetReflection()->SetInt32(sub_message, nested_b_, 118); in SetAllFieldsViaReflection()
219 sub_message = in SetAllFieldsViaReflection()
221 sub_message->GetReflection()->SetInt32(sub_message, foreign_c_, 119); in SetAllFieldsViaReflection()
222 sub_message = in SetAllFieldsViaReflection()
224 sub_message->GetReflection()->SetInt32(sub_message, import_d_, 120); in SetAllFieldsViaReflection()
233 sub_message = in SetAllFieldsViaReflection()
[all …]
Dwire_format.cc460 Message* sub_message = message_reflection->MutableMessage( in ParseAndMergeMessageSetField() local
462 return WireFormatLite::ReadMessage(input, sub_message); in ParseAndMergeMessageSetField()
654 Message* sub_message; in ParseAndMergeField() local
656 sub_message = message_reflection->AddMessage( in ParseAndMergeField()
659 sub_message = message_reflection->MutableMessage( in ParseAndMergeField()
664 input, sub_message)) in ParseAndMergeField()
670 Message* sub_message; in ParseAndMergeField() local
672 sub_message = message_reflection->AddMessage( in ParseAndMergeField()
675 sub_message = message_reflection->MutableMessage( in ParseAndMergeField()
679 if (!WireFormatLite::ReadMessage(input, sub_message)) return false; in ParseAndMergeField()
[all …]
Dreflection_ops.cc326 const Message& sub_message = in FindInitializationErrors() local
328 FindInitializationErrors(sub_message, in FindInitializationErrors()
332 const Message& sub_message = reflection->GetMessage(message, field); in FindInitializationErrors() local
333 FindInitializationErrors(sub_message, in FindInitializationErrors()
Dgenerated_message_reflection.cc349 const Message* sub_message = GetRaw<const Message*>(message, field); in SpaceUsedLong() local
350 if (sub_message != nullptr) { in SpaceUsedLong()
351 total_size += sub_message->SpaceUsedLong(); in SpaceUsedLong()
1498 Message* message, Message* sub_message, in UnsafeArenaSetAllocatedMessage() argument
1504 field->number(), field->type(), field, sub_message); in UnsafeArenaSetAllocatedMessage()
1507 if (sub_message == nullptr) { in UnsafeArenaSetAllocatedMessage()
1512 *MutableRaw<Message*>(message, field) = sub_message; in UnsafeArenaSetAllocatedMessage()
1517 if (sub_message == nullptr) { in UnsafeArenaSetAllocatedMessage()
1526 *sub_message_holder = sub_message; in UnsafeArenaSetAllocatedMessage()
1530 void Reflection::SetAllocatedMessage(Message* message, Message* sub_message, in SetAllocatedMessage() argument
[all …]
Dreflection_ops_unittest.cc369 unittest::TestRequired* sub_message = message.add_repeated_message(); in TEST() local
373 sub_message->set_a(1); in TEST()
374 sub_message->set_b(2); in TEST()
375 sub_message->set_c(3); in TEST()
Dgenerated_message_reflection_unittest.cc781 const Message& sub_message = reflection->GetMessage( in TEST() local
786 EXPECT_EQ(&sub_message, released); in TEST()
829 const Message& sub_message = reflection->GetMessage( in TEST() local
836 EXPECT_NE(&sub_message, released); in TEST()
917 const Message& sub_message = reflection->GetMessage( in TEST() local
923 EXPECT_EQ(&sub_message, released); in TEST()
Dextension_set_unittest.cc1296 const Message& sub_message = in TEST() local
1300 dynamic_cast<const unittest::ForeignMessage*>(&sub_message); in TEST()
1302 static_cast<const unittest::ForeignMessage*>(&sub_message); in TEST()
1315 const Message& sub_message = parent.GetReflection()->GetMessage( in TEST() local
1319 EXPECT_EQ(prototype, &sub_message); in TEST()
Dtext_format.cc2171 Message* sub_message = value.GetMessageValue().New(); in CopyValue() local
2172 sub_message->CopyFrom(value.GetMessageValue()); in CopyValue()
2173 reflection->SetAllocatedMessage(message, sub_message, field_desc); in CopyValue()
2235 const Message& sub_message = in PrintField() local
2240 printer->PrintMessageStart(sub_message, field_index, count, in PrintField()
2243 Print(sub_message, generator); in PrintField()
2245 printer->PrintMessageEnd(sub_message, field_index, count, in PrintField()
Dfield_mask.proto218 // SubMessage sub_message = 9;
231 // paths: "sub_message"
Dunittest.proto470 optional SubMessage sub_message = 3; // Needed because of bug in javatest field
486 optional SubMessage sub_message = 1; field
501 optional TestAllTypes sub_message = 1 [lazy=false]; field
504 optional TestAllTypes sub_message = 1 [lazy=true]; field
Dmessage.h570 void SetAllocatedMessage(Message* message, Message* sub_message,
1058 void UnsafeArenaSetAllocatedMessage(Message* message, 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.py314 sub_message = _CreateMessageFromTypeUrl(type_url, self.descriptor_pool)
315 sub_message.ParseFromString(message.value)
316 message_descriptor = sub_message.DESCRIPTOR
319 js['value'] = self._WrapperMessageToJsonObject(sub_message)
323 sub_message)(self)
325 return self._RegularMessageToJsonObject(sub_message, js)
528 sub_message = getattr(message, field.name)
529 sub_message.null_value = 0
546 sub_message = getattr(message, field.name).add()
549 sub_message.DESCRIPTOR.full_name != 'google.protobuf.Value'):
[all …]
Dtext_format.py976 sub_message = message.Extensions[field].add()
978 sub_message = getattr(message, field.name).GetEntryClass()()
980 sub_message = getattr(message, field.name).add()
988 sub_message = message.Extensions[field]
997 sub_message = getattr(message, field.name)
998 sub_message.SetInParent()
1003 self._MergeField(tokenizer, sub_message)
1008 value = getattr(message, field.name)[sub_message.key]
1009 value.MergeFrom(sub_message.value)
1011 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.cc158 ContainerBase* sub_message = cmessage::InternalGetSubMessage( in subscript() local
160 if (sub_message == NULL) { in subscript()
163 (*self->parent->composite_fields)[descriptor] = sub_message; in subscript()
164 return sub_message->AsPyObject(); in subscript()
Drepeated_composite_container.cc84 Message* sub_message = in Add() local
90 self->parent_field_descriptor, sub_message, self->child_message_class); in Add()
226 Message* sub_message = message->GetReflection()->MutableRepeatedMessage( in GetItem() local
229 ->BuildSubMessageFromPointer(self->parent_field_descriptor, sub_message, in GetItem()
Dmessage.h139 Message* sub_message,
141 CMessage* MaybeReleaseSubMessage(Message* sub_message);
Dmessage.cc1050 Message* sub_message = reflection->ReleaseLast(message, field_descriptor); in DeleteRepeatedField() local
1053 if (CMessage* released = self->MaybeReleaseSubMessage(sub_message)) { in DeleteRepeatedField()
1054 released->message = sub_message; in DeleteRepeatedField()
1057 delete sub_message; in DeleteRepeatedField()
2241 const Message& sub_message = reflection->GetMessage( in InternalGetSubMessage() local
2261 cmsg->message = const_cast<Message*>(&sub_message); in InternalGetSubMessage()
2753 const FieldDescriptor* field_descriptor, Message* sub_message, in BuildSubMessageFromPointer() argument
2759 *this->child_submessages, sub_message); in BuildSubMessageFromPointer()
2768 cmsg->message = sub_message; in BuildSubMessageFromPointer()
2777 CMessage* CMessage::MaybeReleaseSubMessage(Message* sub_message) { in MaybeReleaseSubMessage() argument
[all …]
/external/protobuf/src/google/protobuf/compiler/java/
Djava_file.cc101 const Message& sub_message = in CollectExtensions() local
103 if (!CollectExtensions(sub_message, extensions)) return false; in CollectExtensions()
106 const Message& sub_message = reflection->GetMessage(message, fields[i]); in CollectExtensions() local
107 if (!CollectExtensions(sub_message, extensions)) return false; in CollectExtensions()
/external/libprotobuf-mutator/src/
Dmutator_test_proto3.proto81 SubMsg sub_message = 69; field
Dmutator_test_proto2.proto99 optional SubMsg sub_message = 69; field

12