Searched refs:proto_field (Results 1 – 5 of 5) sorted by relevance
/external/perfetto/src/protozero/filtering/ |
D | filter_util.cc | 142 const auto* proto_field = proto->field(i); in ParseProtoDescriptor() local 143 const uint32_t field_id = static_cast<uint32_t>(proto_field->number()); in ParseProtoDescriptor() 146 field.name = proto_field->name(); in ParseProtoDescriptor() 147 field.type = proto_field->type_name(); in ParseProtoDescriptor() 148 if (proto_field->message_type()) { in ParseProtoDescriptor() 151 field.nested_type = ParseProtoDescriptor(proto_field->message_type(), in ParseProtoDescriptor()
|
/external/rust/crates/protobuf-codegen/src/field/ |
D | mod.rs | 433 pub proto_field: FieldWithContext<'a>, field 508 proto_field: field.clone(), in parse() 517 rt::tag_size(self.proto_field.number()) in tag_size() 709 assert!(self.proto_field.field.has_default_value()); in defaut_value_from_proto_float() 716 let proto_default = self.proto_field.field.get_default_value(); in defaut_value_from_proto_float() 738 } else if self.proto_field.field.has_default_value() { in default_value_from_proto() 739 let proto_default = self.proto_field.field.get_default_value(); in default_value_from_proto() 817 let prefix = match (self.proto_field.field.get_label(), self.syntax) { in reconstruct_def() 826 field_type_protobuf_name(&self.proto_field.field), in reconstruct_def() 827 self.proto_field.name(), in reconstruct_def() [all …]
|
/external/perfetto/tools/ftrace_proto_gen/ |
D | main.cc | 206 uint32_t proto_field = i + 3; in main() local 210 if (proto_field >= 327) in main() 211 proto_field++; in main() 214 perfetto::SingleEventInfo(proto, event.group(), proto_field)); in main()
|
/external/rust/crates/protobuf-codegen/src/ |
D | oneof.rs | 108 &field.proto_field, in parse() 160 .filter(|f| f.proto_field.name() == v.field.get_name()) in variants_except_group()
|
D | message.rs | 276 let number = f.proto_field.number(); in write_merge_from() 299 w.write_line(&format!("\"{}\",", field.proto_field.name())); in write_descriptor_field()
|