/third_party/protobuf/src/google/protobuf/ |
D | map_test_util.h | 298 Message* sub_message = nullptr; in SetMapFieldsViaReflection() local 302 sub_message = reflection->AddMessage(message, F("map_int32_int32")); in SetMapFieldsViaReflection() 303 sub_message->GetReflection()->SetInt32(sub_message, map_int32_int32_key_, 0); in SetMapFieldsViaReflection() 304 sub_message->GetReflection()->SetInt32(sub_message, map_int32_int32_val_, 0); in SetMapFieldsViaReflection() 306 sub_message = reflection->AddMessage(message, F("map_int64_int64")); in SetMapFieldsViaReflection() 307 sub_message->GetReflection()->SetInt64(sub_message, map_int64_int64_key_, 0); in SetMapFieldsViaReflection() 308 sub_message->GetReflection()->SetInt64(sub_message, map_int64_int64_val_, 0); in SetMapFieldsViaReflection() 310 sub_message = reflection->AddMessage(message, F("map_uint32_uint32")); in SetMapFieldsViaReflection() 311 sub_message->GetReflection()->SetUInt32(sub_message, map_uint32_uint32_key_, in SetMapFieldsViaReflection() 313 sub_message->GetReflection()->SetUInt32(sub_message, map_uint32_uint32_val_, in SetMapFieldsViaReflection() [all …]
|
D | test_util.h | 196 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 …]
|
D | wire_format.cc | 409 Message* sub_message = message_reflection->MutableMessage( in ParseAndMergeMessageSetField() local 411 return WireFormatLite::ReadMessage(input, sub_message); in ParseAndMergeMessageSetField() 603 Message* sub_message; in ParseAndMergeField() local 605 sub_message = message_reflection->AddMessage( in ParseAndMergeField() 608 sub_message = message_reflection->MutableMessage( in ParseAndMergeField() 613 input, sub_message)) in ParseAndMergeField() 619 Message* sub_message; in ParseAndMergeField() local 621 sub_message = message_reflection->AddMessage( in ParseAndMergeField() 624 sub_message = message_reflection->MutableMessage( in ParseAndMergeField() 628 if (!WireFormatLite::ReadMessage(input, sub_message)) return false; in ParseAndMergeField() [all …]
|
D | reflection_ops.cc | 413 const Message& sub_message = in FindInitializationErrors() local 415 FindInitializationErrors(sub_message, in FindInitializationErrors() 419 const Message& sub_message = reflection->GetMessage(message, field); in FindInitializationErrors() local 420 FindInitializationErrors(sub_message, in FindInitializationErrors()
|
D | generated_message_reflection.cc | 348 const Message* sub_message = GetRaw<const Message*>(message, field); in SpaceUsedLong() local 349 if (sub_message != nullptr) { in SpaceUsedLong() 350 total_size += sub_message->SpaceUsedLong(); in SpaceUsedLong() 1536 Message* message, Message* sub_message, in UnsafeArenaSetAllocatedMessage() argument 1543 field->number(), field->type(), field, sub_message); in UnsafeArenaSetAllocatedMessage() 1546 if (sub_message == nullptr) { in UnsafeArenaSetAllocatedMessage() 1551 *MutableRaw<Message*>(message, field) = sub_message; in UnsafeArenaSetAllocatedMessage() 1556 if (sub_message == nullptr) { in UnsafeArenaSetAllocatedMessage() 1565 *sub_message_holder = sub_message; in UnsafeArenaSetAllocatedMessage() 1569 void Reflection::SetAllocatedMessage(Message* message, Message* sub_message, in SetAllocatedMessage() argument [all …]
|
D | reflection_ops_unittest.cc | 382 unittest::TestRequired* sub_message = message.add_repeated_message(); in TEST() local 388 sub_message->set_a(1); in TEST() 389 sub_message->set_b(2); in TEST() 390 sub_message->set_c(3); in TEST()
|
D | generated_message_reflection_unittest.cc | 781 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()
|
D | text_format.cc | 2203 Message* sub_message = value.GetMessageValue().New(); in CopyValue() local 2204 sub_message->CopyFrom(value.GetMessageValue()); in CopyValue() 2205 reflection->SetAllocatedMessage(message, sub_message, field_desc); in CopyValue() 2266 const Message& sub_message = in PrintField() local 2271 printer->PrintMessageStart(sub_message, field_index, count, in PrintField() 2274 if (!printer->PrintMessageContent(sub_message, field_index, count, in PrintField() 2276 Print(sub_message, generator); in PrintField() 2279 printer->PrintMessageEnd(sub_message, field_index, count, in PrintField()
|
D | extension_set_unittest.cc | 1296 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()
|
D | field_mask.proto | 218 // SubMessage sub_message = 9; 231 // paths: "sub_message"
|
D | unittest.proto | 480 optional SubMessage sub_message = 3; // Needed because of bug in javatest field 496 optional SubMessage sub_message = 1; field 511 optional TestAllTypes sub_message = 1 [lazy=false]; field 514 optional TestAllTypes sub_message = 1 [lazy=true]; field
|
D | message.h | 591 void SetAllocatedMessage(Message* message, Message* sub_message, 1111 void UnsafeArenaSetAllocatedMessage(Message* message, Message* sub_message,
|
D | message_unittest.inc | 541 UNITTEST::TestIsInitialized::SubMessage* sub_message = 545 sub_message->mutable_subgroup();
|
/third_party/skia/third_party/externals/dng_sdk/source/ |
D | dng_exceptions.h | 33 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 …]
|
D | dng_exceptions.cpp | 31 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 …]
|
/third_party/protobuf/python/google/protobuf/ |
D | json_format.py | 331 sub_message = _CreateMessageFromTypeUrl(type_url, self.descriptor_pool) 332 sub_message.ParseFromString(message.value) 333 message_descriptor = sub_message.DESCRIPTOR 336 js['value'] = self._WrapperMessageToJsonObject(sub_message) 340 sub_message)(self) 342 return self._RegularMessageToJsonObject(sub_message, js) 545 sub_message = getattr(message, field.name) 546 sub_message.null_value = 0 563 sub_message = getattr(message, field.name).add() 566 sub_message.DESCRIPTOR.full_name != 'google.protobuf.Value'): [all …]
|
D | text_format.py | 1021 sub_message = message.Extensions[field].add() 1023 sub_message = getattr(message, field.name).GetEntryClass()() 1025 sub_message = getattr(message, field.name).add() 1033 sub_message = message.Extensions[field] 1042 sub_message = getattr(message, field.name) 1043 sub_message.SetInParent() 1048 self._MergeField(tokenizer, sub_message) 1053 value = getattr(message, field.name)[sub_message.key] 1054 value.MergeFrom(sub_message.value) 1056 getattr(message, field.name)[sub_message.key] = sub_message.value
|
/third_party/protobuf/python/google/protobuf/pyext/ |
D | extension_dict.cc | 158 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()
|
D | repeated_composite_container.cc | 84 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()
|
D | message.h | 139 Message* sub_message, 141 CMessage* MaybeReleaseSubMessage(Message* sub_message);
|
D | message.cc | 1076 Message* sub_message = reflection->ReleaseLast(message, field_descriptor); in DeleteRepeatedField() local 1079 if (CMessage* released = self->MaybeReleaseSubMessage(sub_message)) { in DeleteRepeatedField() 1080 released->message = sub_message; in DeleteRepeatedField() 1083 delete sub_message; in DeleteRepeatedField() 2267 const Message& sub_message = reflection->GetMessage( in InternalGetSubMessage() local 2287 cmsg->message = const_cast<Message*>(&sub_message); in InternalGetSubMessage() 2729 const FieldDescriptor* field_descriptor, Message* sub_message, in BuildSubMessageFromPointer() argument 2735 *this->child_submessages, sub_message); in BuildSubMessageFromPointer() 2744 cmsg->message = sub_message; in BuildSubMessageFromPointer() 2753 CMessage* CMessage::MaybeReleaseSubMessage(Message* sub_message) { in MaybeReleaseSubMessage() argument [all …]
|
D | map_container.cc | 683 Message* sub_message = value.MutableMessageValue(); in MessageMapSetItem() local 687 self->parent->MaybeReleaseSubMessage(sub_message)) { in MessageMapSetItem()
|
/third_party/protobuf/src/google/protobuf/compiler/java/ |
D | java_file.cc | 105 const Message& sub_message = in CollectExtensions() local 107 if (!CollectExtensions(sub_message, extensions)) return false; in CollectExtensions() 110 const Message& sub_message = reflection->GetMessage(message, fields[i]); in CollectExtensions() local 111 if (!CollectExtensions(sub_message, extensions)) return false; in CollectExtensions()
|
/third_party/protobuf/csharp/protos/ |
D | unittest.proto | 470 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
|
/third_party/protobuf/java/compatibility_tests/v2.5.0/more_protos/src/proto/google/protobuf/ |
D | unittest.proto | 419 optional TestAllTypes sub_message = 1 [lazy=false]; field 422 optional TestAllTypes sub_message = 1 [lazy=true]; field
|