Home
last modified time | relevance | path

Searched refs:GetDescriptor (Results 1 – 25 of 77) sorted by relevance

1234

/external/protobuf/python/google/protobuf/pyext/
Ddescriptor_containers.cc950 static ParentDescriptor GetDescriptor(PyContainer* self) { in GetDescriptor() function
959 return GetDescriptor(self)->field_count(); in Count()
963 return GetDescriptor(self)->FindFieldByName(name); in GetByName()
968 return GetDescriptor(self)->FindFieldByCamelcaseName(name); in GetByCamelcaseName()
972 return GetDescriptor(self)->FindFieldByNumber(number); in GetByNumber()
976 return GetDescriptor(self)->field(index); in GetByIndex()
1037 return GetDescriptor(self)->nested_type_count(); in Count()
1041 return GetDescriptor(self)->FindNestedTypeByName(name); in GetByName()
1045 return GetDescriptor(self)->nested_type(index); in GetByIndex()
1089 return GetDescriptor(self)->enum_type_count(); in Count()
[all …]
Dfield.cc72 static PyObject* GetDescriptor(PyMessageFieldProperty* self, void* closure) { in GetDescriptor() function
82 {"DESCRIPTOR", (getter)GetDescriptor, NULL, "Field descriptor"},
Ddescriptor_database.cc71 FileDescriptorProto::default_instance().GetDescriptor(); in GetFileDescriptorProto()
74 message->message->GetDescriptor() == filedescriptor_descriptor) { in GetFileDescriptorProto()
Dmessage.cc818 if (message->GetDescriptor() == field_descriptor->containing_type()) { in CheckFieldBelongsToMessage()
823 message->GetDescriptor()->full_name().c_str()); in CheckFieldBelongsToMessage()
1088 self->message->GetDescriptor()->name().c_str(), in InitAttributes()
1380 const Descriptor* descriptor = message->GetDescriptor(); in FindFieldWithOneofs()
1453 message->GetDescriptor()->name().c_str(), field_name); in HasField()
1685 return self->message->GetDescriptor()->full_name(); in GetMessageName()
1834 self->message->GetDescriptor()->full_name().c_str(), in MergeFrom()
1840 if (other_message->message->GetDescriptor() != in MergeFrom()
1841 self->message->GetDescriptor()) { in MergeFrom()
1845 self->message->GetDescriptor()->full_name().c_str(), in MergeFrom()
[all …]
/external/protobuf/src/google/protobuf/
Dany.cc52 GetTypeUrl(message.GetDescriptor()->full_name(), type_url_prefix)); in PackFrom()
58 if (!InternalIs(message->GetDescriptor()->full_name())) { in UnpackTo()
67 const Descriptor* descriptor = message.GetDescriptor(); in GetAnyFieldDescriptors()
Dreflection_ops.cc58 const Descriptor* d = m.GetDescriptor(); in GetReflectionOrDie()
75 const Descriptor* descriptor = from.GetDescriptor(); in Merge()
76 GOOGLE_CHECK_EQ(to->GetDescriptor(), descriptor) in Merge()
79 << to->GetDescriptor()->full_name() << ")"; in Merge()
178 const Descriptor* descriptor = message.GetDescriptor(); in IsInitialized()
303 const Descriptor* descriptor = message.GetDescriptor(); in FindInitializationErrors()
Dmessage.cc83 const Descriptor* descriptor = GetDescriptor(); in MergeFrom()
84 GOOGLE_CHECK_EQ(from.GetDescriptor(), descriptor) in MergeFrom()
90 << from.GetDescriptor()->full_name(); in MergeFrom()
99 const Descriptor* descriptor = GetDescriptor(); in CopyFrom()
100 GOOGLE_CHECK_EQ(from.GetDescriptor(), descriptor) in CopyFrom()
106 << from.GetDescriptor()->full_name(); in CopyFrom()
111 return GetDescriptor()->full_name(); in GetTypeName()
131 GOOGLE_CHECK(IsInitialized()) << "Message of type \"" << GetDescriptor()->full_name() in CheckInitialized()
484 descriptor_(msg->GetDescriptor()), in _InternalParse()
547 GOOGLE_LOG(FATAL) << "Message class \"" << GetDescriptor()->full_name() in SetCachedSize()
Dwrappers.pb.h133 return GetDescriptor(); in descriptor()
135 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { in GetDescriptor() function
287 return GetDescriptor(); in descriptor()
289 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { in GetDescriptor() function
441 return GetDescriptor(); in descriptor()
443 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { in GetDescriptor() function
595 return GetDescriptor(); in descriptor()
597 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { in GetDescriptor() function
749 return GetDescriptor(); in descriptor()
751 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { in GetDescriptor() function
[all …]
Dmap_field.cc197 default_entry_->GetDescriptor()->FindFieldByName("value"); in AllocateMapValue()
298 default_entry_->GetDescriptor()->FindFieldByName("value"); in MergeFrom()
359 default_entry_->GetDescriptor()->FindFieldByName("key"); in SyncRepeatedFieldWithMapNoLock()
361 default_entry_->GetDescriptor()->FindFieldByName("value"); in SyncRepeatedFieldWithMapNoLock()
447 default_entry_->GetDescriptor()->FindFieldByName("key"); in SyncMapWithRepeatedFieldNoLock()
449 default_entry_->GetDescriptor()->FindFieldByName("value"); in SyncMapWithRepeatedFieldNoLock()
Ddynamic_message_unittest.cc129 EXPECT_EQ(prototype_->GetDescriptor(), descriptor_); in TEST_F()
193 const Descriptor* descriptor = message->GetDescriptor(); in TEST_P()
292 const Descriptor* desc = message->GetDescriptor(); in TEST_F()
Dpreserve_unknown_enum_test.cc189 const Descriptor* d = message.GetDescriptor(); in TEST()
221 const Descriptor* d = message.GetDescriptor(); in TEST()
241 const Descriptor* d = message.GetDescriptor(); in TEST()
Dempty.pb.h101 return GetDescriptor(); in descriptor()
103 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { in GetDescriptor() function
/external/protobuf/python/compatibility_tests/v2.5.0/tests/google/protobuf/internal/
Dservice_reflection_test.py77 service_descriptor = unittest_pb2.TestService.GetDescriptor()
122 self.assertEqual(unittest_pb2.TestService_Stub.GetDescriptor(),
123 stub.GetDescriptor())
132 self.assertEqual(stub.GetDescriptor().methods[0], channel.method)
/external/protobuf/python/google/protobuf/internal/
Dservice_reflection_test.py82 service_descriptor = unittest_pb2.TestService.GetDescriptor()
131 self.assertEqual(unittest_pb2.TestService_Stub.GetDescriptor(),
132 stub.GetDescriptor())
140 self.assertEqual(stub.GetDescriptor().methods[0], channel.method)
/external/perfetto/src/ipc/
Dclient_impl.cc71 const char* const service_name = service_proxy->GetDescriptor().service_name; in BindService()
213 const char* svc_name = service_proxy->GetDescriptor().service_name; in OnBindServiceReply()
224 svc_name, prev_service->second->GetDescriptor().service_name); in OnBindServiceReply()
252 for (const auto& method : service_proxy->GetDescriptor().methods) { in OnInvokeMethodReply()
Dhost_impl.cc75 const std::string& service_name = service->GetDescriptor().service_name; in ExposeService()
153 for (const auto& desc_method : service->instance->GetDescriptor().methods) { in OnBindService()
174 const ServiceDescriptor& svc = service->GetDescriptor(); in OnInvokeMethod()
/external/libprotobuf-mutator/src/
Dmutator.cc198 message->GetDescriptor()->field_count() == 0); in Sample()
203 const Descriptor* descriptor = message->GetDescriptor(); in SampleImpl()
318 const Descriptor* descriptor = message.GetDescriptor(); in SampleImpl()
386 return Any::GetDescriptor() == message->GetDescriptor() in CastToAny()
392 return Any::GetDescriptor() == message->GetDescriptor() in CastToAny()
409 const Descriptor* descriptor = message.GetDescriptor(); in UnpackAny()
441 const Descriptor* descriptor = message->GetDescriptor(); in Run()
/external/protobuf/python/google/protobuf/
Dservice_reflection.py149 cls.GetDescriptor = staticmethod(lambda: self.descriptor)
150 cls.GetDescriptor.__doc__ = "Returns the service descriptor."
Dservice.py61 def GetDescriptor(): member in Service
/external/crosvm/usb_util/src/
Dtypes.rs100 GetDescriptor = 0x06, enumerator
186 0x06 => Some(StandardControlRequest::GetDescriptor), in get_standard_request()
/external/protobuf/src/google/protobuf/util/
Djson_util.cc225 message.GetDescriptor()->full_name(); in GetTypeUrl()
245 const DescriptorPool* pool = message.GetDescriptor()->file()->pool(); in MessageToJsonString()
261 const DescriptorPool* pool = message->GetDescriptor()->file()->pool(); in JsonStringToMessage()
Dfield_mask_util.cc456 const Descriptor* descriptor = source.GetDescriptor(); in MergeMessage()
591 const Descriptor* descriptor = message->GetDescriptor(); in TrimMessage()
688 GOOGLE_CHECK(source.GetDescriptor() == destination->GetDescriptor()); in MergeMessageTo()
713 tree.AddRequiredFieldPath(GOOGLE_CHECK_NOTNULL(message->GetDescriptor())); in TrimMessage()
/external/webrtc/webrtc/base/
Dphysicalsocketserver.cc630 int SocketDispatcher::GetDescriptor() { in GetDescriptor() function in rtc::SocketDispatcher
804 int GetDescriptor() override { return afd_[0]; } in GetDescriptor() function in rtc::EventDispatcher
854 int GetDescriptor() const { in GetDescriptor() function in rtc::PosixSignalHandler
946 ssize_t ret = read(GetDescriptor(), b, sizeof(b)); in OnPreEvent()
973 int GetDescriptor() override { in GetDescriptor() function in rtc::PosixSignalDispatcher
974 return PosixSignalHandler::Instance()->GetDescriptor(); in GetDescriptor()
1015 int GetDescriptor() override { return fd_; } in GetDescriptor() function in rtc::FileDispatcher
1276 int fd = pdispatcher->GetDescriptor(); in Wait()
1312 int fd = pdispatcher->GetDescriptor(); in Wait()
Dphysicalsocketserver.h53 virtual int GetDescriptor() = 0;
201 int GetDescriptor() override;
/external/perfetto/include/perfetto/ext/ipc/
Dservice.h36 virtual const ServiceDescriptor& GetDescriptor() = 0;

1234