Searched refs:proto_descriptor (Results 1 – 5 of 5) sorted by relevance
116 ProtoDescriptor proto_descriptor(file_name, package_name, full_name, in AddNestedProtoDescriptors() local119 descriptors_.emplace_back(std::move(proto_descriptor)); in AddNestedProtoDescriptors()121 ProtoDescriptor& proto_descriptor = descriptors_[*prev_idx]; in AddNestedProtoDescriptors() local122 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() local190 descriptors_.emplace_back(std::move(proto_descriptor)); in AddEnumProtoDescriptors()192 ProtoDescriptor& proto_descriptor = descriptors_[*prev_idx]; in AddEnumProtoDescriptors() local193 if (proto_descriptor.type() != ProtoDescriptor::Type::kEnum) { in AddEnumProtoDescriptors()[all …]
168 auto& proto_descriptor = pool.descriptors()[*opt_proto_descriptor_idx]; in ProtozeroToTextInternal() local174 auto opt_field_descriptor = proto_descriptor.FindFieldByTag(field.id()); in ProtozeroToTextInternal()
67 std::string proto_descriptor; in main() local82 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()
55 proto_descriptor = factory.pool.FindMessageTypeByName(full_name)56 proto_cls = factory.GetPrototype(proto_descriptor)
28 --proto_descriptor "$BUILDDIR/$DESCRIPTOR" \