Lines Matching refs:m_dwFileLen
2711 m_dwFileLen = 0;
2713 m_dwFileLen = (FX_DWORD)m_pFileRead->GetSize();
2860 size = (FX_DWORD)((FX_FILESIZE)(offset + size + 512) > m_dwFileLen ? m_dwFileLen - offset : size + 512);
2899 if (!m_dwFileLen && m_pFileRead) {
2900 m_dwFileLen = (FX_DWORD)m_pFileRead->GetSize();
2901 if (!m_dwFileLen) {
3028 if (m_pFileAvail->IsDataAvail(0, (FX_DWORD)m_dwFileLen)) {
3032 pHints->AddSegment(0, (FX_DWORD)m_dwFileLen);
3063 size = (FX_DWORD)(((FX_FILESIZE)(offset + size + 512)) > m_dwFileLen ? m_dwFileLen - offset : size + 512);
3076 size = (FX_DWORD)((FX_FILESIZE)(offset + size + 512) > m_dwFileLen ? m_dwFileLen - offset : size + 512);
3105 if (m_Pos == m_dwFileLen) {
3325 if ((FX_FILESIZE)req_size > m_dwFileLen) {
3326 req_size = (FX_DWORD)m_dwFileLen;
3366 if ((FX_FILESIZE)dwEnd > m_dwFileLen) {
3367 dwEnd = (FX_DWORD)m_dwFileLen;
3369 FX_INT32 iStartPos = (FX_INT32)(m_dwFileLen > 1024 ? 1024 : m_dwFileLen);
3495 FX_DWORD req_pos = (FX_DWORD)(m_dwFileLen > 1024 ? m_dwFileLen - 1024 : 0);
3496 FX_DWORD dwSize = (FX_DWORD)(m_dwFileLen - req_pos);
3512 if (!m_dwXRefOffset || m_dwXRefOffset > m_dwFileLen) {
3531 FX_DWORD req_size = (FX_DWORD)(m_Pos + 512 > m_dwFileLen ? m_dwFileLen - m_Pos : 512);
3663 if (pos >= m_dwFileLen) {
3669 if ((FX_FILESIZE)read_size > m_dwFileLen) {
3670 read_size = (FX_DWORD)m_dwFileLen;
3672 if ((FX_FILESIZE)(read_pos + read_size) > m_dwFileLen) {
3673 read_pos = m_dwFileLen - read_size;
3691 iSize = (FX_INT32)(m_Pos + 512 > m_dwFileLen ? m_dwFileLen - m_Pos : 512);
3725 iSize = (FX_INT32)(m_Pos + 512 > m_dwFileLen ? m_dwFileLen - m_Pos : 512);
3733 iSize = (FX_INT32)(m_Pos + 512 > m_dwFileLen ? m_dwFileLen - m_Pos : 512);
3752 if (m_Pos < m_dwFileLen) {
3754 FX_INT32 iSize = (FX_INT32)(dwAppendPos + 512 > m_dwFileLen ? m_dwFileLen - dwAppendPos : 512);
3770 FX_INT32 iTrailerSize = (FX_INT32)(m_Pos + 512 > m_dwFileLen ? m_dwFileLen - m_Pos : 512);
3807 if (m_dwPrevXRefOffset >= m_dwFileLen) {
4074 if (!m_pFileAvail->IsDataAvail(m_dwLastXRefOffset, (FX_DWORD)(m_dwFileLen - m_dwLastXRefOffset))) {
4075 pHints->AddSegment(m_dwLastXRefOffset, (FX_DWORD)(m_dwFileLen - m_dwLastXRefOffset));
4300 *pSize = (FX_DWORD)(m_dwFileLen - m_dwLastXRefOffset);