Searched refs:pointer_to (Results 1 – 15 of 15) sorted by relevance
/external/libcxx/test/std/utilities/memory/pointer.traits/pointer.traits.functions/ |
D | pointer_to.pass.cpp | 33 static A pointer_to(typename std::conditional<std::is_void<element_type>::value, in pointer_to() function 42 …static_assert((std::is_same<A<int>, decltype(std::pointer_traits<A<int> >::pointer_to(i))>::value)… in main() 43 A<int> a = std::pointer_traits<A<int> >::pointer_to(i); in main()
|
/external/libcxx/test/std/utilities/memory/pointer.traits/ |
D | pointer_to.pass.cpp | 29 …static_assert((std::is_same<int *, decltype(std::pointer_traits<int*>::pointer_to(i))>::value), ""… in check() 30 int* a = std::pointer_traits<int*>::pointer_to(i); in check()
|
/external/libcxx/test/support/ |
D | min_allocator.h | 300 static min_pointer pointer_to(T& t) {return min_pointer(std::addressof(t));} in pointer_to() function 371 static min_pointer pointer_to(const T& t) {return min_pointer(std::addressof(t));} in pointer_to() function
|
/external/libcxx/include/ |
D | deque | 2052 const_pointer __vt = pointer_traits<const_pointer>::pointer_to(__v); 2055 if (__vt == pointer_traits<const_pointer>::pointer_to(*__b)) 2056 __vt = pointer_traits<const_pointer>::pointer_to(*__bm1); 2078 const_pointer __vt = pointer_traits<const_pointer>::pointer_to(__v); 2081 if (__vt == pointer_traits<const_pointer>::pointer_to(*__em1)) 2082 __vt = pointer_traits<const_pointer>::pointer_to(*__e); 2115 const_pointer __vt = pointer_traits<const_pointer>::pointer_to(__v); 2140 const_pointer __vt = pointer_traits<const_pointer>::pointer_to(__v);
|
D | forward_list | 335 return pointer_traits<pointer>::pointer_to(__get_unsafe_node_pointer()->__value_); 419 pointer operator->() const {return pointer_traits<pointer>::pointer_to( 474 {return pointer_traits<__begin_node_pointer>::pointer_to(__before_begin_.first());} 477 …{return pointer_traits<__begin_node_pointer>::pointer_to(const_cast<__begin_node&>(__before_begin_…
|
D | __hash_table | 77 pointer_traits<__node_base_pointer>::pointer_to(*this)); 83 pointer_traits<__node_base_pointer>::pointer_to(*this)); 339 return pointer_traits<pointer>::pointer_to(__node_->__upcast()->__value_); 455 return pointer_traits<pointer>::pointer_to(__node_->__upcast()->__value_); 566 return pointer_traits<pointer>::pointer_to(__node_->__upcast()->__value_); 707 return pointer_traits<pointer>::pointer_to(__node_->__upcast()->__value_);
|
D | future | 799 __a.deallocate(_PTraits::pointer_to(*this), 1); 825 __a.deallocate(_PTraits::pointer_to(*this), 1); 851 __a.deallocate(_PTraits::pointer_to(*this), 1); 1814 __a.deallocate(_PTraits::pointer_to(*this), 1);
|
D | __tree | 834 {return pointer_traits<pointer>::pointer_to(__get_np()->__value_);} 915 {return pointer_traits<pointer>::pointer_to(__get_np()->__value_);} 1035 pointer_traits<__end_node_ptr>::pointer_to(__pair1_.first()) 1042 pointer_traits<__end_node_ptr>::pointer_to(
|
D | __bit_reference | 890 return iterator(pointer_traits<__storage_pointer>::pointer_to(__word_[0]), 0); 894 …return iterator(pointer_traits<__storage_pointer>::pointer_to(__word_[0]) + __size_ / __bits_per_w…
|
D | list | 258 return pointer_traits<__base_pointer>::pointer_to(*this); 370 return pointer_traits<pointer>::pointer_to(__ptr_->__as_node()->__value_); 497 return pointer_traits<pointer>::pointer_to(__ptr_->__as_node()->__value_);
|
D | memory | 34 static pointer pointer_to(<details>); 46 static pointer pointer_to(<details>) noexcept; // constexpr in C++20 966 static pointer pointer_to(typename conditional<is_void<element_type>::value, 968 {return pointer::pointer_to(__r);} 988 static pointer pointer_to(typename conditional<is_void<element_type>::value, 3654 __a.deallocate(_PTraits::pointer_to(*this), 1); 3722 __a.deallocate(_PTraits::pointer_to(*this), 1);
|
D | map | 800 pointer operator->() const {return pointer_traits<pointer>::pointer_to(__i_->__get_value());} 863 pointer operator->() const {return pointer_traits<pointer>::pointer_to(__i_->__get_value());}
|
D | unordered_map | 758 pointer operator->() const {return pointer_traits<pointer>::pointer_to(__i_->__get_value());} 812 pointer operator->() const {return pointer_traits<pointer>::pointer_to(__i_->__get_value());}
|
D | vector | 1789 const_pointer __xr = pointer_traits<const_pointer>::pointer_to(__x); 1913 const_pointer __xr = pointer_traits<const_pointer>::pointer_to(__x);
|
D | string | 1512 {return pointer_traits<pointer>::pointer_to(__r_.first().__s.__data_[0]);} 1515 {return pointer_traits<const_pointer>::pointer_to(__r_.first().__s.__data_[0]);}
|