Home
last modified time | relevance | path

Searched refs:__pos (Results 1 – 12 of 12) sorted by relevance

/llvm-project-15.0.7/libcxx/include/__string/
H A Dchar_traits.h709 const _CharT* __r = _Traits::find(__p + __pos, __sz - __pos, __c);
759 if (__pos > __sz)
763 return __pos;
783 if (__pos < __sz)
784 ++__pos;
786 __pos = __sz;
800 __pos = _VSTD::min(__pos, __sz);
802 __pos += __n;
836 ++__pos;
890 ++__pos;
[all …]
/llvm-project-15.0.7/libcxx/include/
H A Dbitset803 for (size_t __i = __pos; __i < __pos + __rlen; ++__i)
848 __pos = _VSTD::min(__pos, _Size);
858 __pos = _VSTD::min(__pos, _Size);
860 _VSTD::fill_n(base::__make_iter(_Size - __pos), __pos, false);
877 if (__pos >= _Size)
897 if (__pos >= _Size)
927 if (__pos >= _Size)
1019 if (__pos >= _Size)
1022 return (*this)[__pos];
1047 __r <<= __pos;
[all …]
H A Dstring_view387 return _LIBCPP_ASSERT(__pos < size(), "string_view[] index out of bounds"), __data[__pos];
393 return __pos >= size()
395 : __data[__pos];
444 if (__pos > size())
454 return __pos > size()
456 : basic_string_view(data() + __pos, _VSTD::min(__n, size() - __pos));
512 (data(), size(), __c, __pos);
544 (data(), size(), __c, __pos);
574 { return find(__c, __pos); }
603 { return rfind(__c, __pos); }
[all …]
H A Dstring1891 (void)__pos;
2156 __init(__str.data() + __pos, std::min(__n, __str_sz - __pos));
2169 __init(__str.data() + __pos, __str_sz - __pos);
2627 if (__pos > __sz)
2629 return assign(__str.data() + __pos, std::min(__n, __sz - __pos));
2645 if (__pos > __sz)
2647 return assign(__sv.data() + __pos, std::min(__n, __sz - __pos));
2821 if (__pos > __sz)
2823 return append(__str.data() + __pos, std::min(__n, __sz - __pos));
2840 return append(__sv.data() + __pos, std::min(__n, __sz - __pos));
[all …]
H A Ddeque2034 if (__pos < __to_end)
2039 if (__pos == 0)
2090 if (__pos < __to_end)
2095 if (__pos == 0)
2150 if (__pos < __to_end)
2155 if (__pos == 0)
2218 if (__n > __pos)
2222 __n = __pos;
2305 if (__n > __pos)
2307 __m = __pos < __n / 2 ? _VSTD::prev(__l, __pos) : _VSTD::next(__f, __n - __pos);
[all …]
H A Dvector1006 for (pointer __pos = __tx.__pos_; __pos != __new_end; __tx.__pos_ = ++__pos) {
1025 for (pointer __pos = __tx.__pos_; __pos != __new_end; __tx.__pos_ = ++__pos) {
1700 for (pointer __pos = __tx.__pos_; __i < __from_e;
1701 ++__i, (void) ++__pos, __tx.__pos_ = __pos) {
1703 _VSTD::__to_address(__pos),
2409 reference __make_ref(size_type __pos) _NOEXCEPT
2410 …{return reference(__begin_ + __pos / __bits_per_word, __storage_type(1) << __pos % __bits_per_word…
2417 iterator __make_iter(size_type __pos) _NOEXCEPT
2418 …{return iterator(__begin_ + __pos / __bits_per_word, static_cast<unsigned>(__pos % __bits_per_word…
2420 const_iterator __make_iter(size_type __pos) const _NOEXCEPT
[all …]
H A Dostream274 basic_ostream& seekp(pos_type __pos);
1010 basic_ostream<_CharT, _Traits>::seekp(pos_type __pos)
1015 if (this->rdbuf()->pubseekpos(__pos, ios_base::out) == pos_type(-1))
H A Distream287 basic_istream& seekg(pos_type __pos);
1269 basic_istream<_CharT, _Traits>::seekg(pos_type __pos)
1280 if (this->rdbuf()->pubseekpos(__pos, ios_base::in) == pos_type(-1))
H A Dmap1239 iterator insert(const_iterator __pos, _Pp&& __p)
1240 {return __tree_.__insert_unique(__pos.__i_, _VSTD::forward<_Pp>(__p));}
2009 iterator insert(const_iterator __pos, _Pp&& __p)
2010 {return __tree_.__insert_multi(__pos.__i_, _VSTD::forward<_Pp>(__p));}
/llvm-project-15.0.7/libcxx/include/__filesystem/
H A Dpath.h344 size_t __pos = __dest.size();
345 __dest.resize(__pos + __size);
346 __char_to_wide(__str, const_cast<__path_value*>(__dest.data()) + __pos, __size);
404 size_t __pos = __dest.size();
406 __wide_to_char(__src, const_cast<char*>(__dest.data()) + __pos, __size);
/llvm-project-15.0.7/llvm/test/DebugInfo/MIR/InstrRef/
H A Dfollow-spill-of-live-value.mir39 …_PS2_EmRKS2_(%"class.std::deque"* %this, %"struct.std::_Deque_iterator"* %__pos, i64 %__n) local_u…
61 %7 = bitcast %"struct.std::_Deque_iterator"* %__pos to i8*, !dbg !7
125 %25 = bitcast %"struct.std::_Deque_iterator"* %__pos to i8*, !dbg !7
/llvm-project-15.0.7/pstl/include/pstl/internal/
H A Dalgorithm_impl.h2911 _DifferenceType __pos, __len, __buf_pos; in __parallel_set_op() member
2932 __result + __s.__pos, _IsVector{}); in __parallel_set_op()
2976 … return _SetRange{__a.__pos + __a.__len + __b.__pos, __b.__len, __b.__buf_pos}; in __parallel_set_op()
2977 return _SetRange{__b.__pos + __b.__len + __a.__pos, __a.__len, __a.__buf_pos}; in __parallel_set_op()
2983 __m = __total.__pos + __total.__len; in __parallel_set_op()