Lines Matching refs:__str
1333 basic_string(const basic_string& __str);
1334 basic_string(const basic_string& __str, const allocator_type& __a);
1338 basic_string(basic_string&& __str)
1346 basic_string(basic_string&& __str, const allocator_type& __a);
1359 basic_string(const basic_string& __str, size_type __pos, size_type __n = npos,
1376 basic_string& operator=(const basic_string& __str);
1379 basic_string& operator=(basic_string&& __str)
1466 …IBCPP_INLINE_VISIBILITY basic_string& operator+=(const basic_string& __str) {return append(__str);}
1474 basic_string& append(const basic_string& __str);
1475 basic_string& append(const basic_string& __str, size_type __pos, size_type __n=npos);
1508 basic_string& assign(const basic_string& __str);
1514 basic_string& assign(const basic_string& __str, size_type __pos, size_type __n=npos);
1539 basic_string& insert(size_type __pos1, const basic_string& __str);
1540 …basic_string& insert(size_type __pos1, const basic_string& __str, size_type __pos2, size_type __n=…
1575 basic_string& replace(size_type __pos1, size_type __n1, const basic_string& __str);
1576 …basic_string& replace(size_type __pos1, size_type __n1, const basic_string& __str, size_type __pos…
1581 basic_string& replace(const_iterator __i1, const_iterator __i2, const basic_string& __str);
1606 void swap(basic_string& __str)
1623 size_type find(const basic_string& __str, size_type __pos = 0) const _NOEXCEPT;
1630 size_type rfind(const basic_string& __str, size_type __pos = npos) const _NOEXCEPT;
1637 size_type find_first_of(const basic_string& __str, size_type __pos = 0) const _NOEXCEPT;
1645 size_type find_last_of(const basic_string& __str, size_type __pos = npos) const _NOEXCEPT;
1653 size_type find_first_not_of(const basic_string& __str, size_type __pos = 0) const _NOEXCEPT;
1661 size_type find_last_not_of(const basic_string& __str, size_type __pos = npos) const _NOEXCEPT;
1669 int compare(const basic_string& __str) const _NOEXCEPT;
1671 int compare(size_type __pos1, size_type __n1, const basic_string& __str) const;
1672 …int compare(size_type __pos1, size_type __n1, const basic_string& __str, size_type __pos2, size_ty…
1827 void __copy_assign_alloc(const basic_string& __str)
1828 {__copy_assign_alloc(__str, integral_constant<bool,
1832 void __copy_assign_alloc(const basic_string& __str, true_type)
1834 if (__alloc() != __str.__alloc())
1839 __alloc() = __str.__alloc();
1848 void __move_assign(basic_string& __str, false_type);
1850 void __move_assign(basic_string& __str, true_type)
1856 __move_assign_alloc(basic_string& __str)
1860 {__move_assign_alloc(__str, integral_constant<bool,
2047 basic_string<_CharT, _Traits, _Allocator>::basic_string(const basic_string& __str)
2048 : __r_(__alloc_traits::select_on_container_copy_construction(__str.__alloc()))
2050 if (!__str.__is_long())
2051 __r_.first().__r = __str.__r_.first().__r;
2053 __init(_VSTD::__to_raw_pointer(__str.__get_long_pointer()), __str.__get_long_size());
2060 basic_string<_CharT, _Traits, _Allocator>::basic_string(const basic_string& __str, const allocator_…
2063 if (!__str.__is_long())
2064 __r_.first().__r = __str.__r_.first().__r;
2066 __init(_VSTD::__to_raw_pointer(__str.__get_long_pointer()), __str.__get_long_size());
2076 basic_string<_CharT, _Traits, _Allocator>::basic_string(basic_string&& __str)
2082 : __r_(_VSTD::move(__str.__r_))
2084 __str.__zero();
2088 __get_db()->swap(this, &__str);
2094 basic_string<_CharT, _Traits, _Allocator>::basic_string(basic_string&& __str, const allocator_type&…
2097 if (__str.__is_long() && __a != __str.__alloc()) // copy, not move
2098 __init(_VSTD::__to_raw_pointer(__str.__get_long_pointer()), __str.__get_long_size());
2101 __r_.first().__r = __str.__r_.first().__r;
2102 __str.__zero();
2107 __get_db()->swap(this, &__str);
2159 basic_string<_CharT, _Traits, _Allocator>::basic_string(const basic_string& __str, size_type __pos,…
2163 size_type __str_sz = __str.size();
2166 __init(__str.data() + __pos, _VSTD::min(__n, __str_sz - __pos));
2417 basic_string<_CharT, _Traits, _Allocator>::operator=(const basic_string& __str)
2419 if (this != &__str)
2421 __copy_assign_alloc(__str);
2422 assign(__str);
2432 basic_string<_CharT, _Traits, _Allocator>::__move_assign(basic_string& __str, false_type)
2434 if (__alloc() != __str.__alloc())
2435 assign(__str);
2437 __move_assign(__str, true_type());
2443 basic_string<_CharT, _Traits, _Allocator>::__move_assign(basic_string& __str, true_type)
2448 __r_.first() = __str.__r_.first();
2449 __move_assign_alloc(__str);
2450 __str.__zero();
2456 basic_string<_CharT, _Traits, _Allocator>::operator=(basic_string&& __str)
2460 __move_assign(__str, integral_constant<bool,
2512 basic_string<_CharT, _Traits, _Allocator>::assign(const basic_string& __str)
2514 return assign(__str.data(), __str.size());
2519 basic_string<_CharT, _Traits, _Allocator>::assign(const basic_string& __str, size_type __pos, size_…
2521 size_type __sz = __str.size();
2524 return assign(__str.data() + __pos, _VSTD::min(__n, __sz - __pos));
2659 basic_string<_CharT, _Traits, _Allocator>::append(const basic_string& __str)
2661 return append(__str.data(), __str.size());
2666 basic_string<_CharT, _Traits, _Allocator>::append(const basic_string& __str, size_type __pos, size_…
2668 size_type __sz = __str.size();
2671 return append(__str.data() + __pos, _VSTD::min(__n, __sz - __pos));
2820 basic_string<_CharT, _Traits, _Allocator>::insert(size_type __pos1, const basic_string& __str)
2822 return insert(__pos1, __str.data(), __str.size());
2827 basic_string<_CharT, _Traits, _Allocator>::insert(size_type __pos1, const basic_string& __str,
2830 size_type __str_sz = __str.size();
2833 return insert(__pos1, __str.data() + __pos2, _VSTD::min(__n, __str_sz - __pos2));
3003 …<_CharT, _Traits, _Allocator>::replace(size_type __pos1, size_type __n1, const basic_string& __str)
3005 return replace(__pos1, __n1, __str.data(), __str.size());
3010 …<_CharT, _Traits, _Allocator>::replace(size_type __pos1, size_type __n1, const basic_string& __str,
3013 size_type __str_sz = __str.size();
3016 return replace(__pos1, __n1, __str.data() + __pos2, _VSTD::min(__n2, __str_sz - __pos2));
3030 … _Traits, _Allocator>::replace(const_iterator __i1, const_iterator __i2, const basic_string& __str)
3033 __str.data(), __str.size());
3359 basic_string<_CharT, _Traits, _Allocator>::swap(basic_string& __str)
3370 if (!__str.__is_long())
3371 __get_db()->__invalidate_all(&__str);
3372 __get_db()->swap(this, &__str);
3374 _VSTD::swap(__r_.first(), __str.__r_.first());
3375 __swap_allocator(__alloc(), __str.__alloc());
3403 basic_string<_CharT, _Traits, _Allocator>::find(const basic_string& __str,
3407 (data(), size(), __str.data(), __pos, __str.size());
3446 basic_string<_CharT, _Traits, _Allocator>::rfind(const basic_string& __str,
3450 (data(), size(), __str.data(), __pos, __str.size());
3489 basic_string<_CharT, _Traits, _Allocator>::find_first_of(const basic_string& __str,
3493 (data(), size(), __str.data(), __pos, __str.size());
3532 basic_string<_CharT, _Traits, _Allocator>::find_last_of(const basic_string& __str,
3536 (data(), size(), __str.data(), __pos, __str.size());
3575 basic_string<_CharT, _Traits, _Allocator>::find_first_not_of(const basic_string& __str,
3579 (data(), size(), __str.data(), __pos, __str.size());
3619 basic_string<_CharT, _Traits, _Allocator>::find_last_not_of(const basic_string& __str,
3623 (data(), size(), __str.data(), __pos, __str.size());
3652 basic_string<_CharT, _Traits, _Allocator>::compare(const basic_string& __str) const _NOEXCEPT
3655 size_t __rhs_sz = __str.size();
3656 int __result = traits_type::compare(data(), __str.data(),
3672 const basic_string& __str) const
3674 return compare(__pos1, __n1, __str.data(), __str.size());
3681 const basic_string& __str,
3685 size_type __sz = __str.size();
3688 return compare(__pos1, __n1, __str.data() + __pos2, _VSTD::min(__n2,
4089 _LIBCPP_FUNC_VIS int stoi (const string& __str, size_t* __idx = 0, int __base = 10);
4090 _LIBCPP_FUNC_VIS long stol (const string& __str, size_t* __idx = 0, int __base = 10);
4091 _LIBCPP_FUNC_VIS unsigned long stoul (const string& __str, size_t* __idx = 0, int __base = 10);
4092 _LIBCPP_FUNC_VIS long long stoll (const string& __str, size_t* __idx = 0, int __base = 10);
4093 _LIBCPP_FUNC_VIS unsigned long long stoull(const string& __str, size_t* __idx = 0, int __base = 10);
4095 _LIBCPP_FUNC_VIS float stof (const string& __str, size_t* __idx = 0);
4096 _LIBCPP_FUNC_VIS double stod (const string& __str, size_t* __idx = 0);
4097 _LIBCPP_FUNC_VIS long double stold(const string& __str, size_t* __idx = 0);
4109 _LIBCPP_FUNC_VIS int stoi (const wstring& __str, size_t* __idx = 0, int __base = 10…
4110 _LIBCPP_FUNC_VIS long stol (const wstring& __str, size_t* __idx = 0, int __base = 10…
4111 _LIBCPP_FUNC_VIS unsigned long stoul (const wstring& __str, size_t* __idx = 0, int __base = 10…
4112 _LIBCPP_FUNC_VIS long long stoll (const wstring& __str, size_t* __idx = 0, int __base = 10…
4113 _LIBCPP_FUNC_VIS unsigned long long stoull(const wstring& __str, size_t* __idx = 0, int __base = 10…
4115 _LIBCPP_FUNC_VIS float stof (const wstring& __str, size_t* __idx = 0);
4116 _LIBCPP_FUNC_VIS double stod (const wstring& __str, size_t* __idx = 0);
4117 _LIBCPP_FUNC_VIS long double stold(const wstring& __str, size_t* __idx = 0);
4152 const basic_string<_CharT, _Traits, _Allocator>& __str);
4157 basic_string<_CharT, _Traits, _Allocator>& __str);
4162 basic_string<_CharT, _Traits, _Allocator>& __str, _CharT __dlm);
4168 basic_string<_CharT, _Traits, _Allocator>& __str);
4176 basic_string<_CharT, _Traits, _Allocator>& __str, _CharT __dlm);
4182 basic_string<_CharT, _Traits, _Allocator>& __str);
4229 basic_string<char> operator "" s( const char *__str, size_t __len )
4231 return basic_string<char> (__str, __len);
4235 basic_string<wchar_t> operator "" s( const wchar_t *__str, size_t __len )
4237 return basic_string<wchar_t> (__str, __len);
4241 basic_string<char16_t> operator "" s( const char16_t *__str, size_t __len )
4243 return basic_string<char16_t> (__str, __len);
4247 basic_string<char32_t> operator "" s( const char32_t *__str, size_t __len )
4249 return basic_string<char32_t> (__str, __len);