Searched refs:desc_proto (Results 1 – 7 of 7) sorted by relevance
/external/protobuf/python/google/protobuf/ |
D | descriptor_database.py | 161 def _ExtractSymbols(desc_proto, package): argument 171 message_name = package + '.' + desc_proto.name if package else desc_proto.name 173 for nested_type in desc_proto.nested_type: 176 for enum_type in desc_proto.enum_type:
|
D | descriptor_pool.py | 751 for desc_proto in file_proto.message_type: 752 self._SetAllFieldTypes(file_proto.package, desc_proto, scope) 759 for desc_proto in file_proto.message_type: 761 desc_proto_prefix, desc_proto.name, scope) 762 file_descriptor.message_types_by_name[desc_proto.name] = desc 774 def _ConvertMessageDescriptor(self, desc_proto, package=None, file_desc=None, argument 790 desc_name = '.'.join((package, desc_proto.name)) 792 desc_name = desc_proto.name 805 for nested in desc_proto.nested_type] 809 for enum in desc_proto.enum_type] [all …]
|
D | proto_builder.py | 122 desc_proto = file_proto.message_type.add() 123 desc_proto.name = name 125 field_proto = desc_proto.field.add()
|
D | descriptor.py | 976 def MakeDescriptor(desc_proto, package='', build_file_if_cpp=True, argument 1001 file_descriptor_proto.message_type.add().MergeFrom(desc_proto) 1020 return result.message_types_by_name[desc_proto.name] 1022 full_message_name = [desc_proto.name] 1027 for enum_proto in desc_proto.enum_type: 1037 for nested_proto in desc_proto.nested_type: 1048 for field_proto in desc_proto.field: 1075 return Descriptor(desc_proto.name, desc_name, None, None, fields, 1077 options=_OptionsOrNone(desc_proto))
|
/external/perfetto/src/traced/probes/power/ |
D | android_power_data_source.cc | 302 auto* desc_proto = descriptor_proto->add_energy_consumers(); in WriteEnergyEstimationBreakdown() local 303 desc_proto->set_energy_consumer_id(consumer.energy_consumer_id); in WriteEnergyEstimationBreakdown() 304 desc_proto->set_ordinal(consumer.ordinal); in WriteEnergyEstimationBreakdown() 305 desc_proto->set_type(consumer.type); in WriteEnergyEstimationBreakdown() 306 desc_proto->set_name(consumer.name); in WriteEnergyEstimationBreakdown()
|
/external/protobuf/src/google/protobuf/ |
D | descriptor_database.cc | 49 void RecordMessageNames(const DescriptorProto& desc_proto, in RecordMessageNames() argument 52 GOOGLE_CHECK(desc_proto.has_name()); in RecordMessageNames() 54 ? desc_proto.name() in RecordMessageNames() 55 : StrCat(prefix, ".", desc_proto.name()); in RecordMessageNames() 58 for (const auto& d : desc_proto.nested_type()) { in RecordMessageNames()
|
/external/protobuf/python/google/protobuf/internal/ |
D | reflection_test.py | 1156 desc_proto = descriptor_pb2.DescriptorProto() 1157 desc_proto.name = 'Car' 1159 AddDescriptorField(desc_proto, 'name', fdp.TYPE_STRING) 1160 AddDescriptorField(desc_proto, 'year', fdp.TYPE_INT64) 1161 AddDescriptorField(desc_proto, 'automatic', fdp.TYPE_BOOL) 1162 AddDescriptorField(desc_proto, 'price', fdp.TYPE_DOUBLE) 1165 new_field = desc_proto.field.add() 1171 desc = descriptor.MakeDescriptor(desc_proto)
|