Lines Matching refs:m_pFile
66 fseek(m_pFile, m_bootOffset, SEEK_SET); in SaveBootFile()
69 iRead = fread(buffer, 1, dwReadSize, m_pFile); in SaveBootFile()
92 fseeko(m_pFile, m_fwOffset, SEEK_SET); in SaveFWFile()
95 iRead = fread(buffer, 1, dwReadSize, m_pFile); in SaveFWFile()
114 fseeko(m_pFile, dwOffset, SEEK_SET); in GetData()
116 uiActualRead = fread(lpBuffer,1, dwSize, m_pFile); in GetData()
154 m_pFile = NULL; in CRKImage()
179 m_pFile = fopen(szName, "rb"); in CRKImage()
180 if (!m_pFile) { in CRKImage()
189 fseeko(m_pFile, 0, SEEK_SET); in CRKImage()
190 iRead = fread((PBYTE)(&imageHead), 1, sizeof(STRUCT_RKIMAGE_HEAD), m_pFile); in CRKImage()
210 fseeko(m_pFile, ulFwSize, SEEK_SET); in CRKImage()
211 iRead = fread(m_md5, 1, 32, m_pFile); in CRKImage()
216 iRead = fread(m_signMd5, 1, nMd5DataSize - 32, m_pFile); in CRKImage()
222 fseeko(m_pFile, -32, SEEK_END); in CRKImage()
223 iRead = fread(m_md5, 1, 32, m_pFile); in CRKImage()
251 fseeko(m_pFile, m_bootOffset, SEEK_SET); in CRKImage()
252 iRead = fread(lpBoot, 1, m_bootSize, m_pFile); in CRKImage()
268 fclose(m_pFile); in CRKImage()
269 m_pFile = NULL; in CRKImage()
275 if (m_pFile) { in ~CRKImage()
276 fclose(m_pFile); in ~CRKImage()
277 m_pFile = NULL; in ~CRKImage()