Searched defs:scoped_ptr_malloc (Results 1 - 4 of 4) sorted by relevance

/external/chromium/base/memory/
H A Dscoped_ptr.h42 // scoped_array, scoped_ptr_malloc.
261 // passed as a template argument to scoped_ptr_malloc below.
269 // scoped_ptr_malloc<> is similar to scoped_ptr<>, but it accepts a
273 class scoped_ptr_malloc { class
284 explicit scoped_ptr_malloc(C* p = NULL): ptr_(p) {} function in class:scoped_ptr_malloc
287 ~scoped_ptr_malloc() {
319 // These return whether a scoped_ptr_malloc and a plain pointer refer
332 void swap(scoped_ptr_malloc & b) {
352 // no reason to use these: each scoped_ptr_malloc should have its own object
354 bool operator==(scoped_ptr_malloc<C
374 operator ==(C* p, const scoped_ptr_malloc<C, FP>& b) argument
379 operator !=(C* p, const scoped_ptr_malloc<C, FP>& b) argument
[all...]
/external/chromium/googleurl/base/
H A Dscoped_ptr.h219 // passed as a template argument to scoped_ptr_malloc below.
227 // scoped_ptr_malloc<> is similar to scoped_ptr<>, but it accepts a
231 class scoped_ptr_malloc { class
236 scoped_ptr_malloc(scoped_ptr_malloc const &);
237 scoped_ptr_malloc & operator=(scoped_ptr_malloc const &);
243 explicit scoped_ptr_malloc(T* p = 0): ptr(p) {} function in class:scoped_ptr_malloc
245 ~scoped_ptr_malloc() {
281 void swap(scoped_ptr_malloc
313 operator ==(T* p, const scoped_ptr_malloc<T,FP>& b) argument
318 operator !=(T* p, const scoped_ptr_malloc<T,FP>& b) argument
[all...]
/external/chromium/third_party/libjingle/source/talk/base/
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:talk_base
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:talk_base::scoped_ptr_malloc
205 ~scoped_ptr_malloc() {
[all...]
/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...]

Completed in 618 milliseconds