Home | History | Annotate | Download | only in tools

Lines Matching refs:outputDir

45 "     %s <input>... [-w <outputDir>] [--jpegQuality N] \n"
52 " outputDir: directory to write the rendered pdfs.\n\n");
121 * @param outputDir Output dir.
125 static SkWStream* open_stream(const SkString& outputDir,
127 if (outputDir.isEmpty()) {
132 if (!make_output_filepath(&outputPath, outputDir, inputFilename)) {
147 * @param outputDir Output dir.
150 static bool render_pdf(const SkString& inputPath, const SkString& outputDir,
171 SkWStream* stream(open_stream(outputDir, inputFilename));
190 * @param outputDir Output dir.
193 static int process_input(const SkString& input, const SkString& outputDir,
201 if (!render_pdf(inputPath, outputDir, renderer)) {
207 if (!render_pdf(inputPath, outputDir, renderer)) {
216 SkString* outputDir) {
227 SkDebugf("Missing outputDir for -w\n");
231 *outputDir = SkString(*argv);
265 SkString outputDir;
266 parse_commandline(argc, argv, &inputs, &outputDir);
270 failures += process_input(inputs[i], outputDir, *renderer);