Home
last modified time | relevance | path

Searched refs:__ptr_ (Results 1 – 25 of 30) sorted by relevance

12

/external/libcxx/src/support/runtime/
Dexception_pointer_cxxabi.ipp18 __cxa_decrement_exception_refcount(__ptr_);
22 : __ptr_(other.__ptr_)
24 __cxa_increment_exception_refcount(__ptr_);
29 if (__ptr_ != other.__ptr_)
31 __cxa_increment_exception_refcount(other.__ptr_);
32 __cxa_decrement_exception_refcount(__ptr_);
33 __ptr_ = other.__ptr_;
39 : __ptr_(current_exception())
51 if (__ptr_ == nullptr)
53 rethrow_exception(__ptr_);
[all …]
Dexception_pointer_glibcxx.ipp27 void* __ptr_;
44 : __ptr_(other.__ptr_)
58 : __ptr_(current_exception())
67 if (__ptr_ == nullptr)
69 rethrow_exception(__ptr_);
Dexception_pointer_unimplemented.ipp24 : __ptr_(other.__ptr_)
39 : __ptr_(current_exception())
59 if (__ptr_ == nullptr)
61 rethrow_exception(__ptr_);
Dexception_pointer_msvc.ipp76 nested_exception::nested_exception() _NOEXCEPT : __ptr_(current_exception()) {}
82 if (__ptr_ == nullptr)
84 rethrow_exception(__ptr_);
/external/llvm-project/libcxx/src/support/runtime/
Dexception_pointer_cxxabi.ipp17 __cxa_decrement_exception_refcount(__ptr_);
21 : __ptr_(other.__ptr_)
23 __cxa_increment_exception_refcount(__ptr_);
28 if (__ptr_ != other.__ptr_)
30 __cxa_increment_exception_refcount(other.__ptr_);
31 __cxa_decrement_exception_refcount(__ptr_);
32 __ptr_ = other.__ptr_;
38 : __ptr_(current_exception())
50 if (__ptr_ == nullptr)
52 rethrow_exception(__ptr_);
[all …]
Dexception_pointer_glibcxx.ipp26 void* __ptr_;
43 : __ptr_(other.__ptr_)
57 : __ptr_(current_exception())
66 if (__ptr_ == nullptr)
68 rethrow_exception(__ptr_);
Dexception_pointer_unimplemented.ipp23 : __ptr_(other.__ptr_)
38 : __ptr_(current_exception())
58 if (__ptr_ == nullptr)
60 rethrow_exception(__ptr_);
Dexception_pointer_msvc.ipp75 nested_exception::nested_exception() _NOEXCEPT : __ptr_(current_exception()) {}
81 if (__ptr_ == nullptr)
83 rethrow_exception(__ptr_);
/external/libcxx/include/
D__node_handle56 __node_pointer_type __ptr_ = nullptr;
62 __ptr_ = nullptr;
69 if (__ptr_ != nullptr)
75 __alloc, true)(__ptr_);
76 __ptr_ = nullptr;
83 : __ptr_(__ptr), __alloc_(__alloc)
93 : __ptr_(__other.__ptr_),
96 __other.__ptr_ = nullptr;
111 __ptr_ = __other.__ptr_;
117 __other.__ptr_ = nullptr;
[all …]
Dlist292 __link_pointer __ptr_;
297 : __ptr_(__p)
303 explicit __list_iterator(__link_pointer __p) _NOEXCEPT : __ptr_(__p) {}
319 __list_iterator() _NOEXCEPT : __ptr_(nullptr)
330 : __ptr_(__p.__ptr_)
347 __ptr_ = __p.__ptr_;
361 return __ptr_->__as_node()->__value_;
370 return pointer_traits<pointer>::pointer_to(__ptr_->__as_node()->__value_);
380 __ptr_ = __ptr_->__next_;
393 __ptr_ = __ptr_->__prev_;
[all …]
Dmemory2076 _Tp* __ptr_;
2083 _Tp* __ptr_;
2087 _LIBCPP_INLINE_VISIBILITY explicit auto_ptr(_Tp* __p = 0) throw() : __ptr_(__p) {}
2088 _LIBCPP_INLINE_VISIBILITY auto_ptr(auto_ptr& __p) throw() : __ptr_(__p.release()) {}
2090 : __ptr_(__p.release()) {}
2096 {reset(__p.__ptr_); return *this;}
2097 _LIBCPP_INLINE_VISIBILITY ~auto_ptr() throw() {delete __ptr_;}
2100 {return *__ptr_;}
2101 _LIBCPP_INLINE_VISIBILITY _Tp* operator->() const throw() {return __ptr_;}
2102 _LIBCPP_INLINE_VISIBILITY _Tp* get() const throw() {return __ptr_;}
[all …]
Dexception142 void* __ptr_;
144 _LIBCPP_INLINE_VISIBILITY exception_ptr() _NOEXCEPT : __ptr_() {}
145 _LIBCPP_INLINE_VISIBILITY exception_ptr(nullptr_t) _NOEXCEPT : __ptr_() {}
152 {return __ptr_ != nullptr;}
156 {return __x.__ptr_ == __y.__ptr_;}
237 exception_ptr __ptr_;
246 _LIBCPP_INLINE_VISIBILITY exception_ptr nested_ptr() const _NOEXCEPT {return __ptr_;}
D__tree816 __iter_pointer __ptr_;
827 : __ptr_(nullptr)
838 __ptr_ = static_cast<__iter_pointer>(
839 __tree_next_iter<__end_node_pointer>(static_cast<__node_base_pointer>(__ptr_)));
848 __ptr_ = static_cast<__iter_pointer>(__tree_prev_iter<__node_base_pointer>(
849 static_cast<__end_node_pointer>(__ptr_)));
858 {return __x.__ptr_ == __y.__ptr_;}
865 explicit __tree_iterator(__node_pointer __p) _NOEXCEPT : __ptr_(__p) {}
867 explicit __tree_iterator(__end_node_pointer __p) _NOEXCEPT : __ptr_(__p) {}
869 __node_pointer __get_np() const { return static_cast<__node_pointer>(__ptr_); }
[all …]
Dforward_list293 __iter_node_pointer __ptr_;
298 static_cast<__void_pointer>(__ptr_));
303 static_cast<__void_pointer>(__ptr_));
307 explicit __forward_list_iterator(nullptr_t) _NOEXCEPT : __ptr_(nullptr) {}
311 : __ptr_(__traits::__as_iter_node(__p)) {}
315 : __ptr_(__traits::__as_iter_node(__p)) {}
329 __forward_list_iterator() _NOEXCEPT : __ptr_(nullptr) {}
341 __ptr_ = __traits::__as_iter_node(__ptr_->__next_);
355 {return __x.__ptr_ == __y.__ptr_;}
375 __iter_node_pointer __ptr_;
[all …]
Ddeque299 pointer __ptr_;
309 : __m_iter_(nullptr), __ptr_(nullptr)
317 : __m_iter_(__it.__m_iter_), __ptr_(__it.__ptr_) {}
319 _LIBCPP_INLINE_VISIBILITY reference operator*() const {return *__ptr_;}
320 _LIBCPP_INLINE_VISIBILITY pointer operator->() const {return __ptr_;}
324 if (++__ptr_ - *__m_iter_ == __block_size)
327 __ptr_ = *__m_iter_;
341 if (__ptr_ == *__m_iter_)
344 __ptr_ = *__m_iter_ + __block_size;
346 --__ptr_;
[all …]
/external/llvm-project/libcxx/include/
D__node_handle55 __node_pointer_type __ptr_ = nullptr;
61 __ptr_ = nullptr;
68 if (__ptr_ != nullptr)
74 __alloc, true)(__ptr_);
75 __ptr_ = nullptr;
82 : __ptr_(__ptr), __alloc_(__alloc)
92 : __ptr_(__other.__ptr_),
95 __other.__ptr_ = nullptr;
110 __ptr_ = __other.__ptr_;
116 __other.__ptr_ = nullptr;
[all …]
Dlist294 __link_pointer __ptr_;
299 : __ptr_(__p)
305 explicit __list_iterator(__link_pointer __p) _NOEXCEPT : __ptr_(__p) {}
321 __list_iterator() _NOEXCEPT : __ptr_(nullptr)
332 : __ptr_(__p.__ptr_)
349 __ptr_ = __p.__ptr_;
363 return __ptr_->__as_node()->__value_;
372 return pointer_traits<pointer>::pointer_to(__ptr_->__as_node()->__value_);
382 __ptr_ = __ptr_->__next_;
395 __ptr_ = __ptr_->__prev_;
[all …]
Dmemory1885 _Tp* __ptr_;
1892 _Tp* __ptr_;
1896 _LIBCPP_INLINE_VISIBILITY explicit auto_ptr(_Tp* __p = 0) _NOEXCEPT : __ptr_(__p) {}
1897 _LIBCPP_INLINE_VISIBILITY auto_ptr(auto_ptr& __p) _NOEXCEPT : __ptr_(__p.release()) {}
1899 : __ptr_(__p.release()) {}
1905 {reset(__p.__ptr_); return *this;}
1906 _LIBCPP_INLINE_VISIBILITY ~auto_ptr() _NOEXCEPT {delete __ptr_;}
1909 {return *__ptr_;}
1910 _LIBCPP_INLINE_VISIBILITY _Tp* operator->() const _NOEXCEPT {return __ptr_;}
1911 _LIBCPP_INLINE_VISIBILITY _Tp* get() const _NOEXCEPT {return __ptr_;}
[all …]
Dexception144 void* __ptr_;
146 _LIBCPP_INLINE_VISIBILITY exception_ptr() _NOEXCEPT : __ptr_() {}
147 _LIBCPP_INLINE_VISIBILITY exception_ptr(nullptr_t) _NOEXCEPT : __ptr_() {}
154 {return __ptr_ != nullptr;}
158 {return __x.__ptr_ == __y.__ptr_;}
239 exception_ptr __ptr_;
248 _LIBCPP_INLINE_VISIBILITY exception_ptr nested_ptr() const _NOEXCEPT {return __ptr_;}
D__tree819 __iter_pointer __ptr_;
830 : __ptr_(nullptr)
841 __ptr_ = static_cast<__iter_pointer>(
842 __tree_next_iter<__end_node_pointer>(static_cast<__node_base_pointer>(__ptr_)));
851 __ptr_ = static_cast<__iter_pointer>(__tree_prev_iter<__node_base_pointer>(
852 static_cast<__end_node_pointer>(__ptr_)));
861 {return __x.__ptr_ == __y.__ptr_;}
868 explicit __tree_iterator(__node_pointer __p) _NOEXCEPT : __ptr_(__p) {}
870 explicit __tree_iterator(__end_node_pointer __p) _NOEXCEPT : __ptr_(__p) {}
872 __node_pointer __get_np() const { return static_cast<__node_pointer>(__ptr_); }
[all …]
Dforward_list296 __iter_node_pointer __ptr_;
301 static_cast<__void_pointer>(__ptr_));
306 static_cast<__void_pointer>(__ptr_));
310 explicit __forward_list_iterator(nullptr_t) _NOEXCEPT : __ptr_(nullptr) {}
314 : __ptr_(__traits::__as_iter_node(__p)) {}
318 : __ptr_(__traits::__as_iter_node(__p)) {}
332 __forward_list_iterator() _NOEXCEPT : __ptr_(nullptr) {}
344 __ptr_ = __traits::__as_iter_node(__ptr_->__next_);
358 {return __x.__ptr_ == __y.__ptr_;}
378 __iter_node_pointer __ptr_;
[all …]
Ddeque300 pointer __ptr_;
310 : __m_iter_(nullptr), __ptr_(nullptr)
318 : __m_iter_(__it.__m_iter_), __ptr_(__it.__ptr_) {}
320 _LIBCPP_INLINE_VISIBILITY reference operator*() const {return *__ptr_;}
321 _LIBCPP_INLINE_VISIBILITY pointer operator->() const {return __ptr_;}
325 if (++__ptr_ - *__m_iter_ == __block_size)
328 __ptr_ = *__m_iter_;
342 if (__ptr_ == *__m_iter_)
345 __ptr_ = *__m_iter_ + __block_size;
347 --__ptr_;
[all …]
/external/llvm-project/pstl/include/pstl/internal/
Dparallel_backend_serial.h32 _Tp* __ptr_; variable
39 …__buffer(std::size_t __n) : __allocator_(), __ptr_(__allocator_.allocate(__n)), __buf_size_(__n) {} in __buffer()
41 operator bool() const { return __ptr_ != nullptr; }
45 return __ptr_; in get()
47 ~__buffer() { __allocator_.deallocate(__ptr_, __buf_size_); } in ~__buffer()
/external/clang/test/CodeGenCXX/
Dlinetable-eh.cpp23 element_type* __ptr_; member in shared_ptr
25 element_type* operator->() const noexcept {return __ptr_;} in operator ->()
/external/llvm-project/clang/test/CodeGenCXX/
Dlinetable-eh.cpp23 element_type* __ptr_; member in shared_ptr
25 element_type* operator->() const noexcept {return __ptr_;} in operator ->()

12