/external/zlib/contrib/minizip/ |
D | iowin32.c | 82 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 112 … hFile = 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() 123 …hFile = 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 …]
|
D | miniunz.c | 89 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/ |
D | iowin32.c | 77 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 107 … hFile = 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() 118 …hFile = 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 …]
|
D | miniunz.c | 89 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/ |
D | extract.c | 64 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()
|
D | install.c | 1019 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/ |
D | extract.c | 65 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()
|
D | install.c | 975 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/ |
D | util.h | 397 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/ |
D | compile_sksl_tests.py | 135 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/ |
D | untgz.c | 213 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/ |
D | DebuggerThread.cpp | 424 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/ |
D | emf.c | 316 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/ |
D | util.c | 514 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/ |
D | 0008-minizip-zip-unzip-tools.patch | 42 SetFileTime(hFile,&ftm,&ftLastAcc,&ftm); 43 CloseHandle(hFile);
|
/external/fmtlib/test/ |
D | posix-mock.h | 47 DWORD GetFileSize(HANDLE hFile, LPDWORD lpFileSizeHigh);
|
D | posix-mock-test.cc | 102 DWORD test::GetFileSize(HANDLE hFile, LPDWORD lpFileSizeHigh) { in GetFileSize() argument 112 return ::GetFileSize(hFile, lpFileSizeHigh); in GetFileSize()
|
/external/oss-fuzz/projects/sleuthkit/ |
D | sleuthkit_mem_img.h | 53 static void mem_imgstat(TSK_IMG_INFO *img_info, FILE *hFile) {} in mem_imgstat() argument
|
/external/google-breakpad/src/client/windows/crash_generation/ |
D | minidump_generator.h | 104 HANDLE hFile,
|
/external/python/cpython2/Modules/_io/ |
D | fileio.c | 867 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/ |
D | dbghelp.h | 28 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/ |
D | KillTheDoctor.cpp | 448 ::CloseHandle(DebugEvent.u.CreateProcessInfo.hFile); in main() 475 FileScopedHandle DLLFile(DebugEvent.u.LoadDll.hFile); in main()
|
/external/llvm-project/llvm/utils/KillTheDoctor/ |
D | KillTheDoctor.cpp | 447 ::CloseHandle(DebugEvent.u.CreateProcessInfo.hFile); in main() 474 FileScopedHandle DLLFile(DebugEvent.u.LoadDll.hFile); in main()
|
/external/google-breakpad/src/client/windows/handler/ |
D | exception_handler.h | 305 HANDLE hFile,
|
/external/python/cpython3/Modules/ |
D | posixmodule.c | 1801 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 …]
|