/external/libcxx/test/std/utilities/memory/specialized.algorithms/specialized.addressof/ |
D | addressof.pass.cpp | 35 assert(std::addressof(i) == &i); in main() 36 assert(std::addressof(d) == &d); in main() 39 assert(std::addressof(*tp) == tp); in main() 40 assert(std::addressof(*ctp) == tp); in main() 49 assert(std::addressof(n) == (void*)std::addressof(i)); in main()
|
/external/clang/test/CXX/expr/expr.post/expr.static.cast/ |
D | p9-0x.cpp | 23 template <class _Tp> inline _Tp* addressof(_Tp& __x) { in addressof() function 28 addressof(a); in test()
|
/external/clang/test/Analysis/ |
D | cxx11-crashes.cpp | 54 template<class T> T * addressof( T & v ) { in addressof() function 59 addressof(s); in testRadar11487525_1()
|
/external/libcxx/include/experimental/ |
D | optional | 214 ::new(_VSTD::addressof(__val_)) value_type(__x.__val_); 223 ::new(_VSTD::addressof(__val_)) value_type(_VSTD::move(__x.__val_)); 265 ::new(_VSTD::addressof(__val_)) value_type(__x.__val_); 274 ::new(_VSTD::addressof(__val_)) value_type(_VSTD::move(__x.__val_)); 371 ::new(_VSTD::addressof(this->__val_)) value_type(__opt.__val_); 393 ::new(_VSTD::addressof(this->__val_)) value_type(_VSTD::move(__opt.__val_)); 415 ::new(_VSTD::addressof(this->__val_)) value_type(_VSTD::forward<_Up>(__v)); 432 ::new(_VSTD::addressof(this->__val_)) value_type(_VSTD::forward<_Args>(__args)...); 447 ::new(_VSTD::addressof(this->__val_)) value_type(__il, _VSTD::forward<_Args>(__args)...); 467 ::new(_VSTD::addressof(__opt.__val_)) value_type(_VSTD::move(this->__val_)); [all …]
|
/external/libcxx/include/ |
D | __functional_base | 80 // addressof 85 addressof(_Tp& __x) _NOEXCEPT 92 // that require special addressof() signatures. When 98 addressof(__strong _Tp& __x) _NOEXCEPT 107 addressof(__weak _Tp& __x) _NOEXCEPT 116 addressof(__autoreleasing _Tp& __x) _NOEXCEPT 124 addressof(__unsafe_unretained _Tp& __x) _NOEXCEPT 457 : __f_(_VSTD::addressof(__f)) {}
|
D | forward_list | 543 __node_traits::destroy(__a, _VSTD::addressof(__p->__value_)); 799 __node_traits::construct(__a, _VSTD::addressof(__h->__value_)); 820 __node_traits::construct(__a, _VSTD::addressof(__h->__value_)); 1040 __node_traits::construct(__a, _VSTD::addressof(__h->__value_), 1055 __node_traits::construct(__a, _VSTD::addressof(__h->__value_), _VSTD::move(__v)); 1069 __node_traits::construct(__a, _VSTD::addressof(__h->__value_), __v); 1081 __node_traits::destroy(__a, _VSTD::addressof(__p->__value_)); 1097 __node_traits::construct(__a, _VSTD::addressof(__h->__value_), 1114 __node_traits::construct(__a, _VSTD::addressof(__h->__value_), _VSTD::move(__v)); 1130 __node_traits::construct(__a, _VSTD::addressof(__h->__value_), __v); [all …]
|
D | deque | 1164 __alloc_traits::destroy(__a, _VSTD::addressof(*__i)); 1777 __alloc_traits::construct(__a, _VSTD::addressof(*__base::end()), __v); 1791 __alloc_traits::construct(__a, _VSTD::addressof(*__base::end()), _VSTD::move(__v)); 1806 …__alloc_traits::construct(__a, _VSTD::addressof(*__base::end()), _VSTD::forward<_Args>(__args)...); 1821 __alloc_traits::construct(__a, _VSTD::addressof(*--__base::begin()), __v); 1836 __alloc_traits::construct(__a, _VSTD::addressof(*--__base::begin()), _VSTD::move(__v)); 1852 …__alloc_traits::construct(__a, _VSTD::addressof(*--__base::begin()), _VSTD::forward<_Args>(__args)… 1874 __alloc_traits::construct(__a, _VSTD::addressof(*--__base::begin()), __v); 1885 __alloc_traits::construct(__a, _VSTD::addressof(*__bm1), _VSTD::move(*__b)); 1901 __alloc_traits::construct(__a, _VSTD::addressof(*__base::end()), __v); [all …]
|
D | list | 719 __node_alloc_traits::destroy(__na, _VSTD::addressof(__n->__value_)); 1373 __node_alloc_traits::construct(__na, _VSTD::addressof(__hold->__value_), __x); 1402 __node_alloc_traits::construct(__na, _VSTD::addressof(__hold->__value_), __x); 1418 __node_alloc_traits::construct(__na, _VSTD::addressof(__hold->__value_), __x); 1429 __node_alloc_traits::destroy(__na, _VSTD::addressof(*__e)); 1470 __node_alloc_traits::construct(__na, _VSTD::addressof(__hold->__value_), *__f); 1486 __node_alloc_traits::construct(__na, _VSTD::addressof(__hold->__value_), *__f); 1497 __node_alloc_traits::destroy(__na, _VSTD::addressof(*__e)); 1524 __node_alloc_traits::construct(__na, _VSTD::addressof(__hold->__value_), __x); 1537 __node_alloc_traits::construct(__na, _VSTD::addressof(__hold->__value_), __x); [all …]
|
D | map | 564 __alloc_traits::destroy(__na_, _VSTD::addressof(__p->__value_.__cc.second)); 566 __alloc_traits::destroy(__na_, _VSTD::addressof(__p->__value_.__cc.first)); 1315 __node_traits::construct(__na, _VSTD::addressof(__h->__value_.__cc.first)); 1317 __node_traits::construct(__na, _VSTD::addressof(__h->__value_.__cc.second)); 1329 __node_traits::construct(__na, _VSTD::addressof(__h->__value_), _VSTD::forward<_A0>(__a0)); 1341 __node_traits::construct(__na, _VSTD::addressof(__h->__value_.__cc.first), _VSTD::move(__k)); 1343 __node_traits::construct(__na, _VSTD::addressof(__h->__value_.__cc.second)); 1357 __node_traits::construct(__na, _VSTD::addressof(__h->__value_), 1375 __node_traits::construct(__na, _VSTD::addressof(__h->__value_.__cc.first), __k); 1377 __node_traits::construct(__na, _VSTD::addressof(__h->__value_.__cc.second)); [all …]
|
D | future | 734 __value_ = _VSTD::addressof(__arg); 749 __value_ = _VSTD::addressof(__arg); 785 reinterpret_cast<_Rp*>(_VSTD::addressof(this->__value_))->~_Rp(); 1431 ::new(static_cast<void*>(_VSTD::addressof(*__hold.get()))) _State(__a0); 1432 __state_ = _VSTD::addressof(*__hold.release()); 1605 ::new(static_cast<void*>(_VSTD::addressof(*__hold.get()))) _State(__a0); 1606 __state_ = _VSTD::addressof(*__hold.release()); 1742 ::new(static_cast<void*>(_VSTD::addressof(*__hold.get()))) _State(__a0); 1743 __state_ = _VSTD::addressof(*__hold.release()); 1930 ::new (static_cast<void*>(_VSTD::addressof(*__hold.get()))) [all …]
|
D | unordered_map | 522 __alloc_traits::destroy(__na_, _VSTD::addressof(__p->__value_.__cc.second)); 524 __alloc_traits::destroy(__na_, _VSTD::addressof(__p->__value_.__cc.first)); 1267 __node_traits::construct(__na, _VSTD::addressof(__h->__value_)); 1280 __node_traits::construct(__na, _VSTD::addressof(__h->__value_), 1293 __node_traits::construct(__na, _VSTD::addressof(__h->__value_.__cc.first), _VSTD::move(__k)); 1295 __node_traits::construct(__na, _VSTD::addressof(__h->__value_.__cc.second)); 1311 __node_traits::construct(__na, _VSTD::addressof(__h->__value_), 1340 __node_traits::construct(__na, _VSTD::addressof(__h->__value_.__cc.first), __k); 1342 __node_traits::construct(__na, _VSTD::addressof(__h->__value_.__cc.second)); 1965 __node_traits::construct(__na, _VSTD::addressof(__h->__value_)); [all …]
|
D | memory | 164 template <class T> T* addressof(T& r) noexcept; 626 // addressof moved to <__functional_base> 918 {return _VSTD::addressof(__r);} 1631 {return _VSTD::addressof(__x);} 1633 {return _VSTD::addressof(__x);} 1723 {return _VSTD::addressof(__x);} 3664 return __t == typeid(_Dp) ? _VSTD::addressof(__data_.first().second()) : 0; 4105 ::new(static_cast<void*>(_VSTD::addressof(*__hold2.get()))) 4107 __cntrl_ = _VSTD::addressof(*__hold2.release()); 4133 ::new(static_cast<void*>(_VSTD::addressof(*__hold2.get()))) [all …]
|
D | __hash_table | 751 __alloc_traits::destroy(__na_, _VSTD::addressof(__p->__value_)); 1344 __node_traits::destroy(__na, _VSTD::addressof(__np->__value_)); 2081 … __node_traits::construct(__na, _VSTD::addressof(__h->__value_), _VSTD::forward<_Args>(__args)...); 2097 __node_traits::construct(__na, _VSTD::addressof(__h->__value_), _VSTD::move(__v)); 2112 __node_traits::construct(__na, _VSTD::addressof(__h->__value_), __v); 2128 __node_traits::construct(__na, _VSTD::addressof(__h->__value_), __v);
|
D | iterator | 562 _LIBCPP_INLINE_VISIBILITY pointer operator->() const {return _VSTD::addressof(operator*());} 667 …INE_VISIBILITY explicit back_insert_iterator(_Container& __x) : container(_VSTD::addressof(__x)) {} 700 …NE_VISIBILITY explicit front_insert_iterator(_Container& __x) : container(_VSTD::addressof(__x)) {} 735 : container(_VSTD::addressof(__x)), iter(__i) {}
|
D | __tree | 534 __alloc_traits::destroy(__na_, _VSTD::addressof(__p->__value_)); 1461 __node_traits::destroy(__na, _VSTD::addressof(__nd->__value_)); 1747 … __node_traits::construct(__na, _VSTD::addressof(__h->__value_), _VSTD::forward<_Args>(__args)...); 1871 __node_traits::construct(__na, _VSTD::addressof(__h->__value_), __v); 2001 __node_traits::destroy(__na, const_cast<value_type*>(_VSTD::addressof(*__p)));
|
/external/llvm/bindings/python/llvm/ |
D | disassembler.py | 12 from ctypes import addressof 131 b = cast(addressof(buf) + offset, POINTER(c_ubyte))
|
/external/clang/test/CodeGenCXX/ |
D | builtins.cpp | 13 S *addressof(bool b, S &s, S &t) { in addressof() function
|
/external/clang/test/SemaCXX/ |
D | builtins.cpp | 28 namespace addressof { namespace
|
/external/clang/test/SemaTemplate/ |
D | dependent-expr.cpp | 51 template <typename T> T *addressof(T &v) { in addressof() function
|
/external/libcxx/test/support/ |
D | min_allocator.h | 152 static min_pointer pointer_to(T& t) {return min_pointer(std::addressof(t));} in pointer_to() 223 static min_pointer pointer_to(const T& t) {return min_pointer(std::addressof(t));} in pointer_to()
|
/external/libcxx/include/ext/ |
D | hash_map | 359 __alloc_traits::destroy(__na_, _VSTD::addressof(__p->__value_.second)); 361 __alloc_traits::destroy(__na_, _VSTD::addressof(__p->__value_.first)); 687 __node_traits::construct(__na, _VSTD::addressof(__h->__value_.first), __k); 689 __node_traits::construct(__na, _VSTD::addressof(__h->__value_.second));
|
/external/clang/test/ |
D | cxx-sections.data | 682 20.8.8.1 [object.addressof]
|
/external/clang/docs/ |
D | LanguageExtensions.rst | 1582 template<typename T> constexpr T *addressof(T &value) {
|
/external/clang/include/clang/Basic/ |
D | DiagnosticSemaKinds.td | 442 "it by the number of elements)|remove the addressof in the argument to "
|