Home
last modified time | relevance | path

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

12

/external/zlib/src/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.h395 HANDLE hFile; in UTIL_prepareFileList() local
406 hFile=FindFirstFileA(path, &cFile); in UTIL_prepareFileList()
407 if (hFile == INVALID_HANDLE_VALUE) { in UTIL_prepareFileList()
416 if (!path) { FindClose(hFile); return 0; } in UTIL_prepareFileList()
427 if (*bufStart == NULL) { free(path); FindClose(hFile); return 0; } in UTIL_prepareFileList()
434 if (*bufStart == NULL) { free(path); FindClose(hFile); return 0; } in UTIL_prepareFileList()
443 } while (FindNextFileA(hFile, &cFile)); in UTIL_prepareFileList()
445 FindClose(hFile); in UTIL_prepareFileList()
/external/zlib/src/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/ImageMagick/coders/
Demf.c318 hFile; in ReadEnhMetaFile() local
406 hFile=CreateFile(path,GENERIC_READ,0,NULL,OPEN_EXISTING,FILE_ATTRIBUTE_NORMAL, in ReadEnhMetaFile()
408 if (hFile == INVALID_HANDLE_VALUE) in ReadEnhMetaFile()
410 dwSize=GetFileSize(hFile,NULL); in ReadEnhMetaFile()
414 CloseHandle(hFile); in ReadEnhMetaFile()
417 ReadFile(hFile,pBits,dwSize,&dwSize,NULL); in ReadEnhMetaFile()
418 CloseHandle(hFile); in ReadEnhMetaFile()
/external/syzkaller/sys/windows/
Dsys.txt7 resource hFile[HANDLE]
10 …_create_disposition], dwFlagsAndAttributes flags[file_attributes], hTemplateFile HANDLE[opt]) hFile
Dwindows.txt29 FlushFileBuffers(hFile HANDLE)
35 GetFileInformationByHandle(hFile HANDLE, lpFileInformation ptr[inout, intptr])
36 GetFileSize(hFile HANDLE, lpFileSizeHigh ptr[inout, int32])
37 GetFileSizeEx(hFile HANDLE, lpFileSize ptr[inout, intptr])
38 GetFileType(hFile HANDLE)
39 GetFinalPathNameByHandleA(hFile HANDLE, lpszFilePath ptr[inout, int8], cchFilePath int32, dwFlags i…
40 GetFileTime(hFile HANDLE, lpCreationTime ptr[inout, intptr], lpLastAccessTime ptr[inout, intptr], l…
45 LockFile(hFile HANDLE, dwFileOffsetLow int32, dwFileOffsetHigh int32, nNumberOfBytesToLockLow int32…
46 LockFileEx(hFile HANDLE, dwFlags int32, dwReserved int32, nNumberOfBytesToLockLow int32, nNumberOfB…
47 ReadFile(hFile HANDLE, lpBuffer ptr[inout, array[int8]], nNumberOfBytesToRead int32, lpNumberOfByte…
[all …]
/external/pdfium/core/fxcrt/
Dcfx_fileaccess_windows.cpp42 WINBASEAPI BOOL WINAPI GetFileSizeEx(HANDLE hFile, PLARGE_INTEGER lpFileSize);
43 WINBASEAPI BOOL WINAPI SetFilePointerEx(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/google-breakpad/src/client/windows/crash_generation/
Dminidump_generator.h104 HANDLE hFile,
/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/swiftshader/third_party/llvm-7.0/llvm/utils/KillTheDoctor/
DKillTheDoctor.cpp448 ::CloseHandle(DebugEvent.u.CreateProcessInfo.hFile); in main()
475 FileScopedHandle DLLFile(DebugEvent.u.LoadDll.hFile); in main()
/external/swiftshader/third_party/LLVM/utils/KillTheDoctor/
DKillTheDoctor.cpp487 ::CloseHandle(DebugEvent.u.CreateProcessInfo.hFile); in main()
514 FileScopedHandle DLLFile(DebugEvent.u.LoadDll.hFile); in main()
/external/tensorflow/tensorflow/core/platform/windows/
Dwindows_file_system.cc149 WindowsWritableFile(const string& fname, HANDLE hFile) in WindowsWritableFile() argument
150 : filename_(fname), hfile_(hFile) {} in WindowsWritableFile()
/external/google-breakpad/src/client/windows/handler/
Dexception_handler.h303 HANDLE hFile,
/external/python/cpython3/Modules/
Dposixmodule.c1637 HANDLE hFile, hFile2; in win32_xstat_impl() local
1643 hFile = CreateFileW( in win32_xstat_impl()
1657 if (hFile == INVALID_HANDLE_VALUE) { in win32_xstat_impl()
1678 if (!GetFileInformationByHandle(hFile, &info)) { in win32_xstat_impl()
1679 CloseHandle(hFile); in win32_xstat_impl()
1683 if (!win32_get_reparse_tag(hFile, &reparse_tag)) { in win32_xstat_impl()
1684 CloseHandle(hFile); in win32_xstat_impl()
1689 if (!CloseHandle(hFile)) in win32_xstat_impl()
1717 CloseHandle(hFile); in win32_xstat_impl()
3748 HANDLE hFile; in os__getfinalpathname_impl() local
[all …]
/external/mdnsresponder/mDNSWindows/mdnsNSP/
DmdnsNSP.c1847 HostsFile * hFile; in InHostsTable() local
1851 err = HostsFileOpen( &hFile, hFileName ); in InHostsTable()
1854 while ( HostsFileNext( hFile, &node ) == 0 ) in InHostsTable()
1867 HostsFileClose( hFile ); in InHostsTable()
/external/python/cpython2/Objects/
Dfileobject.c880 HANDLE hFile; in file_truncate() local
893 hFile = (HANDLE)_get_osfhandle(fileno(f->f_fp)); in file_truncate()
894 ret = hFile == (HANDLE)-1; in file_truncate()
896 ret = SetEndOfFile(hFile) == 0; in file_truncate()
/external/python/cpython2/Modules/
Dposixmodule.c2968 HANDLE hFile; in posix_utime() local
2976 hFile = CreateFileW(wpath, FILE_WRITE_ATTRIBUTES, 0, in posix_utime() local
2980 if (hFile == INVALID_HANDLE_VALUE) in posix_utime()
2992 hFile = CreateFileA(apath, FILE_WRITE_ATTRIBUTES, 0, in posix_utime() local
2996 if (hFile == INVALID_HANDLE_VALUE) { in posix_utime()
3028 if (!SetFileTime(hFile, NULL, &atime, &mtime)) { in posix_utime()
3039 CloseHandle(hFile); in posix_utime()
/external/v8/src/base/platform/
Dplatform-win32.cc1044 IN HANDLE hFile,

12