Lines Matching refs:osl
33 using namespace osl;
71 osl::Module::getUrlFromAddress( ( void* ) &getDllURL, dirPath ); in getDllURL()
79 osl::FileBase::getAbsoluteFileURL( dirPath, libPath, dllPath ); in getDllURL()
108 ::osl::FileBase::RC nError; in createTestDirectory()
111 …::osl::FileBase::getFileURLFromSystemPath( dirname, aPathURL ); //convert if not full qualified UR… in createTestDirectory()
112 nError = ::osl::Directory::create( aPathURL ); in createTestDirectory()
113 …ASSERT_TRUE(( ::osl::FileBase::E_None == nError ) || ( nError == ::osl::FileBase::E_EXIST )) << "I… in createTestDirectory()
121 ::osl::FileBase::RC nError; in deleteTestDirectory()
123 …::osl::FileBase::getFileURLFromSystemPath( dirname, aPathURL ); //convert if not full qualified UR… in deleteTestDirectory()
125 ::osl::Directory testDir( aPathURL ); in deleteTestDirectory()
131 nError = ::osl::Directory::remove( aPathURL ); in deleteTestDirectory()
132 …ASSERT_TRUE(( ::osl::FileBase::E_None == nError ) || ( nError == ::osl::FileBase::E_NOENT )) << "I… in deleteTestDirectory()
140 ::osl::FileBase::getSystemPathFromFileURL( str, aUStr ); in ifFileExist()
144 ::osl::File strFile( aUStr ); in ifFileExist()
145 ::osl::FileBase::RC nError = strFile.open( OpenFlag_Read ); in ifFileExist()
159 ::osl::FileBase::RC nError; in deleteTestFile()
162 …::osl::FileBase::getFileURLFromSystemPath( filename, aPathURL ); //convert if not full qualified U… in deleteTestFile()
164 …nError = ::osl::File::setAttributes( aPathURL, Attribute_GrpWrite| Attribute_OwnWrite| Attribute_O… in deleteTestFile()
165 …ASSERT_TRUE(( ::osl::FileBase::E_None == nError ) || ( ::osl::FileBase::E_NOENT == nError )) << "I… in deleteTestFile()
167 nError = ::osl::File::remove( aPathURL ); in deleteTestFile()
168 …ASSERT_TRUE(( ::osl::FileBase::E_None == nError ) || ( nError == ::osl::FileBase::E_NOENT )) << "I… in deleteTestFile()
205 ::osl::Module aMod; in TEST_F()
213 ::osl::Module aMod( getDllURL( ) ); in TEST_F()
234 … bRes = osl::Module::getUrlFromAddress( ( void* ) &::osl_Module::testClass::myFunc, aFileURL ) ; in TEST_F()
245 ::osl::Module aMod( getDllURL( ) ); in TEST_F()
249 bRes = osl::Module::getUrlFromAddress( ( void* )pFunc, aFileURL ); in TEST_F()
272 ::osl::Module aMod( getDllURL( ) ); in TEST_F()
273 ::osl::Module aMod1; in TEST_F()
296 ::osl::FileBase::RC nError = ::osl::File::copy( getDllURL( ), aDLLURL ); in TEST_F()
297 …ASSERT_TRUE(nError == ::osl::FileBase::E_None) << "#copy failed. please manually clean-up director… in TEST_F()
304 ::osl::File testFile( aFileURL ); in TEST_F()
306 …ASSERT_TRUE(nError == ::osl::FileBase::E_None) << "#create failed. please manually clean-up direct… in TEST_F()
311 ::osl::Module aMod( aDLLURL ); in TEST_F()
312 ::osl::Module aMod1; in TEST_F()
338 ::osl::Module aMod( getDllURL( ) ); in TEST_F()
357 ::osl::Module aMod; in TEST_F()
377 ::osl::Module aMod( getDllURL( ) ); in TEST_F()
398 ::osl::Module aMod; in TEST_F()
412 ::osl::Module aMod( getDllURL( ) ); in TEST_F()
436 ::osl::Module aMod( getDllURL( ) ); in TEST_F()
439 bRes = ::osl::Module::getUrlFromAddress( oslFunc, aLibraryURL); in TEST_F()