Home
last modified time | relevance | path

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

123

/external/protobuf/python/google/protobuf/pyext/
Ddescriptor_containers.cc924 static ParentDescriptor GetDescriptor(PyContainer* self) { in GetDescriptor() function
933 return GetDescriptor(self)->field_count(); in Count()
937 return GetDescriptor(self)->FindFieldByName(name); in GetByName()
942 return GetDescriptor(self)->FindFieldByCamelcaseName(name); in GetByCamelcaseName()
946 return GetDescriptor(self)->FindFieldByNumber(number); in GetByNumber()
950 return GetDescriptor(self)->field(index); in GetByIndex()
1011 return GetDescriptor(self)->nested_type_count(); in Count()
1015 return GetDescriptor(self)->FindNestedTypeByName(name); in GetByName()
1019 return GetDescriptor(self)->nested_type(index); in GetByIndex()
1063 return GetDescriptor(self)->enum_type_count(); in Count()
[all …]
Ddescriptor_database.cc71 FileDescriptorProto::default_instance().GetDescriptor(); in GetFileDescriptorProto()
74 message->message->GetDescriptor() == filedescriptor_descriptor) { in GetFileDescriptorProto()
Dmessage.cc744 if (message->GetDescriptor() == field_descriptor->containing_type()) { in CheckAndGetInteger()
749 message->GetDescriptor()->full_name().c_str()); in CheckAndGetInteger()
894 const Descriptor *message_descriptor = self->message->GetDescriptor(); in CheckAndGetInteger()
1060 self->message->GetDescriptor()->name().c_str(), in CheckAndGetInteger()
1359 const Descriptor* descriptor = message->GetDescriptor(); in CheckAndGetInteger()
1580 self, child_cmessage->message->GetDescriptor(), field_descriptor)); in CheckAndGetInteger()
1712 return self->message->GetDescriptor()->full_name(); in CheckAndGetInteger()
1832 self->message->GetDescriptor()->full_name().c_str(), in CheckAndGetInteger()
1838 if (other_message->message->GetDescriptor() != in CheckAndGetInteger()
1839 self->message->GetDescriptor()) { in CheckAndGetInteger()
[all …]
/external/protobuf/src/google/protobuf/
Dmessage.cc68 const Descriptor* descriptor = GetDescriptor(); in MergeFrom()
69 GOOGLE_CHECK_EQ(from.GetDescriptor(), descriptor) in MergeFrom()
72 "from: " << from.GetDescriptor()->full_name(); in MergeFrom()
81 const Descriptor* descriptor = GetDescriptor(); in CopyFrom()
82 GOOGLE_CHECK_EQ(from.GetDescriptor(), descriptor) in CopyFrom()
85 "from: " << from.GetDescriptor()->full_name(); in CopyFrom()
90 return GetDescriptor()->full_name(); in GetTypeName()
113 << "Message of type \"" << GetDescriptor()->full_name() in CheckInitialized()
158 GOOGLE_LOG(FATAL) << "Message class \"" << GetDescriptor()->full_name() in SetCachedSize()
Dany.cc64 GetTypeUrl(message.GetDescriptor(), type_url_prefix)); in PackFrom()
70 if (!InternalIs(message->GetDescriptor())) { in UnpackTo()
100 const Descriptor* descriptor = message.GetDescriptor(); in GetAnyFieldDescriptors()
Dreflection_ops.cc57 const Descriptor* descriptor = from.GetDescriptor(); in Merge()
58 GOOGLE_CHECK_EQ(to->GetDescriptor(), descriptor) in Merge()
61 << " to " << to->GetDescriptor()->full_name() << ")"; in Merge()
142 const Descriptor* descriptor = message.GetDescriptor(); in IsInitialized()
228 const Descriptor* descriptor = message.GetDescriptor(); in FindInitializationErrors()
Dmap_field.cc191 default_entry_->GetDescriptor()->FindFieldByName("value"); in InsertOrLookupMapValue()
265 default_entry_->GetDescriptor()->FindFieldByName("key"); in SyncRepeatedFieldWithMapNoLock()
267 default_entry_->GetDescriptor()->FindFieldByName("value"); in SyncRepeatedFieldWithMapNoLock()
353 default_entry_->GetDescriptor()->FindFieldByName("key"); in SyncMapWithRepeatedFieldNoLock()
355 default_entry_->GetDescriptor()->FindFieldByName("value"); in SyncMapWithRepeatedFieldNoLock()
Ddynamic_message_unittest.cc134 EXPECT_EQ(prototype_->GetDescriptor(), descriptor_); in TEST_F()
182 const Descriptor* descriptor = message->GetDescriptor(); in TEST_F()
259 const Descriptor* desc = message->GetDescriptor(); in TEST_F()
Dpreserve_unknown_enum_test.cc192 const google::protobuf::Descriptor* d = message.GetDescriptor(); in TEST()
226 const google::protobuf::Descriptor* d = message.GetDescriptor(); in TEST()
248 const google::protobuf::Descriptor* d = message.GetDescriptor(); in TEST()
Dgenerated_message_reflection_unittest.cc226 const Descriptor* descriptor = message1.GetDescriptor(); in TEST()
310 const Descriptor* descriptor = message1.GetDescriptor(); in TEST()
347 const Descriptor* descriptor = message.GetDescriptor(); in TEST()
369 const Descriptor* descriptor = message.GetDescriptor(); in TEST()
618 const Descriptor* descriptor = message.GetDescriptor(); in TEST()
803 const Descriptor* descriptor = message.GetDescriptor(); in TEST()
Dany.h75 return InternalIs(T::default_instance().GetDescriptor()); in Is()
Drepeated_field_reflection_unittest.cc66 const Descriptor* desc = message.GetDescriptor(); in TEST()
165 const Descriptor* desc = extended_message.GetDescriptor(); in TEST()
208 const Descriptor* desc = message.GetDescriptor(); in TEST()
430 const Descriptor* desc = message.GetDescriptor(); in TEST()
522 const Descriptor* desc = extended_message.GetDescriptor(); in TEST()
572 const Descriptor* desc = m0.GetDescriptor(); in TEST()
Dno_field_presence_test.cc284 const google::protobuf::Descriptor* desc = message.GetDescriptor(); in TEST()
348 const google::protobuf::Descriptor* desc = message.GetDescriptor(); in TEST()
389 const google::protobuf::Descriptor* desc = message.GetDescriptor(); in TEST()
502 const google::protobuf::Descriptor* desc = message.GetDescriptor(); in TEST()
Dservice.h140 virtual const ServiceDescriptor* GetDescriptor() = 0;
Dtext_format.cc80 const Descriptor* descriptor = message.GetDescriptor(); in GetAnyFieldDescriptors()
373 const Descriptor* descriptor = message->GetDescriptor(); in ConsumeField()
392 message->GetDescriptor()->file()->pool(), in ConsumeField()
1257 ParserImpl parser(output->GetDescriptor(), input, error_collector_, in Parse()
1274 ParserImpl parser(output->GetDescriptor(), input, error_collector_, in Merge()
1308 ParserImpl parser(output->GetDescriptor(), &input_stream, error_collector_, in ParseFieldValueFromString()
1534 message.GetDescriptor()->file()->pool()->FindMessageTypeByName( in PrintAny()
1562 const Descriptor* descriptor = message.GetDescriptor(); in Print()
/external/protobuf/python/google/protobuf/internal/
Dservice_reflection_test.py82 service_descriptor = unittest_pb2.TestService.GetDescriptor()
127 self.assertEqual(unittest_pb2.TestService_Stub.GetDescriptor(),
128 stub.GetDescriptor())
136 self.assertEqual(stub.GetDescriptor().methods[0], channel.method)
/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/nanopb-c/generator/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/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/protobuf/src/google/protobuf/util/
Dmessage_differencer_unittest.cc71 const Descriptor* descriptor = message.GetDescriptor(); in GetFieldDescriptor()
543 msg1.GetDescriptor()->FindFieldByName("optional_float"); in TEST()
600 msg1.GetDescriptor()->FindFieldByName("optional_double"); in TEST()
995 const Descriptor* desc = msg1.GetDescriptor(); in TEST()
1107 differencer1.TreatAsMap(msg1.GetDescriptor()->FindFieldByName("item"), in TEST()
1108 item->GetDescriptor()->FindFieldByName("a")); in TEST()
1109 differencer1.TreatAsSet(msg1.GetDescriptor()->FindFieldByName("rv")); in TEST()
1110 differencer1.TreatAsSet(item->GetDescriptor()->FindFieldByName("ra")); in TEST()
1114 differencer2.TreatAsMap(msg1.GetDescriptor()->FindFieldByName("item"), in TEST()
1115 item->GetDescriptor()->FindFieldByName("a")); in TEST()
[all …]
Djson_util_test.cc73 GetTypeUrl(message.GetDescriptor()), in ToJson()
81 GetTypeUrl(message->GetDescriptor()), json, &binary) in FromJson()
Dfield_mask_util.cc343 const Descriptor* descriptor = source.GetDescriptor(); in MergeMessage()
484 GOOGLE_CHECK(source.GetDescriptor() == destination->GetDescriptor()); in MergeMessageTo()

123