Searched refs:ref_count (Results 1 - 25 of 65) sorted by relevance

123

/external/harfbuzz_ng/src/
H A Dhb-object-private.hh50 hb_atomic_int_t ref_count; member in struct:hb_reference_count_t
52 inline void init (int v) { ref_count.set_unsafe (v); }
53 inline int get_unsafe (void) const { return ref_count.get_unsafe (); }
54 inline int inc (void) { return ref_count.inc (); }
55 inline int dec (void) { return ref_count.dec (); }
56 inline void finish (void) { ref_count.set_unsafe (HB_REFERENCE_COUNT_POISON_VALUE); }
58 inline bool is_inert (void) const { return ref_count.get_unsafe () == HB_REFERENCE_COUNT_INERT_VALUE; }
59 inline bool is_valid (void) const { return ref_count.get_unsafe () > 0; }
99 hb_reference_count_t ref_count; member in struct:hb_object_header_t
117 obj ? obj->header.ref_count
[all...]
/external/freetype/src/raster/
H A Drastpic.c45 if ( --container->ref_count )
67 ((RasterPIC*)pic_container->raster)->ref_count++;
77 container->ref_count = 1;
H A Drastpic.h36 int ref_count;
/external/webrtc/webrtc/modules/desktop_capture/
H A Dshared_desktop_frame.cc31 int32_t ref_count; local
32 ref_count = --ref_count_;
33 if (ref_count == 0)
35 return ref_count;
/external/libexif/libexif/
H A Dexif-log.c30 unsigned int ref_count; member in struct:_ExifLog
77 log->ref_count = 1;
100 log->ref_count++;
107 if (log->ref_count > 0) log->ref_count--;
108 if (!log->ref_count) exif_log_free (log);
H A Dexif-mem.c6 unsigned int ref_count; member in struct:_ExifMem
44 mem->ref_count = 1;
57 mem->ref_count++;
64 if (!--mem->ref_count)
H A Dexif-mnote-data.c31 unsigned int ref_count; member in struct:_ExifMnoteDataPriv
42 d->priv->ref_count = 1;
51 if (d && d->priv) d->priv->ref_count++;
74 if (d->priv->ref_count > 0) d->priv->ref_count--;
75 if (!d->priv->ref_count)
H A Dexif-content.c36 unsigned int ref_count; member in struct:_ExifContentPrivate
70 content->priv->ref_count = 1;
81 content->priv->ref_count++;
87 content->priv->ref_count--;
88 if (!content->priv->ref_count)
/external/kernel-headers/original/uapi/linux/
H A Datm_zatm.h27 int ref_count; /* free buffer pool usage counters */ member in struct:zatm_pool_info
/external/webrtc/webrtc/system_wrappers/include/
H A Dref_count.h69 int32_t ref_count; variable
70 ref_count = --ref_count_;
71 if (ref_count == 0)
73 return ref_count;
/external/freetype/src/smooth/
H A Dftspic.c45 if ( --container->ref_count )
67 ((SmoothPIC*)pic_container->smooth)->ref_count++;
77 container->ref_count = 1;
H A Dftspic.h36 int ref_count;
/external/libvpx/libvpx/vp9/decoder/
H A Dvp9_decoder.h114 if (idx >= 0 && frame_bufs[idx].ref_count > 0) {
115 --frame_bufs[idx].ref_count;
120 if (!frame_bufs[idx].released && frame_bufs[idx].ref_count == 0 &&
/external/libcups/cups/
H A Dstring.c90 item->ref_count ++;
94 "ref_count=%d", item, item->str, s, item->guard,
95 item->ref_count));
119 item->ref_count = 1;
126 "ref_count=%d", item, item->str, s, item->guard,
127 item->ref_count));
323 "ref_count=%d", key, key->str, key->guard, key->ref_count));
335 item->ref_count --;
337 if (!item->ref_count)
[all...]
/external/webrtc/webrtc/voice_engine/
H A Dchannel_manager.cc24 ++channel_ref_->ref_count;
28 if (--channel_ref_->ref_count == 0)
36 if (--channel_ref_->ref_count == 0)
40 ++channel_ref_->ref_count;
46 : channel(channel), ref_count(1) {}
H A Dchannel_manager.h58 int use_count() const { return channel_ref_->ref_count.Value(); }
66 Atomic32 ref_count; member in struct:webrtc::voe::ChannelOwner::ChannelRef
/external/elfutils/libelf/
H A Dcommon.h80 result->ref_count = 1;
108 if (child->ref_count != 0)
126 if (child->ref_count != 0)
H A Delf_end.c54 if (elf->ref_count != 0 && --elf->ref_count != 0)
57 int result = elf->ref_count;
235 return (parent != NULL && parent->ref_count == 0
/external/tensorflow/tensorflow/python/framework/
H A Derrors_test.py38 ref_count = 0
42 ref_count += 1
46 return ref_count
/external/libxcam/modules/ocl/
H A Dcl_3d_denoise_handler.cpp210 uint32_t channel, uint8_t ref_count)
220 ref_count,
242 const SmartPtr<CLContext> &context, uint32_t channel, uint8_t ref_count)
249 denoise_handler->set_ref_framecount (ref_count);
252 denoise_kernel = create_3d_denoise_kernel (context, denoise_handler, CL_IMAGE_CHANNEL_Y, ref_count);
260 denoise_kernel = create_3d_denoise_kernel (context, denoise_handler, CL_IMAGE_CHANNEL_UV, ref_count);
208 create_3d_denoise_kernel( const SmartPtr<CLContext> &context, SmartPtr<CL3DDenoiseImageHandler> handler, uint32_t channel, uint8_t ref_count) argument
241 create_cl_3d_denoise_image_handler( const SmartPtr<CLContext> &context, uint32_t channel, uint8_t ref_count) argument
/external/sfntly/cpp/src/sfntly/port/
H A Drefcount.h245 size_t ref_count = 0; local
249 ref_count = p->Release();
253 return ref_count;
/external/libvpx/libvpx/vp9/common/
H A Dvp9_onyxc_int.h68 int ref_count; member in struct:__anon12841
277 if (frame_bufs[i].ref_count == 0) break;
280 frame_bufs[i].ref_count = 1;
292 if (ref_index >= 0 && bufs[ref_index].ref_count > 0)
293 bufs[ref_index].ref_count--;
297 bufs[new_idx].ref_count++;
/external/mesa3d/src/gallium/winsys/sw/kms-dri/
H A Dkms_dri_sw_winsys.c74 int ref_count; member in struct:kms_sw_displaytarget
127 kms_sw_dt->ref_count = 1;
169 kms_sw_dt->ref_count --;
170 if (kms_sw_dt->ref_count > 0)
221 kms_sw_dt->ref_count++;
261 kms_sw_dt->ref_count = 1;
/external/clang/test/SemaCXX/
H A Dflexible-array-test.cpp72 long ref_count; member in struct:rdar9065507::StorageBase
/external/mesa3d/src/gallium/state_trackers/clover/api/
H A Dsampler.cpp73 buf.as_scalar<cl_uint>() = s.ref_count();

Completed in 677 milliseconds

123