Searched refs:h_printer (Results 1 – 2 of 2) sorted by relevance
/external/perfetto/src/ipc/protoc_plugin/ |
D | ipc_plugin.cc | 273 Printer h_printer(h_fstream.get(), '$'); in Generate() local 279 h_printer.Print(kBanner); in Generate() 280 h_printer.Print("#ifndef $guard$\n#define $guard$\n\n", "guard", guard); in Generate() 281 h_printer.Print("#include \"perfetto/ext/ipc/deferred.h\"\n"); in Generate() 282 h_printer.Print("#include \"perfetto/ext/ipc/service.h\"\n"); in Generate() 283 h_printer.Print("#include \"perfetto/ext/ipc/service_descriptor.h\"\n"); in Generate() 284 h_printer.Print("#include \"perfetto/ext/ipc/service_proxy.h\"\n\n"); in Generate() 288 h_printer.Print("#include \"$h$\"\n", "h", StripName(*file) + ".gen.h"); in Generate() 291 h_printer.Print("#include \"$h$\"\n", "h", StripName(*file_dep) + ".gen.h"); in Generate() 301 GenerateServiceHeader(*file, *svc, &h_printer); in Generate() [all …]
|
/external/perfetto/src/protozero/protoc_plugin/ |
D | cppgen_plugin.cc | 132 Printer h_printer(h_fstream.get(), '$'); in Generate() local 139 h_printer.Print(kHeader); in Generate() 140 h_printer.Print("#ifndef $g$\n#define $g$\n\n", "g", include_guard); in Generate() 141 h_printer.Print("#include <stdint.h>\n"); in Generate() 142 h_printer.Print("#include <bitset>\n"); in Generate() 143 h_printer.Print("#include <vector>\n"); in Generate() 144 h_printer.Print("#include <string>\n"); in Generate() 145 h_printer.Print("#include <type_traits>\n\n"); in Generate() 146 h_printer.Print("#include \"perfetto/protozero/cpp_message_obj.h\"\n"); in Generate() 147 h_printer.Print("#include \"perfetto/protozero/copyable_ptr.h\"\n"); in Generate() [all …]
|