Lines Matching refs:_Cp

25 template <class _Cp, bool _IsConst, typename _Cp::__storage_type = 0> class __bit_iterator;
26 template <class _Cp> class __bit_const_reference;
34 template <class _Cp, bool = __has_storage_type<_Cp>::value>
37 typedef typename _Cp::__storage_type __storage_type;
38 typedef typename _Cp::__storage_pointer __storage_pointer;
44 friend typename _Cp::__self;
46 friend class _Cp::__self;
48 friend class __bit_const_reference<_Cp>;
49 friend class __bit_iterator<_Cp, false>;
71 _LIBCPP_INLINE_VISIBILITY __bit_iterator<_Cp, false> operator&() const _NOEXCEPT
72 {return __bit_iterator<_Cp, false>(__seg_, static_cast<unsigned>(__ctz(__mask_)));}
79 template <class _Cp>
80 class __bit_reference<_Cp, false>
84 template <class _Cp>
87 swap(__bit_reference<_Cp> __x, __bit_reference<_Cp> __y) _NOEXCEPT
94 template <class _Cp, class _Dp>
97 swap(__bit_reference<_Cp> __x, __bit_reference<_Dp> __y) _NOEXCEPT
104 template <class _Cp>
107 swap(__bit_reference<_Cp> __x, bool& __y) _NOEXCEPT
114 template <class _Cp>
117 swap(bool& __x, __bit_reference<_Cp> __y) _NOEXCEPT
124 template <class _Cp>
127 typedef typename _Cp::__storage_type __storage_type;
128 typedef typename _Cp::__const_storage_pointer __storage_pointer;
134 friend typename _Cp::__self;
136 friend class _Cp::__self;
138 friend class __bit_iterator<_Cp, true>;
141 __bit_const_reference(const __bit_reference<_Cp>& __x) _NOEXCEPT
147 _LIBCPP_INLINE_VISIBILITY __bit_iterator<_Cp, true> operator&() const _NOEXCEPT
148 {return __bit_iterator<_Cp, true>(__seg_, static_cast<unsigned>(__ctz(__mask_)));}
160 template <class _Cp, bool _IsConst>
161 __bit_iterator<_Cp, _IsConst>
162 __find_bool_true(__bit_iterator<_Cp, _IsConst> __first, typename _Cp::size_type __n)
164 typedef __bit_iterator<_Cp, _IsConst> _It;
196 template <class _Cp, bool _IsConst>
197 __bit_iterator<_Cp, _IsConst>
198 __find_bool_false(__bit_iterator<_Cp, _IsConst> __first, typename _Cp::size_type __n)
200 typedef __bit_iterator<_Cp, _IsConst> _It;
235 template <class _Cp, bool _IsConst, class _Tp>
237 __bit_iterator<_Cp, _IsConst>
238 find(__bit_iterator<_Cp, _IsConst> __first, __bit_iterator<_Cp, _IsConst> __last, const _Tp& __valu…
241 return __find_bool_true(__first, static_cast<typename _Cp::size_type>(__last - __first));
242 return __find_bool_false(__first, static_cast<typename _Cp::size_type>(__last - __first));
247 template <class _Cp, bool _IsConst>
248 typename __bit_iterator<_Cp, _IsConst>::difference_type
249 __count_bool_true(__bit_iterator<_Cp, _IsConst> __first, typename _Cp::size_type __n)
251 typedef __bit_iterator<_Cp, _IsConst> _It;
278 template <class _Cp, bool _IsConst>
279 typename __bit_iterator<_Cp, _IsConst>::difference_type
280 __count_bool_false(__bit_iterator<_Cp, _IsConst> __first, typename _Cp::size_type __n)
282 typedef __bit_iterator<_Cp, _IsConst> _It;
309 template <class _Cp, bool _IsConst, class _Tp>
311 typename __bit_iterator<_Cp, _IsConst>::difference_type
312 count(__bit_iterator<_Cp, _IsConst> __first, __bit_iterator<_Cp, _IsConst> __last, const _Tp& __val…
315 return __count_bool_true(__first, static_cast<typename _Cp::size_type>(__last - __first));
316 return __count_bool_false(__first, static_cast<typename _Cp::size_type>(__last - __first));
321 template <class _Cp>
323 __fill_n_false(__bit_iterator<_Cp, false> __first, typename _Cp::size_type __n)
325 typedef __bit_iterator<_Cp, false> _It;
351 template <class _Cp>
353 __fill_n_true(__bit_iterator<_Cp, false> __first, typename _Cp::size_type __n)
355 typedef __bit_iterator<_Cp, false> _It;
381 template <class _Cp>
384 fill_n(__bit_iterator<_Cp, false> __first, typename _Cp::size_type __n, bool __value_)
397 template <class _Cp>
400 fill(__bit_iterator<_Cp, false> __first, __bit_iterator<_Cp, false> __last, bool __value_)
402 _VSTD::fill_n(__first, static_cast<typename _Cp::size_type>(__last - __first), __value_);
407 template <class _Cp, bool _IsConst>
408 __bit_iterator<_Cp, false>
409 __copy_aligned(__bit_iterator<_Cp, _IsConst> __first, __bit_iterator<_Cp, _IsConst> __last,
410 __bit_iterator<_Cp, false> __result)
412 typedef __bit_iterator<_Cp, _IsConst> _In;
456 template <class _Cp, bool _IsConst>
457 __bit_iterator<_Cp, false>
458 __copy_unaligned(__bit_iterator<_Cp, _IsConst> __first, __bit_iterator<_Cp, _IsConst> __last,
459 __bit_iterator<_Cp, false> __result)
461 typedef __bit_iterator<_Cp, _IsConst> _In;
534 template <class _Cp, bool _IsConst>
536 __bit_iterator<_Cp, false>
537 copy(__bit_iterator<_Cp, _IsConst> __first, __bit_iterator<_Cp, _IsConst> __last, __bit_iterator<_C…
546 template <class _Cp, bool _IsConst>
547 __bit_iterator<_Cp, false>
548 __copy_backward_aligned(__bit_iterator<_Cp, _IsConst> __first, __bit_iterator<_Cp, _IsConst> __last,
549 __bit_iterator<_Cp, false> __result)
551 typedef __bit_iterator<_Cp, _IsConst> _In;
595 template <class _Cp, bool _IsConst>
596 __bit_iterator<_Cp, false>
597 __copy_backward_unaligned(__bit_iterator<_Cp, _IsConst> __first, __bit_iterator<_Cp, _IsConst> __la…
598 __bit_iterator<_Cp, false> __result)
600 typedef __bit_iterator<_Cp, _IsConst> _In;
681 template <class _Cp, bool _IsConst>
683 __bit_iterator<_Cp, false>
684 copy_backward(__bit_iterator<_Cp, _IsConst> __first, __bit_iterator<_Cp, _IsConst> __last, __bit_it…
693 template <class _Cp, bool _IsConst>
695 __bit_iterator<_Cp, false>
696 move(__bit_iterator<_Cp, _IsConst> __first, __bit_iterator<_Cp, _IsConst> __last, __bit_iterator<_C…
703 template <class _Cp, bool _IsConst>
705 __bit_iterator<_Cp, false>
706 move_backward(__bit_iterator<_Cp, _IsConst> __first, __bit_iterator<_Cp, _IsConst> __last, __bit_it…
876 template <class _Cp>
879 typedef typename _Cp::difference_type difference_type;
880 typedef typename _Cp::__storage_type __storage_type;
881 typedef typename _Cp::__storage_pointer __storage_pointer;
882 typedef typename _Cp::iterator iterator;
883 static const unsigned __bits_per_word = _Cp::__bits_per_word;
903 template <class _Cp>
904 __bit_iterator<_Cp, false>
905 rotate(__bit_iterator<_Cp, false> __first, __bit_iterator<_Cp, false> __middle, __bit_iterator<_Cp,…
907 typedef __bit_iterator<_Cp, false> _I1;
916 if (__d1 <= __bit_array<_Cp>::capacity())
918 __bit_array<_Cp> __b(__d1);
925 __bit_iterator<_Cp, false> __mp = _VSTD::swap_ranges(__first, __middle, __middle);
933 if (__d2 <= __bit_array<_Cp>::capacity())
935 __bit_array<_Cp> __b(__d2);
942 __bit_iterator<_Cp, false> __mp = __first + __d2;
954 template <class _Cp, bool _IC1, bool _IC2>
956 __equal_unaligned(__bit_iterator<_Cp, _IC1> __first1, __bit_iterator<_Cp, _IC1> __last1,
957 __bit_iterator<_Cp, _IC2> __first2)
959 typedef __bit_iterator<_Cp, _IC1> _It;
1036 template <class _Cp, bool _IC1, bool _IC2>
1038 __equal_aligned(__bit_iterator<_Cp, _IC1> __first1, __bit_iterator<_Cp, _IC1> __last1,
1039 __bit_iterator<_Cp, _IC2> __first2)
1041 typedef __bit_iterator<_Cp, _IC1> _It;
1079 template <class _Cp, bool _IC1, bool _IC2>
1082 equal(__bit_iterator<_Cp, _IC1> __first1, __bit_iterator<_Cp, _IC1> __last1, __bit_iterator<_Cp, _I…
1089 template <class _Cp, bool _IsConst,
1090 typename _Cp::__storage_type>
1094 …typedef typename _Cp::difference_type dif…
1097 …typedef typename conditional<_IsConst, __bit_const_reference<_Cp>, __bit_reference<_Cp> >::type re…
1101 typedef typename _Cp::__storage_type __storage_type;
1102 typedef typename conditional<_IsConst, typename _Cp::__const_storage_pointer,
1103 … typename _Cp::__storage_pointer>::type __storage_pointer;
1104 static const unsigned __bits_per_word = _Cp::__bits_per_word;
1117 __bit_iterator(const __bit_iterator<_Cp, false>& __it) _NOEXCEPT
1225 friend typename _Cp::__self;
1227 friend class _Cp::__self;
1229 friend class __bit_reference<_Cp>;
1230 friend class __bit_const_reference<_Cp>;
1231 friend class __bit_iterator<_Cp, true>;