Lines Matching refs:nOffset
103 LONGLONG nOffset,
109 LONGLONG nOffset,
115 LONGLONG nOffset,
121 LONGLONG nOffset,
127 LONGLONG nOffset,
294 LONGLONG nOffset, in readAt() argument
307 if (nOffset != m_offset) in readAt()
309 LARGE_INTEGER liOffset; liOffset.QuadPart = nOffset; in readAt()
312 m_offset = nOffset; in readAt()
325 LONGLONG nOffset, in writeAt() argument
338 if (nOffset != m_offset) in writeAt()
340 LARGE_INTEGER liOffset; liOffset.QuadPart = nOffset; in writeAt()
343 m_offset = nOffset; in writeAt()
358 LONGLONG nOffset, in readFileAt() argument
380 return readAt (nOffset, pBuffer, nBytesRequested, pBytesRead); in readFileAt()
387 LONGLONG const bufptr = (nOffset / m_bufsiz) * m_bufsiz; in readFileAt()
388 SIZE_T const bufpos = (nOffset % m_bufsiz); in readFileAt()
402 result = readAt (nOffset, &(buffer[*pBytesRead]), nBytesRequested, &uDone); in readFileAt()
425 nBytesRequested -= bytes, *pBytesRead += bytes, nOffset += bytes; in readFileAt()
432 LONGLONG nOffset, in writeFileAt() argument
454 return writeAt(nOffset, pBuffer, nBytesToWrite, pBytesWritten); in writeFileAt()
461 LONGLONG const bufptr = (nOffset / m_bufsiz) * m_bufsiz; in writeFileAt()
462 SIZE_T const bufpos = (nOffset % m_bufsiz); in writeFileAt()
475 result = writeAt (nOffset, &(buffer[*pBytesWritten]), nBytesToWrite, &uDone); in writeFileAt()
495 nBytesToWrite -= bytes, *pBytesWritten += bytes, nOffset += bytes; in writeFileAt()
505 LONGLONG nOffset, in readLineAt() argument
511 LONGLONG bufptr = (nOffset / m_bufsiz) * m_bufsiz; in readLineAt()
532 SIZE_T bufpos = sal::static_int_cast< SIZE_T >(nOffset - m_bufptr), curpos = bufpos, dstpos = 0; in readLineAt()
547 *pBytesRead += curpos - bufpos, nOffset += curpos - bufpos; in readLineAt()
550 bufptr = nOffset / m_bufsiz * m_bufsiz; in readLineAt()
561 bufpos = sal::static_int_cast< SIZE_T >(nOffset - m_bufptr), curpos = bufpos; in readLineAt()
604 *pBytesRead += curpos - bufpos, nOffset += curpos - bufpos; in readLineAt()
969 LONGLONG const nOffset = sal::static_int_cast< LONGLONG >(uOffset); in osl_readFileAt() local
973 return pImpl->readFileAt (nOffset, pBuffer, uBytesRequested, pBytesRead); in osl_readFileAt()
995 LONGLONG const nOffset = sal::static_int_cast< LONGLONG >(uOffset); in osl_writeFileAt() local
999 return pImpl->writeFileAt (nOffset, pBuffer, uBytesToWrite, pBytesWritten); in osl_writeFileAt()
1040 LONGLONG nPos = 0, nOffset = sal::static_int_cast< LONGLONG >(uOffset); in osl_setFilePos() local
1046 if (0 > nOffset) in osl_setFilePos()
1052 if ((0 > nOffset) && (-1*nOffset > nPos)) in osl_setFilePos()
1054 if (g_limit_longlong < nPos + nOffset) in osl_setFilePos()
1060 if ((0 > nOffset) && (-1*nOffset > nPos)) in osl_setFilePos()
1062 if (g_limit_longlong < nPos + nOffset) in osl_setFilePos()
1070 return pImpl->setPos (nPos + nOffset); in osl_setFilePos()