Lines Matching refs:_ptr
34 CFReleaser(T ptr = NULL) : _ptr(ptr) { } in _ptr() function
35 CFReleaser(const CFReleaser& copy) : _ptr(copy.get()) in CFReleaser()
55 T * ptr_address() { return &_ptr; } in ptr_address()
58 const T get() const { return _ptr; } in get()
59 T get() { return _ptr; } in get()
65 if (ptr != _ptr)
67 if (_ptr != NULL)
68 ::CFRelease(_ptr);
69 _ptr = ptr;
74 T release() { T tmp = _ptr; _ptr = NULL; return tmp; } in release()
76 element_type _ptr;