Home
last modified time | relevance | path

Searched refs:FindOneofByName (Results 1 – 14 of 14) sorted by relevance

/third_party/grpc/third_party/upb/upb/
Ddef.hpp204 OneofDefPtr FindOneofByName(const char* name, size_t len) const { in FindOneofByName() function in upb::MessageDefPtr
208 OneofDefPtr FindOneofByName(const char* name) const { in FindOneofByName() function in upb::MessageDefPtr
213 OneofDefPtr FindOneofByName(const T& str) const { in FindOneofByName() function in upb::MessageDefPtr
214 return FindOneofByName(str.c_str(), str.size()); in FindOneofByName()
/third_party/protobuf/python/google/protobuf/pyext/
Ddescriptor_pool.h115 PyObject* FindOneofByName(PyDescriptorPool* self, PyObject* arg);
Ddescriptor_pool.cc339 PyObject* FindOneofByName(PyDescriptorPool* self, PyObject* arg) { in FindOneofByName() function
347 self->pool->FindOneofByName(StringParam(name, name_size)); in FindOneofByName()
357 return FindOneofByName(reinterpret_cast<PyDescriptorPool*>(self), arg); in FindOneofByNameMethod()
Dmessage.cc1412 descriptor->FindOneofByName(field_name); in FindFieldWithOneofs()
2037 self->message->GetDescriptor()->FindOneofByName( in WhichOneof()
Ddescriptor_containers.cc1271 return GetDescriptor(self)->FindOneofByName(name); in GetByName()
/third_party/protobuf/python/google/protobuf/internal/
Ddescriptor_pool_test.py260 self.assertRaises(error_type, self.pool.FindOneofByName, 0)
317 oneof = self.pool.FindOneofByName(
321 self.pool.FindOneofByName('Does not exist')
575 self.pool.FindOneofByName('protobuf_unittest.TestAllTypes.oneof_field'),
690 self.pool.FindOneofByName('collector.ErrorMessage.MyOneof')
/third_party/protobuf/src/google/protobuf/
Ddescriptor.h350 const OneofDescriptor* FindOneofByName(ConstStringParam name) const;
1689 const OneofDescriptor* FindOneofByName(ConstStringParam name) const;
Dproto3_arena_unittest.cc258 const google::protobuf::OneofDescriptor* o = d->FindOneofByName("_optional_int32"); in TEST()
Ddescriptor_unittest.cc1140 EXPECT_EQ(oneof_, oneof_message_->FindOneofByName("foo")); in TEST_F()
1141 EXPECT_EQ(oneof2_, oneof_message_->FindOneofByName("bar")); in TEST_F()
1142 EXPECT_TRUE(oneof_message_->FindOneofByName("no_such_oneof") == nullptr); in TEST_F()
3003 const OneofDescriptor* oneof = message->FindOneofByName("AnOneof"); in TEST()
Darena_unittest.cc896 const OneofDescriptor* oneof = desc->FindOneofByName("oneof_field"); in TEST()
Ddescriptor.cc1449 const OneofDescriptor* DescriptorPool::FindOneofByName( in FindOneofByName() function in google::protobuf::DescriptorPool
1634 const OneofDescriptor* Descriptor::FindOneofByName(ConstStringParam key) const { in FindOneofByName() function in google::protobuf::Descriptor
/third_party/protobuf/python/google/protobuf/
Ddescriptor.py761 return _message.default_pool.FindOneofByName(full_name)
Ddescriptor_pool.py549 def FindOneofByName(self, full_name): member in DescriptorPool
/third_party/protobuf/
DCHANGES.txt707 * Add descriptor pool FindOneofByName in pure python.