Home
last modified time | relevance | path

Searched refs:FindExtensionByNumber (Results 1 – 19 of 19) sorted by relevance

/external/protobuf/python/google/protobuf/pyext/
Ddescriptor_pool.cc420 static PyObject* FindExtensionByNumber(PyObject* self, PyObject* args) { in FindExtensionByNumber() function
433 reinterpret_cast<PyDescriptorPool*>(self)->pool->FindExtensionByNumber( in FindExtensionByNumber()
668 { "FindExtensionByNumber", FindExtensionByNumber, METH_VARARGS,
Dextension_dict.cc268 const FieldDescriptor* message_extension = pool->pool->FindExtensionByNumber( in _FindExtensionByNumber()
Dmessage.cc1992 message_class->py_message_factory->pool->pool->FindExtensionByNumber( in RegisterExtension()
/external/grpc-grpc/src/python/grpcio_reflection/grpc_reflection/v1alpha/
Dreflection.py78 extension_descriptor = self._pool.FindExtensionByNumber(
/external/grpc-grpc/src/cpp/ext/
Dproto_server_reflection.cc160 descriptor_pool_->FindExtensionByNumber(desc, in GetFileContainingExtension()
/external/protobuf/python/google/protobuf/internal/
Ddescriptor_pool_test.py244 self.assertRaises(TypeError, self.pool.FindExtensionByNumber, '')
371 extension = self.pool.FindExtensionByNumber(factory1_message, 1001)
374 extension = self.pool.FindExtensionByNumber(factory1_message, 1002)
377 extension = self.pool.FindExtensionByNumber(factory1_message, 1234567)
Dreflection_test.py1341 pool.FindExtensionByNumber(
/external/protobuf/src/google/protobuf/
Dextension_set_heavy.cc120 output->push_back(pool->FindExtensionByNumber(containing_type, number)); in AppendToList()
297 pool_->FindExtensionByNumber(containing_type_, number); in Find()
Dtext_format.h213 virtual const FieldDescriptor* FindExtensionByNumber(
Ddescriptor_database.cc504 pool_.FindExtensionByNumber(extendee, field_number); in FindFileContainingExtension()
Ddescriptor_unittest.cc473 TEST_F(FileDescriptorTest, FindExtensionByNumber) { in TEST_F() argument
474 EXPECT_EQ(foo_extension_, pool_.FindExtensionByNumber(foo_message_, 1)); in TEST_F()
475 EXPECT_EQ(bar_extension_, pool_.FindExtensionByNumber(bar_message_, 1)); in TEST_F()
477 EXPECT_TRUE(pool_.FindExtensionByNumber(foo_message_, 2) == nullptr); in TEST_F()
6715 TEST_F(DatabaseBackedPoolTest, FindExtensionByNumber) { in TEST_F() argument
6721 const FieldDescriptor* extension = pool.FindExtensionByNumber(foo, 5); in TEST_F()
6726 EXPECT_TRUE(pool.FindExtensionByNumber(foo, 12) == nullptr); in TEST_F()
6888 EXPECT_TRUE(pool.FindExtensionByNumber(foo, 22) == nullptr); in TEST_F()
Dmessage.cc501 field = pool->FindExtensionByNumber(descriptor_, num); in _InternalParse()
Dtext_format.cc213 return descriptor->file()->pool()->FindExtensionByNumber(descriptor, number); in DefaultFinderFindExtensionByNumber()
468 ? finder_->FindExtensionByNumber(descriptor, field_number) in ConsumeField()
1364 const FieldDescriptor* TextFormat::Finder::FindExtensionByNumber( in FindExtensionByNumber() function in google::protobuf::TextFormat::Finder
Ddescriptor.h1606 const FieldDescriptor* FindExtensionByNumber(const Descriptor* extendee,
Dwire_format.cc413 field = input->GetExtensionPool()->FindExtensionByNumber( in ParseAndMergePartial()
Dgenerated_message_reflection.cc1820 return descriptor_pool_->FindExtensionByNumber(descriptor_, number); in FindKnownExtensionByNumber()
Ddescriptor.cc1488 const FieldDescriptor* DescriptorPool::FindExtensionByNumber( in FindExtensionByNumber() function in google::protobuf::DescriptorPool
1510 result = underlay_->FindExtensionByNumber(extendee, number); in FindExtensionByNumber()
/external/protobuf/python/google/protobuf/
Ddescriptor_pool.py545 def FindExtensionByNumber(self, message_descriptor, number): member in DescriptorPool
/external/protobuf/
DCHANGES.txt12 …* Fail fast for better performance in DescriptorPool::FindExtensionByNumber() if descriptor has no…