Home
last modified time | relevance | path

Searched refs:FindExtensionByName (Results 1 – 12 of 12) sorted by relevance

/external/protobuf/python/google/protobuf/pyext/
Ddescriptor.cc192 PyObject* FindExtensionByName(CDescriptorPool* self, PyObject* arg) { in FindExtensionByName() function
199 self->pool->FindExtensionByName(full_field_name); in FindExtensionByName()
215 (PyCFunction)FindExtensionByName,
Ddescriptor.h83 PyObject* FindExtensionByName(CDescriptorPool* self, PyObject* arg);
Dmessage.cc2125 return cdescriptor_pool::FindExtensionByName(descriptor_pool, arg); in CheckAndGetInteger()
/external/protobuf/src/google/protobuf/
Dgenerated_message_reflection_unittest.cc380 &message, descriptor->file()->FindExtensionByName( in TEST()
438 unittest::TestAllExtensions::descriptor()->file()->FindExtensionByName( in TEST()
441 unittest::TestAllExtensions::descriptor()->file()->FindExtensionByName( in TEST()
463 unittest::TestAllExtensions::descriptor()->file()->FindExtensionByName( in TEST()
466 unittest::TestAllExtensions::descriptor()->file()->FindExtensionByName( in TEST()
Ddescriptor_unittest.cc332 TEST_F(FileDescriptorTest, FindExtensionByName) { in TEST_F() argument
333 EXPECT_EQ(foo_extension_, foo_file_->FindExtensionByName("foo_extension")); in TEST_F()
334 EXPECT_EQ(bar_extension_, bar_file_->FindExtensionByName("bar_extension")); in TEST_F()
336 EXPECT_TRUE(foo_file_->FindExtensionByName("bar_extension") == NULL); in TEST_F()
337 EXPECT_TRUE(bar_file_->FindExtensionByName("foo_extension") == NULL); in TEST_F()
338 EXPECT_TRUE(baz_file_->FindExtensionByName("foo_extension") == NULL); in TEST_F()
340 EXPECT_TRUE(foo_file_->FindExtensionByName("no_such_extension") == NULL); in TEST_F()
341 EXPECT_TRUE(foo_file_->FindExtensionByName("FooMessage") == NULL); in TEST_F()
1385 EXPECT_TRUE(message_->FindExtensionByName("Foo") == NULL); in TEST_F()
1386 EXPECT_TRUE(message_->FindExtensionByName("Qux") == NULL); in TEST_F()
[all …]
Drepeated_field_reflection_unittest.cc174 desc->file()->FindExtensionByName("repeated_int64_extension"); in TEST()
Ddescriptor.h264 const FieldDescriptor* FindExtensionByName(const string& name) const;
1065 const FieldDescriptor* FindExtensionByName(const string& name) const;
1224 const FieldDescriptor* FindExtensionByName(const string& name) const;
Dextension_set_unittest.cc1062 file->FindExtensionByName("message_extension"); in TEST()
1080 file->FindExtensionByName("dynamic_message_extension"); in TEST()
Ddescriptor.cc1081 const FieldDescriptor* DescriptorPool::FindExtensionByName( in FindExtensionByName() function in google::protobuf::DescriptorPool
1233 Descriptor::FindExtensionByName(const string& key) const { in FindExtensionByName() function in google::protobuf::Descriptor
1367 FileDescriptor::FindExtensionByName(const string& key) const { in FindExtensionByName() function in google::protobuf::FileDescriptor
Dgenerated_message_reflection.cc1416 const FieldDescriptor* result = descriptor_pool_->FindExtensionByName(name); in FindKnownExtensionByName()
Dtest_util.cc2373 result = base_descriptor_->file()->FindExtensionByName(name + "_extension"); in F()
/external/protobuf/python/google/protobuf/internal/
Dcpp_message.py70 return _pool.FindExtensionByName(full_extension_name)