HomeSort by: relevance | last modified time | path
    Searched defs:hFile (Results 1 - 20 of 20) sorted by relevancy

  /src/external/bsd/file/dist/src/
fsmagic.c 140 HANDLE hFile = CreateFile((LPCSTR)fn, 0, FILE_SHARE_DELETE |
143 if (hFile != INVALID_HANDLE_VALUE) {
152 switch (GetFileType(hFile)) {
162 CloseHandle(hFile);
  /src/external/gpl3/binutils/dist/zlib/contrib/minizip/
iowin32.c 73 static voidpf win32_build_iowin(HANDLE hFile) {
76 if ((hFile != NULL) && (hFile != INVALID_HANDLE_VALUE))
79 w32fiow.hf = hFile;
84 CloseHandle(hFile);
94 HANDLE hFile = NULL;
101 hFile = CreateFile2((LPCTSTR)filename, dwDesiredAccess, dwShareMode, dwCreationDisposition, NULL);
107 hFile = CreateFile2(filenameW, dwDesiredAccess, dwShareMode, dwCreationDisposition, NULL);
112 hFile = CreateFile((LPCTSTR)filename, dwDesiredAccess, dwShareMode, NULL, dwCreationDisposition, dwFlagsAndAttributes, NULL);
115 return win32_build_iowin(hFile);
    [all...]
miniunz.c 86 HANDLE hFile;
89 hFile = CreateFileA(filename,GENERIC_READ | GENERIC_WRITE,
91 GetFileTime(hFile,&ftCreate,&ftLastAcc,&ftLastWrite);
94 SetFileTime(hFile,&ftm,&ftLastAcc,&ftm);
95 CloseHandle(hFile);
  /src/external/gpl3/binutils.old/dist/zlib/contrib/minizip/
iowin32.c 77 static voidpf win32_build_iowin(HANDLE hFile)
81 if ((hFile != NULL) && (hFile != INVALID_HANDLE_VALUE))
84 w32fiow.hf = hFile;
89 CloseHandle(hFile);
100 HANDLE hFile = NULL;
107 hFile = CreateFile2((LPCTSTR)filename, dwDesiredAccess, dwShareMode, dwCreationDisposition, NULL);
113 hFile = CreateFile2(filenameW, dwDesiredAccess, dwShareMode, dwCreationDisposition, NULL);
118 hFile = CreateFile((LPCTSTR)filename, dwDesiredAccess, dwShareMode, NULL, dwCreationDisposition, dwFlagsAndAttributes, NULL);
121 return win32_build_iowin(hFile);
    [all...]
miniunz.c 90 HANDLE hFile;
93 hFile = CreateFileA(filename,GENERIC_READ | GENERIC_WRITE,
95 GetFileTime(hFile,&ftCreate,&ftLastAcc,&ftLastWrite);
98 SetFileTime(hFile,&ftm,&ftLastAcc,&ftm);
99 CloseHandle(hFile);
  /src/external/gpl3/gdb.old/dist/zlib/contrib/minizip/
iowin32.c 77 static voidpf win32_build_iowin(HANDLE hFile)
81 if ((hFile != NULL) && (hFile != INVALID_HANDLE_VALUE))
84 w32fiow.hf = hFile;
89 CloseHandle(hFile);
100 HANDLE hFile = NULL;
107 hFile = CreateFile2((LPCTSTR)filename, dwDesiredAccess, dwShareMode, dwCreationDisposition, NULL);
113 hFile = CreateFile2(filenameW, dwDesiredAccess, dwShareMode, dwCreationDisposition, NULL);
118 hFile = CreateFile((LPCTSTR)filename, dwDesiredAccess, dwShareMode, NULL, dwCreationDisposition, dwFlagsAndAttributes, NULL);
121 return win32_build_iowin(hFile);
    [all...]
miniunz.c 90 HANDLE hFile;
93 hFile = CreateFileA(filename,GENERIC_READ | GENERIC_WRITE,
95 GetFileTime(hFile,&ftCreate,&ftLastAcc,&ftLastWrite);
98 SetFileTime(hFile,&ftm,&ftLastAcc,&ftm);
99 CloseHandle(hFile);
  /src/external/gpl3/gdb/dist/zlib/contrib/minizip/
iowin32.c 73 static voidpf win32_build_iowin(HANDLE hFile) {
76 if ((hFile != NULL) && (hFile != INVALID_HANDLE_VALUE))
79 w32fiow.hf = hFile;
84 CloseHandle(hFile);
94 HANDLE hFile = NULL;
101 hFile = CreateFile2((LPCTSTR)filename, dwDesiredAccess, dwShareMode, dwCreationDisposition, NULL);
107 hFile = CreateFile2(filenameW, dwDesiredAccess, dwShareMode, dwCreationDisposition, NULL);
112 hFile = CreateFile((LPCTSTR)filename, dwDesiredAccess, dwShareMode, NULL, dwCreationDisposition, dwFlagsAndAttributes, NULL);
115 return win32_build_iowin(hFile);
    [all...]
miniunz.c 86 HANDLE hFile;
89 hFile = CreateFileA(filename,GENERIC_READ | GENERIC_WRITE,
91 GetFileTime(hFile,&ftCreate,&ftLastAcc,&ftLastWrite);
94 SetFileTime(hFile,&ftm,&ftLastAcc,&ftm);
95 CloseHandle(hFile);
  /src/common/dist/zlib/contrib/minizip/
iowin32.c 72 static voidpf win32_build_iowin(HANDLE hFile) {
75 if ((hFile != NULL) && (hFile != INVALID_HANDLE_VALUE))
78 w32fiow.hf = hFile;
83 CloseHandle(hFile);
93 HANDLE hFile = NULL;
100 hFile = CreateFile2((LPCTSTR)filename, dwDesiredAccess, dwShareMode, dwCreationDisposition, NULL);
106 hFile = CreateFile2(filenameW, dwDesiredAccess, dwShareMode, dwCreationDisposition, NULL);
111 hFile = CreateFile((LPCTSTR)filename, dwDesiredAccess, dwShareMode, NULL, dwCreationDisposition, dwFlagsAndAttributes, NULL);
114 return win32_build_iowin(hFile);
    [all...]
miniunz.c 89 HANDLE hFile;
92 hFile = CreateFileA(filename,GENERIC_READ | GENERIC_WRITE,
94 GetFileTime(hFile,&ftCreate,&ftLastAcc,&ftLastWrite);
97 SetFileTime(hFile,&ftm,&ftLastAcc,&ftm);
98 CloseHandle(hFile);
  /src/external/gpl3/binutils/dist/zlib/contrib/untgz/
untgz.c 212 HANDLE hFile;
233 hFile = CreateFile(fname, GENERIC_WRITE, 0, NULL, OPEN_EXISTING,
236 if (hFile == INVALID_HANDLE_VALUE)
238 result = SetFileTime(hFile, NULL, NULL, &modft) ? 0 : -1;
239 CloseHandle(hFile);
  /src/external/gpl3/binutils.old/dist/zlib/contrib/untgz/
untgz.c 213 HANDLE hFile;
234 hFile = CreateFile(fname, GENERIC_WRITE, 0, NULL, OPEN_EXISTING,
237 if (hFile == INVALID_HANDLE_VALUE)
239 result = SetFileTime(hFile, NULL, NULL, &modft) ? 0 : -1;
240 CloseHandle(hFile);
  /src/external/gpl3/gdb.old/dist/zlib/contrib/untgz/
untgz.c 213 HANDLE hFile;
234 hFile = CreateFile(fname, GENERIC_WRITE, 0, NULL, OPEN_EXISTING,
237 if (hFile == INVALID_HANDLE_VALUE)
239 result = SetFileTime(hFile, NULL, NULL, &modft) ? 0 : -1;
240 CloseHandle(hFile);
  /src/external/gpl3/gdb/dist/zlib/contrib/untgz/
untgz.c 212 HANDLE hFile;
233 hFile = CreateFile(fname, GENERIC_WRITE, 0, NULL, OPEN_EXISTING,
236 if (hFile == INVALID_HANDLE_VALUE)
238 result = SetFileTime(hFile, NULL, NULL, &modft) ? 0 : -1;
239 CloseHandle(hFile);
  /src/crypto/external/bsd/heimdal/dist/lib/base/
db.c 1175 HANDLE hFile;
1182 hFile = CreateFile(dbname, GENERIC_WRITE | GENERIC_READ, 0,
1186 hFile = CreateFile(dbname, GENERIC_READ, FILE_SHARE_READ,
1189 if (hFile == INVALID_HANDLE_VALUE) {
1195 (void) CloseHandle(hFile);
1199 *fd_out = _open_osfhandle((intptr_t) hFile, 0);
1202 (void) CloseHandle(hFile);
  /src/external/gpl3/gcc/dist/libgfortran/io/
unix.c 62 id_from_handle (HANDLE hFile)
66 if (hFile == INVALID_HANDLE_VALUE)
70 if (!GetFileInformationByHandle (hFile, &FileInformation))
81 HANDLE hFile;
87 hFile = CreateFile (path, 0, 0, NULL, OPEN_EXISTING,
90 res = id_from_handle (hFile);
91 CloseHandle (hFile);
  /src/external/gpl3/gcc.old/dist/libgfortran/io/
unix.c 62 id_from_handle (HANDLE hFile)
66 if (hFile == INVALID_HANDLE_VALUE)
70 if (!GetFileInformationByHandle (hFile, &FileInformation))
81 HANDLE hFile;
87 hFile = CreateFile (path, 0, 0, NULL, OPEN_EXISTING,
90 res = id_from_handle (hFile);
91 CloseHandle (hFile);
  /src/external/bsd/zstd/dist/programs/
util.c 830 HANDLE hFile;
841 hFile=FindFirstFileA(path, &cFile);
842 if (hFile == INVALID_HANDLE_VALUE) {
851 if (!path) { FindClose(hFile); return 0; }
863 if (*bufStart == NULL) { free(path); FindClose(hFile); return 0; }
870 if (*bufStart == NULL) { free(path); FindClose(hFile); return 0; }
879 } while (FindNextFileA(hFile, &cFile));
881 FindClose(hFile);
  /src/external/public-domain/sqlite/dist/
shell.c 10117 HANDLE hFile;
10130 hFile = CreateFileW(
10135 if( hFile!=INVALID_HANDLE_VALUE ){
10136 BOOL bResult = SetFileTime(hFile, NULL, &lastAccess, &lastWrite);
10137 CloseHandle(hFile);
    [all...]

Completed in 48 milliseconds