Searched refs:selfish (Results 1 - 2 of 2) sorted by relevance
/haiku/headers/cpp/std/ |
H A D | bastring.h | 82 bool selfish; member in struct:basic_string::Rep 87 charT* grab () { if (selfish) return clone (); atomic_add((__haiku_int32*) &ref, 1); return data (); } 90 charT* grab () { if (selfish) return clone (); ++ref; return data (); } 269 insert (p - ibegin (), 1, c); selfish (); 273 insert (p - ibegin (), n, c); selfish (); 287 replace (__o, 1, (size_type)0, (charT)0); selfish (); 291 replace (__o, l-f, (size_type)0, (charT)0);selfish (); 325 void selfish () { unique (); rep ()->selfish = true; } function in class:basic_string 336 { selfish (); retur [all...] |
H A D | bastring.cc | 63 p->selfish = false; 89 rep ()->selfish = false;
|
Completed in 36 milliseconds