/external/chromium/base/memory/ |
scoped_ptr.h | 42 // 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<C2, GP> const& p) const [all...] |
/external/chromium/googleurl/base/ |
scoped_ptr.h | 219 // 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 & b) [all...] |
/external/chromium/third_party/libjingle/source/talk/base/ |
scoped_ptr.h | 17 // 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/ |
scoped_ptr.h | 17 // 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/ |
scoped_ptr.h | 10 // 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 and a plain pointer refe [all...] |
/external/chromium_org/base/memory/ |
scoped_ptr.h | 91 // implementation of the scoped_ptr class and scoped_ptr_malloc (deprecated). 575 // scoped_ptr_malloc<> is similar to scoped_ptr<>, but it accepts a 579 class scoped_ptr_malloc { class 580 MOVE_ONLY_TYPE_FOR_CPP_03(scoped_ptr_malloc, RValue) 592 explicit scoped_ptr_malloc(C* p = NULL): ptr_(p) {} function in class:scoped_ptr_malloc 595 scoped_ptr_malloc(RValue rvalue) function in class:scoped_ptr_malloc 600 ~scoped_ptr_malloc() { 605 scoped_ptr_malloc& operator=(RValue rhs) { 640 // Allow scoped_ptr_malloc<C> to be used in boolean expressions, but not 642 typedef C* scoped_ptr_malloc::*Testable [all...] |