Lines Matching refs:osl

80         ::osl::MutexGuard aGuard( ::osl::Mutex::getGlobalMutex() );  in OO3ExtensionMigration_getImplementationName()
97 ::osl::MutexGuard aGuard( ::osl::Mutex::getGlobalMutex() ); in OO3ExtensionMigration_getSupportedServiceNames()
123 ::osl::FileBase::RC OO3ExtensionMigration::checkAndCreateDirectory( INetURLObject& rDirURL ) in checkAndCreateDirectory()
125 …::osl::FileBase::RC aResult = ::osl::Directory::create( rDirURL.GetMainURL( INetURLObject::DECODE_… in checkAndCreateDirectory()
126 if ( aResult == ::osl::FileBase::E_NOENT ) in checkAndCreateDirectory()
131 return ::osl::Directory::create( rDirURL.GetMainURL( INetURLObject::DECODE_TO_IURI ) ); in checkAndCreateDirectory()
141 osl::Directory aScanRootDir( sSourceDir ); in scanUserExtensions()
142 osl::FileStatus fs(FileStatusMask_Type | FileStatusMask_FileURL); in scanUserExtensions()
143 osl::FileBase::RC nRetCode = aScanRootDir.open(); in scanUserExtensions()
144 if ( nRetCode == osl::Directory::E_None ) in scanUserExtensions()
147 osl::DirectoryItem aItem; in scanUserExtensions()
148 while ( aScanRootDir.getNextItem( aItem, nHint ) == osl::Directory::E_None ) in scanUserExtensions()
150 if (( aItem.getFileStatus(fs) == osl::FileBase::E_None ) && in scanUserExtensions()
151 ( fs.getFileType() == osl::FileStatus::Directory )) in scanUserExtensions()
156 osl::DirectoryItem aExtDirItem; in scanUserExtensions()
157 osl::Directory aExtensionRootDir( sExtensionFolderURL ); in scanUserExtensions()
160 if (( nRetCode == osl::Directory::E_None ) && in scanUserExtensions()
161 … ( aExtensionRootDir.getNextItem( aExtDirItem, nHint ) == osl::Directory::E_None )) in scanUserExtensions()
163 bool bFileStatus = aExtDirItem.getFileStatus(fs) == osl::FileBase::E_None; in scanUserExtensions()
164 bool bIsDir = fs.getFileType() == osl::FileStatus::Directory; in scanUserExtensions()
182 osl::Directory aDir(sExtFolder); in scanExtensionFolder()
185 if (aDir.open() == osl::FileBase::E_None) in scanExtensionFolder()
188 osl::DirectoryItem item; in scanExtensionFolder()
189 osl::FileStatus fs(FileStatusMask_Type | FileStatusMask_FileURL); in scanExtensionFolder()
191 while ((aDir.getNextItem(item) == osl::FileBase::E_None ) && in scanExtensionFolder()
194 if (item.getFileStatus(fs) == osl::FileBase::E_None) in scanExtensionFolder()
197 if (fs.getFileType() == osl::FileStatus::Directory) in scanExtensionFolder()
415 ::osl::MutexGuard aGuard( m_aMutex ); in initialize()
447 ::osl::Directory aDir( rBaseURL); in getContent()
448 if ( aDir.open() == ::osl::FileBase::E_None ) in getContent()
452 ::osl::DirectoryItem aItem; in getContent()
453 while ( aDir.getNextItem( aItem ) == ::osl::FileBase::E_None ) in getContent()
455 ::osl::FileStatus aFileStatus( FileStatusMask_Type | FileStatusMask_FileURL ); in getContent()
456 if ( aItem.getFileStatus( aFileStatus ) == ::osl::FileBase::E_None ) in getContent()
467 ::osl::MutexGuard aGuard( m_aMutex ); in execute()