Home
last modified time | relevance | path

Searched refs:weakRef (Results 1 – 6 of 6) sorted by relevance

/external/guava/guava-tests/test/com/google/common/util/concurrent/
DStripedTest.java115 WeakReference<Object> weakRef = new WeakReference<Object>(striped.get(new Object())); in testWeakImplementations() local
116 GcFinalization.awaitClear(weakRef); in testWeakImplementations()
122 WeakReference<Object> weakRef = new WeakReference<Object>(striped.get(new Object())); in testStrongImplementations() local
125 assertNotNull(weakRef.get()); in testStrongImplementations()
/external/deqp/framework/delibs/decpp/
DdeSharedPtr.hpp475 inline void SharedPtr<T>::acquireFromWeak (const WeakPtr<T>& weakRef) in acquireFromWeak() argument
479 SharedPtrStateBase* state = weakRef.m_state; in acquireFromWeak()
499 m_ptr = weakRef.m_ptr; in acquireFromWeak()
/external/clang/test/CodeGenObjC/
Darc-loadweakretained-release.m22 __weak SomeClass *weakRef = objPtr1;
24 [weakRef foo];
/external/guice/core/test/com/google/inject/internal/
DWeakKeySetTest.java353 WeakReference<Injector> weakRef = new WeakReference<>(childInjector); in testWeakKeySet_integration() local
358 awaitClear(weakRef); in testWeakKeySet_integration()
DMapBinderTest.java1360 WeakReference<Injector> weakRef = new WeakReference<>(childInjector); in testWeakKeySet_integration_mapbinder() local
1366 Asserts.awaitClear(weakRef); in testWeakKeySet_integration_mapbinder()
DOptionalBinderTest.java1436 WeakReference<Injector> weakRef = new WeakReference<>(childInjector); in testWeakKeySet_integration() local
1442 Asserts.awaitClear(weakRef); in testWeakKeySet_integration()