Home
last modified time | relevance | path

Searched refs:_M_impl (Results 1 – 20 of 20) sorted by relevance

/openbsd/src/gnu/gcc/libstdc++-v3/include/bits/
Dvector.tcc76 pointer __tmp = _M_allocate_and_copy(__n, this->_M_impl._M_start, in _GLIBCXX_BEGIN_NESTED_NAMESPACE()
77 this->_M_impl._M_finish); in _GLIBCXX_BEGIN_NESTED_NAMESPACE()
78 std::_Destroy(this->_M_impl._M_start, this->_M_impl._M_finish, in _GLIBCXX_BEGIN_NESTED_NAMESPACE()
80 _M_deallocate(this->_M_impl._M_start, in _GLIBCXX_BEGIN_NESTED_NAMESPACE()
81 this->_M_impl._M_end_of_storage in _GLIBCXX_BEGIN_NESTED_NAMESPACE()
82 - this->_M_impl._M_start); in _GLIBCXX_BEGIN_NESTED_NAMESPACE()
83 this->_M_impl._M_start = __tmp; in _GLIBCXX_BEGIN_NESTED_NAMESPACE()
84 this->_M_impl._M_finish = __tmp + __old_size; in _GLIBCXX_BEGIN_NESTED_NAMESPACE()
85 this->_M_impl._M_end_of_storage = this->_M_impl._M_start + __n; in _GLIBCXX_BEGIN_NESTED_NAMESPACE()
95 if (this->_M_impl._M_finish != this->_M_impl._M_end_of_storage in insert()
[all …]
Ddeque.tcc77 this->_M_impl._M_start)); in _GLIBCXX_BEGIN_NESTED_NAMESPACE()
81 std::copy(__x.begin(), __mid, this->_M_impl._M_start); in _GLIBCXX_BEGIN_NESTED_NAMESPACE()
82 insert(this->_M_impl._M_finish, __mid, __x.end()); in _GLIBCXX_BEGIN_NESTED_NAMESPACE()
93 if (__position._M_cur == this->_M_impl._M_start._M_cur) in insert()
96 return this->_M_impl._M_start; in insert()
98 else if (__position._M_cur == this->_M_impl._M_finish._M_cur) in insert()
101 iterator __tmp = this->_M_impl._M_finish; in insert()
183 if (__pos._M_cur == this->_M_impl._M_start._M_cur) in _M_fill_insert()
188 std::__uninitialized_fill_a(__new_start, this->_M_impl._M_start, in _M_fill_insert()
190 this->_M_impl._M_start = __new_start; in _M_fill_insert()
[all …]
Dstl_vector.h97 { return *static_cast<_Tp_alloc_type*>(&this->_M_impl); } in _M_get_Tp_allocator()
101 { return *static_cast<const _Tp_alloc_type*>(&this->_M_impl); } in _M_get_Tp_allocator()
108 : _M_impl(__a) in _Vector_base()
112 : _M_impl(__a) in _Vector_base()
114 this->_M_impl._M_start = this->_M_allocate(__n); in _Vector_base()
115 this->_M_impl._M_finish = this->_M_impl._M_start; in _Vector_base()
116 this->_M_impl._M_end_of_storage = this->_M_impl._M_start + __n; in _Vector_base()
120 { _M_deallocate(this->_M_impl._M_start, this->_M_impl._M_end_of_storage in ~_Vector_base()
121 - this->_M_impl._M_start); } in ~_Vector_base()
124 _Vector_impl _M_impl;
[all …]
Dstl_deque.h384 : _M_impl(__a) in _Deque_base()
388 : _M_impl(__a) in _Deque_base()
417 { return *static_cast<_Tp_alloc_type*>(&this->_M_impl); } in _M_get_Tp_allocator()
421 { return *static_cast<const _Tp_alloc_type*>(&this->_M_impl); } in _M_get_Tp_allocator()
430 return _M_impl._Tp_alloc_type::allocate(__deque_buf_size(sizeof(_Tp))); in _M_allocate_node()
436 _M_impl._Tp_alloc_type::deallocate(__p, __deque_buf_size(sizeof(_Tp))); in _M_deallocate_node()
453 _Deque_impl _M_impl; variable
460 if (this->_M_impl._M_map) in ~_Deque_base()
462 _M_destroy_nodes(this->_M_impl._M_start._M_node, in ~_Deque_base()
463 this->_M_impl._M_finish._M_node + 1); in ~_Deque_base()
[all …]
Dstl_bvector.h398 { return *static_cast<_Bit_alloc_type*>(&this->_M_impl); } in _M_get_Bit_allocator()
402 { return *static_cast<const _Bit_alloc_type*>(&this->_M_impl); } in _M_get_Bit_allocator()
408 _Bvector_base(const allocator_type& __a) : _M_impl(__a) { } in _Bvector_base()
414 _Bvector_impl _M_impl;
418 { return _M_impl.allocate((__n + int(_S_word_bit) - 1) in _M_allocate()
424 if (_M_impl._M_start._M_p) in _M_deallocate()
425 _M_impl.deallocate(_M_impl._M_start._M_p, in _M_deallocate()
426 _M_impl._M_end_of_storage - _M_impl._M_start._M_p); in _M_deallocate()
493 std::fill(this->_M_impl._M_start._M_p, this->_M_impl._M_end_of_storage, in _GLIBCXX_BEGIN_NESTED_NAMESPACE()
501 _M_copy_aligned(__x.begin(), __x.end(), this->_M_impl._M_start); in _GLIBCXX_BEGIN_NESTED_NAMESPACE()
[all …]
Dstl_tree.h354 { return *static_cast<_Node_allocator*>(&this->_M_impl); } in _M_get_Node_allocator()
358 { return *static_cast<const _Node_allocator*>(&this->_M_impl); } in _M_get_Node_allocator()
367 { return _M_impl._Node_allocator::allocate(1); } in _M_get_node()
371 { _M_impl._Node_allocator::deallocate(__p, 1); } in _M_put_node()
446 _Rb_tree_impl<_Compare> _M_impl;
451 { return this->_M_impl._M_header._M_parent; }
455 { return this->_M_impl._M_header._M_parent; }
459 { return this->_M_impl._M_header._M_left; }
463 { return this->_M_impl._M_header._M_left; }
467 { return this->_M_impl._M_header._M_right; }
[all …]
Dstl_list.h313 _List_impl _M_impl; variable
317 { return _M_impl._Node_alloc_type::allocate(1); } in _M_get_node()
321 { _M_impl._Node_alloc_type::deallocate(__p, 1); } in _M_put_node()
328 { return *static_cast<_Node_alloc_type*>(&this->_M_impl); } in _M_get_Node_allocator()
332 { return *static_cast<const _Node_alloc_type*>(&this->_M_impl); } in _M_get_Node_allocator()
343 : _M_impl(__a) in _List_base()
356 this->_M_impl._M_node._M_next = &this->_M_impl._M_node; in _M_init()
357 this->_M_impl._M_node._M_prev = &this->_M_impl._M_node; in _M_init()
436 using _Base::_M_impl;
583 { return iterator(this->_M_impl._M_node._M_next); } in begin()
[all …]
Dlist.tcc73 _Node* __cur = static_cast<_Node*>(this->_M_impl._M_node._M_next); in _GLIBCXX_BEGIN_NESTED_NAMESPACE()
74 while (__cur != &this->_M_impl._M_node) in _GLIBCXX_BEGIN_NESTED_NAMESPACE()
274 if (this->_M_impl._M_node._M_next != &this->_M_impl._M_node in sort()
275 && this->_M_impl._M_node._M_next->_M_next != &this->_M_impl._M_node) in sort()
351 if (this->_M_impl._M_node._M_next != &this->_M_impl._M_node in sort()
352 && this->_M_impl._M_node._M_next->_M_next != &this->_M_impl._M_node) in sort()
Dlocale_classes.h285 _Impl* _M_impl; in _GLIBCXX_BEGIN_NAMESPACE()
567 _M_impl = new _Impl(*__other._M_impl, 1); in locale()
570 { _M_impl->_M_install_facet(&_Facet::id, __f); } in locale()
573 _M_impl->_M_remove_reference(); in locale()
576 delete [] _M_impl->_M_names[0]; in locale()
577 _M_impl->_M_names[0] = 0; // Unnamed. in locale()
Dlocale_facets.tcc52 _Impl* __tmp = new _Impl(*_M_impl, 1); in _GLIBCXX_BEGIN_NAMESPACE()
55 __tmp->_M_replace_facet(__other._M_impl, &_Facet::id); in _GLIBCXX_BEGIN_NAMESPACE()
92 const locale::facet** __facets = __loc._M_impl->_M_facets; in has_facet()
93 return (__i < __loc._M_impl->_M_facets_size && __facets[__i]); in has_facet()
114 const locale::facet** __facets = __loc._M_impl->_M_facets; in use_facet()
115 if (!(__i < __loc._M_impl->_M_facets_size && __facets[__i])) in use_facet()
137 const locale::facet** __caches = __loc._M_impl->_M_caches; in operator ()()
151 __loc._M_impl->_M_install_cache(__tmp, __i); in operator ()()
164 const locale::facet** __caches = __loc._M_impl->_M_caches; in operator ()()
178 __loc._M_impl->_M_install_cache(__tmp, __i); in operator ()()
/openbsd/src/gnu/lib/libstdc++/libstdc++/src/
Dlocale.cc162 (_M_impl = _S_global)->_M_add_reference(); in locale()
166 { (_M_impl = __other._M_impl)->_M_add_reference(); } in locale()
171 locale::locale(_Impl* __ip) throw() : _M_impl(__ip) in locale()
180 (_M_impl = _S_classic)->_M_add_reference(); in locale()
182 _M_impl = new _Impl(__s, 1); in locale()
191 (_M_impl = _S_classic)->_M_add_reference(); in locale()
193 _M_impl = new _Impl(__env, 1); in locale()
272 _M_impl = new _Impl(__str.c_str(), 1); in locale()
277 (_M_impl = _S_classic)->_M_add_reference(); in locale()
279 _M_impl = new _Impl(__res.c_str(), 1); in locale()
[all …]
Dctype.cc50 const locale::_Impl* __tmp = __loc._M_impl; in use_facet()
60 const locale::_Impl* __tmp = __loc._M_impl; in use_facet()
/openbsd/src/gnu/gcc/libstdc++-v3/src/
Dlocale.cc78 : _M_impl(__other._M_impl) in locale()
79 { _M_impl->_M_add_reference(); } in locale()
84 locale::locale(_Impl* __ip) throw() : _M_impl(__ip) in locale()
88 { _M_impl->_M_remove_reference(); } in ~locale()
98 if (_M_impl == __rhs._M_impl) in operator ==()
100 else if (!_M_impl->_M_names[0] || !__rhs._M_impl->_M_names[0] in operator ==()
101 || std::strcmp(_M_impl->_M_names[0], in operator ==()
102 __rhs._M_impl->_M_names[0]) != 0) in operator ==()
104 else if (!_M_impl->_M_names[1] && !__rhs._M_impl->_M_names[1]) in operator ==()
114 __other._M_impl->_M_add_reference(); in operator =()
[all …]
Dlocalename.cc37 locale::locale(const char* __s) : _M_impl(0) in locale()
43 (_M_impl = _S_classic)->_M_add_reference(); in locale()
45 _M_impl = new _Impl(__s, 1); in locale()
55 (_M_impl = _S_classic)->_M_add_reference(); in locale()
57 _M_impl = new _Impl(__env, 1); in locale()
131 _M_impl = new _Impl(__str.c_str(), 1); in locale()
136 (_M_impl = _S_classic)->_M_add_reference(); in locale()
138 _M_impl = new _Impl(__lang.c_str(), 1); in locale()
147 : _M_impl(0) in locale()
157 : _M_impl(0) in locale()
[all …]
Dctype.cc58 const locale::_Impl* __tmp = __loc._M_impl; in use_facet()
68 const locale::_Impl* __tmp = __loc._M_impl; in use_facet()
Dlocale_init.cc212 locale::locale() throw() : _M_impl(0) in _GLIBCXX_BEGIN_NAMESPACE()
217 _M_impl = _S_global; in _GLIBCXX_BEGIN_NAMESPACE()
228 __other._M_impl->_M_add_reference(); in global()
229 _S_global = __other._M_impl; in global()
/openbsd/src/gnu/lib/libstdc++/libstdc++/include/bits/
Dlocale_classes.h143 _Impl* _M_impl;
304 _M_impl = new _Impl(*__other._M_impl, 1); in locale()
316 _M_impl->_M_install_facet(&_Facet::id, __f); in locale()
320 _M_impl->_M_remove_reference(); in locale()
329 delete [] _M_impl->_M_names[__k]; in locale()
330 _M_impl->_M_names[__k] = _M_tmp_names[__k]; in locale()
Dlocale_facets.tcc52 _Impl* __tmp = new _Impl(*_M_impl, 1); in combine()
55 __tmp->_M_replace_facet(__other._M_impl, &_Facet::id); in combine()
81 locale::facet** __facets = __loc._M_impl->_M_facets; in use_facet()
82 if (!(__i < __loc._M_impl->_M_facets_size && __facets[__i])) in use_facet()
92 locale::facet** __facets = __loc._M_impl->_M_facets; in has_facet()
93 return (__i < __loc._M_impl->_M_facets_size && __facets[__i]); in has_facet()
103 if (__builtin_expect(__i >= __loc._M_impl->_M_facets_size,false)) in __use_cache()
105 __locale_cache_base* __cache = __loc._M_impl->_M_get_cache(__i); in __use_cache()
109 __loc._M_impl->_M_install_cache(__cache, __i); in __use_cache()
/openbsd/src/gnu/llvm/clang/www/
Dlibstdc++4.4-clang0x.patch18 { _Node_base::swap(this->_M_impl._M_head, __list._M_impl._M_head); }
120 std::swap(this->_M_impl._M_start, __x._M_impl._M_start);
121 std::swap(this->_M_impl._M_finish, __x._M_impl._M_finish);
135 std::swap(this->_M_impl._M_start, __x._M_impl._M_start);
136 std::swap(this->_M_impl._M_finish, __x._M_impl._M_finish);
162 _List_node_base::swap(this->_M_impl._M_node, __x._M_impl._M_node);
417 std::swap(this->_M_impl._M_start, __x._M_impl._M_start);
418 std::swap(this->_M_impl._M_finish, __x._M_impl._M_finish);
/openbsd/src/gnu/llvm/lldb/docs/use/
Dvariable.rst47 _M_impl = {
885 (std::_Vector_base<int, std::allocator&tl;int> >::_Vector_impl) _M_impl = {