Searched refs:__res_arg (Results 1 – 2 of 2) sorted by relevance
158 void basic_string<_CharT,_Traits,_Alloc>::reserve(size_type __res_arg) { in reserve() argument159 if (__res_arg > max_size()) in reserve()162 size_type __n = (max)(__res_arg, size()) + 1; in reserve()
3241 basic_string<_CharT, _Traits, _Allocator>::reserve(size_type __res_arg)3243 if (__res_arg > max_size())3247 __res_arg = _VSTD::max(__res_arg, __sz);3248 __res_arg = __recommend(__res_arg);3249 if (__res_arg != __cap)3253 if (__res_arg == __min_cap - 1)3262 if (__res_arg > __cap)3263 __new_data = __alloc_traits::allocate(__alloc(), __res_arg+1);3270 __new_data = __alloc_traits::allocate(__alloc(), __res_arg+1);3292 __set_long_cap(__res_arg+1);