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

/external/protobuf/python/google/protobuf/pyext/
H A Ddescriptor_pool.h134 PyObject* FindExtensionByName(PyDescriptorPool* self, PyObject* arg);
H A Ddescriptor_pool.cc257 PyObject* FindExtensionByName(PyDescriptorPool* self, PyObject* arg) { function in namespace:google::protobuf::python::cdescriptor_pool
265 self->pool->FindExtensionByName(string(name, name_size));
488 { "FindExtensionByName", (PyCFunction)FindExtensionByName, METH_O,
H A Ddescriptor_containers.cc1189 return GetDescriptor(self)->FindExtensionByName(name);
1523 return GetDescriptor(self)->FindExtensionByName(name);
/external/protobuf/src/google/protobuf/
H A Dgenerated_message_reflection_unittest.cc386 &message, descriptor->file()->FindExtensionByName(
444 unittest::TestAllExtensions::descriptor()->file()->FindExtensionByName(
447 unittest::TestAllExtensions::descriptor()->file()->FindExtensionByName(
469 unittest::TestAllExtensions::descriptor()->file()->FindExtensionByName(
472 unittest::TestAllExtensions::descriptor()->file()->FindExtensionByName(
H A Ddescriptor_unittest.cc402 TEST_F(FileDescriptorTest, FindExtensionByName) {
403 EXPECT_EQ(foo_extension_, foo_file_->FindExtensionByName("foo_extension"));
404 EXPECT_EQ(bar_extension_, bar_file_->FindExtensionByName("bar_extension"));
406 EXPECT_TRUE(foo_file_->FindExtensionByName("bar_extension") == NULL);
407 EXPECT_TRUE(bar_file_->FindExtensionByName("foo_extension") == NULL);
408 EXPECT_TRUE(baz_file_->FindExtensionByName("foo_extension") == NULL);
410 EXPECT_TRUE(foo_file_->FindExtensionByName("no_such_extension") == NULL);
411 EXPECT_TRUE(foo_file_->FindExtensionByName("FooMessage") == NULL);
1632 EXPECT_TRUE(message_->FindExtensionByName("Foo") == NULL);
1633 EXPECT_TRUE(message_->FindExtensionByName("Qu
[all...]
H A Ddescriptor.h314 const FieldDescriptor* FindExtensionByName(const string& name) const;
432 // call Descriptor::FindExtensionByName() or
433 // FileDescriptor::FindExtensionByName().
1244 const FieldDescriptor* FindExtensionByName(const string& name) const;
1245 // Similar to FindExtensionByName(), but searches by lowercased-name. See
1248 // Similar to FindExtensionByName(), but searches by camelcased-name. See
1413 const FieldDescriptor* FindExtensionByName(const string& name) const;
H A Drepeated_field_reflection_unittest.cc173 desc->file()->FindExtensionByName("repeated_int64_extension");
530 desc->file()->FindExtensionByName("repeated_int64_extension");
H A Dextension_set_unittest.cc1174 file->FindExtensionByName("message_extension");
1192 file->FindExtensionByName("dynamic_message_extension");
H A Ddescriptor.cc1227 const FieldDescriptor* DescriptorPool::FindExtensionByName( function in class:google::protobuf::DescriptorPool
1379 Descriptor::FindExtensionByName(const string& key) const { function in class:google::protobuf::Descriptor
1518 FileDescriptor::FindExtensionByName(const string& key) const { function in class:google::protobuf::FileDescriptor
5646 // DescriptorPool::FindExtensionByName(), for two reasons: 1) It allows
H A Dgenerated_message_reflection.cc1849 const FieldDescriptor* result = descriptor_pool_->FindExtensionByName(name);
H A Dtest_util.cc2374 result = base_descriptor_->file()->FindExtensionByName(name + "_extension");
/external/protobuf/python/google/protobuf/internal/
H A 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/
H A Ddescriptor.py503 return _message.default_pool.FindExtensionByName(full_name)
537 self._cdescriptor = _message.default_pool.FindExtensionByName(full_name)
H A Ddescriptor_pool.py287 def FindExtensionByName(self, full_name): member in class:DescriptorPool
/external/protobuf/src/google/protobuf/util/
H A Dmessage_differencer_unittest.cc3076 desc = descriptor->FindExtensionByName("repeated_nested_message_extension");

Completed in 397 milliseconds