Lines Matching refs:file
5 * found in the LICENSE file.
61 ERRORF(reporter, "Failed to create tmp file %s\n", path.c_str());
80 FILE* file = ::fopen(path.c_str(), "rb");
81 SkFILEStream stream(file);
295 // This test uses file system operations that don't work out of the
304 // Test an arbitrary file stream. file streams do not support peeking.
310 auto path = SkOSPath::Join(tmpdir.c_str(), "file");
320 ERRORF(reporter, "error wrtiting to file %s", path.c_str());
503 // Seek halfway through the file. The second SkFILEStream will be created
514 FILE* file = sk_fopen(filename.c_str(), kRead_SkFILE_Flag);
515 if (!file) {
520 if (fseek(file, (long) middle, SEEK_SET) != 0) {
524 SkFILEStream stream2(file);