Lines Matching defs:file
5 * found in the LICENSE file.
145 static DEFINE_string(bisect, "", "Path to a .skp or .svg file to bisect.");
147 static DEFINE_string2(file, f, "", "Open a single file for viewing.");
172 static DEFINE_string(svgs, "", "Directory to read SVGs from, or a single SVG file.");
799 // single file mode
800 const SkString file(FLAGS_file[0]);
802 if (sk_exists(file.c_str(), kRead_SkFILE_Flag)) {
804 if (file.endsWith(sinfo.fExtension)) {
805 addSlide(SkOSPath::Basename(file.c_str()), file, sinfo.fFactory);
810 fprintf(stderr, "Unsupported file type \"%s\"\n", file.c_str());
812 fprintf(stderr, "Cannot read \"%s\"\n", file.c_str());
874 // single file