Home
last modified time | relevance | path

Searched refs:refcount_ (Results 1 – 8 of 8) sorted by relevance

/external/webrtc/webrtc/base/
Dsignalthread.cc25 refcount_(1) { in SignalThread()
32 ASSERT(refcount_ == 0); in ~SignalThread()
58 refcount_--; in Destroy()
70 refcount_--; in Destroy()
81 refcount_--; in Release()
122 refcount_--; in OnMessage()
Dsignalthread.h122 ASSERT(t_->refcount_ != 0); in EnterExit()
123 ++t_->refcount_; in EnterExit()
126 bool d = (0 == --t_->refcount_); in UNLOCK_FUNCTION()
145 int refcount_; variable
/external/minigbm/cros_gralloc/
Dcros_gralloc_buffer.cc14 : id_(id), bo_(acquire_bo), hnd_(acquire_handle), refcount_(1), lockcount_(0) in cros_gralloc_buffer()
38 return ++refcount_; in increase_refcount()
43 assert(refcount_ > 0); in decrease_refcount()
44 return --refcount_; in decrease_refcount()
Dcros_gralloc_buffer.h38 int32_t refcount_; variable
/external/protobuf/src/google/protobuf/stubs/
Dshared_ptr.h97 SharedPtrControlBlock() : refcount_(1), weak_count_(1) { }
98 Atomic32 refcount_;
167 if (!RefCountDec(&control_block_->refcount_)) {
223 return control_block_ ? control_block_->refcount_ : 1;
251 RefCountInc(&r.control_block_->refcount_);
367 return control_block_ != NULL ? control_block_->refcount_ : 0;
384 old_refcount = control_block_->refcount_;
389 &control_block_->refcount_, old_refcount,
/external/grpc-grpc/src/core/lib/iomgr/
Dcfstream_handle.cc115 gpr_ref_init(&refcount_, 1); in CFStreamHandle()
165 gpr_atm val = gpr_atm_no_barrier_load(&refcount_.count); in Ref()
170 gpr_ref(&refcount_); in Ref()
175 gpr_atm val = gpr_atm_no_barrier_load(&refcount_.count); in Unref()
180 if (gpr_unref(&refcount_)) { in Unref()
Dcfstream_handle.h65 gpr_refcount refcount_; variable
/external/grpc-grpc/test/cpp/microbenchmarks/
Dbm_chttp2_transport.cc206 GRPC_STREAM_REF_INIT(&refcount_, 1, &Stream::FinishDestroy, this, in Init()
215 static_cast<grpc_stream*>(stream_), &refcount_, in Init()
222 grpc_stream_unref(&refcount_, "DestroyThen"); in DestroyThen()
224 grpc_stream_unref(&refcount_); in DestroyThen()
247 grpc_stream_refcount refcount_; member in Stream