Home
last modified time | relevance | path

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

/third_party/protobuf/python/google/protobuf/pyext/
Ddescriptor_pool.h103 PyObject* FindExtensionByName(PyDescriptorPool* self, PyObject* arg);
Ddescriptor_pool.cc296 PyObject* FindExtensionByName(PyDescriptorPool* self, PyObject* arg) { in FindExtensionByName() function
304 self->pool->FindExtensionByName(StringParam(name, name_size)); in FindExtensionByName()
315 return FindExtensionByName(reinterpret_cast<PyDescriptorPool*>(self), arg); in FindExtensionByNameMethod()
544 reinterpret_cast<PyDescriptorPool*>(self)->pool->FindExtensionByName( in AddExtensionDescriptor()
Dextension_dict.cc243 pool->pool->FindExtensionByName(StringParam(name, name_size)); in _FindExtensionByName()
Ddescriptor_containers.cc1219 return GetDescriptor(self)->FindExtensionByName(name); in GetByName()
1616 return GetDescriptor(self)->FindExtensionByName(name); in GetByName()
/third_party/protobuf/src/google/protobuf/
Ddescriptor_unittest.cc461 TEST_F(FileDescriptorTest, FindExtensionByName) { in TEST_F() argument
462 EXPECT_EQ(foo_extension_, foo_file_->FindExtensionByName("foo_extension")); in TEST_F()
463 EXPECT_EQ(bar_extension_, bar_file_->FindExtensionByName("bar_extension")); in TEST_F()
465 EXPECT_TRUE(foo_file_->FindExtensionByName("bar_extension") == nullptr); in TEST_F()
466 EXPECT_TRUE(bar_file_->FindExtensionByName("foo_extension") == nullptr); in TEST_F()
467 EXPECT_TRUE(baz_file_->FindExtensionByName("foo_extension") == nullptr); in TEST_F()
469 EXPECT_TRUE(foo_file_->FindExtensionByName("no_such_extension") == nullptr); in TEST_F()
470 EXPECT_TRUE(foo_file_->FindExtensionByName("FooMessage") == nullptr); in TEST_F()
895 ->FindExtensionByName("nested") in TEST_F()
902 ->FindExtensionByName("message_set_extension") in TEST_F()
[all …]
Dgenerated_message_reflection_unittest.cc385 &message, descriptor->file()->FindExtensionByName( in TEST()
442 unittest::TestAllExtensions::descriptor()->file()->FindExtensionByName( in TEST()
445 unittest::TestAllExtensions::descriptor()->file()->FindExtensionByName( in TEST()
468 unittest::TestAllExtensions::descriptor()->file()->FindExtensionByName( in TEST()
471 unittest::TestAllExtensions::descriptor()->file()->FindExtensionByName( in TEST()
Ddescriptor.h442 const FieldDescriptor* FindExtensionByName(ConstStringParam name) const;
1501 const FieldDescriptor* FindExtensionByName(ConstStringParam name) const;
1688 const FieldDescriptor* FindExtensionByName(ConstStringParam name) const;
Drepeated_field_reflection_unittest.cc167 desc->file()->FindExtensionByName("repeated_int64_extension"); in TEST()
540 desc->file()->FindExtensionByName("repeated_int64_extension"); in TEST()
Dextension_set_unittest.cc1294 file->FindExtensionByName("message_extension"); in TEST()
1312 file->FindExtensionByName("dynamic_message_extension"); in TEST()
Ddescriptor.cc1439 const FieldDescriptor* DescriptorPool::FindExtensionByName( in FindExtensionByName() function in google::protobuf::DescriptorPool
1534 const FieldDescriptor* result = FindExtensionByName(printable_name); in FindExtensionByPrintableName()
1644 const FieldDescriptor* Descriptor::FindExtensionByName( in FindExtensionByName() function in google::protobuf::Descriptor
1793 const FieldDescriptor* FileDescriptor::FindExtensionByName( in FindExtensionByName() function in google::protobuf::FileDescriptor
Dtest_util.h183 result = base_descriptor_->file()->FindExtensionByName(name + "_extension"); in F()
/third_party/protobuf/python/google/protobuf/internal/
Ddescriptor_pool_test.py258 self.assertRaises(error_type, self.pool.FindExtensionByName, 0)
325 extension = self.pool.FindExtensionByName(
329 extension = self.pool.FindExtensionByName(
381 self.pool.FindExtensionByName(
571 self.pool.FindExtensionByName(
Dreflection_test.py1690 pool.FindExtensionByName(
/third_party/protobuf/python/google/protobuf/
Ddescriptor.py544 return _message.default_pool.FindExtensionByName(full_name)
589 self._cdescriptor = _message.default_pool.FindExtensionByName(full_name)
Ddescriptor_pool.py566 def FindExtensionByName(self, full_name): member in DescriptorPool
/third_party/protobuf/src/google/protobuf/util/
Dmessage_differencer_unittest.cc3618 desc = descriptor->FindExtensionByName("repeated_nested_message_extension"); in TEST_F()