Lines Matching refs:__n2

393     _M_replace_aux(size_type __pos1, size_type __n1, size_type __n2,  in _M_replace_aux()  argument
396 _M_check_length(__n1, __n2, "basic_string::_M_replace_aux"); in _M_replace_aux()
399 const size_type __new_size = __old_size + __n2 - __n1; in _M_replace_aux()
406 if (__how_much && __n1 != __n2) in _M_replace_aux()
407 this->_S_move(__p + __n2, __p + __n1, __how_much); in _M_replace_aux()
410 this->_M_mutate(__pos1, __n1, 0, __n2); in _M_replace_aux()
412 if (__n2) in _M_replace_aux()
413 this->_S_assign(this->_M_data() + __pos1, __n2, __c); in _M_replace_aux()
865 size_type __n2)
867 __glibcxx_requires_string_len(__s, __n2);
870 _M_check_length(__n1, __n2, "basic_string::replace");
873 return _M_replace_safe(__pos, __n1, __s, __n2);
874 else if ((__left = __s + __n2 <= _M_data() + __pos)
879 __left ? __off : (__off += __n2 - __n1);
880 _M_mutate(__pos, __n1, __n2);
881 _M_copy(_M_data() + __pos, _M_data() + __off, __n2);
887 const basic_string __tmp(__s, __n2);
888 return _M_replace_safe(__pos, __n1, __tmp._M_data(), __n2);
1118 _M_replace_aux(size_type __pos1, size_type __n1, size_type __n2,
1121 _M_check_length(__n1, __n2, "basic_string::_M_replace_aux");
1122 _M_mutate(__pos1, __n1, __n2);
1123 if (__n2)
1124 _M_assign(_M_data() + __pos1, __n2, __c);
1132 size_type __n2)
1134 _M_mutate(__pos1, __n1, __n2);
1135 if (__n2)
1136 _M_copy(_M_data() + __pos1, __s, __n2);
1401 size_type __pos2, size_type __n2) const in compare()
1406 __n2 = __str._M_limit(__pos2, __n2); in compare()
1407 const size_type __len = std::min(__n1, __n2); in compare()
1411 __r = _S_compare(__n1, __n2); in compare()
1450 size_type __n2) const in compare()
1452 __glibcxx_requires_string_len(__s, __n2); in compare()
1455 const size_type __len = std::min(__n1, __n2); in compare()
1458 __r = _S_compare(__n1, __n2); in compare()