• Home
  • Raw
  • Download

Lines Matching refs:dwNumberOfBytesToRead

270 	virtual bool Read(void* lpBuffer, const unsigned int dwNumberOfBytesToRead) = 0;
312 bool ReadAfterAlloc(T* &lpBuffer, const unsigned int dwNumberOfBytesToRead) in ReadAfterAlloc() argument
314 if(!SafeAlloc(lpBuffer, dwNumberOfBytesToRead)) in ReadAfterAlloc()
316 return Read(lpBuffer, dwNumberOfBytesToRead); in ReadAfterAlloc()
320 bool ReadAfterAlloc32(T* &lpBuffer, const unsigned int dwNumberOfBytesToRead) in ReadAfterAlloc32() argument
323 if(!SafeAlloc(lpBuffer, dwNumberOfBytesToRead/4)) in ReadAfterAlloc32()
325 return ReadArray32((unsigned int*) lpBuffer, dwNumberOfBytesToRead / 4); in ReadAfterAlloc32()
341 bool ReadAfterAlloc16(T* &lpBuffer, const unsigned int dwNumberOfBytesToRead) in ReadAfterAlloc16() argument
344 if(!SafeAlloc(lpBuffer, dwNumberOfBytesToRead/2 )) in ReadAfterAlloc16()
346 return ReadArray16((unsigned short*) lpBuffer, dwNumberOfBytesToRead / 2); in ReadAfterAlloc16()
394 virtual bool Read(void* lpBuffer, const unsigned int dwNumberOfBytesToRead);
464 bool CSourceStream::Read(void* lpBuffer, const unsigned int dwNumberOfBytesToRead) in Read() argument
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()
501 virtual bool Read(void* lpBuffer, const unsigned int dwNumberOfBytesToRead);
545 bool CSourceResource::Read(void* lpBuffer, const unsigned int dwNumberOfBytesToRead) in Read() argument
547 if(m_nReadPos + dwNumberOfBytesToRead > m_nSize) in Read()
551 memcpy(lpBuffer, &m_pData[m_nReadPos], dwNumberOfBytesToRead); in Read()
552 m_nReadPos += dwNumberOfBytesToRead; in Read()