Searched refs:weakRef (Results 1 – 10 of 10) sorted by relevance
135 WeakReference<Object> weakRef = new WeakReference<>(striped.get(new Object()));136 GcFinalization.awaitClear(weakRef);156 WeakReference<Object> weakRef = new WeakReference<>(striped.get(new Object()));159 assertNotNull(weakRef.get());
82 WeakReference<T> weakRef = it.next(); in strengthen() local83 T strongRef = weakRef.get(); in strengthen()
194 fun cleanWeakRef(weakRef: HashedWeakRef<*>) { in <lambda>()195 var index = index(weakRef.hash) in <lambda>()198 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()
297 WeakReference<Theme> weakRef = new WeakReference<>(themeSupplier.get()); in shouldFreeNativeObjectInRegistry() local298 awaitFinalized(weakRef); in shouldFreeNativeObjectInRegistry()302 private static <T> void awaitFinalized(WeakReference<T> weakRef) { in awaitFinalized() argument306 if (weakRef.get() == null) { in awaitFinalized()
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()