Home
last modified time | relevance | path

Searched refs:pointer_to (Results 1 – 15 of 15) sorted by relevance

/external/libcxx/test/std/utilities/memory/pointer.traits/pointer.traits.functions/
Dpointer_to.pass.cpp33 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/
Dpointer_to.pass.cpp29 …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/
Dmin_allocator.h300 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/
Ddeque2052 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);
Dforward_list335 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_table77 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_);
Dfuture799 __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__tree834 {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_reference890 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…
Dlist258 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_);
Dmemory34 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);
Dmap800 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());}
Dunordered_map758 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());}
Dvector1789 const_pointer __xr = pointer_traits<const_pointer>::pointer_to(__x);
1913 const_pointer __xr = pointer_traits<const_pointer>::pointer_to(__x);
Dstring1512 {return pointer_traits<pointer>::pointer_to(__r_.first().__s.__data_[0]);}
1515 {return pointer_traits<const_pointer>::pointer_to(__r_.first().__s.__data_[0]);}