Searched refs:weakRef (Results 1 – 6 of 6) sorted by relevance
115 WeakReference<Object> weakRef = new WeakReference<Object>(striped.get(new Object())); in testWeakImplementations() local116 GcFinalization.awaitClear(weakRef); in testWeakImplementations()122 WeakReference<Object> weakRef = new WeakReference<Object>(striped.get(new Object())); in testStrongImplementations() local125 assertNotNull(weakRef.get()); in testStrongImplementations()
475 inline void SharedPtr<T>::acquireFromWeak (const WeakPtr<T>& weakRef) in acquireFromWeak() argument479 SharedPtrStateBase* state = weakRef.m_state; in acquireFromWeak()499 m_ptr = weakRef.m_ptr; in acquireFromWeak()
22 __weak SomeClass *weakRef = objPtr1;24 [weakRef foo];
353 WeakReference<Injector> weakRef = new WeakReference<>(childInjector); in testWeakKeySet_integration() local358 awaitClear(weakRef); in testWeakKeySet_integration()
1360 WeakReference<Injector> weakRef = new WeakReference<>(childInjector); in testWeakKeySet_integration_mapbinder() local1366 Asserts.awaitClear(weakRef); in testWeakKeySet_integration_mapbinder()
1436 WeakReference<Injector> weakRef = new WeakReference<>(childInjector); in testWeakKeySet_integration() local1442 Asserts.awaitClear(weakRef); in testWeakKeySet_integration()