Home
last modified time | relevance | path

Searched refs:refCounted (Results 1 – 4 of 4) sorted by relevance

/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowWifiManager.java343 private boolean refCounted = true; field in ShadowWifiManager.ShadowWifiLock
357 if (refCounted) { in acquire()
369 if (refCounted) { in release()
378 return refCounted ? refCount > 0 : locked; in isHeld()
382 protected void setReferenceCounted(boolean refCounted) { in setReferenceCounted() argument
383 this.refCounted = refCounted; in setReferenceCounted()
390 private boolean refCounted = true; field in ShadowWifiManager.ShadowMulticastLock
404 if (refCounted) { in acquire()
416 if (refCounted) { in release()
424 protected void setReferenceCounted(boolean refCounted) { in setReferenceCounted() argument
[all …]
DShadowPowerManager.java156 private boolean refCounted = true; field in ShadowPowerManager.ShadowWakeLock
168 if (refCounted) { in acquire()
177 if (refCounted) { in release()
186 return refCounted ? refCount > 0 : locked; in isHeld()
195 return refCounted; in isReferenceCounted()
200 refCounted = value; in setReferenceCounted()
/external/llvm-project/mlir/lib/ExecutionEngine/
DAsyncRuntime.cpp145 RefCounted *refCounted = static_cast<RefCounted *>(ptr); in mlirAsyncRuntimeAddRef() local
146 refCounted->addRef(count); in mlirAsyncRuntimeAddRef()
151 RefCounted *refCounted = static_cast<RefCounted *>(ptr); in mlirAsyncRuntimeDropRef() local
152 refCounted->dropRef(count); in mlirAsyncRuntimeDropRef()
/external/angle/src/libANGLE/renderer/vulkan/
Dvk_utils.h555 void set(RefCounted<T> *refCounted)
562 mRefCounted = refCounted;
599 void set(VkDevice device, RefCounted<T> *refCounted)
611 mRefCounted = refCounted;
619 void setUnreferenced(RefCounted<T> *refCounted)
622 ASSERT(refCounted);
624 mRefCounted = refCounted;