• Home
  • Raw
  • Download

Lines Matching refs:deInt64

149 deBool deFile_seek (deFile* file, deFilePosition base, deInt64 offset)  in deFile_seek()
154 deInt64 deFile_getPosition (const deFile* file) in deFile_getPosition()
159 deInt64 deFile_getSize (const deFile* file) in deFile_getSize()
161 deInt64 size = 0; in deFile_getSize()
162 deInt64 curPos = lseek(file->fd, 0, SEEK_CUR); in deFile_getSize()
177 static deFileResult mapReadWriteResult (deInt64 numBytes) in mapReadWriteResult()
187 deFileResult deFile_read (deFile* file, void* buf, deInt64 bufSize, deInt64* numReadPtr) in deFile_read()
189 deInt64 numRead = read(file->fd, buf, (size_t)bufSize); in deFile_read()
197 deFileResult deFile_write (deFile* file, const void* buf, deInt64 bufSize, deInt64* numWrittenPtr) in deFile_write()
199 deInt64 numWritten = write(file->fd, buf, (size_t)bufSize); in deFile_write()
313 deBool deFile_seek (deFile* file, deFilePosition base, deInt64 offset) in deFile_seek()
332 deInt64 deFile_getPosition (const deFile* file) in deFile_getPosition()
337 return (deInt64)(((deUint64)highBits << 32) | (deUint64)lowBits); in deFile_getPosition()
340 deInt64 deFile_getSize (const deFile* file) in deFile_getSize()
345 return (deInt64)(((deUint64)highBits << 32) | (deUint64)lowBits); in deFile_getSize()
365 deFileResult deFile_read (deFile* file, void* buf, deInt64 bufSize, deInt64* numReadPtr) in deFile_read()
372 DE_ASSERT((deInt64)bufSize32 == bufSize); in deFile_read()
377 *numReadPtr = (deInt64)numRead32; in deFile_read()
382 deFileResult deFile_write (deFile* file, const void* buf, deInt64 bufSize, deInt64* numWrittenPtr) in deFile_write()
389 DE_ASSERT((deInt64)bufSize32 == bufSize); in deFile_write()
394 *numWrittenPtr = (deInt64)numWritten32; in deFile_write()