• Home
  • Raw
  • Download

Lines Matching refs:__pos

174     _LIBCPP_INLINE_VISIBILITY reference __make_ref(size_t __pos) _NOEXCEPT
175 …{return reference(__first_ + __pos / __bits_per_word, __storage_type(1) << __pos % __bits_per_word…
176 …_LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR const_reference __make_ref(size_t __pos) const _NOEXCE…
177 …{return const_reference(__first_ + __pos / __bits_per_word, __storage_type(1) << __pos % __bits_pe…
178 _LIBCPP_INLINE_VISIBILITY iterator __make_iter(size_t __pos) _NOEXCEPT
179 {return iterator(__first_ + __pos / __bits_per_word, __pos % __bits_per_word);}
180 _LIBCPP_INLINE_VISIBILITY const_iterator __make_iter(size_t __pos) const _NOEXCEPT
181 {return const_iterator(__first_ + __pos / __bits_per_word, __pos % __bits_per_word);}
470 _LIBCPP_INLINE_VISIBILITY reference __make_ref(size_t __pos) _NOEXCEPT
471 {return reference(&__first_, __storage_type(1) << __pos);}
472 …_LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR const_reference __make_ref(size_t __pos) const _NOEXCE…
473 {return const_reference(&__first_, __storage_type(1) << __pos);}
474 _LIBCPP_INLINE_VISIBILITY iterator __make_iter(size_t __pos) _NOEXCEPT
475 {return iterator(&__first_ + __pos / __bits_per_word, __pos % __bits_per_word);}
476 _LIBCPP_INLINE_VISIBILITY const_iterator __make_iter(size_t __pos) const _NOEXCEPT
477 {return const_iterator(&__first_ + __pos / __bits_per_word, __pos % __bits_per_word);}
688 typename basic_string<_CharT,_Traits,_Allocator>::size_type __pos = 0,
700 bitset& operator<<=(size_t __pos) _NOEXCEPT;
701 bitset& operator>>=(size_t __pos) _NOEXCEPT;
704 bitset& set(size_t __pos, bool __val = true);
707 bitset& reset(size_t __pos);
712 bitset& flip(size_t __pos);
743 bool test(size_t __pos) const;
750 bitset operator<<(size_t __pos) const _NOEXCEPT;
752 bitset operator>>(size_t __pos) const _NOEXCEPT;
789 typename basic_string<_CharT,_Traits,_Allocator>::size_type __pos,
793 if (__pos > __str.size())
796 size_t __rlen = _VSTD::min(__n, __str.size() - __pos);
797 for (size_t __i = __pos; __i < __pos + __rlen; ++__i)
805 _CharT __c = __str[__pos + _Mp - 1 - __i];
843 bitset<_Size>::operator<<=(size_t __pos) _NOEXCEPT
845 __pos = _VSTD::min(__pos, _Size);
846 …_VSTD::copy_backward(base::__make_iter(0), base::__make_iter(_Size - __pos), base::__make_iter(_Si…
847 _VSTD::fill_n(base::__make_iter(0), __pos, false);
853 bitset<_Size>::operator>>=(size_t __pos) _NOEXCEPT
855 __pos = _VSTD::min(__pos, _Size);
856 _VSTD::copy(base::__make_iter(__pos), base::__make_iter(_Size), base::__make_iter(0));
857 _VSTD::fill_n(base::__make_iter(_Size - __pos), __pos, false);
872 bitset<_Size>::set(size_t __pos, bool __val)
874 if (__pos >= _Size)
877 (*this)[__pos] = __val;
892 bitset<_Size>::reset(size_t __pos)
894 if (__pos >= _Size)
897 (*this)[__pos] = false;
922 bitset<_Size>::flip(size_t __pos)
924 if (__pos >= _Size)
927 reference r = base::__make_ref(__pos);
1014 bitset<_Size>::test(size_t __pos) const
1016 if (__pos >= _Size)
1019 return (*this)[__pos];
1041 bitset<_Size>::operator<<(size_t __pos) const _NOEXCEPT
1044 __r <<= __pos;
1051 bitset<_Size>::operator>>(size_t __pos) const _NOEXCEPT
1054 __r >>= __pos;