Lines Matching refs:pDirImpl
839 DirectoryImpl* pDirImpl = (DirectoryImpl*) rtl_allocateMemory( sizeof(DirectoryImpl) ); in _osl_openLocalRoot() local
840 if( pDirImpl ) in _osl_openLocalRoot()
844 pDirImpl->uType = DIRECTORYTYPE_LOCALROOT; in _osl_openLocalRoot()
845 pDirImpl->ustrPath = ustrSystemPath; in _osl_openLocalRoot()
846 rc = DosQueryCurrentDisk (&ulDriveNum, &pDirImpl->ulDriveMap); in _osl_openLocalRoot()
847 pDirImpl->pDirStruct = 0; in _osl_openLocalRoot()
848 pDirImpl->ulNextDrive = 1; in _osl_openLocalRoot()
849 pDirImpl->ulNextDriveMask = 1; in _osl_openLocalRoot()
856 pDirImpl->ulNextDrive = 3; in _osl_openLocalRoot()
857 pDirImpl->ulNextDriveMask <<= 2; in _osl_openLocalRoot()
860 pDirImpl->ulDriveMap &= ~0x02; in _osl_openLocalRoot()
862 *pDirectory = (oslDirectory) pDirImpl; in _osl_openLocalRoot()
882 DirectoryImpl *pDirImpl = (DirectoryImpl *)Directory; in _osl_getNextDrive() local
895 if ( !pDirImpl ) in _osl_getNextDrive()
898 while( pDirImpl->ulNextDrive <= 26) in _osl_getNextDrive()
901 if (pDirImpl->ulDriveMap & pDirImpl->ulNextDriveMask) { in _osl_getNextDrive()
904 buffer[0] = '@' + pDirImpl->ulNextDrive; in _osl_getNextDrive()
924 pDirImpl->ulNextDrive++; in _osl_getNextDrive()
925 pDirImpl->ulNextDriveMask <<= 1; in _osl_getNextDrive()
999 DirectoryImpl* pDirImpl = (DirectoryImpl*) rtl_allocateMemory( sizeof(DirectoryImpl) ); in osl_openDirectory() local
1001 if( pDirImpl ) in osl_openDirectory()
1003 pDirImpl->uType = DIRECTORYTYPE_FILESYSTEM; in osl_openDirectory()
1004 pDirImpl->pDirStruct = pdir; in osl_openDirectory()
1005 pDirImpl->ustrPath = ustrSystemPath; in osl_openDirectory()
1007 *pDirectory = (oslDirectory) pDirImpl; in osl_openDirectory()
1033 DirectoryImpl* pDirImpl = (DirectoryImpl*)Directory; in osl_getNextDirectoryItem() local
1045 if ( pDirImpl->uType == DIRECTORYTYPE_LOCALROOT) in osl_getNextDirectoryItem()
1048 pEntry = _osl_readdir_impl_(pDirImpl->pDirStruct, sal_True); in osl_getNextDirectoryItem()
1067 osl_systemPathMakeAbsolutePath(pDirImpl->ustrPath, ustrFileName, &pItemImpl->ustrFilePath); in osl_getNextDirectoryItem()
1080 DirectoryImpl* pDirImpl = (DirectoryImpl*) Directory; in osl_closeDirectory() local
1085 if( NULL == pDirImpl ) in osl_closeDirectory()
1088 switch ( pDirImpl->uType ) in osl_closeDirectory()
1091 if( closedir( pDirImpl->pDirStruct ) ) in osl_closeDirectory()
1100 DWORD err = WNetCloseEnum(pDirImpl->hDirectory); in osl_closeDirectory()
1111 rtl_uString_release( pDirImpl->ustrPath ); in osl_closeDirectory()
1113 rtl_freeMemory( pDirImpl ); in osl_closeDirectory()