Home
last modified time | relevance | path

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

/openbsd/src/gnu/gcc/libstdc++-v3/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 …]
/openbsd/src/gnu/lib/libstdc++/libstdc++/include/bits/
Dbasic_string.tcc51 _Rep::_S_max_size = (((npos - sizeof(_Rep))/sizeof(_CharT)) - 1) / 4;
56 _Rep::_S_terminal = _CharT();
67 (sizeof(_Rep) + sizeof(_CharT) + sizeof(size_type) - 1)/sizeof(size_type)];
90 _Rep* __r = _Rep::_S_create(__i, __a); in _S_construct()
107 *__p = _Rep::_S_terminal; // grrr. in _S_construct()
117 _Rep* __another = _Rep::_S_create(__len + 1, __a); in _S_construct()
150 _Rep* __r = _Rep::_S_create(__dnew, __a); in _S_construct()
160 __r->_M_refdata()[__dnew] = _Rep::_S_terminal; // grrr. in _S_construct()
173 _Rep* __r = _Rep::_S_create(__n, __a);
185 __r->_M_refdata()[__n] = _Rep::_S_terminal; // grrr
[all …]
Dbasic_string.h143 struct _Rep struct
200 static _Rep* argument
245 …static size_type _S_empty_rep_storage[(sizeof(_Rep) + sizeof(_CharT) + sizeof(size_type) - 1)/size…
255 _Rep*
257 { return &((reinterpret_cast<_Rep*> (_M_data()))[-1]); } in _M_rep()
323 static _Rep&
325 { return *reinterpret_cast<_Rep*>(&_S_empty_rep_storage); } in _S_empty_rep()
414 max_size() const { return _Rep::_S_max_size; } in max_size()
720 traits_type::assign(_M_data()[__n], _Rep::_S_terminal); in c_str()
/openbsd/src/gnu/llvm/libcxx/include/
D__mutex_base137 template <class _Rep, class _Period>
139 unique_lock(mutex_type& __m, const chrono::duration<_Rep, _Period>& __d)
170 template <class _Rep, class _Period>
171 bool try_lock_for(const chrono::duration<_Rep, _Period>& __d);
226 template <class _Rep, class _Period>
228 unique_lock<_Mutex>::try_lock_for(const chrono::duration<_Rep, _Period>& __d)
312 template <class _Rep, class _Period>
316 const chrono::duration<_Rep, _Period>& __d);
318 template <class _Rep, class _Period, class _Predicate>
322 const chrono::duration<_Rep, _Period>& __d,
[all …]
Dcondition_variable157 template <class _Lock, class _Rep, class _Period>
161 const chrono::duration<_Rep, _Period>& __d);
163 template <class _Lock, class _Rep, class _Period, class _Predicate>
167 const chrono::duration<_Rep, _Period>& __d,
244 template <class _Lock, class _Rep, class _Period>
248 const chrono::duration<_Rep, _Period>& __d)
253 template <class _Lock, class _Rep, class _Period, class _Predicate>
257 const chrono::duration<_Rep, _Period>& __d,
Dshared_mutex220 template <class _Rep, class _Period>
223 try_lock_for(const chrono::duration<_Rep, _Period>& __rel_time)
236 template <class _Rep, class _Period>
239 try_lock_shared_for(const chrono::duration<_Rep, _Period>& __rel_time)
359 template <class _Rep, class _Period>
362 const chrono::duration<_Rep, _Period>& __rel_time)
462 template <class _Rep, class _Period>
464 shared_lock<_Mutex>::try_lock_for(const chrono::duration<_Rep, _Period>& __d)
Dfuture589 template <class _Rep, class _Period>
592 wait_for(const chrono::duration<_Rep, _Period>& __rel_time) const;
615 template <class _Rep, class _Period>
618 __assoc_sub_state::wait_for(const chrono::duration<_Rep, _Period>& __rel_time) const
1088 template <class _Rep, class _Period>
1091 wait_for(const chrono::duration<_Rep, _Period>& __rel_time) const
1175 template <class _Rep, class _Period>
1178 wait_for(const chrono::duration<_Rep, _Period>& __rel_time) const
1257 template <class _Rep, class _Period>
1260 wait_for(const chrono::duration<_Rep, _Period>& __rel_time) const
[all …]
Dmutex249 template <class _Rep, class _Period>
251 bool try_lock_for(const chrono::duration<_Rep, _Period>& __d)
291 template <class _Rep, class _Period>
293 bool try_lock_for(const chrono::duration<_Rep, _Period>& __d)
Dthread361 template <class _Rep, class _Period>
363 sleep_for(const chrono::duration<_Rep, _Period>& __d)
365 if (__d > chrono::duration<_Rep, _Period>::zero())
/openbsd/src/gnu/gcc/libstdc++-v3/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()
399 static _Rep& in _GLIBCXX_BEGIN_NAMESPACE()
401 { return _Rep::_S_empty_rep(); } in _GLIBCXX_BEGIN_NAMESPACE()
607 { return _Rep::_S_max_size; } in _GLIBCXX_BEGIN_NAMESPACE()
/openbsd/src/gnu/usr.bin/gcc/gcc/testsuite/g++.dg/opt/
Dnoreturn-1.C33 struct _Rep { struct
45 _Rep *_M_rep() const { in _M_rep()
46 return &((reinterpret_cast<_Rep *>(_M_data()))[-1]); in _M_rep()
Dpr6713.C26 struct _Rep struct
38 struct _Rep _M_rep; argument
/openbsd/src/gnu/lib/libstdc++/libstdc++/testsuite/27_io/
Dios_init.cc383 std::basic_string<unsigned short>::_Rep::_S_max_size;
387 std::basic_string<unsigned short>::_Rep::_S_terminal;
391 std::basic_string<unsigned char>::_Rep::_S_max_size;
395 std::basic_string<unsigned char>::_Rep::_S_terminal;
/openbsd/src/gnu/lib/libstdc++/libstdc++/testsuite/21_strings/
Dcapacity.cc269 std::basic_string< A<B> >::_Rep::_S_max_size;
273 std::basic_string< A<B> >::_Rep::_S_terminal;
/openbsd/src/gnu/gcc/libstdc++-v3/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);
/openbsd/src/gnu/lib/libstdc++/libstdc++/
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
7365 * bits/string.tcc(basic_string<>::_Rep::_S_create): Fixed
7424 * bits/basic_string.h: Change _Rep::_M_data to _Rep::_M_refdata,
7426 _Rep::_M_data() calls.
7475 Add _S_terminal to _Rep for operator[] const, add this into
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.
DChangeLog5859 * src/string-inst.cc (string::_Rep::_S_terminal): Remove redundant
5861 (string::_Rep::_S_max_size): Same.
/openbsd/src/gnu/lib/libstdc++/libstdc++/docs/html/17_intro/
DDESIGN792 friendship with basic_string<> and basic_string<>::_Rep to use
/openbsd/src/gnu/gcc/libstdc++-v3/docs/html/17_intro/
DDESIGN792 friendship with basic_string<> and basic_string<>::_Rep to use