• Home
  • Raw
  • Download

Lines Matching refs:m_start

86     if( !m_start )  in Allocate()
88 m_start = new uchar[m_block_size + m_unGetsize]; in Allocate()
89 m_start+= m_unGetsize; in Allocate()
91 m_end = m_start + m_block_size; in Allocate()
98 m_start = m_end = m_current = 0; in RBaseStream()
120 if( m_start ) in ReadBlock()
122 memcpy( m_start - m_unGetsize, m_end - m_unGetsize, m_unGetsize ); in ReadBlock()
128 readed = fread( m_start, 1, m_block_size, m_file ); in ReadBlock()
129 m_end = m_start + readed; in ReadBlock()
169 if( m_start ) in Release()
171 delete[] (m_start - m_unGetsize); in Release()
173 m_start = m_end = m_current = 0; in Release()
182 if( m_start && block_size == m_block_size && unGetsize == m_unGetsize ) return; in SetBlockSize()
199 m_current = m_start + offset; in SetPos()
204 m_current = m_start + m_block_size + offset; in SetPos()
212 return m_block_pos - m_block_size + (int)(m_current - m_start); in GetPos()
377 bsBSwapBlock( m_start, m_end ); in ReadBlock()
487 bsBSwapBlock( m_start, m_end ); in ReadBlock()
715 m_start = m_end = m_current = 0; in WBaseStream()
737 if( !m_start ) in Allocate()
738 m_start = new uchar[m_block_size]; in Allocate()
740 m_end = m_start + m_block_size; in Allocate()
741 m_current = m_start; in Allocate()
747 int size = (int)(m_current - m_start); in WriteBlock()
751 fwrite( m_start, 1, size, m_file ); in WriteBlock()
752 m_current = m_start; in WriteBlock()
771 m_current = m_start; in Open()
791 if( m_start ) in Release()
793 delete[] m_start; in Release()
795 m_start = m_end = m_current = 0; in Release()
803 if( m_start && block_size == m_block_size ) return; in SetBlockSize()
813 return m_block_pos + (int)(m_current - m_start); in GetPos()
978 m_current = m_start; in ResetBuffer()
1004 bsBSwapBlock( m_start, m_current ); in WriteBlock()