Home
last modified time | relevance | path

Searched refs:cc_printer (Results 1 – 2 of 2) sorted by relevance

/external/perfetto/src/protozero/protoc_plugin/
Dcppgen_plugin.cc133 Printer cc_printer(cc_fstream.get(), '$'); in Generate() local
150 cc_printer.Print("#include \"perfetto/protozero/message.h\"\n"); in Generate()
151 cc_printer.Print( in Generate()
153 cc_printer.Print("#include \"perfetto/protozero/proto_decoder.h\"\n"); in Generate()
154 cc_printer.Print("#include \"perfetto/protozero/scattered_heap_buffer.h\"\n"); in Generate()
155 cc_printer.Print(kHeader); in Generate()
156 cc_printer.Print("#if defined(__GNUC__) || defined(__clang__)\n"); in Generate()
157 cc_printer.Print("#pragma GCC diagnostic push\n"); in Generate()
158 cc_printer.Print("#pragma GCC diagnostic ignored \"-Wfloat-equal\"\n"); in Generate()
159 cc_printer.Print("#endif\n"); in Generate()
[all …]
/external/perfetto/src/ipc/protoc_plugin/
Dipc_plugin.cc274 Printer cc_printer(cc_fstream.get(), '$'); in Generate() local
294 cc_printer.Print(kBanner); in Generate()
295 cc_printer.Print("#include \"$h$\"\n", "h", GetStubName(*file) + ".h"); in Generate()
296 cc_printer.Print("#include \"perfetto/ext/ipc/codegen_helpers.h\"\n\n"); in Generate()
297 cc_printer.Print("#include <memory>\n"); in Generate()
302 GenerateServiceCpp(*file, *svc, &cc_printer); in Generate()