Searched refs:_str (Results 1 - 2 of 2) sorted by relevance

/haiku/headers/cpp/std/
H A Dbastring.h187 basic_string (const basic_string& _str): dat (_str.rep ()->grab ()) { } argument
188 basic_string (const basic_string& _str, size_type pos, size_type n = npos) argument
189 : dat (nilRep.grab ()) { assign (_str, pos, n); }
209 basic_string& append (const basic_string& _str, size_type pos = 0, argument
211 { return replace (length (), 0, _str, pos, n); }
502 basic_string <charT, traits, Allocator> _str (lhs);
503 _str.append (rhs);
504 return _str;
511 basic_string <charT, traits, Allocator> _str (lh
[all...]
H A Dbastring.cc119 const basic_string& _str, size_type pos2, size_type n2)
121 const size_t len2 = _str.length ();
124 return operator= (_str);
131 return replace (pos1, n1, _str.data () + pos2, n2);
397 compare (const basic_string& _str, size_type pos, size_type n) const argument
404 if (rlen > _str.length ())
405 rlen = _str.length ();
406 int r = traits::compare (data () + pos, _str.data (), rlen);
411 return (length () - pos) - _str.length ();
118 replace(size_type pos1, size_type n1, const basic_string& _str, size_type pos2, size_type n2) argument

Completed in 40 milliseconds