Home
last modified time | relevance | path

Searched refs:_Rep (Results 1 – 19 of 19) sorted by relevance

/trueos/contrib/libstdc++/include/ext/
Drc_string_base.h113 struct _Rep in _GLIBCXX_BEGIN_NAMESPACE() struct
128 typedef typename _Alloc::template rebind<_Rep>::other _Rep_alloc_type; in _GLIBCXX_BEGIN_NAMESPACE() argument
152 static _Rep* in _GLIBCXX_BEGIN_NAMESPACE()
163 : public _Rep in _GLIBCXX_BEGIN_NAMESPACE()
183 enum { _S_max_size = (((static_cast<size_type>(-1) - 2 * sizeof(_Rep) in _GLIBCXX_BEGIN_NAMESPACE()
193 _Rep* in _GLIBCXX_BEGIN_NAMESPACE()
195 { return &((reinterpret_cast<_Rep*>(_M_data()))[-1]); } in _GLIBCXX_BEGIN_NAMESPACE()
355 typename __rc_string_base<_CharT, _Traits, _Alloc>::_Rep*
356 __rc_string_base<_CharT, _Traits, _Alloc>::_Rep::
408 + 2 * sizeof(_Rep) - 1); in _S_create()
[all …]
/trueos/contrib/libc++/include/
D__mutex_base124 template <class _Rep, class _Period>
126 unique_lock(mutex_type& __m, const chrono::duration<_Rep, _Period>& __d)
162 template <class _Rep, class _Period>
163 bool try_lock_for(const chrono::duration<_Rep, _Period>& __d);
218 template <class _Rep, class _Period>
220 unique_lock<_Mutex>::try_lock_for(const chrono::duration<_Rep, _Period>& __d)
302 template <class _Rep, class _Period>
305 const chrono::duration<_Rep, _Period>& __d);
307 template <class _Rep, class _Period, class _Predicate>
310 const chrono::duration<_Rep, _Period>& __d,
[all …]
Dcondition_variable148 template <class _Lock, class _Rep, class _Period>
151 const chrono::duration<_Rep, _Period>& __d);
153 template <class _Lock, class _Rep, class _Period, class _Predicate>
156 const chrono::duration<_Rep, _Period>& __d,
233 template <class _Lock, class _Rep, class _Period>
237 const chrono::duration<_Rep, _Period>& __d)
242 template <class _Lock, class _Rep, class _Period, class _Predicate>
246 const chrono::duration<_Rep, _Period>& __d,
Dchrono295 template <class _Rep, class _Period = ratio<1> > class _LIBCPP_TYPE_VIS_ONLY duration;
300 template <class _Rep, class _Period>
301 struct __is_duration<duration<_Rep, _Period> > : true_type {};
303 template <class _Rep, class _Period>
304 struct __is_duration<const duration<_Rep, _Period> > : true_type {};
306 template <class _Rep, class _Period>
307 struct __is_duration<volatile duration<_Rep, _Period> > : true_type {};
309 template <class _Rep, class _Period>
310 struct __is_duration<const volatile duration<_Rep, _Period> > : true_type {};
379 template <class _ToDuration, class _Rep, class _Period>
[all …]
Dshared_mutex140 template <class _Rep, class _Period>
143 try_lock_for(const chrono::duration<_Rep, _Period>& __rel_time)
155 template <class _Rep, class _Period>
158 try_lock_shared_for(const chrono::duration<_Rep, _Period>& __rel_time)
276 template <class _Rep, class _Period>
279 const chrono::duration<_Rep, _Period>& __rel_time)
378 template <class _Rep, class _Period>
380 shared_lock<_Mutex>::try_lock_for(const chrono::duration<_Rep, _Period>& __d)
Dmutex231 template <class _Rep, class _Period>
233 bool try_lock_for(const chrono::duration<_Rep, _Period>& __d)
274 template <class _Rep, class _Period>
276 bool try_lock_for(const chrono::duration<_Rep, _Period>& __d)
Dfuture567 template <class _Rep, class _Period>
569 wait_for(const chrono::duration<_Rep, _Period>& __rel_time) const;
591 template <class _Rep, class _Period>
594 __assoc_sub_state::wait_for(const chrono::duration<_Rep, _Period>& __rel_time) const
1129 template <class _Rep, class _Period>
1132 wait_for(const chrono::duration<_Rep, _Period>& __rel_time) const
1233 template <class _Rep, class _Period>
1236 wait_for(const chrono::duration<_Rep, _Period>& __rel_time) const
1332 template <class _Rep, class _Period>
1335 wait_for(const chrono::duration<_Rep, _Period>& __rel_time) const
[all …]
Dthread414 template <class _Rep, class _Period>
416 sleep_for(const chrono::duration<_Rep, _Period>& __d)
419 if (__d > duration<_Rep, _Period>::zero())
/trueos/contrib/libstdc++/include/bits/
Dbasic_string.tcc64 _Rep::_S_max_size = (((npos - sizeof(_Rep_base))/sizeof(_CharT)) - 1) / 4;
69 _Rep::_S_terminal = _CharT();
79 basic_string<_CharT, _Traits, _Alloc>::_Rep::_S_empty_rep_storage[
106 _Rep* __r = _Rep::_S_create(__len, size_type(0), __a); in _S_construct()
115 _Rep* __another = _Rep::_S_create(__len + 1, __len, __a); in _S_construct()
151 _Rep* __r = _Rep::_S_create(__dnew, size_type(0), __a); in _S_construct()
173 _Rep* __r = _Rep::_S_create(__n, size_type(0), __a);
426 basic_string<_CharT, _Traits, _Alloc>::_Rep::
461 _Rep* __r = _Rep::_S_create(__new_size, this->capacity(), __a); in _M_mutate()
526 typename basic_string<_CharT, _Traits, _Alloc>::_Rep*
[all …]
Dbasic_string.h154 struct _Rep : _Rep_base in _GLIBCXX_BEGIN_NAMESPACE() struct
179 static _Rep& in _GLIBCXX_BEGIN_NAMESPACE()
186 return *reinterpret_cast<_Rep*>(__p); in _GLIBCXX_BEGIN_NAMESPACE()
227 static _Rep* in _GLIBCXX_BEGIN_NAMESPACE()
286 _Rep* in _GLIBCXX_BEGIN_NAMESPACE()
288 { return &((reinterpret_cast<_Rep*> (_M_data()))[-1]); } in _GLIBCXX_BEGIN_NAMESPACE()
409 static _Rep& in _GLIBCXX_BEGIN_NAMESPACE()
411 { return _Rep::_S_empty_rep(); } in _GLIBCXX_BEGIN_NAMESPACE()
617 { return _Rep::_S_max_size; } in _GLIBCXX_BEGIN_NAMESPACE()
/trueos/contrib/libstdc++/src/
Dcompatibility.cc273 basic_string<char>::_Rep::_M_set_length_and_sharable(size_t);
320 basic_string<wchar_t>::_Rep::_M_set_length_and_sharable(size_t);
/trueos/contrib/libstdc++/
DChangeLog-2005645 Likewise, for the same _Rep.
817 * include/bits/basic_string.h (_Rep::_S_empty_rep): Avoid
891 * include/ext/rc_string_base.h (__rc_string_base<>::_Rep): Avoid the
898 * include/ext/rc_string_base.h (__rc_string_base<>::_Rep): Use
900 rebind to _Rep and rename _Raw_alloc to _Rep_alloc_type.
901 (__rc_string_base<>::_Rep::_S_create, _M_destroy): Adjust consistently.
1279 _Rep class and remove code in macro.
1285 * include/ext/rc_string_base.h (_Rep::_M_refdata()): Minor tweak,
2845 * include/bits/basic_string.tcc (_Rep::_M_destroy, _Rep::_S_create):
2921 * include/bits/basic_string.h (_Rep::_M_set_length_and_sharable):
[all …]
DChangeLog-2004596 * include/bits/basic_string.tcc (_Rep::_S_create): When shrinking,
1205 * include/bits/basic_string.h (_Rep::_M_is_safe): Move to
1221 * include/bits/basic_string.h (_Rep::_M_is_safe, _M_check_length,
1230 Fix: when s points inside the _Rep, upon reallocation (reserve) we
1289 (_Rep::_S_create): Don't set/call _M_length/_M_set_sharable here.
1442 that case sizeof(_Rep) == 24).
4120 _Rep::_M_grab the actual allocator of the string being constructed
5013 * include/bits/basic_string.h (basic_string::_Rep::_M_refcopy): Same.
5014 (basic_string::_Rep::_M_dispose): Same.
5738 * include/bits/basic_string.h (_Rep::operator[]): Remove, unused.
[all …]
DChangeLog-19991721 * bits/string.tcc(basic_string<>::_Rep::_S_create): Fixed
1780 * bits/basic_string.h: Change _Rep::_M_data to _Rep::_M_refdata,
1782 _Rep::_M_data() calls.
1831 Add _S_terminal to _Rep for operator[] const, add this into
DChangeLog-20034509 (_S_empty_rep_storage): Move into basic_string<>::_Rep for use by its
4511 (_Rep::_S_empty_rep()): New accessor.
4512 (_Rep::_M_length, _Rep::_M_capacity, _Rep::_M_references): Move to
4514 (_Rep::_M_dispose, _Rep::_M_refcopy): Check for the empty string.
4518 (_Rep::_M_destroy, _M_leak_hard): Check for the empty string and
DChangeLog-20001094 * include/bits/basic_string.h (basic_string::_Rep::_S_max_size):
1096 (basic_string::_Rep::_S_terminal): Likewise.
1097 * include/bits/string.tcc (basic_string::_Rep::_S_max_size):
1099 (basic_string::_Rep::_S_terminal): Likewise.
2413 * bits/string.tcc (_Rep::_S_max_size): Use typename for its size_type
DChangeLog-2001590 * src/string-inst.cc (string::_Rep::_S_terminal): Add static data
673 (basic_string::_Rep::__default_excess, _S_excess_slop):
699 * include/bits/basic_string.tcc (basic_string::_Rep::_S_create):
3377 * src/string-inst.cc (_Rep::_S_max_size): Add instantiation.
DChangeLog-20024355 * src/string-inst.cc (string::_Rep::_S_terminal): Remove redundant
4357 (string::_Rep::_S_max_size): Same.
DChangeLog-2006628 * include/bits/basic_string.tcc (_Rep::_S_create): Call