Home
last modified time | relevance | path

Searched refs:inputPath (Results 1 – 14 of 14) sorted by relevance

/external/chromium_org/third_party/skia/experimental/PdfViewer/
Dpdf_viewer_main.cpp179 static bool process_pdf(const SkString& inputPath, const SkString& outputDir) { in process_pdf() argument
180 SkDebugf("Loading PDF: %s\n", inputPath.c_str()); in process_pdf()
182 SkString inputFilename = SkOSPath::Basename(inputPath.c_str()); in process_pdf()
184 SkAutoTDelete<SkPdfRenderer> renderer(SkPdfRenderer::CreateFromFile(inputPath.c_str())); in process_pdf()
186 SkDebugf("Failure loading file %s\n", inputPath.c_str()); in process_pdf()
198 SkPdfRenderer::CreateFromFile(inputPath.c_str())); in process_pdf()
211 SkDebugf("ERROR: Empty PDF Document %s\n", inputPath.c_str()); in process_pdf()
243 SkDebugf("Failures for file %s\n", inputPath.c_str()); in process_pdf()
260 SkString inputPath = SkOSPath::Join(input, inputFilename.c_str()); in process_input() local
261 if (!process_pdf(inputPath, outputDir)) { in process_input()
[all …]
/external/skia/tools/
Drender_pdfs_main.cpp150 static bool render_pdf(const SkString& inputPath, const SkString& outputDir, in render_pdf() argument
152 SkString inputFilename = SkOSPath::SkBasename(inputPath.c_str()); in render_pdf()
155 inputStream.setPath(inputPath.c_str()); in render_pdf()
157 SkDebugf("Could not open file %s\n", inputPath.c_str()); in render_pdf()
164 SkDebugf("Could not read an SkPicture from %s\n", inputPath.c_str()); in render_pdf()
169 inputPath.c_str()); in render_pdf()
200 SkString inputPath = SkOSPath::SkPathJoin(input.c_str(), inputFilename.c_str()); in process_input() local
201 if (!render_pdf(inputPath, outputDir, renderer)) { in process_input()
206 SkString inputPath(input); in process_input() local
207 if (!render_pdf(inputPath, outputDir, renderer)) { in process_input()
Drender_pictures_main.cpp142 static bool render_picture_internal(const SkString& inputPath, const SkString* writePath, in render_picture_internal() argument
146 SkString inputFilename = SkOSPath::SkBasename(inputPath.c_str()); in render_picture_internal()
157 inputStream.setPath(inputPath.c_str()); in render_picture_internal()
159 SkDebugf("Could not open file %s\n", inputPath.c_str()); in render_picture_internal()
174 SkDebugf("deserializing... %s\n", inputPath.c_str()); in render_picture_internal()
179 SkDebugf("Could not read an SkPicture from %s\n", inputPath.c_str()); in render_picture_internal()
196 inputPath.c_str()); in render_picture_internal()
265 static bool render_picture(const SkString& inputPath, const SkString* writePath, in render_picture() argument
271 bool success = render_picture_internal(inputPath, in render_picture()
299 success = render_picture_internal(inputPath, NULL, NULL, *referenceRenderer, in render_picture()
[all …]
Dbench_pictures_main.cpp158 static bool run_single_benchmark(const SkString& inputPath, in run_single_benchmark() argument
162 inputStream.setPath(inputPath.c_str()); in run_single_benchmark()
165 err.printf("Could not open file %s\n", inputPath.c_str()); in run_single_benchmark()
188 err.printf("Could not read an SkPicture from %s\n", inputPath.c_str()); in run_single_benchmark()
193 SkString filename = SkOSPath::SkBasename(inputPath.c_str()); in run_single_benchmark()
376 SkString inputPath = SkOSPath::SkPathJoin(input, inputFilename.c_str()); in process_input() local
377 if (!run_single_benchmark(inputPath, benchmark)) { in process_input()
/external/skia/experimental/PdfViewer/
Dpdf_viewer_main.cpp220 static bool process_pdf(const SkString& inputPath, const SkString& outputDir) { in process_pdf() argument
221 SkDebugf("Loading PDF: %s\n", inputPath.c_str()); in process_pdf()
223 SkString inputFilename = SkOSPath::SkBasename(inputPath.c_str()); in process_pdf()
225 SkAutoTDelete<SkPdfRenderer> renderer(SkPdfRenderer::CreateFromFile(inputPath.c_str())); in process_pdf()
227 SkDebugf("Failure loading file %s\n", inputPath.c_str()); in process_pdf()
239 SkPdfRenderer::CreateFromFile(inputPath.c_str())); in process_pdf()
252 SkDebugf("ERROR: Empty PDF Document %s\n", inputPath.c_str()); in process_pdf()
284 SkDebugf("Failures for file %s\n", inputPath.c_str()); in process_pdf()
301 SkString inputPath = SkOSPath::SkPathJoin(input, inputFilename.c_str()); in process_input() local
302 if (!process_pdf(inputPath, outputDir)) { in process_input()
[all …]
/external/chromium_org/third_party/WebKit/Tools/Scripts/
Dshow-pretty-diff32 my $inputPath = "";
34 $inputPath = $ARGV[0]
40 ($inputTempFileHandle, $inputPath) = tempfile(
67 system "$pathToPrettify " . quotemeta($inputPath) . " > $prettydiffPath";
/external/chromium_org/third_party/skia/tools/
Drender_pictures_main.cpp146 static bool render_picture_internal(const SkString& inputPath, const SkString* writePath, in render_picture_internal() argument
150 SkString inputFilename = SkOSPath::Basename(inputPath.c_str()); in render_picture_internal()
161 inputStream.setPath(inputPath.c_str()); in render_picture_internal()
163 SkDebugf("Could not open file %s\n", inputPath.c_str()); in render_picture_internal()
178 SkDebugf("deserializing... %s\n", inputPath.c_str()); in render_picture_internal()
183 SkDebugf("Could not read an SkPicture from %s\n", inputPath.c_str()); in render_picture_internal()
208 inputPath.c_str()); in render_picture_internal()
276 static bool render_picture(const SkString& inputPath, const SkString* writePath, in render_picture() argument
282 bool success = render_picture_internal(inputPath, in render_picture()
315 success = render_picture_internal(inputPath, NULL, NULL, *referenceRenderer, in render_picture()
[all …]
Dbench_pictures_main.cpp170 static bool run_single_benchmark(const SkString& inputPath, in run_single_benchmark() argument
174 inputStream.setPath(inputPath.c_str()); in run_single_benchmark()
177 err.printf("Could not open file %s\n", inputPath.c_str()); in run_single_benchmark()
200 err.printf("Could not read an SkPicture from %s\n", inputPath.c_str()); in run_single_benchmark()
215 SkString filename = SkOSPath::Basename(inputPath.c_str()); in run_single_benchmark()
396 SkString inputPath = SkOSPath::Join(input, inputFilename.c_str()); in process_input() local
397 if (!run_single_benchmark(inputPath, benchmark)) { in process_input()
/external/antlr/antlr-3.4/runtime/Python/tests/
Dt019lexer.py12 inputPath = os.path.splitext(__file__)[0] + '.input'
13 stream = antlr3.StringStream(open(inputPath).read())
Dt018llstar.py15 inputPath = os.path.splitext(__file__)[0] + '.input'
16 cStream = antlr3.StringStream(open(inputPath).read())
Dt020fuzzy.py15 inputPath = os.path.splitext(__file__)[0] + '.input'
16 stream = antlr3.StringStream(open(inputPath).read())
Dt012lexerXML.py29 inputPath = os.path.splitext(__file__)[0] + '.input'
30 stream = antlr3.StringStream(unicode(open(inputPath).read(), 'utf-8'))
Dt054main.py52 inputPath = self.writeFile("input.txt", input)
69 ['lexer.py', inputPath],
/external/qemu/android/base/files/
DPathUtils_unittest.cpp302 String inputPath = componentsToPath(input, '!'); in TEST() local
309 << "When simplifying " << inputPath.c_str(); in TEST()