Home
last modified time | relevance | path

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

/external/guava/guava-tests/test/com/google/common/util/concurrent/
DStripedTest.java135 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());
/external/guava/android/guava-tests/test/com/google/common/util/concurrent/
DStripedTest.java135 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());
/external/cronet/base/android/java/src/org/chromium/base/
DCollectionUtil.java82 WeakReference<T> weakRef = it.next(); in strengthen() local
83 T strongRef = weakRef.get(); in strengthen()
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/src/debug/internal/
DConcurrentWeakMap.kt194 fun cleanWeakRef(weakRef: HashedWeakRef<*>) { in <lambda>()
195 var index = index(weakRef.hash) in <lambda>()
198 if (w === weakRef) { // found in <lambda>()
/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/robolectric/robolectric/src/test/java/org/robolectric/shadows/
DShadowThemeTest.java297 WeakReference<Theme> weakRef = new WeakReference<>(themeSupplier.get()); in shouldFreeNativeObjectInRegistry() local
298 awaitFinalized(weakRef); in shouldFreeNativeObjectInRegistry()
302 private static <T> void awaitFinalized(WeakReference<T> weakRef) { in awaitFinalized() argument
306 if (weakRef.get() == null) { in awaitFinalized()
/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()