Lines Matching refs:__str

441       basic_string(const basic_string& __str);
448 basic_string(const basic_string& __str, size_type __pos,
457 basic_string(const basic_string& __str, size_type __pos,
493 basic_string(basic_string&& __str)
494 : _M_dataplus(__str._M_dataplus)
497 __str._M_data(_S_empty_rep()._M_refdata());
499 __str._M_data(_S_construct(size_type(), _CharT(), get_allocator()));
532 operator=(const basic_string& __str)
533 { return this->assign(__str); }
566 operator=(basic_string&& __str)
569 this->swap(__str);
881 operator+=(const basic_string& __str)
882 { return this->append(__str); }
922 append(const basic_string& __str);
937 append(const basic_string& __str, size_type __pos, size_type __n);
1015 assign(const basic_string& __str);
1027 assign(basic_string&& __str)
1029 this->swap(__str);
1047 assign(const basic_string& __str, size_type __pos, size_type __n)
1048 { return this->assign(__str._M_data()
1049 + __str._M_check(__pos, "basic_string::assign"),
1050 __str._M_limit(__pos, __n)); }
1177 insert(size_type __pos1, const basic_string& __str)
1178 { return this->insert(__pos1, __str, size_type(0), __str.size()); }
1199 insert(size_type __pos1, const basic_string& __str,
1201 { return this->insert(__pos1, __str._M_data()
1202 + __str._M_check(__pos2, "basic_string::insert"),
1203 __str._M_limit(__pos2, __n)); }
1359 replace(size_type __pos, size_type __n, const basic_string& __str)
1360 { return this->replace(__pos, __n, __str._M_data(), __str.size()); }
1381 replace(size_type __pos1, size_type __n1, const basic_string& __str,
1383 { return this->replace(__pos1, __n1, __str._M_data()
1384 + __str._M_check(__pos2, "basic_string::replace"),
1385 __str._M_limit(__pos2, __n2)); }
1465 replace(iterator __i1, iterator __i2, const basic_string& __str)
1466 { return this->replace(__i1, __i2, __str._M_data(), __str.size()); }
1768 find(const basic_string& __str, size_type __pos = 0) const
1769 { return this->find(__str.data(), __pos, __str.size()); }
1812 rfind(const basic_string& __str, size_type __pos = npos) const
1813 { return this->rfind(__str.data(), __pos, __str.size()); }
1870 find_first_of(const basic_string& __str, size_type __pos = 0) const
1871 { return this->find_first_of(__str.data(), __pos, __str.size()); }
1931 find_last_of(const basic_string& __str, size_type __pos = npos) const
1932 { return this->find_last_of(__str.data(), __pos, __str.size()); }
1992 find_first_not_of(const basic_string& __str, size_type __pos = 0) const
1993 { return this->find_first_not_of(__str.data(), __pos, __str.size()); }
2051 find_last_not_of(const basic_string& __str, size_type __pos = npos) const
2052 { return this->find_last_not_of(__str.data(), __pos, __str.size()); }
2130 compare(const basic_string& __str) const
2133 const size_type __osize = __str.size();
2136 int __r = traits_type::compare(_M_data(), __str.data(), __len);
2160 compare(size_type __pos, size_type __n, const basic_string& __str) const;
2184 compare(size_type __pos1, size_type __n1, const basic_string& __str,
2266 basic_string<_CharT, _Traits, _Alloc> __str(__lhs);
2267 __str.append(__rhs);
2268 return __str;
2303 basic_string<_CharT, _Traits, _Alloc> __str(__lhs);
2304 __str.append(__rhs);
2305 return __str;
2320 __string_type __str(__lhs);
2321 __str.append(__size_type(1), __rhs);
2322 return __str;
2583 basic_string<_CharT, _Traits, _Alloc>& __str);
2587 operator>>(basic_istream<char>& __is, basic_string<char>& __str);
2601 const basic_string<_CharT, _Traits, _Alloc>& __str)
2605 return __ostream_insert(__os, __str.data(), __str.size());
2624 basic_string<_CharT, _Traits, _Alloc>& __str, _CharT __delim);
2642 basic_string<_CharT, _Traits, _Alloc>& __str)
2643 { return getline(__is, __str, __is.widen('\n')); }
2647 getline(basic_istream<char>& __in, basic_string<char>& __str,
2653 getline(basic_istream<wchar_t>& __in, basic_string<wchar_t>& __str,
2668 stoi(const string& __str, size_t* __idx = 0, int __base = 10)
2669 { return __gnu_cxx::__stoa<long, int>(&std::strtol, "stoi", __str.c_str(),
2673 stol(const string& __str, size_t* __idx = 0, int __base = 10)
2674 { return __gnu_cxx::__stoa(&std::strtol, "stol", __str.c_str(),
2678 stoul(const string& __str, size_t* __idx = 0, int __base = 10)
2679 { return __gnu_cxx::__stoa(&std::strtoul, "stoul", __str.c_str(),
2683 stoll(const string& __str, size_t* __idx = 0, int __base = 10)
2684 { return __gnu_cxx::__stoa(&std::strtoll, "stoll", __str.c_str(),
2688 stoull(const string& __str, size_t* __idx = 0, int __base = 10)
2689 { return __gnu_cxx::__stoa(&std::strtoull, "stoull", __str.c_str(),
2694 stof(const string& __str, size_t* __idx = 0)
2695 { return __gnu_cxx::__stoa(&std::strtof, "stof", __str.c_str(), __idx); }
2698 stod(const string& __str, size_t* __idx = 0)
2699 { return __gnu_cxx::__stoa(&std::strtod, "stod", __str.c_str(), __idx); }
2702 stold(const string& __str, size_t* __idx = 0)
2703 { return __gnu_cxx::__stoa(&std::strtold, "stold", __str.c_str(), __idx); }
2771 stoi(const wstring& __str, size_t* __idx = 0, int __base = 10)
2772 { return __gnu_cxx::__stoa<long, int>(&std::wcstol, "stoi", __str.c_str(),
2776 stol(const wstring& __str, size_t* __idx = 0, int __base = 10)
2777 { return __gnu_cxx::__stoa(&std::wcstol, "stol", __str.c_str(),
2781 stoul(const wstring& __str, size_t* __idx = 0, int __base = 10)
2782 { return __gnu_cxx::__stoa(&std::wcstoul, "stoul", __str.c_str(),
2786 stoll(const wstring& __str, size_t* __idx = 0, int __base = 10)
2787 { return __gnu_cxx::__stoa(&std::wcstoll, "stoll", __str.c_str(),
2791 stoull(const wstring& __str, size_t* __idx = 0, int __base = 10)
2792 { return __gnu_cxx::__stoa(&std::wcstoull, "stoull", __str.c_str(),
2797 stof(const wstring& __str, size_t* __idx = 0)
2798 { return __gnu_cxx::__stoa(&std::wcstof, "stof", __str.c_str(), __idx); }
2801 stod(const wstring& __str, size_t* __idx = 0)
2802 { return __gnu_cxx::__stoa(&std::wcstod, "stod", __str.c_str(), __idx); }
2805 stold(const wstring& __str, size_t* __idx = 0)
2806 { return __gnu_cxx::__stoa(&std::wcstold, "stold", __str.c_str(), __idx); }