Lines Matching refs:pointer

40         template <typename U> static typename U::pointer detector(typename U::pointer*);
46 using pointer = typename pointer_type_detector::type;
76 pointer fPtr;
78 /*constexpr*/ compressed_data(const pointer& ptr, const deleter_type& d)
81 is_convertible<U1, pointer>::value && is_convertible<U2, deleter_type>::value
84 /*constexpr*/ pointer& getPointer() /*noexcept*/ { return fPtr; }
85 /*constexpr*/ pointer const& getPointer() const /*noexcept*/ { return fPtr; }
106 explicit unique_ptr(pointer ptr) /*noexcept*/ : data(ptr, deleter_type()) {
110 unique_ptr(pointer ptr,
116 unique_ptr(pointer ptr, remove_reference_t<deleter_type>&& d) /*noexcept*/
129 is_convertible<typename unique_ptr<U, ThatD>::pointer, pointer>::value &&
139 pointer& ptr = data.getPointer();
143 ptr = pointer();
153 is_convertible<typename unique_ptr<U, ThatD>::pointer, pointer>::value &&
167 SkASSERT(get() != pointer());
171 pointer operator->() const /*noexcept*/ {
172 SkASSERT(get() != pointer());
176 pointer get() const /*noexcept*/ {
190 return get() == pointer() ? false : true;
193 pointer release() /*noexcept*/ {
194 pointer ptr = get();
195 data.getPointer() = pointer();
199 void reset(pointer ptr = pointer()) /*noexcept*/ {
201 if (ptr != pointer()) {
217 template <typename U> static typename U::pointer detector(typename U::pointer*);
223 using pointer = typename pointer_type_detector::type;
252 pointer fPtr;
254 /*constexpr*/ compressed_data(const pointer& ptr, const deleter_type& d)
257 is_convertible<U1, pointer>::value && is_convertible<U2, deleter_type>::value
260 /*constexpr*/ pointer& getPointer() /*noexcept*/ { return fPtr; }
261 /*constexpr*/ pointer const& getPointer() const /*noexcept*/ { return fPtr; }
282 explicit unique_ptr(pointer ptr) /*noexcept*/ : data(ptr, deleter_type()) {
286 unique_ptr(pointer ptr,
292 unique_ptr(pointer ptr, remove_reference_t<deleter_type>&& d) /*noexcept*/
304 pointer& ptr = data.getPointer();
308 ptr = pointer();
323 SkASSERT(get() != pointer());
327 pointer get() const /*noexcept*/ {
341 return get() == pointer() ? false : true;
344 pointer release() /*noexcept*/ {
345 pointer ptr = get();
346 data.getPointer() = pointer();
350 void reset(pointer ptr = pointer()) /*noexcept*/ {
352 if (ptr != pointer()) {