Home
last modified time | relevance | path

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

12

/external/llvm-project/libcxx/test/std/utilities/memory/pointer.traits/pointer.traits.functions/
Dpointer_to.pass.cpp34 static A pointer_to(typename std::conditional<std::is_void<element_type>::value, in pointer_to() function
43 …static_assert((std::is_same<A<int>, decltype(std::pointer_traits<A<int> >::pointer_to(i))>::value)… in main()
44 A<int> a = std::pointer_traits<A<int> >::pointer_to(i); in main()
/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/llvm-project/libcxx/test/std/utilities/memory/pointer.traits/
Dpointer_to.pass.cpp28 …static_assert((std::is_same<int *, decltype(std::pointer_traits<int*>::pointer_to(i))>::value), ""… in check()
29 int* a = std::pointer_traits<int*>::pointer_to(i); in check()
/external/libtextclassifier/abseil-cpp/absl/memory/
Dmemory.h394 static pointer pointer_to(element_type& r) { // NOLINT(runtime/references)
395 return Ptr::pointer_to(r);
411 static pointer pointer_to(
Dmemory_test.cc301 static PointerWith pointer_to( in pointer_to() function
339 EXPECT_EQ(&i, absl::pointer_traits<PointerWith>::pointer_to(i).ptr); in TEST()
340 EXPECT_EQ(&i, absl::pointer_traits<int*>::pointer_to(i)); in TEST()
/external/webrtc/third_party/abseil-cpp/absl/memory/
Dmemory.h394 static pointer pointer_to(element_type& r) { // NOLINT(runtime/references)
395 return Ptr::pointer_to(r);
411 static pointer pointer_to(
Dmemory_test.cc303 static PointerWith pointer_to( in pointer_to() function
341 EXPECT_EQ(&i, absl::pointer_traits<PointerWith>::pointer_to(i).ptr); in TEST()
342 EXPECT_EQ(&i, absl::pointer_traits<int*>::pointer_to(i)); in TEST()
/external/angle/third_party/abseil-cpp/absl/memory/
Dmemory.h394 static pointer pointer_to(element_type& r) { // NOLINT(runtime/references)
395 return Ptr::pointer_to(r);
411 static pointer pointer_to(
Dmemory_test.cc301 static PointerWith pointer_to( in pointer_to() function
339 EXPECT_EQ(&i, absl::pointer_traits<PointerWith>::pointer_to(i).ptr); in TEST()
340 EXPECT_EQ(&i, absl::pointer_traits<int*>::pointer_to(i)); in TEST()
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/memory/
Dmemory.h394 static pointer pointer_to(element_type& r) { // NOLINT(runtime/references)
395 return Ptr::pointer_to(r);
411 static pointer pointer_to(
Dmemory_test.cc301 static PointerWith pointer_to( in pointer_to() function
339 EXPECT_EQ(&i, absl::pointer_traits<PointerWith>::pointer_to(i).ptr); in TEST()
340 EXPECT_EQ(&i, absl::pointer_traits<int*>::pointer_to(i)); in TEST()
/external/openscreen/third_party/abseil/src/absl/memory/
Dmemory.h394 static pointer pointer_to(element_type& r) { // NOLINT(runtime/references)
395 return Ptr::pointer_to(r);
411 static pointer pointer_to(
Dmemory_test.cc301 static PointerWith pointer_to( in pointer_to() function
339 EXPECT_EQ(&i, absl::pointer_traits<PointerWith>::pointer_to(i).ptr); in TEST()
340 EXPECT_EQ(&i, absl::pointer_traits<int*>::pointer_to(i)); in TEST()
/external/abseil-cpp/absl/memory/
Dmemory.h394 static pointer pointer_to(element_type& r) { // NOLINT(runtime/references)
395 return Ptr::pointer_to(r);
411 static pointer pointer_to(
Dmemory_test.cc303 static PointerWith pointer_to( in pointer_to() function
341 EXPECT_EQ(&i, absl::pointer_traits<PointerWith>::pointer_to(i).ptr); in TEST()
342 EXPECT_EQ(&i, absl::pointer_traits<int*>::pointer_to(i)); in TEST()
/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/llvm-project/libcxx/test/support/
Dmin_allocator.h301 … static TEST_CONSTEXPR_CXX14 min_pointer pointer_to(T& t) {return min_pointer(std::addressof(t));} in pointer_to() function
372 …static TEST_CONSTEXPR_CXX14 min_pointer pointer_to(const T& t) {return min_pointer(std::addressof(… 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_);
/external/llvm-project/libcxx/include/
Ddeque2154 const_pointer __vt = pointer_traits<const_pointer>::pointer_to(__v);
2157 if (__vt == pointer_traits<const_pointer>::pointer_to(*__b))
2158 __vt = pointer_traits<const_pointer>::pointer_to(*__bm1);
2180 const_pointer __vt = pointer_traits<const_pointer>::pointer_to(__v);
2183 if (__vt == pointer_traits<const_pointer>::pointer_to(*__em1))
2184 __vt = pointer_traits<const_pointer>::pointer_to(*__e);
2217 const_pointer __vt = pointer_traits<const_pointer>::pointer_to(__v);
2242 const_pointer __vt = pointer_traits<const_pointer>::pointer_to(__v);
Dforward_list338 return pointer_traits<pointer>::pointer_to(__get_unsafe_node_pointer()->__value_);
422 pointer operator->() const {return pointer_traits<pointer>::pointer_to(
477 {return pointer_traits<__begin_node_pointer>::pointer_to(__before_begin_.first());}
480 …{return pointer_traits<__begin_node_pointer>::pointer_to(const_cast<__begin_node&>(__before_begin_…
D__hash_table74 pointer_traits<__node_base_pointer>::pointer_to(*this));
80 pointer_traits<__node_base_pointer>::pointer_to(*this));
333 return pointer_traits<pointer>::pointer_to(__node_->__upcast()->__value_);
453 return pointer_traits<pointer>::pointer_to(__node_->__upcast()->__value_);
566 return pointer_traits<pointer>::pointer_to(__node_->__upcast()->__value_);
711 return pointer_traits<pointer>::pointer_to(__node_->__upcast()->__value_);
Dfuture780 __a.deallocate(_PTraits::pointer_to(*this), 1);
806 __a.deallocate(_PTraits::pointer_to(*this), 1);
832 __a.deallocate(_PTraits::pointer_to(*this), 1);
1677 __a.deallocate(_PTraits::pointer_to(*this), 1);

12