Home
last modified time | relevance | path

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

12

/external/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);
/external/rust/crates/libz-sys/src/zlib/contrib/minizip/
Diowin32.c77 static voidpf win32_build_iowin(HANDLE hFile) in win32_build_iowin() argument
81 if ((hFile != NULL) && (hFile != INVALID_HANDLE_VALUE)) in win32_build_iowin()
84 w32fiow.hf = hFile; in win32_build_iowin()
89 CloseHandle(hFile); in win32_build_iowin()
100 HANDLE hFile = NULL; in win32_open64_file_func() local
107hFile = CreateFile2((LPCTSTR)filename, dwDesiredAccess, dwShareMode, dwCreationDisposition, NULL); in win32_open64_file_func()
113 hFile = CreateFile2(filenameW, dwDesiredAccess, dwShareMode, dwCreationDisposition, NULL); in win32_open64_file_func()
118hFile = CreateFile((LPCTSTR)filename, dwDesiredAccess, dwShareMode, NULL, dwCreationDisposition, d… in win32_open64_file_func()
121 return win32_build_iowin(hFile); in win32_open64_file_func()
129 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);
/external/python/cpython3/PC/bdist_wininst/
Dextract.c64 HANDLE hFile, hFileMapping; in map_new_file() local
71 hFile = CreateFile(filename, in map_new_file()
76 if (hFile == INVALID_HANDLE_VALUE) { in map_new_file()
81 hFile = CreateFile(filename, in map_new_file()
104 if (hFile == INVALID_HANDLE_VALUE) { in map_new_file()
114 SetFileTime(hFile, &ft, &ft, &ft); in map_new_file()
120 CloseHandle(hFile); in map_new_file()
124 hFileMapping = CreateFileMapping(hFile, in map_new_file()
127 CloseHandle(hFile); in map_new_file()
Dinstall.c1019 HANDLE hFile, hFileMapping; in MapExistingFile() local
1023 hFile = CreateFile(pathname, in MapExistingFile()
1027 if (hFile == INVALID_HANDLE_VALUE) in MapExistingFile()
1029 nSizeLow = GetFileSize(hFile, &nSizeHigh); in MapExistingFile()
1030 hFileMapping = CreateFileMapping(hFile, in MapExistingFile()
1032 CloseHandle(hFile); in MapExistingFile()
/external/python/cpython2/PC/bdist_wininst/
Dextract.c65 HANDLE hFile, hFileMapping; in map_new_file() local
72 hFile = CreateFile(filename, in map_new_file()
77 if (hFile == INVALID_HANDLE_VALUE) { in map_new_file()
82 hFile = CreateFile(filename, in map_new_file()
105 if (hFile == INVALID_HANDLE_VALUE) { in map_new_file()
115 SetFileTime(hFile, &ft, &ft, &ft); in map_new_file()
121 CloseHandle(hFile); in map_new_file()
125 hFileMapping = CreateFileMapping(hFile, in map_new_file()
128 CloseHandle(hFile); in map_new_file()
Dinstall.c975 HANDLE hFile, hFileMapping; in MapExistingFile() local
979 hFile = CreateFile(pathname, in MapExistingFile()
983 if (hFile == INVALID_HANDLE_VALUE) in MapExistingFile()
985 nSizeLow = GetFileSize(hFile, &nSizeHigh); in MapExistingFile()
986 hFileMapping = CreateFileMapping(hFile, in MapExistingFile()
988 CloseHandle(hFile); in MapExistingFile()
/external/lz4/programs/
Dutil.h397 HANDLE hFile; in UTIL_prepareFileList() local
408 hFile=FindFirstFileA(path, &cFile); in UTIL_prepareFileList()
409 if (hFile == INVALID_HANDLE_VALUE) { in UTIL_prepareFileList()
419 if (!path) { FindClose(hFile); return 0; } in UTIL_prepareFileList()
430 if (*bufStart == NULL) { free(path); FindClose(hFile); return 0; } in UTIL_prepareFileList()
437 if (*bufStart == NULL) { free(path); FindClose(hFile); return 0; } in UTIL_prepareFileList()
446 } while (FindNextFileA(hFile, &cFile)); in UTIL_prepareFileList()
448 FindClose(hFile); in UTIL_prepareFileList()
/external/skia/gn/
Dcompile_sksl_tests.py135 hFile = open(target + hExtension, 'r') variable
138 hFile.close()
140 elif hFile.readline().startswith("### Compilation failed"):
/external/rust/crates/libz-sys/src/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()
/external/llvm-project/lldb/source/Plugins/Process/Windows/Common/
DDebuggerThread.cpp424 m_image_file = info.hFile; in HandleCreateProcessEvent()
460 if (info.hFile == nullptr) { in HandleLoadDllEvent()
469 GetFinalPathNameByHandleW(info.hFile, &buffer[0], 0, VOLUME_NAME_DOS); in HandleLoadDllEvent()
472 required_size = GetFinalPathNameByHandleW(info.hFile, &buffer[0], in HandleLoadDllEvent()
496 ::CloseHandle(info.hFile); in HandleLoadDllEvent()
/external/ImageMagick/coders/
Demf.c316 hFile; in ReadEnhMetaFile() local
404 hFile=CreateFile(path,GENERIC_READ,0,NULL,OPEN_EXISTING,FILE_ATTRIBUTE_NORMAL, in ReadEnhMetaFile()
406 if (hFile == INVALID_HANDLE_VALUE) in ReadEnhMetaFile()
408 dwSize=GetFileSize(hFile,NULL); in ReadEnhMetaFile()
412 CloseHandle(hFile); in ReadEnhMetaFile()
415 ReadFile(hFile,pBits,dwSize,&dwSize,NULL); in ReadEnhMetaFile()
416 CloseHandle(hFile); in ReadEnhMetaFile()
/external/zstd/programs/
Dutil.c514 HANDLE hFile; in UTIL_prepareFileList() local
525 hFile=FindFirstFileA(path, &cFile); in UTIL_prepareFileList()
526 if (hFile == INVALID_HANDLE_VALUE) { in UTIL_prepareFileList()
535 if (!path) { FindClose(hFile); return 0; } in UTIL_prepareFileList()
547 if (*bufStart == NULL) { free(path); FindClose(hFile); return 0; } in UTIL_prepareFileList()
554 if (*bufStart == NULL) { free(path); FindClose(hFile); return 0; } in UTIL_prepareFileList()
563 } while (FindNextFileA(hFile, &cFile)); in UTIL_prepareFileList()
565 FindClose(hFile); in UTIL_prepareFileList()
/external/angle/third_party/zlib/patches/
D0008-minizip-zip-unzip-tools.patch42 SetFileTime(hFile,&ftm,&ftLastAcc,&ftm);
43 CloseHandle(hFile);
/external/fmtlib/test/
Dposix-mock.h47 DWORD GetFileSize(HANDLE hFile, LPDWORD lpFileSizeHigh);
Dposix-mock-test.cc102 DWORD test::GetFileSize(HANDLE hFile, LPDWORD lpFileSizeHigh) { in GetFileSize() argument
112 return ::GetFileSize(hFile, lpFileSizeHigh); in GetFileSize()
/external/oss-fuzz/projects/sleuthkit/
Dsleuthkit_mem_img.h53 static void mem_imgstat(TSK_IMG_INFO *img_info, FILE *hFile) {} in mem_imgstat() argument
/external/google-breakpad/src/client/windows/crash_generation/
Dminidump_generator.h104 HANDLE hFile,
/external/python/cpython2/Modules/_io/
Dfileio.c867 HANDLE hFile; in fileio_truncate() local
888 hFile = (HANDLE)_get_osfhandle(fd); in fileio_truncate()
889 ret = hFile == (HANDLE)-1; /* testing for INVALID_HANDLE value */ in fileio_truncate()
891 ret = SetEndOfFile(hFile) == 0; in fileio_truncate()
/external/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,…
/external/llvm/utils/KillTheDoctor/
DKillTheDoctor.cpp448 ::CloseHandle(DebugEvent.u.CreateProcessInfo.hFile); in main()
475 FileScopedHandle DLLFile(DebugEvent.u.LoadDll.hFile); in main()
/external/llvm-project/llvm/utils/KillTheDoctor/
DKillTheDoctor.cpp447 ::CloseHandle(DebugEvent.u.CreateProcessInfo.hFile); in main()
474 FileScopedHandle DLLFile(DebugEvent.u.LoadDll.hFile); in main()
/external/google-breakpad/src/client/windows/handler/
Dexception_handler.h305 HANDLE hFile,
/external/python/cpython3/Modules/
Dposixmodule.c1801 HANDLE hFile; in win32_xstat_impl() local
1814 hFile = CreateFileW(path, access, 0, NULL, OPEN_EXISTING, flags, NULL); in win32_xstat_impl()
1815 if (hFile == INVALID_HANDLE_VALUE) { in win32_xstat_impl()
1839 hFile = CreateFileW(path, access | GENERIC_READ, in win32_xstat_impl()
1842 if (hFile == INVALID_HANDLE_VALUE) { in win32_xstat_impl()
1853 hFile = CreateFileW(path, access, 0, NULL, OPEN_EXISTING, in win32_xstat_impl()
1856 if (hFile == INVALID_HANDLE_VALUE) { in win32_xstat_impl()
1867 if (hFile != INVALID_HANDLE_VALUE) { in win32_xstat_impl()
1869 fileType = GetFileType(hFile); in win32_xstat_impl()
1894 if (!GetFileInformationByHandleEx(hFile, FileAttributeTagInfo, in win32_xstat_impl()
[all …]

12