Home
last modified time | relevance | path

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

12

/aoo41x/main/tools/source/stream/
H A Dstrmwnt.cxx52 HANDLE hFile; member in StreamData
56 hFile = 0; in StreamData()
193 return (sal_uIntPtr)pInstanceData->hFile; in GetFileHandle()
331 if( !FlushFileBuffers(pInstanceData->hFile) ) in FlushData()
529 pInstanceData->hFile = CreateFile( in Open()
539 if( pInstanceData->hFile!=INVALID_HANDLE_VALUE && ( in Open()
551 if( (pInstanceData->hFile==INVALID_HANDLE_VALUE) && in Open()
563 pInstanceData->hFile = CreateFile( in Open()
628 CloseHandle( pInstanceData->hFile ); in Close()
668 HANDLE hFile = pInstanceData->hFile; in SetSize() local
[all …]
H A Dstrmos2.cxx57 HFILE hFile; member in StreamData
62 hFile = 0; in StreamData()
181 return (sal_uIntPtr)pInstanceData->hFile; in GetFileHandle()
281 nResult = DosSetFilePtr( pInstanceData->hFile,(long)nPos, in SeekPos()
284 nResult = DosSetFilePtr( pInstanceData->hFile,0L, in SeekPos()
335 nResult = DosResetBuffer(pInstanceData->hFile ); in FlushData()
363 nResult = DosSetFileLocks(pInstanceData->hFile, in LockRange()
399 nResult = DosSetFileLocks(pInstanceData->hFile, in UnlockRange()
624 nRet = DosOpen( aFileNameA.GetBuffer(), &pInstanceData->hFile, in Open()
710 DosClose( pInstanceData->hFile ); in Close()
[all …]
/aoo41x/main/store/inc/store/
H A Dstore.h101 storeFileHandle hFile
110 storeFileHandle hFile
120 storeFileHandle hFile,
131 storeFileHandle hFile,
166 storeFileHandle hFile,
225 storeFileHandle hFile,
319 storeFileHandle hFile,
341 storeFileHandle hFile,
360 storeFileHandle hFile,
375 storeFileHandle hFile,
[all …]
H A Dstore.hxx105 storeFileHandle hFile, in create() argument
115 return store_openStream (hFile, rPath.pData, rName.pData, eMode, &m_hImpl); in create()
270 storeFileHandle hFile, in create() argument
280 return store_openDirectory (hFile, rPath.pData, rName.pData, eMode, &m_hImpl); in create()
/aoo41x/main/xml2cmp/source/support/
H A Dsyshelp.cxx179 long hFile = 0; in GatherFileNames() local
190 hFile = _findfirst( sFilter, &aEntry ); in GatherFileNames()
191 for ( bFindMore = hFile == -1; in GatherFileNames()
193 bFindMore = _findnext( hFile, &aEntry ) ) in GatherFileNames()
201 _findclose(hFile); in GatherFileNames()
258 long hFile = 0; in GatherSubDirectories() local
265 hFile = _findfirst( sFilter, &aEntry ); in GatherSubDirectories()
266 for ( bFindMore = hFile == -1; in GatherSubDirectories()
268 bFindMore = _findnext( hFile, &aEntry ) ) in GatherSubDirectories()
282 _findclose(hFile); in GatherSubDirectories()
/aoo41x/main/tools/source/fsys/
H A Dfstat.cxx352 HANDLE hFile = CreateFile( aFileName.GetBuffer(), GENERIC_WRITE, 0, 0, in SetDateTime() local
355 if ( hFile != INVALID_HANDLE_VALUE ) in SetDateTime()
357 SetFileTime( hFile, &aFileTime, &aFileTime, &aFileTime ); in SetDateTime()
358 CloseHandle( hFile ); in SetDateTime()
364 HFILE hFile = 0; in SetDateTime() local
370 APIRET nRet = DosOpen((PSZ)aFileName.GetBuffer(), &hFile, (PULONG)&nAction, in SetDateTime()
380 hFile, 1, &FileInfoBuffer, sizeof(FileInfoBuffer)); in SetDateTime()
403 DosSetFileInfo(hFile, 1, &FileInfoBuffer, sizeof(FileInfoBuffer)); in SetDateTime()
405 DosClose(hFile); in SetDateTime()
H A Dfilecopy.cxx419 HANDLE hFile = CreateFile( aFullTarget.GetBuffer(), GENERIC_WRITE, in DoCopy_Impl() local
423 if ( hFile != INVALID_HANDLE_VALUE ) in DoCopy_Impl()
425 SetFileTime( hFile, NULL, NULL, &fdSource.ftLastWriteTime ); in DoCopy_Impl()
426 CloseHandle( hFile ); in DoCopy_Impl()
/aoo41x/main/cosv/source/storage/
H A Dploc_dir.cxx160 long hFile = _findfirst( sFilter.c_str(), &aEntry ); in GetContainedDirectories() local
162 for ( int bFindMore = (hFile == -1 ? 1 : 0); in GetContainedDirectories()
164 bFindMore = _findnext( hFile, &aEntry ) ) in GetContainedDirectories()
172 _findclose(hFile); in GetContainedDirectories()
192 long hFile = _findfirst( sFilter.c_str(), &aEntry ); in GetContainedFiles() local
193 for ( int bFindMore = (hFile == -1 ? 1 : 0); in GetContainedFiles()
195 bFindMore = _findnext( hFile, &aEntry ) ) in GetContainedFiles()
203 _findclose(hFile); in GetContainedFiles()
/aoo41x/main/desktop/win32/source/rebase/
H A Drebasegui.cxx73 HANDLE hFile; in getVirtualBaseAddress() local
79 hFile = CreateFile(pszFilePath, in getVirtualBaseAddress()
84 if ( hFile == INVALID_HANDLE_VALUE ) in getVirtualBaseAddress()
89 hFileMapping = CreateFileMapping(hFile, NULL, PAGE_READONLY, 0, 0, NULL); in getVirtualBaseAddress()
92 CloseHandle(hFile); in getVirtualBaseAddress()
100 CloseHandle(hFile); in getVirtualBaseAddress()
114 CloseHandle(hFile); in getVirtualBaseAddress()
/aoo41x/main/codemaker/source/idlmaker/
H A Didltype.cxx89 FileStream hFile; in dump() local
94 hFile.open(hFileName); in dump()
96 if(!hFile.isValid()) in dump()
103 ret = dumpHFile(hFile); in dump()
105 hFile.close(); in dump()
1075 FileStream hFile; in dump() local
1082 if(!hFile.isValid()) in dump()
1091 hFile.close(); in dump()
1204 FileStream hFile; in dump() local
1211 if(!hFile.isValid()) in dump()
[all …]
/aoo41x/main/sal/osl/w32/
H A Dtempfile.cxx51 extern "C" oslFileHandle SAL_CALL osl_createFileHandleFromOSHandle(HANDLE hFile, sal_uInt32 uFlags);
135 HANDLE hFile; in osl_win32_CreateFile_impl_() local
142 hFile = CreateFileW( in osl_win32_CreateFile_impl_()
152 if (IsValidHandle(hFile)) in osl_win32_CreateFile_impl_()
153 …*p_handle = osl_createFileHandleFromOSHandle(hFile, osl_File_OpenFlag_Read | osl_File_OpenFlag_Wri… in osl_win32_CreateFile_impl_()
155 return (sal_Bool)IsValidHandle(hFile); in osl_win32_CreateFile_impl_()
H A Dfile.cxx89 explicit FileHandle_Impl (HANDLE hFile);
219 FileHandle_Impl::FileHandle_Impl(HANDLE hFile) in FileHandle_Impl() argument
220 : m_hFile (hFile), in FileHandle_Impl()
667 HANDLE hFile, in osl_createFileHandleFromOSHandle() argument
670 if ( !IsValidHandle(hFile) ) in osl_createFileHandleFromOSHandle()
673 FileHandle_Impl * pImpl = new FileHandle_Impl(hFile); in osl_createFileHandleFromOSHandle()
677 (void) ::CloseHandle(hFile); in osl_createFileHandleFromOSHandle()
682 if (FILE_TYPE_DISK == GetFileType(hFile)) in osl_createFileHandleFromOSHandle()
689 (void) ::GetFileSizeEx(hFile, &uSize); in osl_createFileHandleFromOSHandle()
731 HANDLE hFile = CreateFileW( in osl_openFile() local
[all …]
H A Dpipeimpl.cxx185 HANDLE hFile = CreateFile( in CreatePipeDataMapping() local
194 if ( IsValidHandle(hFile) ) in CreatePipeDataMapping()
197 (HANDLE)hFile, in CreatePipeDataMapping()
204 CloseHandle( hFile ); in CreatePipeDataMapping()
/aoo41x/main/fpicker/source/win32/filepicker/
H A DPreviewCtrl.cxx504 HANDLE hFile = 0; in loadFile() local
514 hFile = CreateFile( in loadFile()
522 if ( INVALID_HANDLE_VALUE == hFile ) in loadFile()
526 fsize = GetFileSize( hFile, &fszExtra ); in loadFile()
541 hFile, pData, fsize, &nBytesRead, NULL ); in loadFile()
557 if ( hFile ) in loadFile()
558 CloseHandle( hFile ); in loadFile()
/aoo41x/main/sal/workben/
H A Dt_readline.c40 oslFileHandle hFile = 0; in main() local
52 result = osl_openFile (pFileUrl, &hFile, osl_File_OpenFlag_Read); in main()
61 result = osl_readLine (hFile, &pBuffer); in main()
75 (void) osl_closeFile (hFile); in main()
/aoo41x/main/fpicker/source/win32/filepicker/workbench/
H A DTest_fps.cxx158 HANDLE hFile = CreateFileW( in fileSelectionChanged() local
163 if (hFile == INVALID_HANDLE_VALUE) in fileSelectionChanged()
167 DWORD dwFileSize = GetFileSize (hFile, &dwHighSize) ; in fileSelectionChanged()
171 CloseHandle (hFile) ; in fileSelectionChanged()
178 … sal_Bool bSuccess = ReadFile (hFile, aDIB.getArray( ), dwFileSize, &dwBytesRead, NULL) ; in fileSelectionChanged()
179 CloseHandle (hFile); in fileSelectionChanged()
/aoo41x/main/migrationanalysis/src/driver_docs/sources/
H A DCollectedFiles.cls254 Dim hFile As Long
260 hFile = FindFirstFile(sRoot & ALL_FILES, WFD)
262 If hFile = INVALID_HANDLE_VALUE Then GoTo FinalExit
335 Loop While FindNextFile(hFile, WFD)
338 Call FindClose(hFile)
/aoo41x/main/crashrep/source/win32/
H A Dsoreport.cpp159 HANDLE hFile = CreateFile( in _tmpfile() local
167 if ( IsValidHandle( hFile ) ) in _tmpfile()
463 IN HANDLE hFile,
667 if ( hFile ) in WriteReportFile()
1868 HANDLE hFile = CreateFile( in FindDumpFile() local
1875 if ( hFile ) in FindDumpFile()
1877 CloseHandle( hFile ); in FindDumpFile()
1935 if ( hFile ) in WriteDumpFile()
1968 CloseHandle( hFile ); in WriteDumpFile()
2190 if ( hFile ) in WriteCommentFile()
[all …]
/aoo41x/main/codemaker/source/cunomaker/
H A Dcunotype.cxx146 FileStream hFile; in dump() local
151 hFile.open(hFileName); in dump()
153 if(!hFile.isValid()) in dump()
160 ret = dumpHFile(hFile); in dump()
162 hFile.close(); in dump()
2562 FileStream hFile; in dump() local
2569 if(!hFile.isValid()) in dump()
2578 hFile.close(); in dump()
2755 FileStream hFile; in dump() local
2762 if(!hFile.isValid()) in dump()
[all …]
/aoo41x/main/migrationanalysis/src/wizard/
H A DCollectedFiles.cls304 Dim hFile As Long
311 hFile = FindFirstFile(sRoot & ALL_FILES, WFD)
313 If hFile = INVALID_HANDLE_VALUE Then GoTo FinalExit
415 Loop While FindNextFile(hFile, WFD)
419 Call FindClose(hFile)
/aoo41x/main/shell/source/win32/shlxthandler/infotips/
H A Dinfotips.cxx138 HANDLE hFile = CreateFile(StringToWString(FileName).c_str(), // open file in getSizeOfFile() local
146 if (hFile != INVALID_HANDLE_VALUE) in getSizeOfFile()
148 DWORD dwSize = GetFileSize( HANDLE(hFile), NULL ); in getSizeOfFile()
149 CloseHandle( HANDLE(hFile) ); in getSizeOfFile()
/aoo41x/main/setup_native/source/win32/customactions/relnotes/
H A Drelnotes.cxx101 HANDLE hFile = CreateFile( sFullPath, 0, 0, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL); in ShowReleaseNotes() local
103 if ( IsValidHandle(hFile) ) in ShowReleaseNotes()
105 CloseHandle( hFile ); in ShowReleaseNotes()
/aoo41x/main/store/source/
H A Dlockbyte.cxx268 static void closeFile (oslFileHandle hFile) in closeFile()
270 (void) osl_closeFile (hFile); in closeFile()
484 oslFileError initialize (oslFileHandle hFile) in initialize()
488 oslFileError result = osl_getFileSize (hFile, &uSize); in initialize()
498 …return osl_mapFile (hFile, reinterpret_cast<void**>(&m_pAddr), m_nSize, 0, osl_File_MapFlag_Random… in initialize()
H A Dstore.cxx293 storeFileHandle hFile, in store_openDirectory() argument
305 OStoreHandle<OStorePageManager>::query (hFile)); in store_openDirectory()
403 storeFileHandle hFile, in store_openStream() argument
415 OStoreHandle<OStorePageManager>::query (hFile)); in store_openStream()
/aoo41x/main/sal/osl/os2/
H A Dpipeimpl.cxx180 HANDLE hFile = CreateFile( in CreatePipeDataMapping() local
189 if ( IsValidHandle(hFile) ) in CreatePipeDataMapping()
192 (HANDLE)hFile, in CreatePipeDataMapping()
199 CloseHandle( hFile ); in CreatePipeDataMapping()

Completed in 119 milliseconds

12