Home
last modified time | relevance | path

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

/external/libcxx/src/
Dexception.cpp174 void* __ptr_; member
190 __cxa_decrement_exception_refcount(__ptr_); in ~exception_ptr()
205 : __ptr_(other.__ptr_) in exception_ptr()
208 __cxa_increment_exception_refcount(__ptr_); in exception_ptr()
226 if (__ptr_ != other.__ptr_) in operator =()
228 __cxa_increment_exception_refcount(other.__ptr_); in operator =()
229 __cxa_decrement_exception_refcount(__ptr_); in operator =()
230 __ptr_ = other.__ptr_; in operator =()
249 : __ptr_(current_exception()) in nested_exception()
265 if (__ptr_ == nullptr) in rethrow_nested()
[all …]
/external/libcxx/include/
Dlist242 __node_pointer __ptr_;
247 : __ptr_(__p)
253 explicit __list_iterator(__node_pointer __p) _NOEXCEPT : __ptr_(__p) {}
275 __list_iterator() _NOEXCEPT : __ptr_(nullptr)
286 : __ptr_(__p.__ptr_)
303 __ptr_ = __p.__ptr_;
317 return __ptr_->__value_;
326 return pointer_traits<pointer>::pointer_to(__ptr_->__value_);
336 __ptr_ = __ptr_->__next_;
349 __ptr_ = __ptr_->__prev_;
[all …]
Dforward_list228 __node_pointer __ptr_;
231 explicit __forward_list_iterator(__node_pointer __p) _NOEXCEPT : __ptr_(__p) {}
252 __forward_list_iterator() _NOEXCEPT : __ptr_(nullptr) {}
255 reference operator*() const {return __ptr_->__value_;}
257 pointer operator->() const {return pointer_traits<pointer>::pointer_to(__ptr_->__value_);}
262 __ptr_ = __ptr_->__next_;
276 {return __x.__ptr_ == __y.__ptr_;}
288 __node_const_pointer __ptr_;
292 : __ptr_(__p) {}
323 __forward_list_const_iterator() _NOEXCEPT : __ptr_(nullptr) {}
[all …]
Dexception128 void* __ptr_;
130 _LIBCPP_INLINE_VISIBILITY exception_ptr() _NOEXCEPT : __ptr_() {}
131 _LIBCPP_INLINE_VISIBILITY exception_ptr(nullptr_t) _NOEXCEPT : __ptr_() {}
138 operator bool() const _NOEXCEPT {return __ptr_ != nullptr;}
142 {return __x.__ptr_ == __y.__ptr_;}
171 exception_ptr __ptr_;
180 _LIBCPP_INLINE_VISIBILITY exception_ptr nested_ptr() const _NOEXCEPT {return __ptr_;}
Dmemory1941 _Tp* __ptr_;
1948 _Tp* __ptr_;
1952 _LIBCPP_INLINE_VISIBILITY explicit auto_ptr(_Tp* __p = 0) throw() : __ptr_(__p) {}
1953 _LIBCPP_INLINE_VISIBILITY auto_ptr(auto_ptr& __p) throw() : __ptr_(__p.release()) {}
1955 : __ptr_(__p.release()) {}
1961 {reset(__p.__ptr_); return *this;}
1962 _LIBCPP_INLINE_VISIBILITY ~auto_ptr() throw() {delete __ptr_;}
1965 {return *__ptr_;}
1966 _LIBCPP_INLINE_VISIBILITY _Tp* operator->() const throw() {return __ptr_;}
1967 _LIBCPP_INLINE_VISIBILITY _Tp* get() const throw() {return __ptr_;}
[all …]
D__tree626 __node_pointer __ptr_;
644 : __ptr_(nullptr)
648 _LIBCPP_INLINE_VISIBILITY reference operator*() const {return __ptr_->__value_;}
650 {return pointer_traits<pointer>::pointer_to(__ptr_->__value_);}
654 __ptr_ = static_cast<__node_pointer>(
655 __tree_next(static_cast<typename __node::base::pointer>(__ptr_)));
664 __ptr_ = static_cast<__node_pointer>(
665 __tree_prev(static_cast<typename __node::base::pointer>(__ptr_)));
674 {return __x.__ptr_ == __y.__ptr_;}
681 explicit __tree_iterator(__node_pointer __p) _NOEXCEPT : __ptr_(__p) {}
[all …]
Ddeque274 pointer __ptr_;
284 : __m_iter_(nullptr), __ptr_(nullptr)
292 : __m_iter_(__it.__m_iter_), __ptr_(__it.__ptr_) {}
294 _LIBCPP_INLINE_VISIBILITY reference operator*() const {return *__ptr_;}
295 _LIBCPP_INLINE_VISIBILITY pointer operator->() const {return __ptr_;}
299 if (++__ptr_ - *__m_iter_ == __block_size)
302 __ptr_ = *__m_iter_;
316 if (__ptr_ == *__m_iter_)
319 __ptr_ = *__m_iter_ + __block_size;
321 --__ptr_;
[all …]
Dmap1613 if (__r.__i_.__ptr_ == __h.get())
/external/clang/test/CodeGenCXX/
Dlinetable-eh.cpp23 element_type* __ptr_; member in shared_ptr
25 element_type* operator->() const noexcept {return __ptr_;} in operator ->()