Searched refs:refcount_ (Results 1 – 8 of 8) sorted by relevance
/external/webrtc/webrtc/base/ |
D | signalthread.cc | 25 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()
|
D | signalthread.h | 122 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/ |
D | cros_gralloc_buffer.cc | 14 : 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()
|
D | cros_gralloc_buffer.h | 38 int32_t refcount_; variable
|
/external/protobuf/src/google/protobuf/stubs/ |
D | shared_ptr.h | 97 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/ |
D | cfstream_handle.cc | 115 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()
|
D | cfstream_handle.h | 65 gpr_refcount refcount_; variable
|
/external/grpc-grpc/test/cpp/microbenchmarks/ |
D | bm_chttp2_transport.cc | 206 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
|