HomeSort by relevance Sort by last modified time
    Searched full:refcount (Results 26 - 50 of 825) sorted by null

12 3 4 5 6 7 8 91011>>

  /hardware/intel/common/libmix/mix_common/src/
mixparams.c 80 obj->refcount = 1;
151 * and could cause refcount problems */
161 g_atomic_int_inc(&obj->refcount);
174 /* If so, refcount handling is slightly different. */
175 /* i.e. If the refcount is still 0 we can really free the object, else the finalize method recycled the object -- but to where? */
177 if (g_atomic_int_get (&obj->refcount) == 0) {
186 g_return_if_fail (obj->refcount > 0);
188 if (G_UNLIKELY (g_atomic_int_dec_and_test (&obj->refcount))) {
  /packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
AdapterApp.java 42 Log.d(TAG, "REFCOUNT: Constructed "+ this + " Instance Count = " + sRefCount);
59 Log.d(TAG, "REFCOUNT: Finalized: " + this +", Instance Count = " + sRefCount);
  /packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
RefcountBitmapDrawable.java 28 * create initial drawable, this will not increase the refcount
36 * create the drawable from existing drawable, will not increase refcount
  /development/host/windows/usb/api/
adb_api_instance.h 42 refcount is incremented. Upon return from the API call that incremented
43 the refcount refcount gets decremented.
45 corresponded object gets deleted from the map and its refcount is
47 So, at the end, this object destroys itself when refcount drops to zero.
  /external/libexif/libexif/
exif-loader.h 50 /*! Increase the refcount of the #ExifLoader.
52 * \param[in] loader the ExifLoader to increase the refcount of.
56 /*! Decrease the refcount of the #ExifLoader.
57 * If the refcount reaches 0, the loader is freed.
59 * \param[in] loader ExifLoader for which to decrease the refcount
  /external/opencv3/modules/core/src/
cuda_host_mem.cpp 114 CV_Assert(u->refcount >= 0);
116 if (u->refcount == 0)
222 size_t datasize = alignSize(nettosize, (int)sizeof(*refcount));
237 refcount = (int*)cv::fastMalloc(sizeof(*refcount));
238 *refcount = 1;
289 if (refcount && CV_XADD(refcount, -1) == 1)
292 fastFree(refcount);
297 refcount = 0
    [all...]
  /external/mesa3d/src/mesa/main/
shared.c 123 assert(shared->DefaultTex[TEXTURE_1D_INDEX]->RefCount == 1);
173 ASSERT(prog->RefCount == 1); /* should only be referenced by hash table */
174 prog->RefCount = 0; /* now going away */
254 /* The fact that the framebuffer is in the hashtable means its refcount
255 * is one, but we're removing from the hashtable now. So clear refcount.
257 /*assert(fb->RefCount == 1);*/
258 fb->RefCount = 0;
276 rb->RefCount = 0; /* see comment for FBOs above */
397 * If ptr's refcount goes to zero, free the shared state.
413 assert(old->RefCount >= 1)
    [all...]
  /external/icu/android_icu4j/src/main/java/android/icu/impl/coll/
SharedObject.java 158 /** Initializes refCount to 0. */
161 /** Initializes refCount to 0. */
171 c.refCount = new AtomicInteger();
178 public final void addRef() { refCount.incrementAndGet(); }
185 refCount.decrementAndGet();
191 public final int getRefCount() { return refCount.get(); }
197 private AtomicInteger refCount = new AtomicInteger();
  /external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
SharedObject.java 156 /** Initializes refCount to 0. */
159 /** Initializes refCount to 0. */
169 c.refCount = new AtomicInteger();
176 public final void addRef() { refCount.incrementAndGet(); }
183 refCount.decrementAndGet();
189 public final int getRefCount() { return refCount.get(); }
195 private AtomicInteger refCount = new AtomicInteger();
  /external/dbus/dbus/
dbus-resources.c 56 int refcount; /**< reference count */ member in struct:DBusCounter
96 counter->refcount = 1;
102 * Increments refcount of the counter
110 _dbus_assert (counter->refcount > 0);
112 counter->refcount += 1;
118 * Decrements refcount of the counter and possibly
126 _dbus_assert (counter->refcount > 0);
128 counter->refcount -= 1;
130 if (counter->refcount == 0)
  /external/sfntly/cpp/src/sfntly/port/
refcount.h 42 // 1. Virtual inherit from RefCount interface in base class if smart pointers
102 class RefCount {
105 virtual ~RefCount() {}
123 class RefCounted : virtual public RefCount {
175 // semi-smart pointer for RefCount derived objects, similar to CComPtr
201 RefCount* p = static_cast<RefCount*>(pT);
250 RefCount* p = static_cast<RefCount*>(p_);
java_iterator.h 20 #include "sfntly/port/refcount.h"
28 class Iterator : public virtual RefCount {
  /frameworks/base/media/mca/filterfw/java/android/filterfw/core/
SimpleFrameManager.java 97 int refCount = frame.decRefCount();
98 if (refCount == 0 && frame.hasNativeAllocation()) {
101 } else if (refCount < 0) {
  /packages/apps/Camera2/tests/src/com/android/camera/functional/
CameraTest.java 74 int refCount = 0;
76 if (c.get() != null) refCount++;
79 assertTrue(refCount != TEST_COUNT);
  /packages/apps/Camera2/tests_camera/src/com/android/camera/functional/
CameraTest.java 74 int refCount = 0;
76 if (c.get() != null) refCount++;
79 assertTrue(refCount != TEST_COUNT);
  /packages/apps/LegacyCamera/tests/src/com/android/camera/functional/
CameraTest.java 79 int refCount = 0;
81 if (c.get() != null) refCount++;
84 assertTrue(refCount != TEST_COUNT);
  /external/libdrm/amdgpu/
amdgpu_internal.h 72 atomic_t refcount; member in struct:amdgpu_device
93 atomic_t refcount; member in struct:amdgpu_bo
183 if (update_references(&(*dst)->refcount, &src->refcount))
  /external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowWifiManager.java 148 private int refCount;
156 if (++refCount >= MAX_ACTIVE_LOCKS) throw new UnsupportedOperationException("Exceeded maximum number of wifi locks");
165 if (--refCount < 0) throw new RuntimeException("WifiLock under-locked");
173 return refCounted ? refCount > 0 : locked;
  /prebuilts/gdb/darwin-x86/lib/python2.7/ctypes/test/
runtests.py 6 -r run tests repeatedly, look for refcount leaks
  /prebuilts/gdb/linux-x86/lib/python2.7/ctypes/test/
runtests.py 6 -r run tests repeatedly, look for refcount leaks
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ctypes/test/
runtests.py 6 -r run tests repeatedly, look for refcount leaks
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/ctypes/test/
runtests.py 6 -r run tests repeatedly, look for refcount leaks
  /external/sfntly/cpp/src/sample/subtly/
character_predicate.h 20 #include "sfntly/port/refcount.h"
24 class CharacterPredicate : virtual public sfntly::RefCount {
  /external/skia/src/gpu/vk/
GrVkResourceProvider.h 39 // Finds or creates a simple render pass that matches the target, increments the refcount,
47 // The refcount is incremented and a pointer returned.
  /frameworks/base/libs/hwui/
ResourceCache.h 46 refCount = 0; destroyed = false; resourceType = type;
49 int refCount;

Completed in 684 milliseconds

12 3 4 5 6 7 8 91011>>