Home
last modified time | relevance | path

Searched refs:default_instance (Results 1 – 16 of 16) sorted by relevance

/external/protobuf/src/google/protobuf/
Dgenerated_message_reflection_unittest.cc80 EXPECT_EQ(&unittest::TestAllTypes::OptionalGroup::default_instance(), in TEST()
82 EXPECT_EQ(&unittest::TestAllTypes::NestedMessage::default_instance(), in TEST()
84 EXPECT_EQ(&unittest::ForeignMessage::default_instance(), in TEST()
86 EXPECT_EQ(&unittest_import::ImportMessage::default_instance(), in TEST()
139 EXPECT_NE(&unittest::TestAllTypes::OptionalGroup::default_instance(), in TEST()
141 EXPECT_NE(&unittest::TestAllTypes::NestedMessage::default_instance(), in TEST()
143 EXPECT_NE(&unittest::ForeignMessage::default_instance(), in TEST()
145 EXPECT_NE(&unittest_import::ImportMessage::default_instance(), in TEST()
435 unittest::TestAllExtensions::default_instance().GetReflection(); in TEST()
454 EXPECT_TRUE(unittest::TestAllTypes::default_instance().GetReflection()-> in TEST()
[all …]
Dreflection_ops_unittest.cc211 EXPECT_NE(&unittest::TestAllTypes::OptionalGroup::default_instance(), in TEST()
213 EXPECT_NE(&unittest::TestAllTypes::NestedMessage::default_instance(), in TEST()
215 EXPECT_NE(&unittest::ForeignMessage::default_instance(), in TEST()
217 EXPECT_NE(&unittest_import::ImportMessage::default_instance(), in TEST()
232 EXPECT_NE(&unittest::OptionalGroup_extension::default_instance(), in TEST()
234 EXPECT_NE(&unittest::TestAllTypes::NestedMessage::default_instance(), in TEST()
236 EXPECT_NE(&unittest::ForeignMessage::default_instance(), in TEST()
239 EXPECT_NE(&unittest_import::ImportMessage::default_instance(), in TEST()
Dextension_set_unittest.cc70 EXPECT_EQ(&unittest::OptionalGroup_extension::default_instance(), in TEST()
72 EXPECT_EQ(&unittest::TestAllTypes::NestedMessage::default_instance(), in TEST()
74 EXPECT_EQ(&unittest::ForeignMessage::default_instance(), in TEST()
77 EXPECT_EQ(&unittest_import::ImportMessage::default_instance(), in TEST()
106 EXPECT_NE(&unittest::OptionalGroup_extension::default_instance(), in TEST()
108 EXPECT_NE(&unittest::TestAllTypes::NestedMessage::default_instance(), in TEST()
110 EXPECT_NE(&unittest::ForeignMessage::default_instance(), in TEST()
113 EXPECT_NE(&unittest_import::ImportMessage::default_instance(), in TEST()
1082 const Message& parent = unittest::TestAllExtensions::default_instance(); in TEST()
Ddescriptor.pb.cc503 FileDescriptorSet_descriptor_, &FileDescriptorSet::default_instance()); in protobuf_RegisterTypes()
505 FileDescriptorProto_descriptor_, &FileDescriptorProto::default_instance()); in protobuf_RegisterTypes()
507 DescriptorProto_descriptor_, &DescriptorProto::default_instance()); in protobuf_RegisterTypes()
509 … DescriptorProto_ExtensionRange_descriptor_, &DescriptorProto_ExtensionRange::default_instance()); in protobuf_RegisterTypes()
511 FieldDescriptorProto_descriptor_, &FieldDescriptorProto::default_instance()); in protobuf_RegisterTypes()
513 OneofDescriptorProto_descriptor_, &OneofDescriptorProto::default_instance()); in protobuf_RegisterTypes()
515 EnumDescriptorProto_descriptor_, &EnumDescriptorProto::default_instance()); in protobuf_RegisterTypes()
517 EnumValueDescriptorProto_descriptor_, &EnumValueDescriptorProto::default_instance()); in protobuf_RegisterTypes()
519 ServiceDescriptorProto_descriptor_, &ServiceDescriptorProto::default_instance()); in protobuf_RegisterTypes()
521 MethodDescriptorProto_descriptor_, &MethodDescriptorProto::default_instance()); in protobuf_RegisterTypes()
[all …]
Ddescriptor.cc1591 if (&options() != &FileOptions::default_instance()) { in CopyTo()
1597 if (source_code_info_ != &SourceCodeInfo::default_instance()) { in CopySourceCodeInfoTo()
1626 if (&options() != &MessageOptions::default_instance()) { in CopyTo()
1675 if (&options() != &FieldOptions::default_instance()) { in CopyTo()
1691 if (&options() != &EnumOptions::default_instance()) { in CopyTo()
1700 if (&options() != &EnumValueOptions::default_instance()) { in CopyTo()
1712 if (&options() != &ServiceOptions::default_instance()) { in CopyTo()
1730 if (&options() != &MethodOptions::default_instance()) { in CopyTo()
2998 placeholder_file->source_code_info_ = &SourceCodeInfo::default_instance(); in NewPlaceholder()
3004 placeholder_file->options_ = &FileOptions::default_instance(); in NewPlaceholder()
[all …]
Dgenerated_message_reflection.h130 const Message* default_instance,
164 const Message* default_instance,
Dmessage.h851 PB::default_instance().GetDescriptor())); in GetRepeatedPtrField()
860 PB::default_instance().GetDescriptor())); in MutableRepeatedPtrField()
Ddescriptor.pb.h178 static const FileDescriptorSet& default_instance();
260 static const FileDescriptorProto& default_instance();
478 static const DescriptorProto_ExtensionRange& default_instance();
567 static const DescriptorProto& default_instance();
743 static const FieldDescriptorProto& default_instance();
989 static const OneofDescriptorProto& default_instance();
1073 static const EnumDescriptorProto& default_instance();
1182 static const EnumValueDescriptorProto& default_instance();
1288 static const ServiceDescriptorProto& default_instance();
1397 static const MethodDescriptorProto& default_instance();
[all …]
Drepeated_field.h370 static const Type& default_instance() { return Type::default_instance(); } in default_instance() function
380 inline const MessageLite& GenericTypeHandler<MessageLite>::default_instance() { in default_instance() function
389 inline const Message& GenericTypeHandler<Message>::default_instance() { in default_instance() function
413 static const Type& default_instance() { in default_instance() function
Dgenerated_message_reflection.cc173 const Message* default_instance, in GeneratedMessageReflection() argument
182 default_instance_ (default_instance), in GeneratedMessageReflection()
196 const Message* default_instance, in GeneratedMessageReflection() argument
207 default_instance_ (default_instance), in GeneratedMessageReflection()
Dextension_set.h950 set->MutableMessage(number, field_type, Type::default_instance(), NULL)); in Mutable()
959 number, Type::default_instance())); in Release()
984 set->AddMessage(number, field_type, Type::default_instance(), NULL)); in Add()
Dmessage_unittest.cc409 &protobuf_unittest::TestAllTypes::default_instance()); in TEST()
Ddescriptor_unittest.cc2039 EXPECT_EQ(&FieldOptions::default_instance(), &foo->options()); in TEST_F()
2042 EXPECT_NE(&FieldOptions::default_instance(), options); in TEST_F()
/external/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_unittest.cc143 EXPECT_EQ(&unittest::TestAllTypes::OptionalGroup::default_instance(), in TEST()
145 EXPECT_EQ(&unittest::TestAllTypes::NestedMessage::default_instance(), in TEST()
147 EXPECT_EQ(&unittest::ForeignMessage::default_instance(), in TEST()
149 EXPECT_EQ(&unittest_import::ImportMessage::default_instance(), in TEST()
168 unittest::TestExtremeDefaultValues::default_instance(); in TEST()
191 unittest::TestExtremeDefaultValues::default_instance(); in TEST()
198 unittest::TestExtremeDefaultValues::default_instance(); in TEST()
309 EXPECT_EQ(&unittest::TestAllTypes::NestedMessage::default_instance(), in TEST()
336 EXPECT_NE(&unittest::TestAllTypes::OptionalGroup::default_instance(), in TEST()
338 EXPECT_NE(&unittest::TestAllTypes::NestedMessage::default_instance(), in TEST()
[all …]
/external/protobuf/src/google/protobuf/compiler/
Dplugin.pb.cc107 CodeGeneratorRequest_descriptor_, &CodeGeneratorRequest::default_instance()); in protobuf_RegisterTypes()
109 CodeGeneratorResponse_descriptor_, &CodeGeneratorResponse::default_instance()); in protobuf_RegisterTypes()
111 CodeGeneratorResponse_File_descriptor_, &CodeGeneratorResponse_File::default_instance()); in protobuf_RegisterTypes()
217 const CodeGeneratorRequest& CodeGeneratorRequest::default_instance() { in default_instance() function in google::protobuf::compiler::CodeGeneratorRequest
559 const CodeGeneratorResponse_File& CodeGeneratorResponse_File::default_instance() { in default_instance() function in google::protobuf::compiler::CodeGeneratorResponse_File
913 const CodeGeneratorResponse& CodeGeneratorResponse::default_instance() { in default_instance() function in google::protobuf::compiler::CodeGeneratorResponse
Dplugin.pb.h66 static const CodeGeneratorRequest& default_instance();
180 static const CodeGeneratorResponse_File& default_instance();
294 static const CodeGeneratorResponse& default_instance();