Lines Matching refs:__pos
175 _LIBCPP_INLINE_VISIBILITY reference __make_ref(size_t __pos) _NOEXCEPT
176 …{return reference(__first_ + __pos / __bits_per_word, __storage_type(1) << __pos % __bits_per_word…
177 …_LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR const_reference __make_ref(size_t __pos) const _NOEXCE…
178 …{return const_reference(__first_ + __pos / __bits_per_word, __storage_type(1) << __pos % __bits_pe…
179 _LIBCPP_INLINE_VISIBILITY iterator __make_iter(size_t __pos) _NOEXCEPT
180 {return iterator(__first_ + __pos / __bits_per_word, __pos % __bits_per_word);}
181 _LIBCPP_INLINE_VISIBILITY const_iterator __make_iter(size_t __pos) const _NOEXCEPT
182 {return const_iterator(__first_ + __pos / __bits_per_word, __pos % __bits_per_word);}
471 _LIBCPP_INLINE_VISIBILITY reference __make_ref(size_t __pos) _NOEXCEPT
472 {return reference(&__first_, __storage_type(1) << __pos);}
473 …_LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR const_reference __make_ref(size_t __pos) const _NOEXCE…
474 {return const_reference(&__first_, __storage_type(1) << __pos);}
475 _LIBCPP_INLINE_VISIBILITY iterator __make_iter(size_t __pos) _NOEXCEPT
476 {return iterator(&__first_ + __pos / __bits_per_word, __pos % __bits_per_word);}
477 _LIBCPP_INLINE_VISIBILITY const_iterator __make_iter(size_t __pos) const _NOEXCEPT
478 {return const_iterator(&__first_ + __pos / __bits_per_word, __pos % __bits_per_word);}
689 typename basic_string<_CharT,_Traits,_Allocator>::size_type __pos = 0,
701 bitset& operator<<=(size_t __pos) _NOEXCEPT;
702 bitset& operator>>=(size_t __pos) _NOEXCEPT;
705 bitset& set(size_t __pos, bool __val = true);
708 bitset& reset(size_t __pos);
713 bitset& flip(size_t __pos);
744 bool test(size_t __pos) const;
751 bitset operator<<(size_t __pos) const _NOEXCEPT;
753 bitset operator>>(size_t __pos) const _NOEXCEPT;
790 typename basic_string<_CharT,_Traits,_Allocator>::size_type __pos,
794 if (__pos > __str.size())
797 size_t __rlen = _VSTD::min(__n, __str.size() - __pos);
798 for (size_t __i = __pos; __i < __pos + __rlen; ++__i)
806 _CharT __c = __str[__pos + _Mp - 1 - __i];
844 bitset<_Size>::operator<<=(size_t __pos) _NOEXCEPT
846 __pos = _VSTD::min(__pos, _Size);
847 …_VSTD::copy_backward(base::__make_iter(0), base::__make_iter(_Size - __pos), base::__make_iter(_Si…
848 _VSTD::fill_n(base::__make_iter(0), __pos, false);
854 bitset<_Size>::operator>>=(size_t __pos) _NOEXCEPT
856 __pos = _VSTD::min(__pos, _Size);
857 _VSTD::copy(base::__make_iter(__pos), base::__make_iter(_Size), base::__make_iter(0));
858 _VSTD::fill_n(base::__make_iter(_Size - __pos), __pos, false);
873 bitset<_Size>::set(size_t __pos, bool __val)
875 if (__pos >= _Size)
878 (*this)[__pos] = __val;
893 bitset<_Size>::reset(size_t __pos)
895 if (__pos >= _Size)
898 (*this)[__pos] = false;
923 bitset<_Size>::flip(size_t __pos)
925 if (__pos >= _Size)
928 reference r = base::__make_ref(__pos);
1015 bitset<_Size>::test(size_t __pos) const
1017 if (__pos >= _Size)
1020 return (*this)[__pos];
1042 bitset<_Size>::operator<<(size_t __pos) const _NOEXCEPT
1045 __r <<= __pos;
1052 bitset<_Size>::operator>>(size_t __pos) const _NOEXCEPT
1055 __r >>= __pos;