/aoo42x/main/tools/source/stream/ |
H A D | strmwnt.cxx | 52 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 D | strmos2.cxx | 57 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 …]
|
/aoo42x/main/store/inc/store/ |
H A D | store.h | 102 storeFileHandle hFile 111 storeFileHandle hFile 121 storeFileHandle hFile, 132 storeFileHandle hFile, 167 storeFileHandle hFile, 226 storeFileHandle hFile, 320 storeFileHandle hFile, 342 storeFileHandle hFile, 361 storeFileHandle hFile, 376 storeFileHandle hFile, [all …]
|
H A D | store.hxx | 105 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()
|
/aoo42x/main/xml2cmp/source/support/ |
H A D | syshelp.cxx | 179 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()
|
/aoo42x/main/tools/source/fsys/ |
H A D | fstat.cxx | 352 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 D | filecopy.cxx | 419 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()
|
/aoo42x/main/autodoc/source/cosv/storage/ |
H A D | ploc_dir.cxx | 160 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()
|
/aoo42x/main/codemaker/source/idlmaker/ |
H A D | idltype.cxx | 89 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 …]
|
/aoo42x/main/desktop/win32/source/rebase/ |
H A D | rebasegui.cxx | 73 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()
|
/aoo42x/main/sal/osl/w32/ |
H A D | tempfile.cxx | 51 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 D | file.cxx | 89 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 D | pipeimpl.cxx | 185 HANDLE hFile = CreateFile( in CreatePipeDataMapping() local 194 if ( IsValidHandle(hFile) ) in CreatePipeDataMapping() 197 (HANDLE)hFile, in CreatePipeDataMapping() 204 CloseHandle( hFile ); in CreatePipeDataMapping()
|
/aoo42x/main/fpicker/source/win32/filepicker/ |
H A D | PreviewCtrl.cxx | 504 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()
|
/aoo42x/main/fpicker/source/win32/filepicker/workbench/ |
H A D | Test_fps.cxx | 158 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()
|
/aoo42x/main/crashrep/source/win32/ |
H A D | soreport.cpp | 159 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 …]
|
/aoo42x/main/sal/workben/ |
H A D | t_readline.c | 40 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()
|
/aoo42x/main/migrationanalysis/src/driver_docs/sources/ |
H A D | CollectedFiles.cls | 254 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)
|
/aoo42x/main/codemaker/source/cunomaker/ |
H A D | cunotype.cxx | 146 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 …]
|
/aoo42x/main/migrationanalysis/src/wizard/ |
H A D | CollectedFiles.cls | 304 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)
|
/aoo42x/main/shell/source/win32/shlxthandler/infotips/ |
H A D | infotips.cxx | 138 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()
|
/aoo42x/main/setup_native/source/win32/customactions/relnotes/ |
H A D | relnotes.cxx | 101 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()
|
/aoo42x/main/store/source/ |
H A D | lockbyte.cxx | 268 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 D | store.cxx | 294 storeFileHandle hFile, in store_openDirectory() argument 306 OStoreHandle<OStorePageManager>::query (hFile)); in store_openDirectory() 404 storeFileHandle hFile, in store_openStream() argument 416 OStoreHandle<OStorePageManager>::query (hFile)); in store_openStream()
|
/aoo42x/main/sal/osl/os2/ |
H A D | pipeimpl.cxx | 180 HANDLE hFile = CreateFile( in CreatePipeDataMapping() local 189 if ( IsValidHandle(hFile) ) in CreatePipeDataMapping() 192 (HANDLE)hFile, in CreatePipeDataMapping() 199 CloseHandle( hFile ); in CreatePipeDataMapping()
|