Home | History | Annotate | Download | only in PdfViewer

Lines Matching refs:inputPath

217  * @param inputPath The skp file to be read.
220 static bool process_pdf(const SkString& inputPath, const SkString& outputDir) {
221 SkDebugf("Loading PDF: %s\n", inputPath.c_str());
223 SkString inputFilename = SkOSPath::SkBasename(inputPath.c_str());
225 SkAutoTDelete<SkPdfRenderer> renderer(SkPdfRenderer::CreateFromFile(inputPath.c_str()));
227 SkDebugf("Failure loading file %s\n", inputPath.c_str());
239 SkPdfRenderer::CreateFromFile(inputPath.c_str()));
252 SkDebugf("ERROR: Empty PDF Document %s\n", inputPath.c_str());
284 SkDebugf("Failures for file %s\n", inputPath.c_str());
301 SkString inputPath = SkOSPath::SkPathJoin(input, inputFilename.c_str());
302 if (!process_pdf(inputPath, outputDir)) {
307 SkString inputPath(input);
308 if (!process_pdf(inputPath, outputDir)) {