| /aoo41x/main/jurt/com/sun/star/comp/connections/ | 
| H A D | PipedConnection.java | 172 		aReadBytes[0] = new byte[nBytesToRead];  in read() 174 		if(DEBUG) System.err.println("##### PipedConnection.read - bytes:" + nBytesToRead + " at:" + _in);  in read() 177 		while(nBytesToRead > 0 && (_in != _out || !_closed)) {  in read() 190 				int bytes = Math.min(nBytesToRead, _out - _in);  in read() 192 				System.arraycopy(_buffer, _in, aReadBytes[0], aReadBytes[0].length - nBytesToRead, bytes);  in read() 194 				nBytesToRead -= bytes;  in read() 198 				int bytes = Math.min(nBytesToRead, _buffer.length - _in);  in read() 200 				System.arraycopy(_buffer, _in, aReadBytes[0], aReadBytes[0].length - nBytesToRead, bytes);  in read() 202 				nBytesToRead -= bytes;  in read() 209 		if(nBytesToRead > 0) { // not all bytes read  in read() [all …] 
 | 
| /aoo41x/main/comphelper/source/streaming/ | 
| H A D | memorystream.cxx | 60 …virtual sal_Int32 SAL_CALL readBytes( Sequence< sal_Int8 >& aData, sal_Int32 nBytesToRead ) throw … 110 sal_Int32 SAL_CALL UNOMemoryStream::readBytes( Sequence< sal_Int8 >& aData, sal_Int32 nBytesToRead …  in readBytes()  argument 112 	if( nBytesToRead < 0 )  in readBytes() 115 	nBytesToRead = std::min( nBytesToRead, available() );  in readBytes() 116     aData.realloc( nBytesToRead );  in readBytes() 118 	if( nBytesToRead )  in readBytes() 122 		memcpy( (void*)aData.getArray(), (void*)pCursor, nBytesToRead );  in readBytes() 124 		mnCursor += nBytesToRead;  in readBytes() 127 	return nBytesToRead;  in readBytes()
  | 
| H A D | seqstream.cxx | 60 …_Int32 SAL_CALL SequenceInputStream::readBytes( Sequence<sal_Int8>& aData, sal_Int32 nBytesToRead )  in readBytes()  argument 68 	if (nBytesToRead < 0)  in readBytes() 71 	if (nAvail < nBytesToRead)  in readBytes() 72 		nBytesToRead = nAvail;  in readBytes() 74 	aData.realloc(nBytesToRead);  in readBytes() 75 	memcpy(aData.getArray(), m_aData.getConstArray() + m_nPos, nBytesToRead);  in readBytes() 76 	m_nPos += nBytesToRead;  in readBytes() 78 	return nBytesToRead;  in readBytes()
  | 
| H A D | oslfile2streamwrap.cxx | 56 …CALL OSLInputStreamWrapper::readBytes(staruno::Sequence< sal_Int8 >& aData, sal_Int32 nBytesToRead)  in readBytes()  argument 62 	if (nBytesToRead < 0)  in readBytes() 67 	aData.realloc(nBytesToRead);  in readBytes() 70 	FileBase::RC eError = m_pFile->read((void*)aData.getArray(), nBytesToRead, nRead);  in readBytes() 75 	if (nRead < (sal_uInt32)nBytesToRead)  in readBytes()
  | 
| /aoo41x/main/package/source/zippackage/ | 
| H A D | ZipPackageBuffer.cxx | 45 sal_Int32 SAL_CALL ZipPackageBuffer::readBytes( Sequence< sal_Int8 >& aData, sal_Int32 nBytesToRead…  in readBytes()  argument 48 	if (nBytesToRead < 0)  in readBytes() 51 	if (nBytesToRead + m_nCurrent > m_nEnd)  in readBytes() 52 		nBytesToRead = static_cast < sal_Int32 > (m_nEnd - m_nCurrent);  in readBytes() 54 	aData.realloc ( nBytesToRead );  in readBytes() 55 	memcpy(aData.getArray(), m_aBuffer.getConstArray() + m_nCurrent, nBytesToRead);  in readBytes() 56 	m_nCurrent +=nBytesToRead;  in readBytes() 57 	return nBytesToRead;  in readBytes()
  | 
| /aoo41x/main/xmlscript/source/xml_helper/ | 
| H A D | xml_byteseq.cxx | 57 		Sequence< sal_Int8 > & rData, sal_Int32 nBytesToRead ) 72 	Sequence< sal_Int8 > & rData, sal_Int32 nBytesToRead )  in readBytes()  argument 75 	nBytesToRead = ((nBytesToRead > _seq.getLength() - _nPos)  in readBytes() 77 					: nBytesToRead);  in readBytes() 79 	ByteSequence aBytes( _seq.getConstArray() + _nPos, nBytesToRead );  in readBytes() 81 	_nPos += nBytesToRead;  in readBytes() 82 	return nBytesToRead;  in readBytes()
  | 
| /aoo41x/main/xmlhelp/source/cxxhelp/provider/ | 
| H A D | bufferedinputstream.cxx | 125 …Int32 SAL_CALL BufferedInputStream::readBytes( Sequence< sal_Int8 >& aData,sal_Int32 nBytesToRead )  in readBytes()  argument 133 	if( 0 > nBytesToRead )  in readBytes() 136 	if( m_nBufferLocation + nBytesToRead > m_nBufferSize )  in readBytes() 137 		nBytesToRead = m_nBufferSize - m_nBufferLocation;  in readBytes() 139 	if( aData.getLength() < nBytesToRead )  in readBytes() 140 		aData.realloc(nBytesToRead);  in readBytes() 144 				   nBytesToRead);  in readBytes() 146 	return nBytesToRead;  in readBytes()
  | 
| /aoo41x/main/package/source/zipapi/ | 
| H A D | MemoryByteGrabber.hxx | 51 											sal_Int32 nBytesToRead )   in readBytes()  argument 54 		if ( nBytesToRead < 0)  in readBytes() 57 		if (nBytesToRead + mnCurrent > mnEnd)  in readBytes() 58 			nBytesToRead = mnEnd - mnCurrent;  in readBytes() 60 		aData.realloc ( nBytesToRead );  in readBytes() 61 		rtl_copyMemory( aData.getArray(), mpBuffer + mnCurrent, nBytesToRead );  in readBytes() 62 		mnCurrent += nBytesToRead;  in readBytes() 63 		return nBytesToRead;  in readBytes()
  | 
| /aoo41x/main/xmlsecurity/tools/standalone/mscsfit/ | 
| H A D | helper.hxx | 83 			sal_Int32 nBytesToRead  in readBytes()  argument 86 			nBytesToRead = ( nBytesToRead > m_seq.getLength() - nPos ) ?  in readBytes() 88 				nBytesToRead ;  in readBytes() 89 			aData = Sequence< sal_Int8 > ( &( m_seq.getConstArray()[nPos] ), nBytesToRead ) ;  in readBytes() 90 			nPos += nBytesToRead ;  in readBytes() 91 			return nBytesToRead ;  in readBytes()
  | 
| /aoo41x/main/xmlsecurity/tools/standalone/csfit/ | 
| H A D | helper.hxx | 89 			sal_Int32 nBytesToRead  in readBytes()  argument 92 			nBytesToRead = ( nBytesToRead > m_seq.getLength() - nPos ) ?  in readBytes() 94 				nBytesToRead ;  in readBytes() 95 			aData = Sequence< sal_Int8 > ( &( m_seq.getConstArray()[nPos] ), nBytesToRead ) ;  in readBytes() 96 			nPos += nBytesToRead ;  in readBytes() 97 			return nBytesToRead ;  in readBytes()
  | 
| /aoo41x/main/package/qa/storages/ | 
| H A D | BorderedStream.java | 78 	public synchronized int readBytes( byte[][] aData, int nBytesToRead )  in readBytes()  argument 82 		if ( m_pBytes != null && nBytesToRead > 0 )  in readBytes() 85 			if ( nBytesToRead > nAvailable )  in readBytes() 86 				nBytesToRead = nAvailable;  in readBytes() 88 			aData[0] = new byte[nBytesToRead];  in readBytes() 89 			for ( int nInd = 0; nInd < nBytesToRead; nInd++ )  in readBytes() 92 			nRead = nBytesToRead;  in readBytes()
  | 
| /aoo41x/main/io/source/stm/ | 
| H A D | omark.cxx | 511     virtual sal_Int32 SAL_CALL readBytes(Sequence< sal_Int8 >& aData, sal_Int32 nBytesToRead) 600 sal_Int32 OMarkableInputStream::readBytes(Sequence< sal_Int8 >& aData, sal_Int32 nBytesToRead)  in readBytes()  argument 611 			nBytesRead = m_input->readBytes( aData, nBytesToRead );  in readBytes() 618 			if( m_pBuffer->getSize() - m_nCurrentPos < nBytesToRead  ) {  in readBytes() 619 				sal_Int32 nToRead = nBytesToRead - ( m_pBuffer->getSize() - m_nCurrentPos );  in readBytes() 636 					nBytesToRead = nBytesToRead - (nToRead-nRead);  in readBytes() 640 			OSL_ASSERT( m_pBuffer->getSize() - m_nCurrentPos >= nBytesToRead  );  in readBytes() 642 			m_pBuffer->readAt( m_nCurrentPos , aData , nBytesToRead );  in readBytes() 644 			m_nCurrentPos += nBytesToRead;  in readBytes() 645 			nBytesRead = nBytesToRead;  in readBytes()
  | 
| H A D | streamhelper.cxx | 129 void MemRingBuffer::readAt( sal_Int32 nPos, Sequence<sal_Int8> &seq , sal_Int32 nBytesToRead ) const  in readAt() 132 	if( nPos + nBytesToRead > m_nOccupiedBuffer ) {  in readAt() 141 	seq.realloc( nBytesToRead );  in readAt() 143 	if( nStartReadingPos + nBytesToRead > m_nBufferLen ) {  in readAt() 146 		memcpy( &(seq.getArray()[nDeltaLen]), m_p , nBytesToRead - nDeltaLen );  in readAt() 149 		memcpy( seq.getArray() , &(m_p[nStartReadingPos]) , nBytesToRead );  in readAt()
  | 
| H A D | opipe.cxx | 68     virtual sal_Int32 SAL_CALL readBytes(Sequence< sal_Int8 >& aData, sal_Int32 nBytesToRead) 164 sal_Int32 OPipeImpl::readBytes(Sequence< sal_Int8 >& aData, sal_Int32 nBytesToRead)  in readBytes()  argument 179 			if( m_bOutputStreamClosed && nBytesToRead > nOccupiedBufferLen )  in readBytes() 181 				nBytesToRead = nOccupiedBufferLen;  in readBytes() 184 			if( nOccupiedBufferLen < nBytesToRead )  in readBytes() 191 				m_pFIFO->read( aData , nBytesToRead );  in readBytes() 192 				return nBytesToRead;  in readBytes()
  | 
| H A D | streamhelper.hxx | 56 	virtual void 	read( Sequence<sal_Int8> & , sal_Int32 nBytesToRead ) 87 	virtual void 	readAt( sal_Int32 nPos, Sequence<sal_Int8> & , sal_Int32 nBytesToRead ) const 107 	virtual void 	readAt( sal_Int32 nPos, Sequence<sal_Int8> & , sal_Int32 nBytesToRead ) const 141 	virtual void 	read( Sequence<sal_Int8> & , sal_Int32 nBytesToRead )
  | 
| /aoo41x/main/i18npool/source/localedata/ | 
| H A D | saxparser.cxx | 76     virtual sal_Int32 SAL_CALL readBytes( Sequence< sal_Int8 >& aData, sal_Int32 nBytesToRead )  in readBytes()  argument 79 			nBytesToRead = (nBytesToRead > m_seq.getLength() - nPos ) ?  in readBytes() 81 				nBytesToRead;  in readBytes() 82 			aData = Sequence< sal_Int8 > ( &(m_seq.getConstArray()[nPos]) , nBytesToRead );  in readBytes() 83 			nPos += nBytesToRead;  in readBytes() 84 			return nBytesToRead;  in readBytes()
  | 
| /aoo41x/main/vcl/unx/generic/fontmanager/ | 
| H A D | helper.cxx | 273         unsigned int nBytesToRead = buffer[2] | buffer[3] << 8 | buffer[4] << 16 | buffer[5] << 24;  in convertPfbToPfa()  local 299             unsigned char* pBuffer = new unsigned char[ nBytesToRead+1 ];  in convertPfbToPfa() 301             if( ! rInFile.read( pBuffer, nBytesToRead, nRead ) && nRead == nBytesToRead )  in convertPfbToPfa() 307                     unsigned char * pWriteBuffer = new unsigned char[ nBytesToRead ];  in convertPfbToPfa() 309                     for( unsigned int i = 0; i < nBytesToRead; i++ )  in convertPfbToPfa() 330                     for( unsigned int i = 0; i < nBytesToRead && bSuccess; i++ )  in convertPfbToPfa()
  | 
| /aoo41x/main/ucb/source/ucp/ftp/ | 
| H A D | ftpinpstr.cxx | 71                                              sal_Int32 nBytesToRead)  in readBytes()  argument 80     sal_uInt64 nBytesRequested( nBytesToRead );  in readBytes() 88     if ( 0 <= nBytesToRead && aData.getLength() < nBytesToRead )  in readBytes() 89         aData.realloc( nBytesToRead );  in readBytes()
  | 
| /aoo41x/main/scripting/java/com/sun/star/script/framework/io/ | 
| H A D | XInputStreamImpl.java | 38 …public int readBytes( /*OUT*/byte[][] aData, /*IN*/int nBytesToRead ) throws com.sun.star.io.NotCo…  in readBytes()  argument 40         aData[ 0 ] = new byte[ nBytesToRead ];  in readBytes() 47 …while ( ( nBytesToRead > 0 ) && ( bytesRead = is.read( aData[ 0 ], totalBytesRead, nBytesToRead ) …  in readBytes() 50                 nBytesToRead -= bytesRead;  in readBytes()
  | 
| /aoo41x/main/oox/source/vml/ | 
| H A D | vmlinputstream.cxx | 284 sal_Int32 SAL_CALL InputStream::readBytes( Sequence< sal_Int8 >& rData, sal_Int32 nBytesToRead )  in readBytes()  argument 287     if( nBytesToRead < 0 )  in readBytes() 290     rData.realloc( nBytesToRead );  in readBytes() 293     while( (nBytesToRead > 0) && !mxTextStrm->isEOF() )  in readBytes() 296         sal_Int32 nReadSize = ::std::min( nBytesToRead, maBuffer.getLength() - mnBufferPos );  in readBytes() 301             nBytesToRead -= nReadSize;  in readBytes()
  | 
| /aoo41x/main/io/source/acceptor/ | 
| H A D | acc_pipe.cxx | 53 		virtual sal_Int32 SAL_CALL read( Sequence< sal_Int8 >& aReadBytes, sal_Int32 nBytesToRead ) 94 	sal_Int32 PipeConnection::read( Sequence < sal_Int8 > & aReadBytes , sal_Int32 nBytesToRead )  in read()  argument 100 			if( aReadBytes.getLength() < nBytesToRead )  in read() 102 				aReadBytes.realloc( nBytesToRead );  in read() 104             sal_Int32 n = m_pipe.read( aReadBytes.getArray(), nBytesToRead );  in read()
  | 
| /aoo41x/main/sax/test/ | 
| H A D | saxdemo.cxx | 74     virtual sal_Int32 SAL_CALL readBytes( Sequence< sal_Int8 >& aData, sal_Int32 nBytesToRead )  in readBytes()  argument 77 			nBytesToRead = (nBytesToRead > m_seq.getLength() - nPos ) ?  in readBytes() 79 				nBytesToRead;  in readBytes() 80 			aData = Sequence< sal_Int8 > ( &(m_seq.getConstArray()[nPos]) , nBytesToRead );  in readBytes() 81 			nPos += nBytesToRead;  in readBytes() 82 			return nBytesToRead;  in readBytes()
  | 
| /aoo41x/main/unotools/source/streaming/ | 
| H A D | streamhelper.cxx | 45 …AL_CALL OInputStreamHelper::readBytes(staruno::Sequence< sal_Int8 >& aData, sal_Int32 nBytesToRead)  in readBytes()  argument 51 	if (nBytesToRead < 0)  in readBytes() 55 	aData.realloc(nBytesToRead);  in readBytes() 58 	ErrCode nError = m_xLockBytes->ReadAt(m_nActPos, (void*)aData.getArray(), nBytesToRead, &nRead);  in readBytes() 66 	if (nRead < (sal_uInt32)nBytesToRead)  in readBytes()
  | 
| /aoo41x/main/io/source/TextInputStream/ | 
| H A D | TextInputStream.cxx | 109     virtual sal_Int32 SAL_CALL readBytes( Sequence< sal_Int8 >& aData, sal_Int32 nBytesToRead )  302 		sal_Int32 nBytesToRead = READ_BYTE_COUNT;  in implReadNext()  local 303 		sal_Int32 nRead = mxStream->readSomeBytes( mSeqSource, nBytesToRead );  in implReadNext() 305 		if( nRead < nBytesToRead )  in implReadNext() 397 sal_Int32 OTextInputStream::readBytes( Sequence< sal_Int8 >& aData, sal_Int32 nBytesToRead )   in readBytes()  argument 400 	return mxStream->readBytes( aData, nBytesToRead );  in readBytes()
  | 
| /aoo41x/main/connectivity/source/drivers/jdbc/ | 
| H A D | InputStream.cxx | 78 …dBytes( ::com::sun::star::uno::Sequence< sal_Int8 >& aData, sal_Int32 nBytesToRead ) throw(::com::…  in readBytes()  argument 80 	if (nBytesToRead < 0)  in readBytes() 87 		jbyteArray pByteArray = t.pEnv->NewByteArray(nBytesToRead);  in readBytes() 93         out = t.pEnv->CallIntMethod( object, mID, pByteArray, 0, nBytesToRead );  in readBytes()
  |