Home
last modified time | relevance | path

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

/external/protobuf/python/google/protobuf/pyext/
Ddescriptor_pool.cc257 PyObject* FindExtensionByName(PyDescriptorPool* self, PyObject* arg) { in FindExtensionByName() function
265 self->pool->FindExtensionByName(string(name, name_size)); in FindExtensionByName()
488 { "FindExtensionByName", (PyCFunction)FindExtensionByName, METH_O,
Ddescriptor_pool.h134 PyObject* FindExtensionByName(PyDescriptorPool* self, PyObject* arg);
Ddescriptor_containers.cc1189 return GetDescriptor(self)->FindExtensionByName(name); in GetByName()
1523 return GetDescriptor(self)->FindExtensionByName(name); in GetByName()
/external/protobuf/src/google/protobuf/
Dgenerated_message_reflection_unittest.cc386 &message, descriptor->file()->FindExtensionByName( in TEST()
444 unittest::TestAllExtensions::descriptor()->file()->FindExtensionByName( in TEST()
447 unittest::TestAllExtensions::descriptor()->file()->FindExtensionByName( in TEST()
469 unittest::TestAllExtensions::descriptor()->file()->FindExtensionByName( in TEST()
472 unittest::TestAllExtensions::descriptor()->file()->FindExtensionByName( in TEST()
Ddescriptor_unittest.cc402 TEST_F(FileDescriptorTest, FindExtensionByName) { in TEST_F() argument
403 EXPECT_EQ(foo_extension_, foo_file_->FindExtensionByName("foo_extension")); in TEST_F()
404 EXPECT_EQ(bar_extension_, bar_file_->FindExtensionByName("bar_extension")); in TEST_F()
406 EXPECT_TRUE(foo_file_->FindExtensionByName("bar_extension") == NULL); in TEST_F()
407 EXPECT_TRUE(bar_file_->FindExtensionByName("foo_extension") == NULL); in TEST_F()
408 EXPECT_TRUE(baz_file_->FindExtensionByName("foo_extension") == NULL); in TEST_F()
410 EXPECT_TRUE(foo_file_->FindExtensionByName("no_such_extension") == NULL); in TEST_F()
411 EXPECT_TRUE(foo_file_->FindExtensionByName("FooMessage") == NULL); in TEST_F()
1632 EXPECT_TRUE(message_->FindExtensionByName("Foo") == NULL); in TEST_F()
1633 EXPECT_TRUE(message_->FindExtensionByName("Qux") == NULL); in TEST_F()
[all …]
Ddescriptor.h314 const FieldDescriptor* FindExtensionByName(const string& name) const;
1244 const FieldDescriptor* FindExtensionByName(const string& name) const;
1413 const FieldDescriptor* FindExtensionByName(const string& name) const;
Drepeated_field_reflection_unittest.cc173 desc->file()->FindExtensionByName("repeated_int64_extension"); in TEST()
530 desc->file()->FindExtensionByName("repeated_int64_extension"); in TEST()
Dextension_set_unittest.cc1174 file->FindExtensionByName("message_extension"); in TEST()
1192 file->FindExtensionByName("dynamic_message_extension"); in TEST()
Ddescriptor.cc1227 const FieldDescriptor* DescriptorPool::FindExtensionByName( in FindExtensionByName() function in google::protobuf::DescriptorPool
1379 Descriptor::FindExtensionByName(const string& key) const { in FindExtensionByName() function in google::protobuf::Descriptor
1518 FileDescriptor::FindExtensionByName(const string& key) const { in FindExtensionByName() function in google::protobuf::FileDescriptor
Dgenerated_message_reflection.cc1849 const FieldDescriptor* result = descriptor_pool_->FindExtensionByName(name); in FindKnownExtensionByName()
Dtest_util.cc2374 result = base_descriptor_->file()->FindExtensionByName(name + "_extension"); in F()
/external/protobuf/python/google/protobuf/internal/
Ddescriptor_pool_test.py241 extension = self.pool.FindExtensionByName(
245 extension = self.pool.FindExtensionByName(
259 self.pool.FindExtensionByName(
653 pool.FindExtensionByName('protobuf_unittest.optional_int32_extension'),
/external/protobuf/python/google/protobuf/
Ddescriptor.py503 return _message.default_pool.FindExtensionByName(full_name)
537 self._cdescriptor = _message.default_pool.FindExtensionByName(full_name)
Ddescriptor_pool.py287 def FindExtensionByName(self, full_name): member in DescriptorPool
/external/protobuf/src/google/protobuf/util/
Dmessage_differencer_unittest.cc3076 desc = descriptor->FindExtensionByName("repeated_nested_message_extension"); in TEST_F()