Home
last modified time | relevance | path

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

/external/rust/crates/grpcio-sys/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()
/external/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(string(name, name_size)); in FindOneofByName()
357 return FindOneofByName(reinterpret_cast<PyDescriptorPool*>(self), arg); in FindOneofByNameMethod()
Ddescriptor_containers.cc1268 return GetDescriptor(self)->FindOneofByName(name); in GetByName()
Dmessage.cc1387 descriptor->FindOneofByName(field_name); in FindFieldWithOneofs()
2013 self->message->GetDescriptor()->FindOneofByName(oneof_name); in WhichOneof()
/external/perfetto/tools/ftrace_proto_gen/
Dftrace_descriptor_gen.cc30 ftrace_event->FindOneofByName("event"); in GenerateFtraceDescriptors()
/external/protobuf/python/google/protobuf/internal/
Ddescriptor_pool_test.py256 self.assertRaises(error_type, self.pool.FindOneofByName, 0)
313 oneof = self.pool.FindOneofByName(
317 self.pool.FindOneofByName('Does not exist')
580 self.pool.FindOneofByName('protobuf_unittest.TestAllTypes.oneof_field'),
695 self.pool.FindOneofByName('collector.ErrorMessage.MyOneof')
/external/protobuf/src/google/protobuf/
Ddescriptor.h314 const OneofDescriptor* FindOneofByName(const std::string& name) const;
1598 const OneofDescriptor* FindOneofByName(const std::string& name) const;
Ddescriptor_unittest.cc1124 EXPECT_EQ(oneof_, oneof_message_->FindOneofByName("foo")); in TEST_F()
1125 EXPECT_EQ(oneof2_, oneof_message_->FindOneofByName("bar")); in TEST_F()
1126 EXPECT_TRUE(oneof_message_->FindOneofByName("no_such_oneof") == nullptr); in TEST_F()
2982 const OneofDescriptor* oneof = message->FindOneofByName("AnOneof"); in TEST()
Darena_unittest.cc951 const OneofDescriptor* oneof = desc->FindOneofByName("oneof_field"); in TEST()
Ddescriptor.cc1457 const OneofDescriptor* DescriptorPool::FindOneofByName( in FindOneofByName() function in google::protobuf::DescriptorPool
1626 const OneofDescriptor* Descriptor::FindOneofByName( in FindOneofByName() function in google::protobuf::Descriptor
/external/protobuf/python/google/protobuf/
Ddescriptor.py734 return _message.default_pool.FindOneofByName(full_name)
Ddescriptor_pool.py498 def FindOneofByName(self, full_name): member in DescriptorPool
/external/protobuf/ruby/ext/google/protobuf_c/
Dupb.h2578 OneofDef* FindOneofByName(const char* name, size_t len);
2579 const OneofDef* FindOneofByName(const char* name, size_t len) const;
2581 OneofDef* FindOneofByName(const char* name) {
2582 return FindOneofByName(name, strlen(name));
2584 const OneofDef* FindOneofByName(const char* name) const {
2585 return FindOneofByName(name, strlen(name));
2589 OneofDef* FindOneofByName(const T& str) {
2590 return FindOneofByName(str.c_str(), str.size());
2593 const OneofDef* FindOneofByName(const T& str) const {
2594 return FindOneofByName(str.c_str(), str.size());
[all …]
/external/protobuf/php/ext/google/protobuf/
Dupb.h3609 OneofDefPtr FindOneofByName(const char* name, size_t len) const { in FindOneofByName() function
3613 OneofDefPtr FindOneofByName(const char *name) const { in FindOneofByName() function
3618 OneofDefPtr FindOneofByName(const T &str) const { in FindOneofByName() function
3619 return FindOneofByName(str.c_str(), str.size()); in FindOneofByName()
/external/protobuf/
DCHANGES.txt365 * Add descriptor pool FindOneofByName in pure python.