Home
last modified time | relevance | path

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

123

/third_party/protobuf/src/google/protobuf/
Dgenerated_message_reflection_unittest.cc84 EXPECT_EQ(&unittest::TestAllTypes::OptionalGroup::default_instance(), in TEST()
86 EXPECT_EQ(&unittest::TestAllTypes::NestedMessage::default_instance(), in TEST()
88 EXPECT_EQ(&unittest::ForeignMessage::default_instance(), in TEST()
90 EXPECT_EQ(&unittest_import::ImportMessage::default_instance(), in TEST()
145 EXPECT_NE(&unittest::TestAllTypes::OptionalGroup::default_instance(), in TEST()
147 EXPECT_NE(&unittest::TestAllTypes::NestedMessage::default_instance(), in TEST()
149 EXPECT_NE(&unittest::ForeignMessage::default_instance(), in TEST()
151 EXPECT_NE(&unittest_import::ImportMessage::default_instance(), in TEST()
439 unittest::TestAllExtensions::default_instance().GetReflection(); in TEST()
458 EXPECT_TRUE(unittest::TestAllTypes::default_instance() in TEST()
[all …]
Dreflection_ops_unittest.cc214 EXPECT_NE(&unittest::TestAllTypes::OptionalGroup::default_instance(), in TEST()
216 EXPECT_NE(&unittest::TestAllTypes::NestedMessage::default_instance(), in TEST()
218 EXPECT_NE(&unittest::ForeignMessage::default_instance(), in TEST()
220 EXPECT_NE(&unittest_import::ImportMessage::default_instance(), in TEST()
235 EXPECT_NE(&unittest::OptionalGroup_extension::default_instance(), in TEST()
237 EXPECT_NE(&unittest::TestAllTypes::NestedMessage::default_instance(), in TEST()
240 &unittest::ForeignMessage::default_instance(), in TEST()
242 EXPECT_NE(&unittest_import::ImportMessage::default_instance(), in TEST()
Dextension_set.h944 ExtensionSet::RegisterExtension(&ExtendeeT::default_instance(), number, in Register()
973 ExtensionSet::RegisterExtension(&ExtendeeT::default_instance(), number, in Register()
982 static const RepeatedPrimitiveDefaults* default_instance();
1023 return &RepeatedPrimitiveDefaults::default_instance() \
1075 ExtensionSet::RegisterExtension(&ExtendeeT::default_instance(), number, in PROTOBUF_DEFINE_PRIMITIVE_TYPE()
1123 ExtensionSet::RegisterExtension(&ExtendeeT::default_instance(), number, in Register()
1155 ExtensionSet::RegisterEnumExtension(&ExtendeeT::default_instance(), number, in Register()
1212 ExtensionSet::RegisterEnumExtension(&ExtendeeT::default_instance(), number, in Register()
1237 number, field_type, Type::default_instance(), NULL)); in Mutable()
1251 set->ReleaseMessage(number, Type::default_instance())); in Release()
[all …]
Dwrappers.pb.cc348 const DoubleValue& DoubleValue::default_instance() { in default_instance() function in DoubleValue
415 …PACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, str… in _InternalSerialize()
543 const FloatValue& FloatValue::default_instance() { in default_instance() function in FloatValue
610 …PACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, str… in _InternalSerialize()
738 const Int64Value& Int64Value::default_instance() { in default_instance() function in Int64Value
805 …PACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, str… in _InternalSerialize()
935 const UInt64Value& UInt64Value::default_instance() { in default_instance() function in UInt64Value
1002 …PACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, str… in _InternalSerialize()
1132 const Int32Value& Int32Value::default_instance() { in default_instance() function in Int32Value
1199 …PACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, str… in _InternalSerialize()
[all …]
Dmetadata_lite.h88 const T& (*default_instance)()) const { in unknown_fields() argument
92 return default_instance(); in unknown_fields()
Dimplicit_weak_message.cc57 const ImplicitWeakMessage* ImplicitWeakMessage::default_instance() { in default_instance() function in google::protobuf::internal::ImplicitWeakMessage
Dempty.pb.cc122 const Empty& Empty::default_instance() { in default_instance() function in Empty
170 …PACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, str… in _InternalSerialize()
Dextension_set_unittest.cc76 EXPECT_EQ(&unittest::OptionalGroup_extension::default_instance(), in TEST()
78 EXPECT_EQ(&unittest::TestAllTypes::NestedMessage::default_instance(), in TEST()
81 &unittest::ForeignMessage::default_instance(), in TEST()
83 EXPECT_EQ(&unittest_import::ImportMessage::default_instance(), in TEST()
112 EXPECT_NE(&unittest::OptionalGroup_extension::default_instance(), in TEST()
114 EXPECT_NE(&unittest::TestAllTypes::NestedMessage::default_instance(), in TEST()
117 &unittest::ForeignMessage::default_instance(), in TEST()
119 EXPECT_NE(&unittest_import::ImportMessage::default_instance(), in TEST()
1314 const Message& parent = unittest::TestAllExtensions::default_instance(); in TEST()
Dwrappers.pb.h135 static const DoubleValue& default_instance();
272 static const FloatValue& default_instance();
409 static const Int64Value& default_instance();
546 static const UInt64Value& default_instance();
683 static const Int32Value& default_instance();
820 static const UInt32Value& default_instance();
957 static const BoolValue& default_instance();
1094 static const StringValue& default_instance();
1238 static const BytesValue& default_instance();
Dstruct.pb.cc237 const Struct& Struct::default_instance() { in default_instance() function in Struct
344 …PACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, str… in _InternalSerialize()
556 const Value& Value::default_instance() { in default_instance() function in Value
739 …PACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, str… in _InternalSerialize()
932 const ListValue& ListValue::default_instance() { in default_instance() function in ListValue
1006 …PACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, str… in _InternalSerialize()
Dgenerated_message_table_driven.cc82 down_cast<const Message*>(table.default_instance()); in ParseExtension()
Ddescriptor.pb.cc1421 const FileDescriptorSet& FileDescriptorSet::default_instance() { in default_instance() function in FileDescriptorSet
1495 …PACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, str… in _InternalSerialize()
1704 const FileDescriptorProto& FileDescriptorProto::default_instance() { in default_instance() function in FileDescriptorProto
2029 …PACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, str… in _InternalSerialize()
2318 const DescriptorProto_ExtensionRange& DescriptorProto_ExtensionRange::default_instance() { in default_instance() function in DescriptorProto_ExtensionRange
2428 …PACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, str… in _InternalSerialize()
2606 const DescriptorProto_ReservedRange& DescriptorProto_ReservedRange::default_instance() { in default_instance() function in DescriptorProto_ReservedRange
2697 …PACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, str… in _InternalSerialize()
2894 const DescriptorProto& DescriptorProto::default_instance() { in default_instance() function in DescriptorProto
3171 …PACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, str… in _InternalSerialize()
[all …]
Dsource_context.pb.cc133 const SourceContext& SourceContext::default_instance() { in default_instance() function in SourceContext
206 …PACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, str… in _InternalSerialize()
Dfield_mask.pb.cc127 const FieldMask& FieldMask::default_instance() { in default_instance() function in FieldMask
205 …PACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, str… in _InternalSerialize()
Dmessage.h1228 const T& (*get_default_instance)() = &T::default_instance; in DECLARE_GET_REPEATED_FIELD()
1238 bool ok = T::default_instance().GetReflection() == from->GetReflection(); in DECLARE_GET_REPEATED_FIELD()
1271 internal::StrongReference(T::default_instance); in LinkMessageReflection()
1319 PB::default_instance().GetDescriptor())); in GetRepeatedPtrFieldInternal()
1327 -1, PB::default_instance().GetDescriptor())); in MutableRepeatedPtrFieldInternal()
Dgenerated_message_table_driven_lite.cc85 const MessageLite* prototype = table.default_instance(); in ParseExtension()
Dtimestamp.pb.cc131 const Timestamp& Timestamp::default_instance() { in default_instance() function in Timestamp
213 …PACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, str… in _InternalSerialize()
Dduration.pb.cc131 const Duration& Duration::default_instance() { in default_instance() function in Duration
213 …PACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, str… in _InternalSerialize()
Dtype.pb.cc434 const Type& Type::default_instance() { in default_instance() function in Type
609 …PACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, str… in _InternalSerialize()
827 const Field& Field::default_instance() { in default_instance() function in Field
1053 …PACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, str… in _InternalSerialize()
1310 const Enum& Enum::default_instance() { in default_instance() function in Enum
1460 …PACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, str… in _InternalSerialize()
1643 const EnumValue& EnumValue::default_instance() { in default_instance() function in EnumValue
1751 …PACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, str… in _InternalSerialize()
1927 const Option& Option::default_instance() { in default_instance() function in Option
2019 …PACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, str… in _InternalSerialize()
/third_party/libphonenumber/cpp/test/phonenumbers/
Dphonenumberutil_test.cc427 EXPECT_EQ(PhoneNumber::default_instance(), test_number); in TEST_F()
434 EXPECT_NE(PhoneNumber::default_instance(), test_number); in TEST_F()
438 EXPECT_NE(PhoneNumber::default_instance(), test_number); in TEST_F()
444 EXPECT_EQ(PhoneNumber::default_instance(), test_number); in TEST_F()
458 EXPECT_EQ(PhoneNumber::default_instance(), test_number); in TEST_F()
461 EXPECT_EQ(PhoneNumber::default_instance(), test_number); in TEST_F()
497 EXPECT_NE(PhoneNumber::default_instance(), test_number); in TEST_F()
503 EXPECT_NE(PhoneNumber::default_instance(), test_number); in TEST_F()
509 EXPECT_NE(PhoneNumber::default_instance(), test_number); in TEST_F()
3994 EXPECT_EQ(PhoneNumber::default_instance(), test_number); in TEST_F()
[all …]
/third_party/libphonenumber/cpp/src/phonenumbers/
Dphonenumbermatch.cc38 : start_(-1), raw_string_(""), number_(PhoneNumber::default_instance()) { in PhoneNumberMatch()
/third_party/protobuf/src/google/protobuf/compiler/
Dplugin.pb.cc301 const Version& Version::default_instance() { in default_instance() function in compiler::Version
430 …PACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, str… in _InternalSerialize()
639 const CodeGeneratorRequest& CodeGeneratorRequest::default_instance() { in default_instance() function in compiler::CodeGeneratorRequest
790 …PACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, str… in _InternalSerialize()
989 const CodeGeneratorResponse_File& CodeGeneratorResponse_File::default_instance() { in default_instance() function in compiler::CodeGeneratorResponse_File
1121 …PACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, str… in _InternalSerialize()
1298 const CodeGeneratorResponse& CodeGeneratorResponse::default_instance() { in default_instance() function in compiler::CodeGeneratorResponse
1416 …PACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, str… in _InternalSerialize()
/third_party/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_unittest.inc163 EXPECT_EQ(&UNITTEST::TestAllTypes::OptionalGroup::default_instance(),
165 EXPECT_EQ(&UNITTEST::TestAllTypes::NestedMessage::default_instance(),
167 EXPECT_EQ(&UNITTEST::ForeignMessage::default_instance(),
169 EXPECT_EQ(&UNITTEST_IMPORT::ImportMessage::default_instance(),
175 UNITTEST::TestExtremeDefaultValues::default_instance();
198 UNITTEST::TestExtremeDefaultValues::default_instance();
205 UNITTEST::TestExtremeDefaultValues::default_instance();
316 EXPECT_EQ(&UNITTEST::TestAllTypes::NestedMessage::default_instance(),
343 EXPECT_NE(&UNITTEST::TestAllTypes::OptionalGroup::default_instance(),
345 EXPECT_NE(&UNITTEST::TestAllTypes::NestedMessage::default_instance(),
[all …]
/third_party/protobuf/python/google/protobuf/pyext/
Ddescriptor.cc290 DescriptorProtoClass::default_instance().GetDescriptor(); in CopyToPythonProto()
589 if (&options != &MessageOptions::default_instance()) { in GetHasOptions()
938 if (&options != &FieldOptions::default_instance()) { in GetHasOptions()
1102 if (&options != &EnumOptions::default_instance()) { in GetHasOptions()
1233 if (&options != &EnumValueOptions::default_instance()) { in GetHasOptions()
1390 if (&options != &FileOptions::default_instance()) { in GetHasOptions()
1567 if (&options != &OneofOptions::default_instance()) { in GetHasOptions()
/third_party/grpc/tools/remote_build/
Dmac.bazelrc14 build --remote_instance_name=projects/grpc-testing/instances/default_instance

123