Lines Matching refs:npos
159 static const size_type npos = static_cast<size_type>(-1); variable
175 { return (npos - 1)/sizeof (charT); } // XXX in max_size()
188 basic_string (const basic_string& _str, size_type pos, size_type n = npos)
210 size_type n = npos)
230 size_type n = npos)
231 { return replace (0, npos, str, pos, n); }
233 { return replace (0, npos, s, n); } in assign()
237 { return replace (0, npos, n, c); } in assign()
259 size_type pos2 = 0, size_type n = npos)
283 basic_string& erase (size_type pos = 0, size_type n = npos)
297 size_type pos2 = 0, size_type n2 = npos);
373 size_type rfind (const basic_string& str, size_type pos = npos) const
376 size_type rfind (const charT* s, size_type pos = npos) const
378 size_type rfind (charT c, size_type pos = npos) const;
388 size_type find_last_of (const basic_string& str, size_type pos = npos) const
391 size_type find_last_of (const charT* s, size_type pos = npos) const
393 size_type find_last_of (charT c, size_type pos = npos) const
403 size_type find_last_not_of (const basic_string& str, size_type pos = npos) const
406 size_type find_last_not_of (const charT* s, size_type pos = npos) const
408 size_type find_last_not_of (charT c, size_type pos = npos) const;
410 basic_string substr (size_type pos = 0, size_type n = npos) const
416 int compare (const basic_string& str, size_type pos = 0, size_type n = npos) const;