Home
last modified time | relevance | path

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

123

/external/cronet/buildtools/third_party/libc++/trunk/test/std/utilities/memory/pointer.traits/
Dpointer_to.pass.cpp28 … static_assert(std::is_same<decltype(std::pointer_traits<int*>::pointer_to(i)), int*>::value, ""); in test()
29 assert(std::pointer_traits<int*>::pointer_to(i) == &i); in test()
33 …static_assert(std::is_same<decltype(std::pointer_traits<const int*>::pointer_to(i)), const int*>::… in test()
34 assert(std::pointer_traits<const int*>::pointer_to(i) == &i); in test()
/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/cronet/buildtools/third_party/libc++/trunk/test/std/utilities/memory/pointer.traits/pointer.traits.functions/
Dpointer_to.pass.cpp35 static A pointer_to(typename std::conditional<std::is_void<element_type>::value, in pointer_to() function
44 …static_assert((std::is_same<A<int>, decltype(std::pointer_traits<A<int> >::pointer_to(i))>::value)… in main()
45 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/cronet/buildtools/third_party/libc++/trunk/include/__memory/
Dpointer_traits.h132 … static pointer pointer_to(__conditional_t<is_void<element_type>::value, __nat, element_type>& __r)
133 {return pointer::pointer_to(__r);}
153 …static pointer pointer_to(__conditional_t<is_void<element_type>::value, __nat, element_type>& __r)…
Dshared_ptr.h275 __a.deallocate(_PTraits::pointer_to(*this), 1); in __on_zero_shared_weak()
333 pointer_traits<_ControlBlockPointer>::pointer_to(*this), 1); in __on_zero_shared_weak()
1125 …allocator_traits<_StorageAlloc>::deallocate(__tmp, _PointerTraits::pointer_to(*__storage), __size);
1208 …allocator_traits<_ControlBlockAlloc>::deallocate(__tmp, _PointerTraits::pointer_to(*this), sizeof(…
/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.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/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/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/tensorflow/third_party/absl/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.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/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/cronet/base/containers/
Dchecked_iterators.h260 static constexpr pointer pointer_to(element_type& r) noexcept {
/external/cronet/buildtools/third_party/libc++/trunk/test/support/
Dmin_allocator.h304 … static TEST_CONSTEXPR_CXX14 min_pointer pointer_to(T& t) {return min_pointer(std::addressof(t));} in pointer_to() function
375 …static TEST_CONSTEXPR_CXX14 min_pointer pointer_to(const T& t) {return min_pointer(std::addressof(… in pointer_to() function
/external/cronet/buildtools/third_party/libc++/trunk/include/
Ddeque1514 const_pointer __vt = pointer_traits<const_pointer>::pointer_to(__v);
1517 if (__vt == pointer_traits<const_pointer>::pointer_to(*__b))
1518 __vt = pointer_traits<const_pointer>::pointer_to(*__bm1);
1540 const_pointer __vt = pointer_traits<const_pointer>::pointer_to(__v);
1543 if (__vt == pointer_traits<const_pointer>::pointer_to(*__em1))
1544 __vt = pointer_traits<const_pointer>::pointer_to(*__e);
1577 const_pointer __vt = pointer_traits<const_pointer>::pointer_to(__v);
1602 const_pointer __vt = pointer_traits<const_pointer>::pointer_to(__v);
/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_…
/external/cronet/base/allocator/partition_allocator/pointers/
Draw_ref.h425 static constexpr pointer pointer_to(element_type& r) noexcept {

123