/external/e2fsprogs/e2fsck/ |
e2fsck.c | 94 if (ctx->refcount) { 95 ea_refcount_free(ctx->refcount); 96 ctx->refcount = 0;
|
/external/libdrm/tests/radeon/ |
rbo.c | 50 bo->refcount = 1; 135 bo->refcount++; 145 if (--bo->refcount > 0) {
|
/external/mesa3d/src/mesa/drivers/dri/common/ |
drisw_util.c | 281 pdp->refcount++; 287 pdp->refcount--; 288 if (pdp->refcount)
|
dri_util.c | 394 * __DRIdrawableRec::refcount which must be non-zero for a successful 423 if (pdp->refcount == 0) { 431 if (prp->refcount == 0) { 454 pdp->refcount++; 460 pdp->refcount--; 461 if (pdp->refcount) 484 pdraw->refcount = 0;
|
/hardware/intel/common/libmix/mix_video/src/ |
mixbuffer.c | 206 LOG_I( "refcount = %d\n", MIX_PARAMS( 207 obj)->refcount); 210 if (MIX_PARAMS(obj)->refcount == 1) {
|
mixsurfacepool.c | 414 LOG_I( "frame refcount%d\n", 415 MIX_PARAMS(element->data)->refcount); 500 LOG_I( "frame refcount%d\n", 501 MIX_PARAMS(element->data)->refcount); 627 LOG_I( "\tFrame %x, id %lu, refcount %d, ts %lu\n", (guint)frame, 628 frame->frame_id, MIX_PARAMS(frame)->refcount, (gulong) frame->timestamp);
|
/hardware/ti/omap3/omx/system/src/openmax_il/omx_core/src/ |
OMX_Core.c | 211 ALOGD("Found component %s with refCount %d\n", 212 cComponentName, componentTable[refIndex].refCount); 215 if (componentTable[refIndex].refCount >= MAX_CONCURRENT_INSTANCES) { 280 so no we increment refCount */ 281 componentTable[refIndex].pHandle[componentTable[refIndex].refCount] = *pHandle; 282 componentTable[refIndex].refCount += 1; 364 for (handleIndex=0; handleIndex < componentTable[refIndex].refCount; handleIndex++){ 367 ALOGD("Found matching pHandle(%p) at index %d with refCount %d", 368 hComponent, refIndex, componentTable[refIndex].refCount); 369 if (componentTable[refIndex].refCount) { [all...] |
/external/drm_gralloc/ |
gralloc_drm.cpp | 182 bo->refcount = 1; 266 bo->refcount = 1; 283 if (bo->refcount) 297 * Decrease refcount, if no refs anymore then destroy. 301 if (!--bo->refcount)
|
/toolchain/binutils/binutils-2.25/bfd/ |
elf-ifunc.c | 157 if (h->plt.refcount <= 0 && h->got.refcount <= 0) 169 if (h->plt.refcount > 0 170 || h->got.refcount > 0) 254 if (h->got.refcount <= 0
|
elf32-vax.c | 645 if (h->got.refcount == -1) 647 h->got.refcount = 1; 652 h->got.refcount++; 680 if (h->plt.refcount == -1) 681 h->plt.refcount = 1; 683 h->plt.refcount++; 712 if (h->plt.refcount == -1) 713 h->plt.refcount = 1; 715 h->plt.refcount++; 733 if (h->plt.refcount == -1 [all...] |
/packages/apps/Email/provider_src/com/android/email/provider/ |
ContentCache.java | 131 Integer refCount = mMap.get(object); 133 if (refCount == null || refCount.intValue() == 0) { 136 if (refCount > 1) { 137 newCount = refCount - 1; 147 Integer refCount = mMap.get(object); 148 if (refCount == null) { 151 mMap.put(object, refCount + 1); 160 Integer refCount = mMap.get(object); 161 return (refCount == null) ? 0 : refCount.intValue() [all...] |
/external/icu/icu4c/source/i18n/ |
tznames.cpp | 49 int32_t refCount; 90 if (entry->refCount <= 0 && (now - entry->lastAccess) > CACHE_EXPIRATION) { 173 cacheEntry->refCount = 1; 193 cacheEntry->refCount++; 209 U_ASSERT(fTZnamesCacheEntry->refCount > 0); 211 fTZnamesCacheEntry->refCount--; 238 fTZnamesCacheEntry->refCount++;
|
/external/nist-sip/java/gov/nist/javax/sip/ |
EventScanner.java | 50 private int refCount; 61 this.refCount++; 102 if (this.refCount > 0) 103 this.refCount--; 105 if (this.refCount == 0) { 114 * Brutally stop the event scanner. This does not wait for the refcount to 121 this.refCount = 0;
|
/external/opencv3/modules/core/src/cuda/ |
gpu_mat.cu | 80 mat->refcount = (int*) fastMalloc(sizeof(int)); 88 fastFree(mat->refcount); 148 if (refcount) 149 *refcount = 1; 160 if (refcount && CV_XADD(refcount, -1) == 1) 165 refcount = 0;
|
/frameworks/base/core/java/android/nfc/ |
NfcActivityManager.java | 58 int refCount = 0; 64 refCount++; 65 if (refCount == 1) { 70 refCount--; 71 if (refCount == 0) { 73 } else if (refCount < 0) { 74 Log.e(TAG, "-ve refcount for " + app);
|
/external/compiler-rt/lib/BlocksRuntime/ |
runtime.c | 246 _Byref_flag_initial_value = BLOCK_IS_GC; // no refcount 284 /* Copy, or bump refcount, of a block. If really copying, call the copy helper if present. */ 303 // Tell collector to hang on this - it will bump the GC refcount version 317 // reset refcount 328 // Under GC want allocation with refcount 1 so we ask for "true" if wantsOne 335 // reset refcount 416 int refcount; local 427 refcount = shared_struct->flags & BLOCK_REFCOUNT_MASK; 428 if (refcount <= 0) { 467 // Tell GC we no longer have our own refcounts. GC will decr its refcount [all...] |
/external/opencv/cxcore/src/ |
cxarray.cpp | 150 arr->refcount = 0; 189 arr->refcount = 0; 317 mat->refcount = 0; 452 matnd->refcount = 0; 672 arr->refcount = 0; 971 CV_CALL( mat->refcount = (int*)cvAlloc( (size_t)total_size )); 972 mat->data.ptr = (uchar*)cvAlignPtr( mat->refcount + 1, CV_MALLOC_ALIGN ); 973 *mat->refcount = 1; 1029 CV_CALL( mat->refcount = (int*)cvAlloc( total_size + 1031 mat->data.ptr = (uchar*)cvAlignPtr( mat->refcount + 1, CV_MALLOC_ALIGN ) 2935 int* refcount = 0; local [all...] |
/external/opencv3/modules/core/src/ |
array.cpp | 132 arr->refcount = 0; 159 arr->refcount = 0; 263 mat->refcount = 0; 358 matnd->refcount = 0; 563 arr->refcount = 0; 823 mat->refcount = (int*)cvAlloc( (size_t)total_size ); 824 mat->data.ptr = (uchar*)cvAlignPtr( mat->refcount + 1, CV_MALLOC_ALIGN ); 825 *mat->refcount = 1; 884 mat->refcount = (int*)cvAlloc( total_size + 886 mat->data.ptr = (uchar*)cvAlignPtr( mat->refcount + 1, CV_MALLOC_ALIGN ) 2540 int* refcount = 0; local [all...] |
command_line_parser.cpp | 36 int refcount; member in struct:cv::CommandLineParser::Impl 159 impl->refcount = 1; 242 if (CV_XADD(&impl->refcount, -1) == 1) 249 CV_XADD(&impl->refcount, 1); 256 if(CV_XADD(&impl->refcount, -1) == 1) 259 CV_XADD(&impl->refcount, 1);
|
/external/dbus/dbus/ |
dbus-watch.c | 42 int refcount; /**< Reference count */ member in struct:DBusWatch 105 watch->refcount = 1; 126 watch->refcount += 1; 141 _dbus_assert (watch->refcount > 0); 143 watch->refcount -= 1; 144 if (watch->refcount == 0)
|
/external/llvm/include/llvm/Analysis/ |
AliasSetTracker.h | 117 // RefCount - Number of nodes pointing to this AliasSet plus the number of 119 unsigned RefCount : 28; 149 void addRef() { ++RefCount; } 151 assert(RefCount >= 1 && "Invalid reference count detected!"); 152 if (--RefCount == 0) 228 : PtrList(nullptr), PtrListEnd(&PtrList), Forward(nullptr), RefCount(0),
|
/external/mesa3d/src/glx/ |
dri_common.c | 400 pdraw->refcount ++; 416 pdraw->refcount = 1; 433 pdraw->refcount --; 434 if (pdraw->refcount == 0) { 444 pdraw->refcount --; 445 if (pdraw->refcount == 0) {
|
/external/libdrm/amdgpu/ |
amdgpu_device.c | 164 if (update_references(&(*dst)->refcount, &src->refcount)) 218 atomic_set(&dev->refcount, 1);
|
/cts/tests/tests/media/libaudiojni/ |
sl-utils.cpp | 135 ALOGE("CloseSLEngine(%p): refcount already 0", engine);
|
/external/clang/include/clang/Rewrite/Core/ |
RewriteRope.h | 35 unsigned RefCount; 38 void Retain() { ++RefCount; } 41 assert(RefCount > 0 && "Reference count is already zero."); 42 if (--RefCount == 0)
|