Lines Matching refs:size_t
91 size_t m_buflen; /* buffer filled [0, m_bufsiz - 1] */
93 size_t m_bufsiz;
99 static void* operator new (size_t n);
100 static void operator delete (void * p, size_t);
102 static size_t getpagesize();
113 size_t nBytesRequested,
119 size_t nBytesToWrite,
125 size_t nBytesRequested,
131 size_t nBytesToWrite,
141 size_t * pnOffset,
143 size_t nBytes);
152 size_t m_bufsiz;
160 void allocate (sal_uInt8 ** ppBuffer, size_t * pnSize);
197 size_t const pagesize = FileHandle_Impl::getpagesize(); in Allocator()
198 if (size_t(-1) != pagesize) in Allocator()
211 void FileHandle_Impl::Allocator::allocate (sal_uInt8 ** ppBuffer, size_t * pnSize) in allocate()
260 void* FileHandle_Impl::operator new (size_t n) in operator new()
264 void FileHandle_Impl::operator delete (void * p, size_t) in operator delete() argument
269 size_t FileHandle_Impl::getpagesize() in getpagesize()
272 return sal::static_int_cast< size_t >(::getpagesize()); in getpagesize()
274 return sal::static_int_cast< size_t >(::sysconf(_SC_PAGESIZE)); in getpagesize()
320 if (-1 == write (m_fd, (char*)"", (size_t)1)) in setSize()
340 size_t nBytesRequested, in readAt()
389 size_t nBytesToWrite, in writeAt()
432 size_t nBytesRequested, in readFileAt()
455 size_t const bufpos = (nOffset % m_bufsiz); in readFileAt()
490 size_t const bytes = std::min (m_buflen - bufpos, nBytesRequested); in readFileAt()
503 size_t nBytesToWrite, in writeFileAt()
526 size_t const bufpos = (nOffset % m_bufsiz); in writeFileAt()
557 size_t const bytes = std::min (m_bufsiz - bufpos, nBytesToWrite); in writeFileAt()
598 size_t bufpos = nOffset - m_bufptr, curpos = bufpos, dstpos = 0; in readLineAt()
688 size_t * pnOffset, in writeSequence_Impl()
690 size_t nBytes) in writeSequence_Impl()
1036 static sal_uInt64 const g_limit_size_t = std::numeric_limits< size_t >::max(); in osl_mapFile()
1039 size_t const nLength = sal::static_int_cast< size_t >(uLength); in osl_mapFile()
1054 size_t const nPageSize = FileHandle_Impl::getpagesize(); in osl_mapFile()
1055 if (size_t(-1) != nPageSize) in osl_mapFile()
1062 size_t nSize (nLength); in osl_mapFile()
1114 static sal_uInt64 const g_limit_size_t = std::numeric_limits< size_t >::max(); in osl_unmapFile()
1117 size_t const nLength = sal::static_int_cast< size_t >(uLength); in osl_unmapFile()
1166 size_t const nBytesRequested = sal::static_int_cast< size_t >(uBytesRequested); in osl_readFile()
1197 size_t const nBytesToWrite = sal::static_int_cast< size_t >(uBytesToWrite); in osl_writeFile()
1234 size_t const nBytesRequested = sal::static_int_cast< size_t >(uBytesRequested); in osl_readFileAt()
1269 size_t const nBytesToWrite = sal::static_int_cast< size_t >(uBytesToWrite); in osl_writeFileAt()