Lines Matching refs:nError2
521 ::osl::FileBase::RC nError1, nError2; in checkFile()
546 nError2 = testFile.write( pBuffer_Char, 10, nCount_write ); in checkFile()
547 if ( ::osl::FileBase::E_None == nError2 ) in checkFile()
555 nError2 = testFile.close( ); in checkFile()
556 CPPUNIT_ASSERT_MESSAGE( " in CheckFile() function, close file ", nError2 == FileBase::E_None ); in checkFile()
1534 ::osl::FileBase::RC nError1, nError2, nError3,nError4;
1544 nError2 = ::osl::FileBase::searchFileURL( aCanURL1, aUserDirectorySys, aUStr ); in searchFileURL_001()
1550 ( osl::FileBase::E_NOENT == nError2 ) && in searchFileURL_001()
1560 nError2 = ::osl::FileBase::searchFileURL( aTempDirectoryURL, aRootSys, aUStr ); in searchFileURL_002()
1573 ( osl::FileBase::E_None == nError2 ) && in searchFileURL_002()
1675 ::osl::FileBase::RC nError1, nError2;
1706 nError2 = testFile.open( OpenFlag_Create ); in createTempFile_001()
1707 if ( osl::FileBase::E_EXIST == nError2 ) { in createTempFile_001()
1713 …FileBase::E_None == nError1 ) && ( pHandle != NULL ) && ( osl::FileBase::E_EXIST== nError2 ) ); in createTempFile_001()
1721 nError2 = testFile.open( OpenFlag_Create ); in createTempFile_002()
1725 ( osl::FileBase::E_EXIST == nError2 ) ); in createTempFile_002()
1728 if ( osl::FileBase::E_EXIST == nError2 ) { in createTempFile_002()
1754 nError2 = testFile.open( OpenFlag_Create ); in createTempFile_004()
1757 …( osl::FileBase::E_None == nError1 ) && ( osl::FileBase::E_EXIST == nError2 ) &&( sal_True == bOK … in createTempFile_004()
1798 ::osl::FileBase::RC nError1, nError2;
1861 ::osl::FileBase::RC nError1, nError2;
1924 ::osl::FileBase::RC nError1, nError2;
1994 nError2 = ::osl::Directory::getVolumeInfo( aRootURL, aVolumeInfo2 ); in ctors_003()
1996 CPPUNIT_ASSERT( osl::FileBase::E_None == nError2 ); in ctors_003()
2021 ::osl::FileBase::RC nError1, nError2;
2099 ::osl::FileBase::RC nError1, nError2;
2147 ::osl::FileBase::RC nError1, nError2;
2820 ::osl::FileBase::RC nError1, nError2;
3095 ::osl::FileBase::RC nError1, nError2;
3826 ::osl::FileBase::RC nError2 = testFile.close( ); in ctors_001()
3828 ( ::osl::FileBase::E_None == nError1 ) && ( ::osl::FileBase::E_None == nError2 ) ); in ctors_001()
3838 ::osl::FileBase::RC nError2 = testFile.write( buffer, 30, nCount ); in ctors_002()
3842 ( ::osl::FileBase::E_None == nError1 ) && ( ::osl::FileBase::E_None == nError2 ) ); in ctors_002()
3857 ::osl::FileBase::RC nError1, nError2, nError3;
3881 nError2 = testFile.close( ); in open_001()
3882 CPPUNIT_ASSERT_MESSAGE("close error", ::osl::FileBase::E_None == nError2 ); in open_001()
3944 nError2 = testFile.write( buffer_write, 30, nCount_write ); in open_006()
3956 ( ::osl::FileBase::E_None == nError2 ) && in open_006()
3978 ::osl::FileBase::RC nError1, nError2, nError3;
4004 nError2 = testFile.close( ); in close_001()
4007 ::osl::FileBase::E_None == nError2 ); in close_001()
4017 nError2 = testFile.close( ); in close_002()
4022 ( ::osl::FileBase::E_None == nError2 ) && in close_002()
4793 ::osl::FileBase::RC nError1, nError2;
4830 nError2 = testFile.open( OpenFlag_Create ); in move_001()
4834 ::osl::FileBase::E_EXIST == nError2 ); in move_001()
4883 nError2 = ::osl::File::move( aTmpName4, aTmpName6 ); in move_006()
4889 nError2 = ::osl::FileBase::E_ISDIR; in move_006()
4892 ::osl::FileBase::E_NOTDIR == nError1 && ::osl::FileBase::E_ISDIR == nError2 ); in move_006()
4902 nError2 = ::osl::Directory::create( aTmpName8 ); in move_007()
4908 (::osl::FileBase::E_EXIST == nError2 ) ); in move_007()
4955 ::osl::FileBase::RC nError1, nError2;
4991 nError2 = testFile.open( OpenFlag_Create ); in remove_001()
4995 ( ::osl::FileBase::E_EXIST != nError2 ) ); in remove_001()
5040 ::osl::FileBase::RC nError1, nError2;
5063 …nError2 = ::osl::File::setAttributes( aTmpName6, Attribute_ReadOnly | Attribute_GrpRead | Attribut… in setAttributes_001()
5064 CPPUNIT_ASSERT( nError2 == FileBase::E_None); in setAttributes_001()
5077 nError2 = ::osl::File::setAttributes( aTmpName6, Attribute_ReadOnly ); in setAttributes_001()
5078 CPPUNIT_ASSERT( nError2 == FileBase::E_None); in setAttributes_001()
5103 nError2 = ::osl::File::setAttributes( aTmpName6, Attribute_Hidden); in setAttributes_002()
5105 CPPUNIT_ASSERT( nError2 == FileBase::E_None); in setAttributes_002()
5135 ::osl::FileBase::RC nError1, nError2;
5169 nError2 = ::osl::File::setTime( aTmpName6, *pTV_current, *pTV_current, *pTV_current ); in setTime_001()
5170 CPPUNIT_ASSERT_MESSAGE( errorToStr( nError2 ), nError2 == FileBase::E_None); in setTime_001()
5218 ::osl::FileBase::RC nError1, nError2;
5254 …nError2 = ::osl::File::setAttributes( aTmpName6, Attribute_ReadOnly | Attribute_GrpRead | Attribut… in sync_001()
5255 CPPUNIT_ASSERT( nError2 == FileBase::E_None); in sync_001()
5257 nError2 = tmp_file.sync(); in sync_001()
5259 CPPUNIT_ASSERT_MESSAGE("can not sync to readonly file!", nError2 == FileBase::E_None); in sync_001()
5305 ::osl::FileBase::RC nError1, nError2;
5346 ::osl::FileBase::RC nError1, nError2;
5408 ::osl::FileBase::RC nError1, nError2;
5456 ::osl::FileBase::RC nError1, nError2;
5477 nError2 = ::osl::DirectoryItem::get( aTmpName6, rItem ); in get_001()
5485 ( ::osl::FileBase::E_None == nError2 ) && in get_001()
5522 ::osl::FileBase::RC nError1, nError2;
5550 nError2 = rItem.getFileStatus( rFileStatus ); in getFileStatus_001()
5553 ( ::osl::FileBase::E_None == nError2 ) && in getFileStatus_001()
5565 nError2 = rItem.getFileStatus( rFileStatus ); in getFileStatus_002()
5568 ( ::osl::FileBase::E_INVAL == nError2 ) ); in getFileStatus_002()
5580 nError2 = rItem.getFileStatus( rFileStatus ); in getFileStatus_003()
5583 ( ::osl::FileBase::E_None == nError2 ) && in getFileStatus_003()
5616 ::osl::FileBase::RC nError1, nError2;
5644 nError2 = testDirectory.close( ); in ctors_001()
5645 CPPUNIT_ASSERT( ::osl::FileBase::E_None == nError2 ); in ctors_001()
5649 ( ::osl::FileBase::E_None == nError2 ) ); in ctors_001()
5660 nError2 = testDirectory.close( ); in ctors_002()
5661 CPPUNIT_ASSERT( ::osl::FileBase::E_None == nError2 ); in ctors_002()
5665 ( ::osl::FileBase::E_None == nError2 ) ); in ctors_002()
5680 ::osl::FileBase::RC nError1, nError2;
5708 nError2 = testDirectory.close( ); in open_001()
5713 ( ::osl::FileBase::E_None == nError2 ) ); in open_001()
5724 nError2 = testDirectory.close( ); in open_002()
5725 CPPUNIT_ASSERT( ::osl::FileBase::E_None == nError2 ); in open_002()
5740 nError2 = testDirectory.close( ); in open_003()
5741 CPPUNIT_ASSERT( ::osl::FileBase::E_None == nError2 ); in open_003()
5756 nError2 = testDirectory.close( ); in open_004()
5757 CPPUNIT_ASSERT( ::osl::FileBase::E_None == nError2 ); in open_004()
5778 ::osl::FileBase::RC nError1, nError2;
5806 nError2 = testDirectory.close( ); in isOpen_001()
5835 ::osl::FileBase::RC nError1, nError2;
5859 nError2 = testDirectory.close( ); in close_001()
5891 ::osl::FileBase::RC nError1, nError2;
5932 nError2 = testDirectory.reset( ); in reset_001()
5949 ( ::osl::FileBase::E_None == nError2 ) && in reset_001()
6001 ::osl::FileBase::RC nError1, nError2;
6086 nError2 = testDirectory.getNextItem( rItem, 3 ); in getNextItem_003()
6094 ( ::osl::FileBase::E_NOENT == nError2 ) ); in getNextItem_003()
6156 ::osl::FileBase::RC nError1, nError2;
6334 ::osl::FileBase::RC nError1, nError2;
6344 nError2 = ::osl::Directory::create( aTmpName3 ); in create_001()
6350 ( osl::FileBase::E_EXIST== nError2 ) ); in create_001()
6388 ::osl::FileBase::RC nError1, nError2;
6402 nError2 = rDirectory.open( ); in remove_001()
6406 ( osl::FileBase::E_NOENT == nError2 ) ); in remove_001()
6418 nError2 = rDirectory.open( ); in remove_002()
6419 if ( osl::FileBase::E_NOENT != nError2 ) in remove_002()