Home
last modified time | relevance | path

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

12

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/pyext/
Ddescriptor_containers.cc948 static ParentDescriptor GetDescriptor(PyContainer* self) { in GetDescriptor() function
957 return GetDescriptor(self)->field_count(); in Count()
961 return GetDescriptor(self)->FindFieldByName(name); in GetByName()
966 return GetDescriptor(self)->FindFieldByCamelcaseName(name); in GetByCamelcaseName()
970 return GetDescriptor(self)->FindFieldByNumber(number); in GetByNumber()
974 return GetDescriptor(self)->field(index); in GetByIndex()
1035 return GetDescriptor(self)->nested_type_count(); in Count()
1039 return GetDescriptor(self)->FindNestedTypeByName(name); in GetByName()
1043 return GetDescriptor(self)->nested_type(index); in GetByIndex()
1087 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()
1065 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()
1709 return self->message->GetDescriptor()->full_name(); in CheckAndGetInteger()
1829 self->message->GetDescriptor()->full_name().c_str(), in CheckAndGetInteger()
1835 if (other_message->message->GetDescriptor() != in CheckAndGetInteger()
1836 self->message->GetDescriptor()) { in CheckAndGetInteger()
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/
Dmessage.cc66 const Descriptor* descriptor = GetDescriptor(); in MergeFrom()
67 GOOGLE_CHECK_EQ(from.GetDescriptor(), descriptor) in MergeFrom()
70 "from: " << from.GetDescriptor()->full_name(); in MergeFrom()
79 const Descriptor* descriptor = GetDescriptor(); in CopyFrom()
80 GOOGLE_CHECK_EQ(from.GetDescriptor(), descriptor) in CopyFrom()
83 "from: " << from.GetDescriptor()->full_name(); in CopyFrom()
88 return GetDescriptor()->full_name(); in GetTypeName()
111 << "Message of type \"" << GetDescriptor()->full_name() in CheckInitialized()
156 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()
Ddynamic_message_unittest.cc133 EXPECT_EQ(prototype_->GetDescriptor(), descriptor_); in TEST_F()
181 const Descriptor* descriptor = message->GetDescriptor(); in TEST_F()
258 const Descriptor* desc = message->GetDescriptor(); in TEST_F()
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()
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()
Dany.h75 return InternalIs(T::default_instance().GetDescriptor()); in Is()
Dservice.h140 virtual const ServiceDescriptor* GetDescriptor() = 0;
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()
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()
870 const Descriptor* descriptor = message.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()
Dtext_format.cc80 const Descriptor* descriptor = message.GetDescriptor(); in GetAnyFieldDescriptors()
375 const Descriptor* descriptor = message->GetDescriptor(); in ConsumeField()
394 message->GetDescriptor()->file()->pool(), in ConsumeField()
1289 ParserImpl parser(output->GetDescriptor(), input, error_collector_, in Parse()
1306 ParserImpl parser(output->GetDescriptor(), input, error_collector_, in Merge()
1340 ParserImpl parser(output->GetDescriptor(), &input_stream, error_collector_, in ParseFieldValueFromString()
1566 message.GetDescriptor()->file()->pool()->FindMessageTypeByName( in PrintAny()
1594 const Descriptor* descriptor = message.GetDescriptor(); in Print()
Dmessage.h322 const Descriptor* GetDescriptor() const { return GetMetadata().descriptor; } in GetDescriptor() function
1136 -1, PB::default_instance().GetDescriptor())); in GetRepeatedPtrField()
1145 PB::default_instance().GetDescriptor())); in MutableRepeatedPtrField()
Dtext_format_unittest.cc436 message.GetDescriptor()->FindFieldByName("optional_int32"), in TEST_F()
448 message.GetDescriptor()->FindFieldByName("optional_int32"), in TEST_F()
470 " { # ", message.GetDescriptor()->name(), ": ", field_index, "\n"); in PrintMessageStart()
1002 const Descriptor* d = message->GetDescriptor(); in TEST_F()
1067 const Descriptor* d = message->GetDescriptor(); in TEST_F()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/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)
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/util/
Djson_util.cc186 return string(kTypeUrlPrefix) + "/" + message.GetDescriptor()->full_name(); in GetTypeUrl()
205 const DescriptorPool* pool = message.GetDescriptor()->file()->pool(); in MessageToJsonString()
221 const DescriptorPool* pool = message->GetDescriptor()->file()->pool(); in JsonStringToMessage()
Dfield_mask_util.cc355 const Descriptor* descriptor = source.GetDescriptor(); in MergeMessage()
455 const Descriptor* descriptor = message->GetDescriptor(); in TrimMessage()
520 GOOGLE_CHECK(source.GetDescriptor() == destination->GetDescriptor()); in MergeMessageTo()
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 …]
Dmessage_differencer.cc416 if (message1.GetDescriptor() != message2.GetDescriptor()) { in CompareWithFields()
455 const Descriptor* descriptor1 = message1.GetDescriptor(); in Compare()
456 const Descriptor* descriptor2 = message2.GetDescriptor(); in Compare()
477 message1_fields.reserve(1 + message1.GetDescriptor()->field_count()); in Compare()
480 message2_fields.reserve(1 + message2.GetDescriptor()->field_count()); in Compare()
1027 any.GetDescriptor()->file()->pool()->FindMessageTypeByName( in UnpackAny()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/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
/frameworks/opt/gamesdk/samples/tuningfork/tfvalidate/
Dapk_validator.cpp239 auto aggregation_strategy_field = m->GetDescriptor() in ValidateSettings()
243 auto max_ikeys_field = agg_strat.GetDescriptor() in ValidateSettings()
250 auto ann_enum_size_field = agg_strat.GetDescriptor() in ValidateSettings()

12