Searched defs:RefBase (Results 1 - 3 of 3) sorted by relevance
/system/core/include/utils/ |
H A D | RefBase.h | 20 // This provides primarily wp<> weak pointer types and RefBase, which work 26 // instantiates sp<> with non-RefBase objects; the two are not tied to each 29 // RefBase is such an implementation and it supports strong pointers, weak 32 // So, when using RefBase objects, you have the ability to use strong and weak 71 // and it's hard to debug -- except it's in fact really easy because RefBase has 117 // Such strong or weak pointers can be safely created in the RefBase onFirstRef() 127 // Any object inheriting from RefBase should always be destroyed as the result 130 // objects. Objects inheriting from RefBase should have their strong reference 133 // involve other means of calling RefBase::incStrong(). 134 // Explicitly deleting or otherwise destroying a RefBase objec 237 class RefBase class in namespace:android [all...] |
/system/core/libutils/include/utils/ |
H A D | RefBase.h | 20 // This provides primarily wp<> weak pointer types and RefBase, which work 26 // instantiates sp<> with non-RefBase objects; the two are not tied to each 29 // RefBase is such an implementation and it supports strong pointers, weak 32 // So, when using RefBase objects, you have the ability to use strong and weak 71 // and it's hard to debug -- except it's in fact really easy because RefBase has 117 // Such strong or weak pointers can be safely created in the RefBase onFirstRef() 127 // Any object inheriting from RefBase should always be destroyed as the result 130 // objects. Objects inheriting from RefBase should have their strong reference 133 // involve other means of calling RefBase::incStrong(). 134 // Explicitly deleting or otherwise destroying a RefBase objec 237 class RefBase class in namespace:android [all...] |
/system/core/libutils/ |
H A D | RefBase.cpp | 17 #define LOG_TAG "RefBase" 20 #include <utils/RefBase.h> 73 // after the RefBase object has been destroyed. 75 // A weakref_impl is allocated as the value of mRefs in a RefBase object on 79 // deallocated in the RefBase destructor iff the strong reference count was 80 // never incremented and the weak count is zero, e.g. if the RefBase object is 82 // avoided.) In this case, the RefBase destructor should be invoked from 85 // the RefBase destructor, which is always invoked by decWeak. DecStrong 135 class RefBase::weakref_impl : public RefBase 682 RefBase::RefBase() function in class:android::RefBase [all...] |
Completed in 60 milliseconds