Lines Matching refs:m_end
40 : m_begin( "" ), m_end( m_begin ) {} in const_string()
46 m_end( m_begin + s.length() ) {} in const_string()
50 , m_end( s ? m_begin + std::strlen( s ) : m_begin ) in const_string()
54 : m_begin( s ), m_end( m_begin + length ) { if( length == 0 ) erase(); } in const_string()
57 : m_begin( first ), m_end( last ) {} in const_string()
66 size_t length() const { return m_end - m_begin; } in length()
67 bool is_empty() const { return m_end == m_begin; } in is_empty()
69 void erase() { m_begin = m_end = ""; } in erase()
70 …void resize( size_t new_len ) { if( m_begin + new_len < m_end ) m_end = … in resize()
71 …void rshorten( size_t shift = 1 ) { m_end -= shift; if( m_end <= m_begin ) … in rshorten()
72 …void lshorten( size_t shift = 1 ) { m_begin += shift; if( m_end <= m_begin )… in lshorten()
89 char const* tmp2 = m_end; in swap()
92 m_end = s.m_end; in swap()
95 s.m_end = tmp2; in swap()
118 iterator end() const { return m_end; } in end()
119 reverse_iterator rbegin() const { return reverse_iterator( m_end ); } in rbegin()
126 char const* m_end; member in common_layer::const_string
155 m_end = s.m_end; in operator =()