Lines Matching refs:__n1

1610     basic_string& replace(size_type __pos1, size_type __n1, const basic_string& __str);
1611 …basic_string& replace(size_type __pos1, size_type __n1, const basic_string& __str, size_type __pos…
1612 basic_string& replace(size_type __pos, size_type __n1, const value_type* __s, size_type __n2);
1613 basic_string& replace(size_type __pos, size_type __n1, const value_type* __s);
1614 basic_string& replace(size_type __pos, size_type __n1, size_type __n2, value_type __c);
1702 int compare(size_type __pos1, size_type __n1, const basic_string& __str) const;
1703 …int compare(size_type __pos1, size_type __n1, const basic_string& __str, size_type __pos2, size_ty…
1705 int compare(size_type __pos1, size_type __n1, const value_type* __s) const;
1706 int compare(size_type __pos1, size_type __n1, const value_type* __s, size_type __n2) const;
2927 basic_string<_CharT, _Traits, _Allocator>::replace(size_type __pos, size_type __n1, const value_typ…
2933 __n1 = _VSTD::min(__n1, __sz - __pos);
2935 if (__cap - __sz + __n1 >= __n2)
2938 if (__n1 != __n2)
2940 size_type __n_move = __sz - __pos - __n1;
2943 if (__n1 > __n2)
2946 traits_type::move(__p + __pos + __n2, __p + __pos + __n1, __n_move);
2951 if (__p + __pos + __n1 <= __s)
2952 __s += __n2 - __n1;
2953 else // __p + __pos < __s < __p + __pos + __n1
2955 traits_type::move(__p + __pos, __s, __n1);
2956 __pos += __n1;
2958 __n2 -= __n1;
2959 __n1 = 0;
2962 traits_type::move(__p + __pos + __n2, __p + __pos + __n1, __n_move);
2967 __sz += __n2 - __n1;
2973 __grow_by_and_replace(__cap, __sz - __n1 + __n2 - __cap, __sz, __pos, __n1, __n2, __s);
2979 basic_string<_CharT, _Traits, _Allocator>::replace(size_type __pos, size_type __n1, size_type __n2,…
2984 __n1 = _VSTD::min(__n1, __sz - __pos);
2987 if (__cap - __sz + __n1 >= __n2)
2990 if (__n1 != __n2)
2992 size_type __n_move = __sz - __pos - __n1;
2994 traits_type::move(__p + __pos + __n2, __p + __pos + __n1, __n_move);
2999 __grow_by(__cap, __sz - __n1 + __n2 - __cap, __sz, __pos, __n1, __n2);
3003 __sz += __n2 - __n1;
3041 basic_string<_CharT, _Traits, _Allocator>::replace(size_type __pos1, size_type __n1, const basic_st…
3043 return replace(__pos1, __n1, __str.data(), __str.size());
3048 basic_string<_CharT, _Traits, _Allocator>::replace(size_type __pos1, size_type __n1, const basic_st…
3054 return replace(__pos1, __n1, __str.data() + __pos2, _VSTD::min(__n2, __str_sz - __pos2));
3059 basic_string<_CharT, _Traits, _Allocator>::replace(size_type __pos, size_type __n1, const value_typ…
3062 return replace(__pos, __n1, __s, traits_type::length(__s));
3705 size_type __n1,
3708 return compare(__pos1, __n1, __str.data(), __str.size());
3714 size_type __n1,
3722 return compare(__pos1, __n1, __str.data() + __pos2, _VSTD::min(__n2,
3737 size_type __n1,
3741 return compare(__pos1, __n1, __s, traits_type::length(__s));
3747 size_type __n1,
3755 size_type __rlen = _VSTD::min(__n1, __sz - __pos1);