Lines Matching refs:err
592 osl::FileBase::RC err = aFile.open( OpenFlag_Read ); in page() local
594 if( err != osl::FileBase::E_None ) in page()
599 err ); in page()
609 err = aFile.read( (void*) BFF,bfz,nrc ); in page()
610 if( err == osl::FileBase::E_None ) in page()
640 err ); in page()
902 bool err = in setv() local
907 if( err ) in setv()
934 osl::FileBase::RC err = in setv() local
937 if(err == osl::FileBase::E_None) in setv()
940 err = aDirItem.getFileStatus(aFileStatus); in setv()
941 if(err == osl::FileBase::E_None && in setv()
946 if(err == osl::FileBase::E_None) { in setv()
967 err = osl::File::setAttributes( in setv()
971 if( err != osl::FileBase::E_None ) in setv()
980 switch( err ) in setv()
1323 osl::FileBase::RC err = osl::DirectoryItem::get(fileUrl, *item); in getType() local
1324 if (err != osl::FileBase::E_None) { in getType()
1325 task.installError(id, TASKHANDLING_TRANSFER_BY_COPY_SOURCE, err); in getType()
1329 err = item->getFileStatus(stat); in getType()
1330 if (err != osl::FileBase::E_None) { in getType()
1331 task.installError(id, TASKHANDLING_TRANSFER_BY_COPY_SOURCESTAT, err); in getType()
1793 osl::FileBase::RC err; in write() local
1798 err = aFile.open( OpenFlag_Write | OpenFlag_Create ); in write()
1800 if( err != osl::FileBase::E_None ) in write()
1803 err = aFile.open( OpenFlag_Write ); in write()
1805 if( err != osl::FileBase::E_None ) in write()
1809 err ); in write()
1816 err = aFile.setSize( 0 ); in write()
1817 if( err != osl::FileBase::E_None ) in write()
1821 err ); in write()
1828 err = aFile.open( OpenFlag_Read | OpenFlag_NoLock ); in write()
1829 if( err == osl::FileBase::E_None ) // The file exists and shall not be overwritten in write()
1833 err ); in write()
1841 err = aFile.open( OpenFlag_Write | OpenFlag_Create | OpenFlag_NoLock ); in write()
1843 if( err != osl::FileBase::E_None ) in write()
1848 err ); in write()
1892 err = aFile.write( ((void*)(p)), in write()
1896 if( err != osl::FileBase::E_None ) in write()
1900 err ); in write()
1914 err = aFile.close(); in write()
1915 if( err != osl::FileBase::E_None ) in write()
1919 err ); in write()
1983 sal_Bool err = osl::FileBase::E_None != osl::FileBase::getSystemPathFromFileURL( Url,Unq ); in getUnqFromUrl() local
1988 if( ! err && Unq.getStr()[ l ] == '/' && in getUnqFromUrl()
1992 return err; in getUnqFromUrl()
1999 sal_Bool err = osl::FileBase::E_None != osl::FileBase::getSystemPathFromFileURL( Unq,Url ); in getUrlFromUnq() local
2003 return err; in getUrlFromUnq()
2017 osl::FileBase::RC err = osl::FileBase::E_None; in copy_recursive() local
2021 err = osl_File_copy( srcUnqPath,dstUnqPath,testExistBeforeCopy ); in copy_recursive()
2028 err = osl::Directory::create( dstUnqPath ); in copy_recursive()
2029 osl::FileBase::RC next = err; in copy_recursive()
2030 if( err == osl::FileBase::E_None ) in copy_recursive()
2036 …while( err == osl::FileBase::E_None && ( next = aDir.getNextItem( aDirItem ) ) == osl::FileBase::E… in copy_recursive()
2065 err = copy_recursive( newSrcUnqPath,newDstUnqPath,newTypeToCopy,false ); in copy_recursive()
2068 if( err == osl::FileBase::E_None && next != osl::FileBase::E_NOENT ) in copy_recursive()
2069 err = next; in copy_recursive()
2074 return err; in copy_recursive()