Home
last modified time | relevance | path

Searched refs:refs_ (Results 1 – 24 of 24) sorted by relevance

/third_party/grpc/src/core/lib/gprpp/
Ddual_ref_counted.h70 refs_.FetchAdd(MakeRefPair(-1, 1), MemoryOrder::ACQ_REL); in Unref()
88 refs_.FetchAdd(MakeRefPair(-1, 1), MemoryOrder::ACQ_REL); in Unref()
111 uint64_t prev_ref_pair = refs_.Load(MemoryOrder::ACQUIRE); in RefIfNonZero()
122 } while (!refs_.CompareExchangeWeak( in RefIfNonZero()
130 uint64_t prev_ref_pair = refs_.Load(MemoryOrder::ACQUIRE); in RefIfNonZero()
147 } while (!refs_.CompareExchangeWeak( in RefIfNonZero()
172 refs_.FetchSub(MakeRefPair(0, 1), MemoryOrder::ACQ_REL); in WeakUnref()
194 refs_.FetchSub(MakeRefPair(0, 1), MemoryOrder::ACQ_REL); in WeakUnref()
232 refs_(MakeRefPair(initial_refcount, 0)) { in trace_()
257 refs_.FetchAdd(MakeRefPair(1, 0), MemoryOrder::RELAXED); in IncrementRefCount()
[all …]
Dorphanable.h90 : refs_(initial_refcount, trace) {} in refs_() function
104 if (GPR_UNLIKELY(refs_.Unref())) { in Unref()
109 if (GPR_UNLIKELY(refs_.Unref(location, reason))) { in Unref()
115 void IncrementRefCount() { refs_.Ref(); } in IncrementRefCount()
117 refs_.Ref(location, reason); in IncrementRefCount()
120 grpc_core::RefCount refs_; variable
Dref_counted.h289 if (GPR_UNLIKELY(refs_.Unref())) { in Unref()
294 if (GPR_UNLIKELY(refs_.Unref(location, reason))) { in Unref()
300 return RefCountedPtr<Child>(refs_.RefIfNonZero() ? static_cast<Child*>(this) in RefIfNonZero()
305 return RefCountedPtr<Child>(refs_.RefIfNonZero(location, reason) in RefIfNonZero()
318 : refs_(initial_refcount, trace) {} in refs_() function
325 void IncrementRefCount() { refs_.Ref(); } in IncrementRefCount()
327 refs_.Ref(location, reason); in IncrementRefCount()
330 RefCount refs_; variable
/third_party/boost/boost/xpressive/detail/utility/
Dtracking_ptr.hpp182 this->refs_.insert(that.self_); in track_reference()
184 this->refs_.insert(that.refs_.begin(), that.refs_.end()); in track_reference()
202 this->refs_.clear(); in release()
220 : refs_() in enable_reference_tracking()
228 : refs_() in enable_reference_tracking()
238 references_type(that.refs_).swap(this->refs_); in operator =()
244 this->refs_.swap(that.refs_); in swap()
267 typename references_type::iterator cur = this->refs_.begin(); in update_references_()
268 typename references_type::iterator end = this->refs_.end(); in update_references_()
324 references_type refs_; member
[all …]
/third_party/node/src/
Dnode_object_wrap.h34 refs_ = 0; in ObjectWrap()
95 refs_++; in Ref()
110 assert(refs_ > 0); in Unref()
111 if (--refs_ == 0) in Unref()
115 int refs_; // ro variable
121 assert(wrap->refs_ == 0); in WeakCallback()
Dnode_zlib.cc524 if (++refs_ == 1) { in Ref()
530 CHECK_GT(refs_, 0); in Unref()
531 if (--refs_ == 0) { in Unref()
540 unsigned int refs_ = 0; member in node::__anon304b32780111::CompressionStream
/third_party/grpc/src/cpp/common/
Dalarm.cc41 gpr_ref_init(&refs_, 1); in AlarmImpl()
111 void Ref() { gpr_ref(&refs_); } in Ref()
113 if (gpr_unref(&refs_)) { in Unref()
119 gpr_refcount refs_; member in grpc::internal::AlarmImpl
/third_party/boost/libs/beast/example/http/server/fast/
Dfields_alloc.hpp23 std::size_t refs_ = 1; member
52 ++refs_; in share()
59 if(refs_--) in destroy()
/third_party/grpc/src/core/lib/slice/
Dslice.cc79 : base_(grpc_slice_refcount::Type::REGULAR, &refs_, Destroy, this, in NewSliceRefcount()
89 RefCount refs_; member in grpc_core::NewSliceRefcount
139 : base_(grpc_slice_refcount::Type::REGULAR, &refs_, Destroy, this, in NewWithLenSliceRefcount()
150 RefCount refs_; member in grpc_core::NewWithLenSliceRefcount
160 : base_(grpc_slice_refcount::Type::REGULAR, &refs_, Destroy, this, in MovedStringSliceRefCount()
172 grpc_core::RefCount refs_; member in grpc_core::MovedStringSliceRefCount
180 : base_(grpc_slice_refcount::Type::REGULAR, &refs_, Destroy, this, in MovedCppStringSliceRefCount()
192 grpc_core::RefCount refs_; member in grpc_core::MovedCppStringSliceRefCount
283 : base_(grpc_slice_refcount::Type::REGULAR, &refs_, Destroy, this, in MallocRefCount()
291 grpc_core::RefCount refs_; member in __anon4bf02f550111::MallocRefCount
/third_party/skia/third_party/externals/libwebp/src/enc/
Dbackward_references_enc.c91 refs->free_blocks_ = refs->refs_; in VP8LClearBackwardRefs()
92 refs->tail_ = &refs->refs_; in VP8LClearBackwardRefs()
94 refs->refs_ = NULL; in VP8LClearBackwardRefs()
111 (refs1->tail_ != NULL && refs1->tail_ == &refs1->refs_); in BackwardRefsSwap()
113 (refs2->tail_ != NULL && refs2->tail_ == &refs2->refs_); in BackwardRefsSwap()
117 if (point_to_refs2) refs1->tail_ = &refs1->refs_; in BackwardRefsSwap()
118 if (point_to_refs1) refs2->tail_ = &refs2->refs_; in BackwardRefsSwap()
124 refs->tail_ = &refs->refs_; in VP8LBackwardRefsInit()
131 c.cur_block_ = refs->refs_; in VP8LRefsCursorInit()
132 if (refs->refs_ != NULL) { in VP8LRefsCursorInit()
[all …]
Dvp8li_enc.h76 struct VP8LBackwardRefs refs_[4]; // Backward Refs array for temporaries. member
Dvp8l_enc.c684 for (i = 0; i < 4; ++i) VP8LBackwardRefsInit(&enc->refs_[i], refs_block_size); in EncoderInit()
1330 (VP8LBackwardRefs*)&enc->refs_[0], transform_width, transform_height, in ApplyPredictFilter()
1350 (VP8LBackwardRefs*)&enc->refs_[0], transform_width, transform_height, in ApplyCrossColorFilter()
1670 &enc->refs_[0], palette_size, 1, /*quality=*/20, in EncodePalette()
1697 for (i = 0; i < 4; ++i) VP8LBackwardRefsClear(&enc->refs_[i]); in VP8LEncoderDelete()
1774 VP8LBackwardRefsClear(&enc->refs_[0]); in EncodeStreamHook()
1775 VP8LBackwardRefsClear(&enc->refs_[1]); in EncodeStreamHook()
1854 err = EncodeImageInternal(bw, enc->argb_, &enc->hash_chain_, enc->refs_, in EncodeStreamHook()
Dbackward_references_enc.h174 PixOrCopyBlock* refs_; // list of currently used blocks member
/third_party/grpc/src/cpp/server/
Dserver_context.cc54 refs_(2), in CompletionOp()
145 grpc_core::RefCount refs_; member in grpc::ServerContextBase::CompletionOp
154 if (refs_.Unref()) { in Unref()
/third_party/boost/boost/assign/
Dlist_of.hpp611 refs_[0] = r; in static_generic_list()
622 return &refs_[0]; in begin()
627 return &refs_[current_]; in end()
700 refs_[current_] = r; in insert()
706 mutable assign_reference<internal_value_type> refs_[N]; member
/third_party/flutter/skia/third_party/externals/libwebp/src/enc/
Dbackward_references_enc.c90 refs->free_blocks_ = refs->refs_; in VP8LClearBackwardRefs()
91 refs->tail_ = &refs->refs_; in VP8LClearBackwardRefs()
93 refs->refs_ = NULL; in VP8LClearBackwardRefs()
109 refs->tail_ = &refs->refs_; in VP8LBackwardRefsInit()
116 c.cur_block_ = refs->refs_; in VP8LRefsCursorInit()
117 if (refs->refs_ != NULL) { in VP8LRefsCursorInit()
Dvp8l_enc.c443 for (i = 0; i < 3; ++i) VP8LBackwardRefsInit(&enc->refs_[i], refs_block_size); in EncoderInit()
1098 (VP8LBackwardRefs*)&enc->refs_[0], // cast const away in ApplyPredictFilter()
1099 (VP8LBackwardRefs*)&enc->refs_[1], transform_width, transform_height, in ApplyPredictFilter()
1119 (VP8LBackwardRefs*)&enc->refs_[0], // cast const away in ApplyCrossColorFilter()
1120 (VP8LBackwardRefs*)&enc->refs_[1], transform_width, transform_height, in ApplyCrossColorFilter()
1467 &enc->refs_[0], &enc->refs_[1], palette_size, 1, in EncodePalette()
1494 for (i = 0; i < 3; ++i) VP8LBackwardRefsClear(&enc->refs_[i]); in VP8LEncoderDelete()
1568 VP8LBackwardRefsClear(&enc->refs_[0]); in EncodeStreamHook()
1569 VP8LBackwardRefsClear(&enc->refs_[1]); in EncodeStreamHook()
1635 err = EncodeImageInternal(bw, enc->argb_, &enc->hash_chain_, enc->refs_, in EncodeStreamHook()
Dvp8li_enc.h74 struct VP8LBackwardRefs refs_[3]; // Backward Refs array for temporaries. member
Dbackward_references_enc.h173 PixOrCopyBlock* refs_; // list of currently used blocks member
/third_party/grpc/src/core/ext/transport/chttp2/transport/
Dinternal.h237 void Ref() { refs_.Ref(); } in Ref()
239 if (GPR_UNLIKELY(refs_.Unref())) { in Unref()
261 grpc_core::RefCount refs_; variable
Dchttp2_transport.cc2918 refs_(2), in Chttp2IncomingByteStream()
/third_party/grpc/src/core/lib/iomgr/
Dresource_quota.cc450 : base_(grpc_slice_refcount::Type::REGULAR, &refs_, Destroy, this, in RuSliceRefcount()
462 RefCount refs_; member in grpc_core::RuSliceRefcount
/third_party/grpc/src/core/ext/filters/client_channel/
Dclient_channel.cc997 RefCount refs_; member in grpc_core::__anon6b4c07050111::LoadBalancedCall
4913 : refs_(1, GRPC_TRACE_FLAG_ENABLED(grpc_client_channel_routing_trace) in LoadBalancedCall()
4951 if (GPR_UNLIKELY(refs_.Unref())) { in Unref()
4958 if (GPR_UNLIKELY(refs_.Unref(location, reason))) { in Unref()
4963 void LoadBalancedCall::IncrementRefCount() { refs_.Ref(); } in IncrementRefCount()
4967 refs_.Ref(location, reason); in IncrementRefCount()
/third_party/boost/libs/xpressive/doc/
Dtracking_ptr.qbk37 # `std::set<shared_ptr<body> > refs_` : collection of bodies to which this body refers, and