Lines Matching refs:nBytes

101 sal_uInt16 XclImpDecrypter::Read( SvStream& rStrm, void* pData, sal_uInt16 nBytes )  in Read()  argument
104 if( pData && nBytes ) in Read()
109 nRet = OnRead( rStrm, reinterpret_cast< sal_uInt8* >( pData ), nBytes ); in Read()
113 nRet = static_cast< sal_uInt16 >( rStrm.Read( pData, nBytes ) ); in Read()
202 sal_uInt16 XclImpBiff5Decrypter::OnRead( SvStream& rStrm, sal_uInt8* pnData, sal_uInt16 nBytes ) in OnRead() argument
204 sal_uInt16 nRet = static_cast< sal_uInt16 >( rStrm.Read( pnData, nBytes ) ); in OnRead()
298 sal_uInt16 XclImpBiff8Decrypter::OnRead( SvStream& rStrm, sal_uInt8* pnData, sal_uInt16 nBytes ) in OnRead() argument
303 sal_uInt16 nBytesLeft = nBytes; in OnRead()
798 sal_Size XclImpStream::Read( void* pData, sal_Size nBytes ) in Read() argument
801 if( mbValid && pData && (nBytes > 0) ) in Read()
804 sal_Size nBytesLeft = nBytes; in Read()
823 sal_Size XclImpStream::CopyToStream( SvStream& rOutStrm, sal_Size nBytes ) in CopyToStream() argument
826 if( mbValid && (nBytes > 0) ) in CopyToStream()
829 sal_uInt8* pnBuffer = new sal_uInt8[ ::std::min( nBytes, nMaxBuffer ) ]; in CopyToStream()
830 sal_Size nBytesLeft = nBytes; in CopyToStream()
875 void XclImpStream::Ignore( sal_Size nBytes ) in Ignore() argument
878 sal_Size nBytesLeft = nBytes; in Ignore()
1139 bool XclImpStream::EnsureRawReadSize( sal_uInt16 nBytes ) in EnsureRawReadSize() argument
1141 if( mbValid && nBytes ) in EnsureRawReadSize()
1144 mbValid = mbValid && (nBytes <= mnRawRecLeft); in EnsureRawReadSize()
1150 sal_uInt16 XclImpStream::GetMaxRawReadSize( sal_Size nBytes ) const in GetMaxRawReadSize()
1152 return static_cast< sal_uInt16 >( ::std::min< sal_Size >( nBytes, mnRawRecLeft ) ); in GetMaxRawReadSize()
1155 sal_uInt16 XclImpStream::ReadRawData( void* pData, sal_uInt16 nBytes ) in ReadRawData() argument
1157 DBG_ASSERT( (nBytes <= mnRawRecLeft), "XclImpStream::ReadRawData - record overread" ); in ReadRawData()
1160 nRet = mxDecrypter->Read( mrStrm, pData, nBytes ); in ReadRawData()
1162 nRet = static_cast< sal_uInt16 >( mrStrm.Read( pData, nBytes ) ); in ReadRawData()