Searched refs:m_nGrowSize (Results 1 – 1 of 1) sorted by relevance
103 m_nGrowSize(FX_MEMSTREAM_BlockSize) { in CFX_MemoryStream()112 m_nGrowSize(FX_MEMSTREAM_BlockSize) { in CFX_MemoryStream()158 size_t nStartBlock = (size_t)offset / m_nGrowSize; in ReadBlock()159 offset -= (FX_FILESIZE)(nStartBlock * m_nGrowSize); in ReadBlock()161 size_t nRead = m_nGrowSize - (size_t)offset; in ReadBlock()198 (m_nCurPos + m_nGrowSize - 1) / m_nGrowSize * m_nGrowSize; in WriteBlock()227 size_t nStartBlock = (size_t)offset / m_nGrowSize; in WriteBlock()228 offset -= (FX_FILESIZE)(nStartBlock * m_nGrowSize); in WriteBlock()230 size_t nWrite = m_nGrowSize - (size_t)offset; in WriteBlock()253 m_nGrowSize = std::max(nGrowSize, static_cast<size_t>(4096)); in EstimateSize()[all …]