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);
195 size_t const pagesize = FileHandle_Impl::getpagesize(); in Allocator()
196 if (size_t(-1) != pagesize) in Allocator()
209 void FileHandle_Impl::Allocator::allocate (sal_uInt8 ** ppBuffer, size_t * pnSize) in allocate()
258 void* FileHandle_Impl::operator new (size_t n) in operator new()
262 void FileHandle_Impl::operator delete (void * p, size_t) in operator delete() argument
267 size_t FileHandle_Impl::getpagesize() in getpagesize()
270 return sal::static_int_cast< size_t >(::getpagesize()); in getpagesize()
272 return sal::static_int_cast< size_t >(::sysconf(_SC_PAGESIZE)); in getpagesize()
318 if (-1 == write (m_fd, (char*)"", (size_t)1)) in setSize()
338 size_t nBytesRequested, in readAt()
387 size_t nBytesToWrite, in writeAt()
430 size_t nBytesRequested, in readFileAt()
453 size_t const bufpos = (nOffset % m_bufsiz); in readFileAt()
488 size_t const bytes = std::min (m_buflen - bufpos, nBytesRequested); in readFileAt()
501 size_t nBytesToWrite, in writeFileAt()
524 size_t const bufpos = (nOffset % m_bufsiz); in writeFileAt()
555 size_t const bytes = std::min (m_bufsiz - bufpos, nBytesToWrite); in writeFileAt()
596 size_t bufpos = nOffset - m_bufptr, curpos = bufpos, dstpos = 0; in readLineAt()
686 size_t * pnOffset, in writeSequence_Impl()
688 size_t nBytes) in writeSequence_Impl()
1034 static sal_uInt64 const g_limit_size_t = std::numeric_limits< size_t >::max(); in osl_mapFile()
1037 size_t const nLength = sal::static_int_cast< size_t >(uLength); in osl_mapFile()
1052 size_t const nPageSize = FileHandle_Impl::getpagesize(); in osl_mapFile()
1053 if (size_t(-1) != nPageSize) in osl_mapFile()
1060 size_t nSize (nLength); in osl_mapFile()
1112 static sal_uInt64 const g_limit_size_t = std::numeric_limits< size_t >::max(); in osl_unmapFile()
1115 size_t const nLength = sal::static_int_cast< size_t >(uLength); in osl_unmapFile()
1164 size_t const nBytesRequested = sal::static_int_cast< size_t >(uBytesRequested); in osl_readFile()
1195 size_t const nBytesToWrite = sal::static_int_cast< size_t >(uBytesToWrite); in osl_writeFile()
1232 size_t const nBytesRequested = sal::static_int_cast< size_t >(uBytesRequested); in osl_readFileAt()
1267 size_t const nBytesToWrite = sal::static_int_cast< size_t >(uBytesToWrite); in osl_writeFileAt()