/external/zlib/src/contrib/minizip/ |
D | iowin32.c | 76 static voidpf win32_build_iowin(HANDLE hFile) in win32_build_iowin() argument 80 if ((hFile != NULL) && (hFile != INVALID_HANDLE_VALUE)) in win32_build_iowin() 83 w32fiow.hf = hFile; in win32_build_iowin() 88 CloseHandle(hFile); in win32_build_iowin() 99 HANDLE hFile = NULL; in win32_open64_file_func() local 106 … hFile = CreateFile2((LPCTSTR)filename, dwDesiredAccess, dwShareMode, dwCreationDisposition, NULL); in win32_open64_file_func() 112 hFile = CreateFile2(filenameW, dwDesiredAccess, dwShareMode, dwCreationDisposition, NULL); in win32_open64_file_func() 117 …hFile = CreateFile((LPCTSTR)filename, dwDesiredAccess, dwShareMode, NULL, dwCreationDisposition, d… in win32_open64_file_func() 120 return win32_build_iowin(hFile); in win32_open64_file_func() 128 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/chromium_org/third_party/zlib/contrib/minizip/ |
D | iowin32.c | 69 static voidpf win32_build_iowin(HANDLE hFile) in win32_build_iowin() argument 73 if ((hFile != NULL) && (hFile != INVALID_HANDLE_VALUE)) in win32_build_iowin() 76 w32fiow.hf = hFile; in win32_build_iowin() 81 CloseHandle(hFile); in win32_build_iowin() 92 HANDLE hFile = NULL; in win32_open64_file_func() local 97 …hFile = CreateFile((LPCTSTR)filename, dwDesiredAccess, dwShareMode, NULL, dwCreationDisposition, d… in win32_open64_file_func() 99 return win32_build_iowin(hFile); in win32_open64_file_func() 107 HANDLE hFile = NULL; in win32_open64_file_funcA() local 112 …hFile = CreateFileA((LPCSTR)filename, dwDesiredAccess, dwShareMode, NULL, dwCreationDisposition, d… in win32_open64_file_funcA() 114 return win32_build_iowin(hFile); in win32_open64_file_funcA() [all …]
|
D | miniunz.c | 76 HANDLE hFile; local 79 hFile = CreateFileA(filename,GENERIC_READ | GENERIC_WRITE, 81 GetFileTime(hFile,&ftCreate,&ftLastAcc,&ftLastWrite); 84 SetFileTime(hFile,&ftm,&ftLastAcc,&ftm); 85 CloseHandle(hFile);
|
/external/chromium_org/third_party/npapi/npspy/common/ |
D | utils.cpp | 70 HFILE hFile = OpenFile(szFileName, &of, OF_CREATE | OF_WRITE); in XP_CreateFile() local 71 return (hFile != HFILE_ERROR) ? hFile : NULL; in XP_CreateFile() 81 HFILE hFile = OpenFile(szFileName, &of, OF_READ | OF_WRITE); in XP_OpenFile() local 82 return (hFile != HFILE_ERROR) ? hFile : NULL; in XP_OpenFile() 88 void XP_CloseFile(XP_HFILE hFile) in XP_CloseFile() argument 90 if(hFile != NULL) in XP_CloseFile() 93 CloseHandle((HANDLE)hFile); in XP_CloseFile() 95 fclose(hFile); in XP_CloseFile() 100 DWORD XP_WriteFile(XP_HFILE hFile, const void * pBuf, int iSize) in XP_WriteFile() argument 104 WriteFile((HANDLE)hFile, pBuf, iSize, &dwRet, NULL); in XP_WriteFile() [all …]
|
D | logfile.cpp | 44 hFile(NULL) in CLogFile() 51 if(hFile != NULL) in ~CLogFile() 62 hFile = XP_CreateFile(szFileName); in create() 63 return (hFile != NULL); in create() 68 if(hFile != NULL) in close() 70 XP_CloseFile(hFile); in close() 71 hFile = NULL; in close() 77 return XP_WriteFile(hFile, buf.c_str(), buf.length()); in write() 82 XP_FlushFileBuffers(hFile); in flush()
|
/external/pdfium/core/src/fxcrt/ |
D | fx_extension.cpp | 32 void FX_File_Close(FX_HFILE hFile, IFX_Allocator* pAllocator) in FX_File_Close() argument 34 FXSYS_assert(hFile != NULL); in FX_File_Close() 35 ((IFXCRT_FileAccess*)hFile)->Close(); in FX_File_Close() 36 ((IFXCRT_FileAccess*)hFile)->Release(pAllocator); in FX_File_Close() 38 FX_FILESIZE FX_File_GetSize(FX_HFILE hFile) in FX_File_GetSize() argument 40 FXSYS_assert(hFile != NULL); in FX_File_GetSize() 41 return ((IFXCRT_FileAccess*)hFile)->GetSize(); in FX_File_GetSize() 43 FX_FILESIZE FX_File_GetPosition(FX_HFILE hFile) in FX_File_GetPosition() argument 45 FXSYS_assert(hFile != NULL); in FX_File_GetPosition() 46 return ((IFXCRT_FileAccess*)hFile)->GetPosition(); in FX_File_GetPosition() [all …]
|
D | fxcrt_windows.cpp | 48 WINBASEAPI BOOL WINAPI GetFileSizeEx(HANDLE hFile, PLARGE_INTEGER lpFileSize); 49 WINBASEAPI BOOL WINAPI SetFilePointerEx(HANDLE hFile, LARGE_INTEGER liDistanceToMove, PLARGE_INTEGE…
|
/external/fio/os/ |
D | os-windows.h | 117 HANDLE hFile; in blockdev_size() local 121 if (f->hFile == NULL) { in blockdev_size() 122 hFile = CreateFile(f->file_name, GENERIC_READ, FILE_SHARE_READ | FILE_SHARE_WRITE, in blockdev_size() 125 hFile = f->hFile; in blockdev_size() 128 …if (DeviceIoControl(hFile, IOCTL_DISK_GET_LENGTH_INFO, NULL, 0, &info, sizeof(info), &outBytes, NU… in blockdev_size() 135 if (hFile != INVALID_HANDLE_VALUE && f->hFile == NULL) in blockdev_size() 136 CloseHandle(hFile); in blockdev_size()
|
/external/fio/engines/ |
D | windowsaio.c | 15 typedef BOOL (WINAPI *CANCELIOEX)(HANDLE hFile, LPOVERLAPPED lpOverlapped); 92 HANDLE hFile; in fio_windowsaio_init() local 94 hFile = CreateIoCompletionPort(INVALID_HANDLE_VALUE, NULL, 0, 0); in fio_windowsaio_init() 95 if (hFile == INVALID_HANDLE_VALUE) { in fio_windowsaio_init() 102 wd->iocp = hFile; in fio_windowsaio_init() 110 CloseHandle(hFile); in fio_windowsaio_init() 116 ctx->iocp = hFile; in fio_windowsaio_init() 196 f->hFile = CreateFile(f->file_name, access, sharemode, in fio_windowsaio_open_file() 199 if (f->hFile == INVALID_HANDLE_VALUE) { in fio_windowsaio_open_file() 211 if (CreateIoCompletionPort(f->hFile, wd->iocp, 0, 0) == NULL) { in fio_windowsaio_open_file() [all …]
|
/external/pdfium/core/include/fxcrt/ |
D | fx_stream.h | 46 void FX_File_Close(FX_HFILE hFile, IFX_Allocator* pAllocator = NULL); 47 FX_FILESIZE FX_File_GetSize(FX_HFILE hFile); 48 FX_FILESIZE FX_File_GetPosition(FX_HFILE hFile); 49 FX_FILESIZE FX_File_SetPosition(FX_HFILE hFile, FX_FILESIZE pos); 50 size_t FX_File_Read(FX_HFILE hFile, void* pBuffer, size_t szBuffer); 51 size_t FX_File_ReadPos(FX_HFILE hFile, void* pBuffer, size_t szBuffer, FX_FILESIZE pos); 52 size_t FX_File_Write(FX_HFILE hFile, const void* pBuffer, size_t szBuffer); 53 size_t FX_File_WritePos(FX_HFILE hFile, const void* pBuffer, size_t szBuffer, FX_FILESIZE pos); 54 FX_BOOL FX_File_Flush(FX_HFILE hFile); 55 FX_BOOL FX_File_Truncate(FX_HFILE hFile, FX_FILESIZE szFile);
|
/external/chromium_org/chrome/installer/util/ |
D | lzma_util.cc | 196 HANDLE hFile; in UnPack() local 197 hFile = CreateFile(file_path.value().c_str(), GENERIC_WRITE, 0, NULL, in UnPack() 199 if (hFile == INVALID_HANDLE_VALUE) { in UnPack() 205 if ((!WriteFile(hFile, outBuffer + offset, (DWORD) outSizeProcessed, in UnPack() 209 CloseHandle(hFile); in UnPack() 215 if (!SetFileTime(hFile, NULL, NULL, in UnPack() 218 CloseHandle(hFile); in UnPack() 223 if (!CloseHandle(hFile)) { in UnPack()
|
/external/chromium_org/third_party/npapi/npspy/include/ |
D | xp.h | 162 void XP_CloseFile(XP_HFILE hFile); 164 DWORD XP_WriteFile(XP_HFILE hFile, const void * pBuf, int iSize); 165 void XP_FlushFileBuffers(XP_HFILE hFile);
|
D | logfile.h | 47 XP_HFILE hFile; variable
|
/external/zlib/src/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/qemu/distrib/sdl-1.2.15/src/video/os2fslib/ |
D | SDL_os2fslib.c | 2771 FILE *hFile; in os2fslib_VideoInit() local 2789 hFile = fopen(achConfigFile, "rt"); in os2fslib_VideoInit() 2790 if (!hFile) in os2fslib_VideoInit() 2795 hFile = fopen(achConfigFile, "wt"); in os2fslib_VideoInit() 2796 if (hFile) in os2fslib_VideoInit() 2798 fprintf(hFile, "; This file is a config file of SDL/2, containing\n"); in os2fslib_VideoInit() 2799 fprintf(hFile, "; the list of executables that must have proportional\n"); in os2fslib_VideoInit() 2800 fprintf(hFile, "; windows.\n"); in os2fslib_VideoInit() 2801 fprintf(hFile, ";\n"); in os2fslib_VideoInit() 2802 fprintf(hFile, "; You can add executable filenames into this file,\n"); in os2fslib_VideoInit() [all …]
|
/external/chromium_org/third_party/sqlite/src/src/ |
D | os_win.c | 1277 winFile hFile; /* File handle from winOpen */ member 1360 rc = UnlockFileEx(pFile->hFile.h, 0, nByte, 0, &ovlp); in winShmSystemLock() 1362 rc = LockFileEx(pFile->hFile.h, dwFlags, 0, nByte, 0, &ovlp); in winShmSystemLock() 1373 pFile->hFile.h, in winShmSystemLock() 1411 if( p->hFile.h != INVALID_HANDLE_VALUE ){ in winShmPurge() 1413 winClose((sqlite3_file *)&p->hFile); in winShmPurge() 1477 ((winFile*)(&pShmNode->hFile))->h = INVALID_HANDLE_VALUE; in winOpenSharedMemory() 1489 (sqlite3_file*)&pShmNode->hFile, /* File handle here */ in winOpenSharedMemory() 1501 rc = winTruncate((sqlite3_file *)&pShmNode->hFile, 0); in winOpenSharedMemory() 1760 rc = winFileSize((sqlite3_file *)&pShmNode->hFile, &sz); in winShmMap() [all …]
|
/external/fio/ |
D | file.h | 69 HANDLE hFile; member
|
/external/chromium_org/third_party/mesa/src/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/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 | 449 ::CloseHandle(DebugEvent.u.CreateProcessInfo.hFile); in main() 476 FileScopedHandle DLLFile(DebugEvent.u.LoadDll.hFile); in main()
|
/external/chromium_org/chrome/browser/safe_browsing/ |
D | binary_feature_extractor_win.cc | 33 file_info.hFile = NULL; in CheckSignature()
|
/external/chromium_org/third_party/tcmalloc/vendor/src/windows/ |
D | patch_functions.cc | 371 HANDLE hFile, 988 HANDLE hFile, in Perftools_LoadLibraryExW() argument 1001 lpFileName, hFile, dwFlags); in Perftools_LoadLibraryExW()
|
/external/chromium_org/third_party/tcmalloc/chromium/src/windows/ |
D | patch_functions.cc | 371 HANDLE hFile, 988 HANDLE hFile, in Perftools_LoadLibraryExW() argument 1001 lpFileName, hFile, dwFlags); in Perftools_LoadLibraryExW()
|
/external/fio/os/windows/ |
D | posix.c | 533 HANDLE hFile = (HANDLE)_get_osfhandle(fildes); in fsync() local 534 if (!FlushFileBuffers(hFile)) { in fsync()
|