/external/llvm/include/llvm/ADT/ |
IntrusiveRefCntPtr.h | 46 mutable unsigned ref_cnt; member in class:llvm::RefCountedBase 49 RefCountedBase() : ref_cnt(0) {} 50 RefCountedBase(const RefCountedBase &) : ref_cnt(0) {} 52 void Retain() const { ++ref_cnt; } 54 assert (ref_cnt > 0 && "Reference count is already zero."); 55 if (--ref_cnt == 0) delete static_cast<const Derived*>(this); 68 mutable unsigned ref_cnt; member in class:llvm::RefCountedBaseVPTR 72 RefCountedBaseVPTR() : ref_cnt(0) {} 73 RefCountedBaseVPTR(const RefCountedBaseVPTR &) : ref_cnt(0) {} 77 void Retain() const { ++ref_cnt; } [all...] |
/external/chromium_org/media/filters/ |
vpx_video_decoder.cc | 107 VP9FrameBuffer() : ref_cnt(0) {} 109 uint32 ref_cnt; member in struct:media::VpxVideoDecoder::MemoryPool::VP9FrameBuffer 136 if (frame_buffers_[i]->ref_cnt == 0) 165 ++fb_to_use->ref_cnt; 175 --frame_buffer->ref_cnt; 182 ++frame_buffer->ref_cnt; 190 --frame_buffer->ref_cnt;
|
/external/chromium_org/third_party/usrsctp/usrsctplib/ |
user_mbuf.c | 234 m->m_ext.ref_cnt = refcnt; 533 m->m_ext.ref_cnt = refcnt; 551 * assert (*(m->m_ext.ref_cnt) == 0); is not meaningful since m->m_ext.ref_cnt = NULL; 597 SCTP_DEBUG_USR(SCTP_DEBUG_USR, "%p: extend_size = %d, extend_buffer = %p, ref_cnt = %d.\n", (void *)m, m->m_ext.ext_size, (void *)m->m_ext.ext_buf, *(m->m_ext.ref_cnt)); 625 KASSERT(m->m_ext.ref_cnt != NULL, ("%s: ref_cnt not set", __func__)); 643 if (atomic_fetchadd_int(m->m_ext.ref_cnt, -1) == 0) 645 if (SCTP_DECREMENT_AND_CHECK_REFCOUNT(m->m_ext.ref_cnt)) [all...] |
user_mbuf.h | 222 volatile u_int *ref_cnt; /* pointer to ref count info */ member in struct:m_ext 309 #define EXT_EXTREF 400 /* has externally maintained ref_cnt ptr */ 363 (*((m)->m_ext.ref_cnt) == 1)) ) \
|
/external/clang/tools/libclang/ |
IndexingContext.h | 243 unsigned ref_cnt; member in class:clang::cxindex::AttrListInfo 263 void Retain() { ++ref_cnt; } 265 assert (ref_cnt > 0 && "Reference count is already zero."); 266 if (--ref_cnt == 0) {
|
IndexingContext.cpp | 65 : SA(IdxCtx), ref_cnt(0) { [all...] |
/device/moto/shamu/camera/QCamera/stack/mm-camera-test/inc/ |
mm_qcamera_app.h | 94 uint8_t ref_cnt; member in struct:__anon4060
|
/external/libcap-ng/libcap-ng-0.7/utils/ |
netcap.c | 392 unsigned int ref_cnt, type, proto, iface, r, rmem, uid; local 410 &sk, &ref_cnt, &type, &proto, &iface,
|
/device/moto/shamu/camera/QCamera/stack/mm-camera-test/src/ |
mm_qcamera_pp.c | 70 buf_info->ref_cnt--; 71 if (0 == buf_info->ref_cnt) { 106 buf_info->ref_cnt--; 107 if (0 == buf_info->ref_cnt) { 140 pme->repro_buf_info[frame->buf_idx].ref_cnt = pme->repro_dest_num; [all...] |
/external/chromium_org/third_party/usrsctp/usrsctplib/netinet/ |
sctp_os_userspace.h | 928 #define SCTP_BUF_EXTEND_REFCNT(m) (*m->m_ext.ref_cnt) [all...] |