Searched refs:refs (Results 1 - 8 of 8) sorted by relevance
/frameworks/base/libs/utils/ |
H A D | RefBase.cpp | 171 void addRef(ref_entry** refs, const void* id, int32_t mRef) argument 185 ref->next = *refs; 186 *refs = ref; 190 void removeRef(ref_entry** refs, const void* id) argument 195 ref_entry* ref = *refs; 198 *refs = ref->next; 203 refs = &ref->next; 204 ref = *refs; 212 void printRefsLocked(String8* out, const ref_entry* refs) const 215 while (refs) { 283 weakref_impl* const refs = mRefs; local 303 weakref_impl* const refs = mRefs; local 322 weakref_impl* const refs = mRefs; local [all...] |
H A D | IPCThreadState.cpp | 400 RefBase::weakref_type* refs = mPendingWeakDerefs[i]; local 401 refs->decWeak(mProcess.get()); 821 RefBase::weakref_type* refs; local 833 refs = (RefBase::weakref_type*)mIn.readInt32(); 835 LOG_ASSERT(refs->refBase() == obj, 837 refs, obj, refs->refBase()); 844 mOut.writeInt32((int32_t)refs); 849 refs = (RefBase::weakref_type*)mIn.readInt32(); 851 LOG_ASSERT(refs [all...] |
H A D | ProcessState.cpp | 201 e.refs = NULL; 221 if (b == NULL || !e->refs->attemptIncWeak(this)) { 224 if (b) e->refs = b->getWeakRefs(); 231 e->refs->decWeak(this); 255 if (b == NULL || !e->refs->attemptIncWeak(this)) { 259 if (b) e->refs = b->getWeakRefs(); 262 e->refs->decWeak(this);
|
/frameworks/base/tests/AndroidTests/src/com/android/unit_tests/ |
H A D | HeapTest.java | 116 private static void makeRefs(Object objects[], SoftReference<Object> refs[]) { argument 119 refs[i] = new SoftReference<Object>(objects[i]); 123 private static <T> int checkRefs(SoftReference<T> refs[], int last) { argument 126 for (i = 0; i < refs.length; i++) { 127 Object o = refs[i].get(); 148 private static <T> void checkRefs(T objects[], SoftReference<T> refs[]) { argument 152 if (refs[i].get() != objects[i]) { 157 throw new RuntimeException("Test failed: soft refs not cleared"); 166 SoftReference<Object> refs[] = new SoftReference[objects.length]; 171 makeRefs(objects, refs); 244 makeRefs(Object objects[], WeakReference<Object> refs[]) argument 251 checkRefs(T objects[], WeakReference<T> refs[]) argument 296 makeRefs(Object objects[], PhantomReference<Object> refs[], ReferenceQueue<Object> queue) argument 304 checkRefs(T objects[], PhantomReference<T> refs[], ReferenceQueue<T> queue) argument 426 makeRefs(FinalizableObject objects[], WeakReference<FinalizableObject> refs[]) argument [all...] |
/frameworks/base/include/utils/ |
H A D | ProcessState.h | 88 RefBase::weakref_type* refs; member in struct:android::ProcessState::handle_entry
|
H A D | RefBase.h | 219 sp(T* p, weakref_type* refs); 256 void set_object_and_refs(T* other, weakref_type* refs); 382 sp<T>::sp(T* p, weakref_type* refs) argument 383 : m_ptr((p && refs->attemptIncStrong(this)) ? p : 0) 516 void wp<T>::set_object_and_refs(T* other, weakref_type* refs) argument 518 if (other) refs->incWeak(this); 521 m_refs = refs;
|
/frameworks/base/opengl/libagl/ |
H A D | TextureObjectManager.cpp | 272 const uint32_t refs = old->getStrongCount(); local 273 if (ggl_likely(refs == 1)) {
|
/frameworks/base/opengl/libs/EGL/ |
H A D | egl.cpp | 77 volatile int32_t refs; member in struct:android::egl_display_t 640 if (android_atomic_inc(&dp->refs) > 0) { 717 if (android_atomic_dec(&dp->refs) != 1)
|
Completed in 232 milliseconds