Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/libstdc++/include/ext/
H A Drc_string_base.h113 struct _Rep in _GLIBCXX_BEGIN_NAMESPACE() struct
152 static _Rep* in _GLIBCXX_BEGIN_NAMESPACE()
163 : public _Rep in _GLIBCXX_BEGIN_NAMESPACE()
193 _Rep* in _GLIBCXX_BEGIN_NAMESPACE()
423 _Rep* __p = new (__place) _Rep; in _S_create()
510 _Rep* __r = _Rep::_S_create(__len, size_type(0), __a); in _S_construct()
519 _Rep* __another = _Rep::_S_create(__len + 1, __len, __a); in _S_construct()
555 _Rep* __r = _Rep::_S_create(__dnew, size_type(0), __a); in _S_construct()
576 _Rep* __r = _Rep::_S_create(__n, size_type(0), __a); in _S_construct()
643 _Rep* __r = _Rep::_S_create(_M_length() + __len2 - __len1, in _M_mutate()
[all …]
/freebsd-12.1/contrib/libc++/include/
H A D__mutex_base145 template <class _Rep, class _Period>
183 template <class _Rep, class _Period>
239 template <class _Rep, class _Period>
331 template <class _Rep, class _Period>
335 const chrono::duration<_Rep, _Period>& __d);
337 template <class _Rep, class _Period, class _Predicate>
341 const chrono::duration<_Rep, _Period>& __d,
353 template <class _To, class _Rep, class _Period>
360 __ceil(chrono::duration<_Rep, _Period> __d)
402 template <class _Rep, class _Period>
[all …]
H A Dcondition_variable155 template <class _Lock, class _Rep, class _Period>
159 const chrono::duration<_Rep, _Period>& __d);
161 template <class _Lock, class _Rep, class _Period, class _Predicate>
165 const chrono::duration<_Rep, _Period>& __d,
242 template <class _Lock, class _Rep, class _Period>
246 const chrono::duration<_Rep, _Period>& __d)
251 template <class _Lock, class _Rep, class _Period, class _Predicate>
255 const chrono::duration<_Rep, _Period>& __d,
H A Dshared_mutex219 template <class _Rep, class _Period>
222 try_lock_for(const chrono::duration<_Rep, _Period>& __rel_time)
235 template <class _Rep, class _Period>
238 try_lock_shared_for(const chrono::duration<_Rep, _Period>& __rel_time)
358 template <class _Rep, class _Period>
361 const chrono::duration<_Rep, _Period>& __rel_time)
460 template <class _Rep, class _Period>
462 shared_lock<_Mutex>::try_lock_for(const chrono::duration<_Rep, _Period>& __d)
H A Dchrono827 template <class _Rep, class _Period>
830 template <class _Rep, class _Period>
833 template <class _Rep, class _Period>
919 template <class _Rep>
923 template <class _Rep>
928 template <class _Rep>
932 _LIBCPP_INLINE_VISIBILITY static _LIBCPP_CONSTEXPR _Rep zero() _NOEXCEPT {return _Rep(0);}
1029 typedef _Rep rep;
1266 template <class _Duration, class _Rep, bool = __is_duration<_Rep>::value>
1442 duration<_Rep, _Period>
[all …]
H A Dfuture584 template <class _Rep, class _Period>
587 wait_for(const chrono::duration<_Rep, _Period>& __rel_time) const;
610 template <class _Rep, class _Period>
1142 template <class _Rep, class _Period>
1145 wait_for(const chrono::duration<_Rep, _Period>& __rel_time) const
1242 template <class _Rep, class _Period>
1245 wait_for(const chrono::duration<_Rep, _Period>& __rel_time) const
1337 template <class _Rep, class _Period>
2414 template <class _Rep, class _Period>
2488 template <class _Rep, class _Period>
[all …]
H A Dmutex251 template <class _Rep, class _Period>
253 bool try_lock_for(const chrono::duration<_Rep, _Period>& __d)
295 template <class _Rep, class _Period>
297 bool try_lock_for(const chrono::duration<_Rep, _Period>& __d)
H A Dthread367 template <class _Rep, class _Period>
369 sleep_for(const chrono::duration<_Rep, _Period>& __d)
372 if (__d > duration<_Rep, _Period>::zero())
/freebsd-12.1/contrib/libstdc++/include/bits/
H A Dbasic_string.tcc69 _Rep::_S_terminal = _CharT();
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); in _S_construct()
426 basic_string<_CharT, _Traits, _Alloc>::_Rep::
461 _Rep* __r = _Rep::_S_create(__new_size, this->capacity(), __a); in _M_mutate()
527 basic_string<_CharT, _Traits, _Alloc>::_Rep::
590 _Rep *__p = new (__place) _Rep; in _S_create()
605 basic_string<_CharT, _Traits, _Alloc>::_Rep::
[all …]
H A 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()
/freebsd-12.1/contrib/libstdc++/src/
H A 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);
/freebsd-12.1/contrib/libstdc++/
H A 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.
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):
3150 * include/bits/basic_string.tcc (_Rep::_M_destroy, _Rep::_S_create):
[all …]
H A 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).
5014 (basic_string::_Rep::_M_dispose): Same.
5750 * include/bits/basic_string.tcc (_Rep::_S_create): Minor tweak.
5813 * include/bits/basic_string.tcc (_Rep::_S_create):
5921 * include/bits/basic_string.h (_Rep::operator[]): Tweak
[all …]
H A 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
H A 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
H A 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
H A 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.
H A DChangeLog-20024355 * src/string-inst.cc (string::_Rep::_S_terminal): Remove redundant
4357 (string::_Rep::_S_max_size): Same.
H A DChangeLog-2006628 * include/bits/basic_string.tcc (_Rep::_S_create): Call