Lines Matching refs:nSize
81 inline void setReadBuffer(sal_Int8 * pBuffer, sal_uInt32 nSize);
87 sal_uInt32 write(sal_Int8 const * pBuffer, sal_uInt32 nSize);
120 sal_uInt32 nSize) in setReadBuffer() argument
123 m_nReadBufferSize = nSize; in setReadBuffer()
197 pStat->nSize = m_nPosition; in Stat()
311 sal_Int32 nSize = 0; in readBytes() local
312 while (nSize < nBytesToRead) in readBytes()
317 rData.getArray() + nSize, in readBytes()
318 nBytesToRead - nSize, &nCount); in readBytes()
322 nSize += nCount; in readBytes()
326 rData.realloc(nSize); in readBytes()
327 return nSize; in readBytes()
390 return aStat.nSize <= static_cast<sal_uInt64>(m_nPosition) ? in available()
392 static_cast<sal_Size>(aStat.nSize - m_nPosition) <= in available()
394 static_cast<sal_Int32>(aStat.nSize - m_nPosition) : in available()
442 if (aStat.nSize > static_cast<sal_uInt64>(SAL_MAX_INT64)) in getLength()
445 return aStat.nSize; in getLength()
475 sal_uLong SvInputStream::GetData(void * pData, sal_uLong nSize) in GetData() argument
502 std::min(sal_uLong(nSize - nRead), in GetData()
531 m_pPipe->setReadBuffer(static_cast< sal_Int8 * >(pData), nSize); in GetData()
533 if (nRead < nSize && !m_pPipe->isEOF()) in GetData()
539 sal_uLong(nSize - nRead), in GetData()
703 sal_uLong SvOutputStream::PutData(void const * pData, sal_uLong nSize) in PutData() argument
715 std::min(sal_uLong(nSize - nWritten), in PutData()
847 sal_uInt32 nSize = m_nReadBufferSize; in read() local
877 return nSize - nRemain; in read()
881 sal_uInt32 SvDataPipe_Impl::write(sal_Int8 const * pBuffer, sal_uInt32 nSize) in write() argument
883 if (nSize == 0) in write()
903 sal_uInt32 nRemain = nSize; in write()
976 return nSize - nRemain; in write()