Home | History | Annotate | Download | only in ports

Lines Matching defs:file

5  * found in the LICENSE file.
34 int fileno = _fileno((FILE*)f);
39 HANDLE file = (HANDLE)_get_osfhandle(fileno);
40 if (INVALID_HANDLE_VALUE == file) {
46 if (0 == GetFileInformationByHandle(file, &info)) {
80 HANDLE file = (HANDLE)_get_osfhandle(fileno);
81 if (INVALID_HANDLE_VALUE == file) {
86 if (0 == GetFileSizeEx(file, &fileSize)) {
87 //TODO: use SK_TRACEHR(GetLastError(), "Could not get file size.") to report.
94 SkAutoWinMMap mmap(CreateFileMapping(file, NULL, PAGE_READONLY, 0, 0, NULL));
96 //TODO: use SK_TRACEHR(GetLastError(), "Could not create file mapping.") to report.
103 //TODO: use SK_TRACEHR(GetLastError(), "Could not map view of file.") to report.
112 return _fileno((FILE*)f);
221 // if we get here, we've found a file/dir