Home
last modified time | relevance | path

Searched refs:hFile (Results 1 – 25 of 26) sorted by relevance

12

/third_party/zlib/contrib/minizip/
Diowin32.c82 static voidpf win32_build_iowin(HANDLE hFile) in win32_build_iowin() argument
86 if ((hFile != NULL) && (hFile != INVALID_HANDLE_VALUE)) in win32_build_iowin()
89 w32fiow.hf = hFile; in win32_build_iowin()
94 CloseHandle(hFile); in win32_build_iowin()
105 HANDLE hFile = NULL; in win32_open64_file_func() local
112hFile = CreateFile2((LPCTSTR)filename, dwDesiredAccess, dwShareMode, dwCreationDisposition, NULL); in win32_open64_file_func()
118 hFile = CreateFile2(filenameW, dwDesiredAccess, dwShareMode, dwCreationDisposition, NULL); in win32_open64_file_func()
123hFile = CreateFile((LPCTSTR)filename, dwDesiredAccess, dwShareMode, NULL, dwCreationDisposition, d… in win32_open64_file_func()
126 return win32_build_iowin(hFile); in win32_open64_file_func()
134 HANDLE hFile = NULL; in win32_open64_file_funcA() local
[all …]
Dminiunz.c90 HANDLE hFile; local
93 hFile = CreateFileA(filename,GENERIC_READ | GENERIC_WRITE,
95 GetFileTime(hFile,&ftCreate,&ftLastAcc,&ftLastWrite);
98 SetFileTime(hFile,&ftm,&ftLastAcc,&ftm);
99 CloseHandle(hFile);
/third_party/skia/third_party/externals/zlib/contrib/minizip/
Diowin32.c82 static voidpf win32_build_iowin(HANDLE hFile) in win32_build_iowin() argument
86 if ((hFile != NULL) && (hFile != INVALID_HANDLE_VALUE)) in win32_build_iowin()
89 w32fiow.hf = hFile; in win32_build_iowin()
94 CloseHandle(hFile); in win32_build_iowin()
105 HANDLE hFile = NULL; in win32_open64_file_func() local
112hFile = CreateFile2((LPCTSTR)filename, dwDesiredAccess, dwShareMode, dwCreationDisposition, NULL); in win32_open64_file_func()
118 hFile = CreateFile2(filenameW, dwDesiredAccess, dwShareMode, dwCreationDisposition, NULL); in win32_open64_file_func()
123hFile = CreateFile((LPCTSTR)filename, dwDesiredAccess, dwShareMode, NULL, dwCreationDisposition, d… in win32_open64_file_func()
126 return win32_build_iowin(hFile); in win32_open64_file_func()
134 HANDLE hFile = NULL; in win32_open64_file_funcA() local
[all …]
Dminiunz.c89 HANDLE hFile; local
92 hFile = CreateFileA(filename,GENERIC_READ | GENERIC_WRITE,
94 GetFileTime(hFile,&ftCreate,&ftLastAcc,&ftLastWrite);
97 SetFileTime(hFile,&ftm,&ftLastAcc,&ftm);
98 CloseHandle(hFile);
/third_party/node/deps/v8/third_party/zlib/contrib/minizip/
Diowin32.c82 static voidpf win32_build_iowin(HANDLE hFile) in win32_build_iowin() argument
86 if ((hFile != NULL) && (hFile != INVALID_HANDLE_VALUE)) in win32_build_iowin()
89 w32fiow.hf = hFile; in win32_build_iowin()
94 CloseHandle(hFile); in win32_build_iowin()
105 HANDLE hFile = NULL; in win32_open64_file_func() local
112hFile = CreateFile2((LPCTSTR)filename, dwDesiredAccess, dwShareMode, dwCreationDisposition, NULL); in win32_open64_file_func()
118 hFile = CreateFile2(filenameW, dwDesiredAccess, dwShareMode, dwCreationDisposition, NULL); in win32_open64_file_func()
123hFile = CreateFile((LPCTSTR)filename, dwDesiredAccess, dwShareMode, NULL, dwCreationDisposition, d… in win32_open64_file_func()
126 return win32_build_iowin(hFile); in win32_open64_file_func()
134 HANDLE hFile = NULL; in win32_open64_file_funcA() local
[all …]
Dminiunz.c90 HANDLE hFile; local
93 hFile = CreateFileA(filename,GENERIC_READ | GENERIC_WRITE,
95 GetFileTime(hFile,&ftCreate,&ftLastAcc,&ftLastWrite);
98 SetFileTime(hFile,&ftm,&ftLastAcc,&ftm);
99 CloseHandle(hFile);
/third_party/lame/ACM/ADbg/
DADbg.cpp52 ,hFile(NULL) in ADbg()
107 if (my_use_file && (hFile != NULL)) { in _OutPut()
108 SetFilePointer( hFile, 0, 0, FILE_END ); in _OutPut()
110 WriteFile( hFile, tst, lstrlen(tst), &written, NULL ); in _OutPut()
149hFile = CreateFile(NewFilename, GENERIC_WRITE, FILE_SHARE_WRITE|FILE_SHARE_READ, NULL, OPEN_ALWAYS… in setDebugFile()
151 if (hFile != INVALID_HANDLE_VALUE) { in setDebugFile()
152 SetFilePointer( hFile, 0, 0, FILE_END ); in setDebugFile()
167 bool result = (hFile == NULL); in unsetDebugFile()
169 if (hFile != NULL) { in unsetDebugFile()
170 result = (CloseHandle(hFile) != 0); in unsetDebugFile()
[all …]
DADbg.h85 HANDLE hFile; variable
/third_party/ninja/src/
Dminidump-win32.cc62 HANDLE hFile = CreateFileA(temp_file, GENERIC_READ | GENERIC_WRITE, 0, NULL, in CreateWin32MiniDump() local
64 if (hFile == NULL) { in CreateWin32MiniDump()
78 hFile, mdt, (pep != 0) ? &mdei : 0, 0, 0); in CreateWin32MiniDump()
79 CloseHandle(hFile); in CreateWin32MiniDump()
/third_party/lz4/programs/
Dutil.h495 HANDLE hFile; in UTIL_prepareFileList() local
506 hFile=FindFirstFileA(path, &cFile); in UTIL_prepareFileList()
507 if (hFile == INVALID_HANDLE_VALUE) { in UTIL_prepareFileList()
517 if (!path) { FindClose(hFile); return 0; } in UTIL_prepareFileList()
528 if (*bufStart == NULL) { free(path); FindClose(hFile); return 0; } in UTIL_prepareFileList()
535 if (*bufStart == NULL) { free(path); FindClose(hFile); return 0; } in UTIL_prepareFileList()
544 } while (FindNextFileA(hFile, &cFile)); in UTIL_prepareFileList()
546 FindClose(hFile); in UTIL_prepareFileList()
/third_party/zlib/contrib/untgz/
Duntgz.c213 HANDLE hFile; in setfiletime() local
234 hFile = CreateFile(fname, GENERIC_WRITE, 0, NULL, OPEN_EXISTING, in setfiletime()
237 if (hFile == INVALID_HANDLE_VALUE) in setfiletime()
239 result = SetFileTime(hFile, NULL, NULL, &modft) ? 0 : -1; in setfiletime()
240 CloseHandle(hFile); in setfiletime()
/third_party/skia/third_party/externals/freetype/builds/windows/
Dftsystem.c238 GetFileSizeEx( HANDLE hFile, in GetFileSizeEx() argument
241 lpFileSize->u.LowPart = GetFileSize( hFile, in GetFileSizeEx()
/third_party/node/deps/zlib/patches/
D0008-minizip-zip-unzip-tools.patch42 SetFileTime(hFile,&ftm,&ftLastAcc,&ftm);
43 CloseHandle(hFile);
/third_party/node/deps/v8/third_party/zlib/patches/
D0008-minizip-zip-unzip-tools.patch42 SetFileTime(hFile,&ftm,&ftLastAcc,&ftm);
43 CloseHandle(hFile);
/third_party/mesa3d/src/gallium/auxiliary/util/
Ddbghelp.h28 HANDLE hFile; member
528 HANDLE hFile; member
546 HANDLE hFile; member
726 …DWORD64 IMAGEAPI SymLoadModule64(HANDLE hProcess,HANDLE hFile,PSTR ImageName,PSTR ModuleName,DWORD…
730 …DWORD64 IMAGEAPI SymLoadModuleEx(HANDLE hProcess,HANDLE hFile,PSTR ImageName,PSTR ModuleName,DWORD…
735 …DWORD IMAGEAPI SymLoadModule(HANDLE hProcess,HANDLE hFile,PSTR ImageName,PSTR ModuleName,DWORD Bas…
1257 …BOOL WINAPI MiniDumpWriteDump(HANDLE hProcess,DWORD ProcessId,HANDLE hFile,MINIDUMP_TYPE DumpType,…
/third_party/python/Modules/
Dposixmodule.c1885 HANDLE hFile; in win32_xstat_impl() local
1898 hFile = CreateFileW(path, access, 0, NULL, OPEN_EXISTING, flags, NULL); in win32_xstat_impl()
1899 if (hFile == INVALID_HANDLE_VALUE) { in win32_xstat_impl()
1923 hFile = CreateFileW(path, access | GENERIC_READ, in win32_xstat_impl()
1926 if (hFile == INVALID_HANDLE_VALUE) { in win32_xstat_impl()
1937 hFile = CreateFileW(path, access, 0, NULL, OPEN_EXISTING, in win32_xstat_impl()
1940 if (hFile == INVALID_HANDLE_VALUE) { in win32_xstat_impl()
1951 if (hFile != INVALID_HANDLE_VALUE) { in win32_xstat_impl()
1953 fileType = GetFileType(hFile); in win32_xstat_impl()
1978 if (!GetFileInformationByHandleEx(hFile, FileAttributeTagInfo, in win32_xstat_impl()
[all …]
/third_party/libuv/test/
Drunner-win.c40 WINBASEAPI BOOL WINAPI GetFileSizeEx(HANDLE hFile,
/third_party/lame/ACM/
DAEncodeProperties.cpp903 …HANDLE hFile = ::CreateFile(my_store_location.c_str(), 0, FILE_SHARE_READ|FILE_SHARE_WRITE, NULL, … in AEncodeProperties() local
904 ::CloseHandle(hFile); in AEncodeProperties()
/third_party/node/deps/uv/include/uv/
Dwin.h173 HANDLE hFile,
/third_party/libuv/include/uv/
Dwin.h173 HANDLE hFile,
/third_party/ntfs-3g/libntfs-3g/
Dwin32_io.c372 static BOOL WINAPI libntfs_SetFilePointerEx(HANDLE hFile, in libntfs_SetFilePointerEx() argument
376 liDistanceToMove.u.LowPart = SetFilePointer(hFile, in libntfs_SetFilePointerEx()
/third_party/skia/third_party/externals/angle2/util/windows/third_party/StackWalker/src/
DStackWalker.cpp503 IN HANDLE hFile,
/third_party/node/deps/v8/src/base/platform/
Dplatform-win32.cc1346 IN HANDLE hProcess, IN HANDLE hFile, IN PSTR ImageName, IN PSTR ModuleName,
/third_party/python/patches/
Dcpython_mingw_v3.10.2.patch3309 - HANDLE hFile;
3310 + HANDLE hFile = 0;
9426 + HANDLE hFile,
9435 + HANDLE hFile,
/third_party/sqlite/src/
Dshell.c5054 HANDLE hFile; in writeFile() local
5067 hFile = CreateFileW( in writeFile()
5072 if( hFile!=INVALID_HANDLE_VALUE ){ in writeFile()
5073 BOOL bResult = SetFileTime(hFile, NULL, &lastAccess, &lastWrite); in writeFile()
5074 CloseHandle(hFile); in writeFile()

12