Home
last modified time | relevance | path

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

/external/zlib/contrib/minizip/
Diowin32.c69 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
97hFile = 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
112hFile = 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 …]
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/webkit/Source/WebCore/platform/graphics/win/
DDIBPixelData.cpp54 …HANDLE hFile = ::CreateFile(filePath, GENERIC_WRITE, 0, 0, CREATE_ALWAYS, FILE_ATTRIBUTE_NORMAL, 0… in writeToFile() local
55 if (INVALID_HANDLE_VALUE == hFile) in writeToFile()
79 ::WriteFile(hFile, &header, sizeof(header), &bytesWritten, 0); in writeToFile()
80 ::WriteFile(hFile, &info, sizeof(info), &bytesWritten, 0); in writeToFile()
81 ::WriteFile(hFile, buffer(), bufferLength(), &bytesWritten, 0); in writeToFile()
83 ::CloseHandle(hFile); in writeToFile()
/external/quake/quake/src/WinQuake/
Dsys_sun.cpp50 FILE *hFile; member
63 if (!sys_handles[i].hFile) in findhandle()
100 sys_handles[i].hFile = f; in Sys_FileOpenRead()
103 …i].pMap = mmap( 0, sys_handles[i].nLen, PROT_READ, MAP_SHARED, fileno( sys_handles[i].hFile ), 0 ); in Sys_FileOpenRead()
125 sys_handles[i].hFile = f; in Sys_FileOpenWrite()
139 fclose (sys_handles[handle].hFile); in Sys_FileClose()
140 sys_handles[handle].hFile = NULL; in Sys_FileClose()
149 else fseek (sys_handles[handle].hFile, position, SEEK_SET); in Sys_FileSeek()
164 else return fread (dest, 1, count, sys_handles[handle].hFile); in Sys_FileRead()
171 return fwrite (data, 1, count, sys_handles[handle].hFile); in Sys_FileWrite()
Dconproc.cpp44 void InitConProc (HANDLE hFile, HANDLE heventParent, HANDLE heventChild) in InitConProc() argument
51 if (!hFile || !heventParent || !heventChild) in InitConProc()
54 hfileBuffer = hFile; in InitConProc()
Dconproc.h35 void InitConProc (HANDLE hFile, HANDLE heventParent, HANDLE heventChild);
Dsys_win.cpp51 static HANDLE hFile; variable
826 hFile = (HANDLE)Q_atoi (com_argv[t+1]); in WinMain()
841 InitConProc (hFile, heventParent, heventChild); in WinMain()
/external/webkit/Source/WebCore/platform/wince/
DFileSystemWinCE.cpp59 …HANDLE hFile = CreateFile(filename.charactersWithNullTermination(), GENERIC_READ, FILE_SHARE_READ,… in getFileInfo() local
62 if (hFile == INVALID_HANDLE_VALUE) in getFileInfo()
65 bool rtn = GetFileInformationByHandle(hFile, &fileInfo) ? true : false; in getFileInfo()
67 CloseHandle(hFile); in getFileInfo()
103 …HANDLE hFile = CreateFile(filename.charactersWithNullTermination(), 0, FILE_SHARE_READ | FILE_SHAR… in fileExists() local
106 CloseHandle(hFile); in fileExists()
108 return hFile != INVALID_HANDLE_VALUE; in fileExists()
/external/qemu/distrib/sdl-1.2.12/src/video/os2fslib/
DSDL_os2fslib.c2771 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/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/utils/KillTheDoctor/
DKillTheDoctor.cpp441 ::CloseHandle(DebugEvent.u.CreateProcessInfo.hFile); in main()
468 FileScopedHandle DLLFile(DebugEvent.u.LoadDll.hFile); in main()
/external/valgrind/unittest/
Dwindows_tests.cc435 HANDLE hFile = CreateFileA("ZZZ\\tmpfile", GENERIC_READ | GENERIC_WRITE, in CreateFileJob() local
438 CloseHandle(hFile); in CreateFileJob()
/external/dbus/dbus/
Ddbus-sysdeps-wince-glue.c648 CreateFileMappingA (HANDLE hFile, LPSECURITY_ATTRIBUTES lpAttributes, in CreateFileMappingA() argument
665 result = CreateFileMappingW (hFile, lpAttributes, flProtect, in CreateFileMappingA()
/external/libpcap/
Dpcap.c553 return ((int)(DWORD)p->adapter->hFile); in pcap_fileno()
/external/v8/src/
Dplatform-win32.cc1116 IN HANDLE hFile,
/external/sqlite/dist/
Dsqlite3.c34414 winFile hFile; /* File handle from winOpen */
34497 rc = osUnlockFileEx(pFile->hFile.h, 0, nByte, 0, &ovlp);
34499 rc = osLockFileEx(pFile->hFile.h, dwFlags, 0, nByte, 0, &ovlp);
34510 pFile->hFile.h,
34548 if( p->hFile.h != INVALID_HANDLE_VALUE ){
34550 winClose((sqlite3_file *)&p->hFile);
34617 ((winFile*)(&pShmNode->hFile))->h = INVALID_HANDLE_VALUE;
34629 (sqlite3_file*)&pShmNode->hFile, /* File handle here */
34640 rc = winTruncate((sqlite3_file *)&pShmNode->hFile, 0);
34900 rc = winFileSize((sqlite3_file *)&pShmNode->hFile, &sz);
[all …]
/external/sqlite/dist/orig/
Dsqlite3.c34403 winFile hFile; /* File handle from winOpen */
34486 rc = osUnlockFileEx(pFile->hFile.h, 0, nByte, 0, &ovlp);
34488 rc = osLockFileEx(pFile->hFile.h, dwFlags, 0, nByte, 0, &ovlp);
34499 pFile->hFile.h,
34537 if( p->hFile.h != INVALID_HANDLE_VALUE ){
34539 winClose((sqlite3_file *)&p->hFile);
34606 ((winFile*)(&pShmNode->hFile))->h = INVALID_HANDLE_VALUE;
34618 (sqlite3_file*)&pShmNode->hFile, /* File handle here */
34629 rc = winTruncate((sqlite3_file *)&pShmNode->hFile, 0);
34889 rc = winFileSize((sqlite3_file *)&pShmNode->hFile, &sz);
[all …]