Home
last modified time | relevance | path

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

12

/external/cronet/buildtools/third_party/libc++/trunk/include/__memory/
Dauto_ptr.h26 _Tp* __ptr_; member
33 _Tp* __ptr_;
37 _LIBCPP_INLINE_VISIBILITY explicit auto_ptr(_Tp* __p = 0) _NOEXCEPT : __ptr_(__p) {} in __ptr_() function
38 _LIBCPP_INLINE_VISIBILITY auto_ptr(auto_ptr& __p) _NOEXCEPT : __ptr_(__p.release()) {} in auto_ptr()
40 : __ptr_(__p.release()) {} in auto_ptr()
46 {reset(__p.__ptr_); return *this;}
47 _LIBCPP_INLINE_VISIBILITY ~auto_ptr() _NOEXCEPT {delete __ptr_;} in ~auto_ptr() local
50 {return *__ptr_;}
51 _LIBCPP_INLINE_VISIBILITY _Tp* operator->() const _NOEXCEPT {return __ptr_;}
52 _LIBCPP_INLINE_VISIBILITY _Tp* get() const _NOEXCEPT {return __ptr_;} in get()
[all …]
Dunique_ptr.h134 __compressed_pair<pointer, deleter_type> __ptr_;
183 _LIBCPP_CONSTEXPR unique_ptr() _NOEXCEPT : __ptr_(__value_init_tag(), __value_init_tag()) {}
188 …_LIBCPP_CONSTEXPR unique_ptr(nullptr_t) _NOEXCEPT : __ptr_(__value_init_tag(), __value_init_tag())…
192 : __ptr_(__p, __value_init_tag()) {}
196 : __ptr_(__p, __d) {}
200 unique_ptr(pointer __p, _GoodRValRefType<_Dummy> __d) _NOEXCEPT : __ptr_(__p, _VSTD::move(__d)) {
211 : __ptr_(__u.release(), _VSTD::forward<deleter_type>(__u.get_deleter())) {}
218 : __ptr_(__u.release(), _VSTD::forward<_Ep>(__u.get_deleter())) {}
227 : __ptr_(__p.release(), __value_init_tag()) {}
232 __ptr_.second() = _VSTD::forward<deleter_type>(__u.get_deleter());
[all …]
Dallocation_guard.h53 … , __ptr_(allocator_traits<_Alloc>::allocate(__alloc_, __n_)) // initialization order is important in __allocation_guard()
58 if (__ptr_ != nullptr) { in ~__allocation_guard()
59 allocator_traits<_Alloc>::deallocate(__alloc_, __ptr_, __n_); in ~__allocation_guard()
65 _Pointer __tmp = __ptr_; in __release_ptr()
66 __ptr_ = nullptr; in __release_ptr()
72 return __ptr_; in __get()
78 _Pointer __ptr_; member
Dshared_ptr.h485 element_type* __ptr_;
491 : __ptr_(nullptr),
497 : __ptr_(nullptr),
512 _LIBCPP_HIDE_FROM_ABI explicit shared_ptr(_Yp* __p) : __ptr_(__p) {
524 : __ptr_(__p)
551 : __ptr_(__p)
583 : __ptr_(nullptr)
609 : __ptr_(nullptr)
640 : __ptr_(__p),
649 : __ptr_(__r.__ptr_),
[all …]
/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/cronet/buildtools/third_party/libc++/trunk/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 …]
/external/cronet/buildtools/third_party/libc++/trunk/include/
D__node_handle102 __node_pointer_type __ptr_ = nullptr;
108 __ptr_ = nullptr;
115 if (__ptr_ != nullptr)
121 __alloc, true)(__ptr_);
122 __ptr_ = nullptr;
129 : __ptr_(__ptr), __alloc_(__alloc)
139 : __ptr_(__other.__ptr_),
142 __other.__ptr_ = nullptr;
157 __ptr_ = __other.__ptr_;
163 __other.__ptr_ = nullptr;
[all …]
Dsource_location50 const __impl* __ptr_ = nullptr;
63 __sl.__ptr_ = static_cast<const __impl*>(__ptr);
69 return __ptr_ != nullptr ? __ptr_->_M_line : 0;
72 return __ptr_ != nullptr ? __ptr_->_M_column : 0;
75 return __ptr_ != nullptr ? __ptr_->_M_file_name : "";
78 return __ptr_ != nullptr ? __ptr_->_M_function_name : "";
Dlist330 __link_pointer __ptr_;
334 : __ptr_(__p)
353 __list_iterator() _NOEXCEPT : __ptr_(nullptr)
362 : __ptr_(__p.__ptr_)
379 __ptr_ = __p.__ptr_;
391 return __ptr_->__as_node()->__value_;
398 return pointer_traits<pointer>::pointer_to(__ptr_->__as_node()->__value_);
406 __ptr_ = __ptr_->__next_;
417 __ptr_ = __ptr_->__prev_;
426 return __x.__ptr_ == __y.__ptr_;
[all …]
D__tree843 __iter_pointer __ptr_;
854 : __ptr_(nullptr)
865 __ptr_ = static_cast<__iter_pointer>(
866 _VSTD::__tree_next_iter<__end_node_pointer>(static_cast<__node_base_pointer>(__ptr_)));
875 __ptr_ = static_cast<__iter_pointer>(_VSTD::__tree_prev_iter<__node_base_pointer>(
876 static_cast<__end_node_pointer>(__ptr_)));
885 {return __x.__ptr_ == __y.__ptr_;}
892 explicit __tree_iterator(__node_pointer __p) _NOEXCEPT : __ptr_(__p) {}
894 explicit __tree_iterator(__end_node_pointer __p) _NOEXCEPT : __ptr_(__p) {}
896 __node_pointer __get_np() const { return static_cast<__node_pointer>(__ptr_); }
[all …]
/external/cronet/buildtools/third_party/libc++/trunk/include/__exception/
Dexception_ptr.h27 void* __ptr_; variable
30 _LIBCPP_HIDE_FROM_ABI exception_ptr() _NOEXCEPT : __ptr_() {} in exception_ptr()
31 _LIBCPP_HIDE_FROM_ABI exception_ptr(nullptr_t) _NOEXCEPT : __ptr_() {} in exception_ptr()
37 _LIBCPP_HIDE_FROM_ABI explicit operator bool() const _NOEXCEPT { return __ptr_ != nullptr; }
40 return __x.__ptr_ == __y.__ptr_;
/external/cronet/buildtools/third_party/libc++/trunk/include/__format/
Dbuffer.h63 : __ptr_(__ptr), in __output_buffer()
69 __ptr_ = __ptr; in __reset()
77 __ptr_[__size_++] = __c; in push_back()
106 _VSTD::copy_n(__str.data(), __n, _VSTD::addressof(__ptr_[__size_])); in __copy()
117 _VSTD::copy_n(__first, __chunk, _VSTD::addressof(__ptr_[__size_])); in __copy()
135 … _VSTD::transform(__first, __last, _VSTD::addressof(__ptr_[__size_]), _VSTD::move(__operation)); in __transform()
145 _VSTD::transform(__first, __first + __chunk, _VSTD::addressof(__ptr_[__size_]), __operation); in __transform()
157 _VSTD::fill_n(_VSTD::addressof(__ptr_[__size_]), __n, __value); in __fill()
167 _VSTD::fill_n(_VSTD::addressof(__ptr_[__size_]), __chunk, __value); in __fill()
175 __flush_(__ptr_, __size_, __obj_); in __flush()
[all …]
Dformat_arg.h138 return _VSTD::invoke(_VSTD::forward<_Visitor>(__vis), __arg.__value_.__ptr_); in decltype()
160 : __ptr_(_VSTD::addressof(__v)), in __handle()
175 const void* __ptr_; member
196 const void* __ptr_; member
221 _LIBCPP_HIDE_FROM_ABI __basic_format_arg_value(const void* __value) noexcept : __ptr_(__value) {} in __basic_format_arg_value()
267 __handle_.__format_(__parse_ctx, __ctx, __handle_.__ptr_); in format()
/external/clang/test/CodeGenCXX/
Dlinetable-eh.cpp23 element_type* __ptr_; member in shared_ptr
25 element_type* operator->() const noexcept {return __ptr_;} in operator ->()

12