Home
last modified time | relevance | path

Searched refs:m_BytesReadCount (Results 1 – 1 of 1) sorted by relevance

/external/swiftshader/third_party/PowerVR_SDK/Tools/
DPVRTModelPOD.cpp376 size_t m_BytesReadCount; member in CSourceStream
383 CSourceStream() : m_pFile(0), m_BytesReadCount(0) {} in CSourceStream()
415 m_BytesReadCount = 0; in Init()
444 m_BytesReadCount = 0; in Init()
469 if (m_BytesReadCount + dwNumberOfBytesToRead > m_pFile->Size()) return false; in Read()
471 memcpy(lpBuffer, &((char*) m_pFile->DataPtr())[m_BytesReadCount], dwNumberOfBytesToRead); in Read()
473 m_BytesReadCount += dwNumberOfBytesToRead; in Read()
484 if (m_BytesReadCount + nBytes > m_pFile->Size()) return false; in Skip()
485 m_BytesReadCount += nBytes; in Skip()