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 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 | 26 int* a = std::pointer_traits<int*>::pointer_to(i); in main()
|
/external/libcxx/test/support/ |
D | min_allocator.h | 154 static min_pointer pointer_to(T& t) {return min_pointer(std::addressof(t));} in pointer_to() function 225 static min_pointer pointer_to(const T& t) {return min_pointer(std::addressof(t));} in pointer_to() function
|
/external/libcxx/include/ |
D | __hash_table | 165 return pointer_traits<pointer>::pointer_to(__node_->__value_); 312 return pointer_traits<pointer>::pointer_to(__node_->__value_); 444 return pointer_traits<pointer>::pointer_to(__node_->__value_); 609 return pointer_traits<pointer>::pointer_to(__node_->__value_); 1218 … static_cast<__node_pointer>(pointer_traits<__node_base_pointer>::pointer_to(__p1_.first())); 1242 … static_cast<__node_pointer>(pointer_traits<__node_base_pointer>::pointer_to(__p1_.first())); 1357 … static_cast<__node_pointer>(pointer_traits<__node_base_pointer>::pointer_to(__p1_.first())); 1598 …__pn = static_cast<__node_pointer>(pointer_traits<__node_base_pointer>::pointer_to(__p1_.first())); 1640 …__pn = static_cast<__node_pointer>(pointer_traits<__node_base_pointer>::pointer_to(__p1_.first())); 1779 …__pn = static_cast<__node_pointer>(pointer_traits<__node_base_pointer>::pointer_to(__p1_.first())); [all …]
|
D | list | 217 return static_cast<pointer>(pointer_traits<__base_pointer>::pointer_to(*this)); 326 return pointer_traits<pointer>::pointer_to(__ptr_->__value_); 463 return pointer_traits<pointer>::pointer_to(__ptr_->__value_); 576 pointer_traits<__node_base_pointer>::pointer_to(__end_)), this); 579 pointer_traits<__node_base_pointer>::pointer_to(__end_))); 587 pointer_traits<__node_base_pointer>::pointer_to(const_cast<__node_base&>(__end_))), this); 590 pointer_traits<__node_base_pointer>::pointer_to(const_cast<__node_base&>(__end_)))); 685 pointer_traits<__node_base_pointer>::pointer_to(__end_)); 752 pointer_traits<__node_base_pointer>::pointer_to(__c.__end_))) 766 pointer_traits<__node_base_pointer>::pointer_to(__end_))) [all …]
|
D | deque | 1859 const_pointer __vt = pointer_traits<const_pointer>::pointer_to(__v); 1862 if (__vt == pointer_traits<const_pointer>::pointer_to(*__b)) 1863 __vt = pointer_traits<const_pointer>::pointer_to(*__bm1); 1885 const_pointer __vt = pointer_traits<const_pointer>::pointer_to(__v); 1888 if (__vt == pointer_traits<const_pointer>::pointer_to(*__em1)) 1889 __vt = pointer_traits<const_pointer>::pointer_to(*__e); 2042 const_pointer __vt = pointer_traits<const_pointer>::pointer_to(__v); 2067 const_pointer __vt = pointer_traits<const_pointer>::pointer_to(__v);
|
D | forward_list | 257 pointer operator->() const {return pointer_traits<pointer>::pointer_to(__ptr_->__value_);} 331 pointer operator->() const {return pointer_traits<pointer>::pointer_to(__ptr_->__value_);} 380 pointer_to(__before_begin_.first()));} 384 … pointer_to(const_cast<__begin_node&>(__before_begin_.first())));}
|
D | future | 787 __a.deallocate(_PTraits::pointer_to(*this), 1); 813 __a.deallocate(_PTraits::pointer_to(*this), 1); 839 __a.deallocate(_PTraits::pointer_to(*this), 1); 1824 __a.deallocate(_PTraits::pointer_to(*this), 1);
|
D | __tree | 650 {return pointer_traits<pointer>::pointer_to(__ptr_->__value_);} 737 {return pointer_traits<pointer>::pointer_to(__ptr_->__value_);} 846 pointer_traits<__end_node_ptr>::pointer_to(__pair1_.first()) 854 … pointer_traits<__end_node_const_ptr>::pointer_to(const_cast<__end_node_t&>(__pair1_.first()))
|
D | __bit_reference | 894 return iterator(pointer_traits<__storage_pointer>::pointer_to(__word_[0]), 0); 898 …return iterator(pointer_traits<__storage_pointer>::pointer_to(__word_[0]) + __size_ / __bits_per_w…
|
D | memory | 34 static pointer pointer_to(<details>); 46 static pointer pointer_to(<details>) noexcept; 908 static pointer pointer_to(typename conditional<is_void<element_type>::value, 910 {return pointer::pointer_to(__r);} 930 static pointer pointer_to(typename conditional<is_void<element_type>::value, 3773 __a.deallocate(_PTraits::pointer_to(*this), 1); 3841 __a.deallocate(_PTraits::pointer_to(*this), 1);
|
D | map | 724 pointer operator->() const {return pointer_traits<pointer>::pointer_to(__i_->__cc);} 794 pointer operator->() const {return pointer_traits<pointer>::pointer_to(__i_->__cc);}
|
D | unordered_map | 684 pointer operator->() const {return pointer_traits<pointer>::pointer_to(__i_->__cc);} 745 pointer operator->() const {return pointer_traits<pointer>::pointer_to(__i_->__cc);}
|
D | vector | 1732 const_pointer __xr = pointer_traits<const_pointer>::pointer_to(__x); 1859 const_pointer __xr = pointer_traits<const_pointer>::pointer_to(__x);
|
D | string | 1766 {return pointer_traits<pointer>::pointer_to(__r_.first().__s.__data_[0]);} 1769 {return pointer_traits<const_pointer>::pointer_to(__r_.first().__s.__data_[0]);}
|