Searched refs:scoped_ptr_malloc (Results 1 - 3 of 3) sorted by relevance

/external/webrtc/src/system_wrappers/interface/
H A Dscoped_ptr.h17 // scoped_ptr_malloc added in by Google. When one of
19 // calls free(). scoped_ptr_malloc<char> is likely to see much more
188 // scoped_ptr_malloc<> is similar to scoped_ptr<>, but it accepts a
191 template<typename T, void (*FF)(void*) = free> class scoped_ptr_malloc { class in namespace:webrtc
196 scoped_ptr_malloc(scoped_ptr_malloc const &);
197 scoped_ptr_malloc & operator=(scoped_ptr_malloc const &);
203 explicit scoped_ptr_malloc(T* p = 0): ptr(p) {} function in class:webrtc::scoped_ptr_malloc
205 ~scoped_ptr_malloc() {
[all...]
/external/chromium_org/third_party/cld/base/
H A Dscoped_ptr.h10 // scoped_array, scoped_ptr_malloc, and make_scoped_ptr.
29 template <class C, class Free> class scoped_ptr_malloc;
284 // passed as a template argument to scoped_ptr_malloc below.
292 // scoped_ptr_malloc<> is similar to scoped_ptr<>, but it accepts a
296 class scoped_ptr_malloc { class
307 explicit scoped_ptr_malloc(): ptr_(NULL) { } function in class:scoped_ptr_malloc
311 explicit scoped_ptr_malloc(must_be_C* p): ptr_(p) { } function in class:scoped_ptr_malloc
314 explicit scoped_ptr_malloc(void *p): ptr_(static_cast<C*>(p)) { } function in class:scoped_ptr_malloc
317 ~scoped_ptr_malloc() {
364 // These return whether a scoped_ptr_malloc an
419 operator ==(C* p, const scoped_ptr_malloc<C, FP>& b) argument
424 operator !=(C* p, const scoped_ptr_malloc<C, FP>& b) argument
[all...]
/external/ceres-solver/include/ceres/internal/
H A Dscoped_ptr.h33 // scoped_array, scoped_ptr_malloc, and make_scoped_ptr.
47 template <class C, class Free> class scoped_ptr_malloc;
299 // passed as a template argument to scoped_ptr_malloc below.

Completed in 133 milliseconds