Searched refs:m_nGrowSize (Results 1 – 2 of 2) sorted by relevance
23 m_nGrowSize(kBlockSize), in CFX_MemoryStream()32 m_nGrowSize(kBlockSize), in CFX_MemoryStream()79 size_t nStartBlock = static_cast<size_t>(offset) / m_nGrowSize; in ReadBlock()80 offset -= static_cast<FX_FILESIZE>(nStartBlock * m_nGrowSize); in ReadBlock()82 size_t nRead = std::min(size, m_nGrowSize - static_cast<size_t>(offset)); in ReadBlock()117 m_nTotalSize = (m_nCurPos + m_nGrowSize - 1) / m_nGrowSize * m_nGrowSize; in WriteBlock()138 size_t nStartBlock = static_cast<size_t>(offset) / m_nGrowSize; in WriteBlock()139 offset -= static_cast<FX_FILESIZE>(nStartBlock * m_nGrowSize); in WriteBlock()141 size_t nWrite = std::min(size, m_nGrowSize - static_cast<size_t>(offset)); in WriteBlock()157 m_nGrowSize = std::max(nGrowSize, static_cast<size_t>(4096)); in EstimateSize()[all …]
52 size_t m_nGrowSize; variable