Lines Matching refs:__pos
281 const_reference operator[](size_type __pos) const _NOEXCEPT { return __data[__pos]; }
284 const_reference at(size_type __pos) const
286 return __pos >= size()
288 : __data[__pos];
335 size_type copy(_CharT* __s, size_type __n, size_type __pos = 0) const
337 if (__pos > size())
339 size_type __rlen = _VSTD::min(__n, size() - __pos);
340 _Traits::copy(__s, data() + __pos, __rlen);
345 basic_string_view substr(size_type __pos = 0, size_type __n = npos) const
347 return __pos > size()
349 : basic_string_view(data() + __pos, _VSTD::min(__n, size() - __pos));
394 size_type find(basic_string_view __s, size_type __pos = 0) const _NOEXCEPT
398 (data(), size(), __s.data(), __pos, __s.size());
402 size_type find(_CharT __c, size_type __pos = 0) const _NOEXCEPT
405 (data(), size(), __c, __pos);
409 size_type find(const _CharT* __s, size_type __pos, size_type __n) const
413 (data(), size(), __s, __pos, __n);
417 size_type find(const _CharT* __s, size_type __pos = 0) const
421 (data(), size(), __s, __pos, traits_type::length(__s));
426 size_type rfind(basic_string_view __s, size_type __pos = npos) const _NOEXCEPT
430 (data(), size(), __s.data(), __pos, __s.size());
434 size_type rfind(_CharT __c, size_type __pos = npos) const _NOEXCEPT
437 (data(), size(), __c, __pos);
441 size_type rfind(const _CharT* __s, size_type __pos, size_type __n) const
445 (data(), size(), __s, __pos, __n);
449 size_type rfind(const _CharT* __s, size_type __pos=npos) const
453 (data(), size(), __s, __pos, traits_type::length(__s));
458 size_type find_first_of(basic_string_view __s, size_type __pos = 0) const _NOEXCEPT
462 (data(), size(), __s.data(), __pos, __s.size());
466 size_type find_first_of(_CharT __c, size_type __pos = 0) const _NOEXCEPT
467 { return find(__c, __pos); }
470 size_type find_first_of(const _CharT* __s, size_type __pos, size_type __n) const
474 (data(), size(), __s, __pos, __n);
478 size_type find_first_of(const _CharT* __s, size_type __pos=0) const
482 (data(), size(), __s, __pos, traits_type::length(__s));
487 size_type find_last_of(basic_string_view __s, size_type __pos=npos) const _NOEXCEPT
491 (data(), size(), __s.data(), __pos, __s.size());
495 size_type find_last_of(_CharT __c, size_type __pos = npos) const _NOEXCEPT
496 { return rfind(__c, __pos); }
499 size_type find_last_of(const _CharT* __s, size_type __pos, size_type __n) const
503 (data(), size(), __s, __pos, __n);
507 size_type find_last_of(const _CharT* __s, size_type __pos=npos) const
511 (data(), size(), __s, __pos, traits_type::length(__s));
516 size_type find_first_not_of(basic_string_view __s, size_type __pos=0) const _NOEXCEPT
520 (data(), size(), __s.data(), __pos, __s.size());
524 size_type find_first_not_of(_CharT __c, size_type __pos=0) const _NOEXCEPT
527 (data(), size(), __c, __pos);
531 size_type find_first_not_of(const _CharT* __s, size_type __pos, size_type __n) const
535 (data(), size(), __s, __pos, __n);
539 size_type find_first_not_of(const _CharT* __s, size_type __pos=0) const
543 (data(), size(), __s, __pos, traits_type::length(__s));
548 size_type find_last_not_of(basic_string_view __s, size_type __pos=npos) const _NOEXCEPT
552 (data(), size(), __s.data(), __pos, __s.size());
556 size_type find_last_not_of(_CharT __c, size_type __pos=npos) const _NOEXCEPT
559 (data(), size(), __c, __pos);
563 size_type find_last_not_of(const _CharT* __s, size_type __pos, size_type __n) const
567 (data(), size(), __s, __pos, __n);
571 size_type find_last_not_of(const _CharT* __s, size_type __pos=npos) const
575 (data(), size(), __s, __pos, traits_type::length(__s));