Lines Matching refs:pBuf
73 virtual bool write( const void* pBuf, unsigned int nLen ) throw();
76 …virtual unsigned int readOrigBytes( unsigned int nOrigOffset, unsigned int nLen, void* pBuf ) thro…
155 bool FileEmitContext::write( const void* pBuf, unsigned int nLen ) throw() in write() argument
162 return (osl_writeFile( m_aHandle, pBuf, nWrite, &nWritten ) == osl_File_E_None) in write()
187 void* pBuf = rtl_allocateMemory( nLen ); in copyOrigBytes() local
188 if( ! pBuf ) in copyOrigBytes()
191 if( osl_readFile( m_aReadHandle, pBuf, nLen, &nBytesRead ) != osl_File_E_None in copyOrigBytes()
195 rtl_freeMemory( pBuf ); in copyOrigBytes()
198 bool bRet = write( pBuf, nLen ); in copyOrigBytes()
199 rtl_freeMemory( pBuf ); in copyOrigBytes()
203 …t FileEmitContext::readOrigBytes( unsigned int nOrigOffset, unsigned int nLen, void* pBuf ) throw() in readOrigBytes() argument
214 if( osl_readFile( m_aReadHandle, pBuf, nLen, &nBytesRead ) != osl_File_E_None ) in readOrigBytes()