Searched refs:weakRef (Results 1 – 9 of 9) sorted by relevance
134 WeakReference<Object> weakRef = new WeakReference<>(striped.get(new Object()));135 GcFinalization.awaitClear(weakRef);153 WeakReference<Object> weakRef = new WeakReference<>(striped.get(new Object()));156 assertNotNull(weakRef.get());
195 fun cleanWeakRef(weakRef: HashedWeakRef<*>) { in <lambda>()196 var index = index(weakRef.hash) in <lambda>()199 if (w === weakRef) { // found in <lambda>()
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()