Lines Matching refs:size_type

75   void _Compare_Capacity (size_type __old_capacity) {
101 basic_string(const _Self& __s, size_type __pos, size_type __n = npos,
106 basic_string(const _CharT* __s, size_type __n,
116 basic_string(size_type __n, _CharT __c,
194 size_type size() const { return _M_non_dbg_impl.size(); }
195 size_type length() const { return _M_non_dbg_impl.length(); }
198 void resize(size_type __n, _CharT __c) {
205 void resize(size_type __n) { resize(__n, _STLP_DEFAULT_CONSTRUCTED(_CharT)); }
206 size_type capacity() const { return _M_non_dbg_impl.capacity(); }
208 void reserve(size_type __s = 0) {
220 const_reference operator[](size_type __n) const {
225 reference operator[](size_type __n) {
230 const_reference at(size_type __n) const { return _M_non_dbg_impl.at(__n); }
231 reference at(size_type __n) { return _M_non_dbg_impl.at(__n); }
246 size_type __old_capacity = capacity();
258 size_type __old_capacity = capacity();
266 size_type __old_capacity = capacity();
274 size_type __old_capacity = capacity();
280 _Self& append(const _Self& __s, size_type __pos, size_type __n) {
281 size_type __old_capacity = capacity();
287 _Self& append(const _CharT* __s, size_type __n) {
290 size_type __old_capacity = capacity();
299 size_type __old_capacity = capacity();
305 _Self& append(size_type __n, _CharT __c) {
306 size_type __old_capacity = this->capacity();
313 size_type __old_capacity = this->capacity();
330 _Self& assign(const _Self& __s, size_type __pos, size_type __n) {
338 _Self& assign(const _CharT* __s, size_type __n) {
354 _Self& assign(size_type __n, _CharT __c) {
389 _Self& insert(size_type __pos, const _Self& __s) {
390 size_type __old_capacity = capacity();
396 _Self& insert(size_type __pos, const _Self& __s,
397 size_type __beg, size_type __n) {
398 size_type __old_capacity = capacity();
404 _Self& insert(size_type __pos, const _CharT* __s, size_type __n) {
407 size_type __old_capacity = capacity();
413 _Self& insert(size_type __pos, const _CharT* __s) {
419 _Self& insert(size_type __pos, size_type __n, _CharT __c) {
420 size_type __old_capacity = capacity();
428 size_type __old_capacity = capacity();
436 size_type __old_capacity = capacity();
447 size_type __old_capacity = this->capacity();
459 size_type __old_capacity = capacity();
474 size_type __old_capacity = capacity();
484 size_type __old_capacity = capacity();
491 _Self& erase(size_type __pos = 0, size_type __n = npos) {
511 _Self substr(size_type __pos = 0, size_type __n = npos) const
515 _Self& replace(size_type __pos, size_type __n, const _Self& __s) {
516 size_type __old_capacity = capacity();
522 _Self& replace(size_type __pos1, size_type __n1, const _Self& __s,
523 size_type __pos2, size_type __n2) {
524 size_type __old_capacity = capacity();
530 _Self& replace(size_type __pos, size_type __n1, const _CharT* __s, size_type __n2) {
533 size_type __old_capacity = capacity();
539 _Self& replace(size_type __pos, size_type __n1, const _CharT* __s) {
542 size_type __old_capacity = capacity();
548 _Self& replace(size_type __pos, size_type __n1, size_type __n2, _CharT __c) {
549 size_type __old_capacity = capacity();
557 size_type __old_capacity = capacity();
563 _Self& replace(iterator __f, iterator __l, const _CharT* __s, size_type __n) {
567 size_type __old_capacity = capacity();
577 size_type __old_capacity = capacity();
583 _Self& replace(iterator __f, iterator __l, size_type __n, _CharT __c) {
585 size_type __old_capacity = capacity();
598 size_type __old_capacity = capacity();
612 size_type __old_capacity = capacity();
624 size_type __old_capacity = capacity();
634 size_type __old_capacity = capacity();
653 int compare(size_type __pos, size_type __n, const _Self& __s) const
655 int compare(size_type __pos1, size_type __n1, const _Self& __s,
656 size_type __pos2, size_type __n2) const
662 int compare(size_type __pos, size_type __n, const _CharT* __s) const {
666 int compare(size_type __pos1, size_type __n1, const _CharT* __s,
667 size_type __n2) const {
689 size_type copy(_CharT* __s, size_type __n, size_type __pos = 0) const
693 size_type find(const _Self& __s, size_type __pos = 0) const
695 size_type find(const _CharT* __s, size_type __pos = 0) const {
700 size_type find(const _CharT* __s, size_type __pos, size_type __n) const {
706 size_type find(_CharT __c) const { return find(__c, 0); }
707 size_type find(_CharT __c, size_type __pos /* = 0 */) const
711 size_type rfind(const _Self& __s, size_type __pos = npos) const
713 size_type rfind(const _CharT* __s, size_type __pos = npos) const {
718 size_type rfind(const _CharT* __s, size_type __pos, size_type __n) const {
723 size_type rfind(_CharT __c, size_type __pos = npos) const
727 size_type find_first_of(const _Self& __s, size_type __pos = 0) const
729 size_type find_first_of(const _CharT* __s, size_type __pos = 0) const {
734 size_type find_first_of(const _CharT* __s, size_type __pos, size_type __n) const {
739 size_type find_first_of(_CharT __c, size_type __pos = 0) const
743 size_type find_last_of(const _Self& __s, size_type __pos = npos) const
745 size_type find_last_of(const _CharT* __s, size_type __pos = npos) const {
750 size_type find_last_of(const _CharT* __s, size_type __pos, size_type __n) const {
755 size_type find_last_of(_CharT __c, size_type __pos = npos) const
759 size_type find_first_not_of(const _Self& __s, size_type __pos = 0) const
761 size_type find_first_not_of(const _CharT* __s, size_type __pos = 0) const {
766 size_type find_first_not_of(const _CharT* __s, size_type __pos, size_type __n) const {
771 size_type find_first_not_of(_CharT __c, size_type __pos = 0) const
775 size_type find_last_not_of(const _Self& __s, size_type __pos = npos) const
777 size_type find_last_not_of(const _CharT* __s, size_type __pos = npos) const {
782 size_type find_last_not_of(const _CharT* __s, size_type __pos, size_type __n) const {
787 size_type find_last_not_of(_CharT __c, size_type __pos = npos) const