Home
last modified time | relevance | path

Searched refs:this (Results 1 – 25 of 663) sorted by relevance

12345678910>>...27

/ndk/sources/cxx-stl/stlport/stlport/stl/
D_deque.c42 _M_destroy_nodes(_M_start._M_node, this->_M_finish._M_node + 1); in ~_Deque_base()
49 size_t __num_nodes = __num_elements / this->buffer_size() + 1 ; in _M_initialize_map()
63 this->_M_finish._M_set_node(__nfinish - 1); in _M_initialize_map()
65 this->_M_finish._M_cur = this->_M_finish._M_first + __num_elements % this->buffer_size(); in _M_initialize_map()
74 *__cur = _M_map_size.allocate(this->buffer_size()); in _M_create_nodes()
83 _M_map_size.deallocate(*__n, this->buffer_size()); in _M_destroy_nodes()
109 if (&__x != this) {
111 erase(_STLP_STD::copy(__x.begin(), __x.end(), this->_M_start), this->_M_finish);
114 _STLP_STD::copy(__x.begin(), __mid, this->_M_start);
115 insert(this->_M_finish, __mid, __x.end());
[all …]
D_ostream.c39 this->init(__buf); in basic_ostream()
50 sentry __sentry(*this);
54 ? this->_M_copy_buffered(__from, this->rdbuf())
55 : this->_M_copy_unbuffered(__from, this->rdbuf());
57 this->setstate(ios_base::failbit);
60 this->setstate(ios_base::badbit);
63 return *this;
86 this->_M_handle_exception(ios_base::badbit); in _M_copy_buffered()
92 if (this->_S_eof(__from->sgetc())) in _M_copy_buffered()
98 this->_M_handle_exception(ios_base::failbit); in _M_copy_buffered()
[all …]
D_sstream.c78 this->setg(__data_ptr, (_M_mode & ios_base::ate) ? __data_end : __data_ptr, __data_end); in _M_set_ptrs()
84 this->setp( __data_end, __data_end ); in _M_set_ptrs()
86 this->setp( __data_ptr, __data_end ); in _M_set_ptrs()
87 this->pbump((int)_M_str.size()); // initial write position, if we initialized with string in _M_set_ptrs()
97 return this->gptr() != this->egptr() in underflow()
98 ? _Traits::to_int_type(*this->gptr()) in underflow()
106 if (this->gptr() != this->egptr()) { in uflow()
107 int_type __c = _Traits::to_int_type(*this->gptr()); in uflow()
108 this->gbump(1); in uflow()
118 if (this->gptr() != this->eback()) { in pbackfail()
[all …]
D_valarray.c37 _Valarray_bool __tmp(this->size(), _Valarray_bool::_NoInit());
38 for (size_t __i = 0; __i < this->size(); ++__i)
39 __tmp[__i] = !(*this)[__i];
46 _STLP_ASSERT(__x._M_slice.size() == this->size())
51 (*this)[__i] = __x._M_array[__index];
52 return *this;
62 __tmp[__i] = (*this)[__index];
88 if (this->size() != 0) {
91 (*this)[__i._M_step] = __x._M_array[__i._M_1d_idx];
94 return *this;
[all …]
D_istream.c211 _STLP_PRIV __get_num(*this, __lval);
212 if ( this->fail() ) {
213 return *this;
220 this->setstate(ios_base::failbit);
223 return *this;
229 _STLP_PRIV __get_num(*this, __lval);
230 if ( this->fail() ) {
231 return *this;
238 this->setstate(ios_base::failbit);
241 return *this;
[all …]
D_deque.h187 return *this->_M_cur;
192 difference_type operator-(const const_iterator& __x) const { return this->_M_subtract(__x); }
194 _Self& operator++() { this->_M_increment(); return *this; }
196 _Self __tmp = *this;
197 ++*this;
201 _Self& operator--() { this->_M_decrement(); return *this; }
203 _Self __tmp = *this;
204 --*this;
208 _Self& operator+=(difference_type __n) { this->_M_advance(__n); return *this; }
210 _Self __tmp = *this;
[all …]
D_bvector.h57 return *this;
60 return *this = bool(__x);
63 return bool(*this) == bool(__x);
66 return !bool(*this) && bool(__x);
72 return *this;
77 return *this;
192 return *this;
195 _Self __tmp = *this;
201 return *this;
204 _Self __tmp = *this;
[all …]
D_string_workaround.h99 return *this;
104 return *this;
109 return *this;
116 this->_M_allocate_block(); in _M_range_initialize()
117 this->_M_construct_null(this->_M_Finish()); in _M_range_initialize()
125 this->_M_allocate_block(__n + 1); in _M_range_initialize()
126 this->_M_finish = uninitialized_copy(__f, __l, this->_M_Start()); in _M_range_initialize()
127 this->_M_terminate_string(); in _M_range_initialize()
137 this->_M_allocate_block(__n + 1); in _M_initialize_dispatch()
138 this->_M_finish = uninitialized_fill_n(this->_M_Start(), __n, __x); in _M_initialize_dispatch()
[all …]
D_vector.c65 this->_M_throw_length_error(); in reserve()
70 if (this->_M_start) { in reserve()
71 __tmp = _M_allocate_and_copy(__n, this->_M_start, this->_M_finish); in reserve()
74 __tmp = this->_M_end_of_storage.allocate(__n, __n); in reserve()
88 pointer __new_start = this->_M_end_of_storage.allocate(__len, __len); in _M_insert_overflow_aux()
91 …__new_finish = _STLP_PRIV __uninitialized_move(this->_M_start, __pos, __new_start, _TrivialUCopy()… in _M_insert_overflow_aux()
99 …__new_finish = _STLP_PRIV __uninitialized_move(__pos, this->_M_finish, __new_finish, _TrivialUCopy… in _M_insert_overflow_aux()
102 this->_M_end_of_storage.deallocate(__new_start,__len))) in _M_insert_overflow_aux()
111 pointer __new_start = this->_M_end_of_storage.allocate(__len, __len); in _M_insert_overflow()
112 …pointer __new_finish = __STATIC_CAST(pointer, _STLP_PRIV __copy_trivial(this->_M_start, __pos, __n… in _M_insert_overflow()
[all …]
D_vector.h136 { return _STLP_CONVERT_ALLOCATOR((const allocator_type&)this->_M_end_of_storage, _Tp); } in get_allocator()
167 if (__n >= size_type(this->_M_finish - this->_M_start)) in _M_range_check()
168 this->_M_throw_out_of_range(); in _M_range_check()
174 this->_M_throw_length_error(); in _M_compute_next_size()
182 iterator begin() { return this->_M_start; } in begin()
183 const_iterator begin() const { return this->_M_start; } in begin()
184 iterator end() { return this->_M_finish; } in end()
185 const_iterator end() const { return this->_M_finish; } in end()
192 size_type size() const { return size_type(this->_M_finish - this->_M_start); } in size()
195 typename allocator_type::size_type __alloc_max_size = this->_M_end_of_storage.max_size(); in max_size()
[all …]
D_string.c160 this->_M_throw_length_error(); in reserve()
163 if (__n < this->_M_capacity()) in reserve()
171 pointer __new_start = this->_M_start_of_storage.allocate(__n, __n); in _M_reserve()
172 pointer __new_finish = _STLP_PRIV __ucopy(this->_M_Start(), this->_M_Finish(), __new_start); in _M_reserve()
174 this->_M_deallocate_block(); in _M_reserve()
175 this->_M_reset(__new_start, __new_finish, __new_start + __n); in _M_reserve()
183 this->_M_throw_length_error(); in append()
184 if (__n >= this->_M_rest()) in append()
186 _STLP_PRIV __uninitialized_fill_n(this->_M_finish + 1, __n - 1, __c); in append()
187 _M_construct_null(this->_M_finish + __n); in append()
[all …]
D_string.h155 { return _STLP_CONVERT_ALLOCATOR((const allocator_type&)this->_M_start_of_storage, _CharT); } in get_allocator()
189 this->_M_throw_out_of_range(); in basic_string()
196 this->_M_throw_out_of_range(); in basic_string()
206 this->_M_throw_out_of_range(); in basic_string()
242 this->_M_finish = _STLP_PRIV __uninitialized_fill_n(this->_M_Start(), __n, __c); in basic_string()
248 this->_M_finish = _STLP_PRIV __uninitialized_fill_n(this->_M_Start(), __n, __c); in basic_string()
305 this->_M_throw_length_error(); in _M_compute_next_size()
315 this->_M_allocate_block(); in _M_range_initialize()
316 _M_construct_null(this->_M_Finish()); in _M_range_initialize()
324 this->_M_allocate_block(__n + 1); in _M_range_initialize()
[all …]
D_fstream.c63 this->_M_setup_codecvt(locale(), false); in basic_filebuf()
68 this->close(); in ~basic_filebuf()
76 return _Underflow<_CharT, _Traits>::_M_doit(this); in underflow()
82 bool __ok = this->is_open(); in close()
85 __ok = __ok && !_Traits::eq_int_type(this->overflow(traits_type::eof()), in close()
87 __ok = __ok && this->_M_unshift(); in close()
90 this->_M_exit_input_mode(); in close()
103 this->setg(0, 0, 0); in close()
104 this->setp(0, 0); in close()
111 return __ok ? this : 0; in close()
[all …]
D_string_sum_methods.h35 this->_M_throw_out_of_range(); in _Reserve_t()
104 return *this; in _M_append_sum()
105 const size_type __old_size = this->size(); in _M_append_sum()
106 if (__s_size > this->max_size() || __old_size > (this->max_size() - __s_size)) in _M_append_sum()
107 this->_M_throw_length_error(); in _M_append_sum()
108 if (__old_size + __s_size > this->capacity()) { in _M_append_sum()
110 pointer __new_start = this->_M_start_of_storage.allocate(__len); in _M_append_sum()
111 pointer __new_finish = uninitialized_copy(this->_M_Start(), this->_M_Finish(), __new_start); in _M_append_sum()
112 __new_finish = this->_M_append_fast(__s, __new_finish); in _M_append_sum()
113 this->_M_construct_null(__new_finish); in _M_append_sum()
[all …]
D_auto_ptr.h54 _Tp* __px = this->get(); in release()
55 this->_M_p = 0; in release()
60 _Tp* __pt = this->get();
63 this->__set(__px);
84 explicit auto_ptr(_Tp* __px = 0) _STLP_NOTHROW { this->__set(__px); }
90 this->__set(__conversionCheck); in auto_ptr()
96 return *this;
100 auto_ptr(_Self& __r) _STLP_NOTHROW { this->__set(__r.release()); } in auto_ptr()
104 return *this;
107 ~auto_ptr() _STLP_NOTHROW { /* boris : reset(0) might be better */ delete this->get(); } in ~auto_ptr()
[all …]
D_iterator.h66 _Self& operator = (const _Self& __x) { current = __x.base(); return *this; }
71 _Self& operator = (const reverse_iterator<_Iter>& __x) { current = __x.base(); return *this; }
82 return *this;
85 _Self __tmp = *this;
91 return *this;
94 _Self __tmp = *this;
102 return *this;
107 return *this;
109 reference operator[](difference_type __n) const { return *(*this + __n); }
175 return *this;
[all …]
D_fstream.h169 return _M_base._M_open(__s, __m) ? this : 0; in open()
176 return _M_base._M_open(__s, __m, __protection) ? this : 0; in open()
182 return this->_M_open(__id, _Init_mode);
187 return _M_base._M_open(__id, _Init_mode) ? this : 0;
194 return _M_base._M_open(__id, _Init_mode) ? this : 0;
220 this->setg(_M_saved_eback, _M_saved_gptr, _M_saved_egptr); in _M_exit_putback_mode()
246 this->setg(0, 0, 0); in _M_seek_return()
247 this->setp(0, 0); in _M_seek_return()
459 this->init(&_M_buf); in basic_ifstream()
465 this->init(&_M_buf);
[all …]
D_slist.h102 reference operator*() const { return __STATIC_CAST(_Node*, this->_M_node)->_M_data; }
108 return *this;
111 _Self __tmp = *this;
117 return this->_M_node == __y._M_node;
120 return this->_M_node != __y._M_node;
254 _Node* __node = this->_M_head.allocate(1);
259 _STLP_UNWIND(this->_M_head.deallocate(__node, 1))
265 _Node* __node = this->_M_head.allocate(1);
270 _STLP_UNWIND(this->_M_head.deallocate(__node, 1))
294 { _M_insert_after_fill(&this->_M_head._M_data, __n, _STLP_DEFAULT_CONSTRUCTED(_Tp)); }
[all …]
D_ios.c51 this->clear(); in rdbuf()
64 this->_M_set_exception_mask(__x.exceptions()); in copyfmt()
65 return *this; in copyfmt()
99 this->rdbuf(__sb); in init()
100 this->imbue(locale()); in init()
101 this->tie(0); in init()
102 this->_M_set_exception_mask(ios_base::goodbit); in init()
103 this->_M_clear_nothrow(__sb != 0 ? ios_base::goodbit : ios_base::badbit); in init()
107 this->fill(widen(' ')); in init()
116 this->_M_setstate_nothrow(__flag); in _M_handle_exception()
[all …]
D_bitset.h355 _STLP_PRIV _Sanitize<_Nb%__BITS_PER_WORD >::_M_do_sanitize(this->_M_hiword());
388 return *this;
398 return *this;
410 return *this;
451 this->_M_do_and(__rhs);
452 return *this;
456 this->_M_do_or(__rhs);
457 return *this;
461 this->_M_do_xor(__rhs);
462 return *this;
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/
Dostream269 this->init(__sb);
278 this->move(__rhs);
287 return *this;
310 return __pf(*this);
319 __pf(*this);
320 return *this;
328 __pf(*this);
329 return *this;
340 sentry __s(*this);
353 _Op __o(*this);
[all …]
Distream295 this->init(__sb);
306 this->move(__rhs);
315 return *this;
342 sentry __s(*this);
348 use_facet<_Fp>(this->getloc()).get(_Ip(*this), _Ip(), *this, __err, __n);
349 this->setstate(__err);
355 this->__set_badbit_and_consider_rethrow();
358 return *this;
369 sentry __s(*this);
375 use_facet<_Fp>(this->getloc()).get(_Ip(*this), _Ip(), *this, __err, __n);
[all …]
Dvector511 __get_db()->__insert_c(this);
518 __get_db()->__insert_c(this);
565 __get_db()->__erase_c(this);
588 {assign(__il.begin(), __il.end()); return *this;}
622 {return this->__alloc();}
657 {return static_cast<size_type>(this->__end_ - this->__begin_);}
663 {return this->__begin_ == this->__end_;}
676 return *this->__begin_;
681 return *this->__begin_;
686 return *(this->__end_ - 1);
[all …]
Dfstream266 if (has_facet<codecvt<char_type, char, state_type> >(this->getloc()))
268 __cv_ = &use_facet<codecvt<char_type, char, state_type> >(this->getloc());
307 this->setp(__intbuf_, __intbuf_ + (__rhs. epptr() - __rhs.pbase()));
309 this->setp((char_type*)__extbuf_,
311 this->pbump(__rhs. pptr() - __rhs.pbase());
316 this->setg(__intbuf_, __intbuf_ + (__rhs.gptr() - __rhs.eback()),
319 this->setg((char_type*)__extbuf_,
347 return *this;
416 if (this->eback() == (char_type*)__rhs.__extbuf_min_)
418 ptrdiff_t __n = this->gptr() - this->eback();
[all …]
/ndk/sources/android/crazy_linker/tests/
Dtest_util.h79 return *this;
84 return *this;
89 return *this;
387 this->name = name; in Init()
388 if (!crazy_library_open(&this->library, name, context)) { in Init()
393 void Close() { crazy_library_close(this->library); } in Close()
396 if (!crazy_library_create_shared_relro(this->library, in CreateSharedRelro()
399 &this->relro.start, in CreateSharedRelro()
400 &this->relro.size, in CreateSharedRelro()
401 &this->relro.fd)) { in CreateSharedRelro()
[all …]

12345678910>>...27