Home
last modified time | relevance | path

Searched refs:proto_descriptor (Results 1 – 5 of 5) sorted by relevance

/external/perfetto/src/trace_processor/util/
Ddescriptors.cc116 ProtoDescriptor proto_descriptor(file_name, package_name, full_name, in AddNestedProtoDescriptors() local
119 descriptors_.emplace_back(std::move(proto_descriptor)); in AddNestedProtoDescriptors()
121 ProtoDescriptor& proto_descriptor = descriptors_[*prev_idx]; in AddNestedProtoDescriptors() local
122 if (proto_descriptor.type() != ProtoDescriptor::Type::kMessage) { in AddNestedProtoDescriptors()
131 auto existing_field = proto_descriptor.FindFieldByTag(field.number()); in AddNestedProtoDescriptors()
133 proto_descriptor.AddField(std::move(field)); in AddNestedProtoDescriptors()
187 ProtoDescriptor proto_descriptor(file_name, package_name, full_name, in AddEnumProtoDescriptors() local
190 descriptors_.emplace_back(std::move(proto_descriptor)); in AddEnumProtoDescriptors()
192 ProtoDescriptor& proto_descriptor = descriptors_[*prev_idx]; in AddEnumProtoDescriptors() local
193 if (proto_descriptor.type() != ProtoDescriptor::Type::kEnum) { in AddEnumProtoDescriptors()
[all …]
Dprotozero_to_text.cc168 auto& proto_descriptor = pool.descriptors()[*opt_proto_descriptor_idx]; in ProtozeroToTextInternal() local
174 auto opt_field_descriptor = proto_descriptor.FindFieldByTag(field.id()); in ProtozeroToTextInternal()
/external/perfetto/tools/ftrace_proto_gen/
Dmain.cc67 std::string proto_descriptor; in main() local
82 proto_descriptor = optarg; in main()
104 PERFETTO_CHECK(!proto_descriptor.empty()); in main()
115 if (!perfetto::base::ReadFile(proto_descriptor, &descriptor_bytes)) { in main()
116 fprintf(stderr, "Failed to open %s\n", proto_descriptor.c_str()); in main()
/external/protobuf/python/google/protobuf/
Dproto_builder.py55 proto_descriptor = factory.pool.FindMessageTypeByName(full_name)
56 proto_cls = factory.GetPrototype(proto_descriptor)
/external/perfetto/tools/
Drun_ftrace_proto_gen28 --proto_descriptor "$BUILDDIR/$DESCRIPTOR" \