Home
last modified time | relevance | path

Searched refs:refs_ (Results 1 - 10 of 10) sorted by relevance

/foundation/distributeddatamgr/preferences/frameworks/native/mock/c_utils/utils/base/src/
H A Drefbase.cpp229 RefBase::RefBase() : refs_(new RefCounter()) in RefBase()
231 refs_->IncRefCount(); in RefBase()
232 refs_->SetCallback([this] { in RefBase()
239 refs_ = new RefCounter(); in RefBase()
240 if (refs_ != nullptr) { in RefBase()
241 refs_->IncRefCount(); in RefBase()
242 refs_->SetCallback([this] { in RefBase()
255 if (refs_ != nullptr) { in operator =()
256 refs_->RemoveCallback(); in operator =()
257 refs_ in operator =()
[all...]
/foundation/multimedia/image_framework/mock/native/src/
H A Drefbase.cpp231 RefBase::RefBase() : refs_(new RefCounter()) in RefBase()
233 refs_->IncRefCount(); in RefBase()
234 refs_->SetCallback([this] { in RefBase()
241 refs_ = new RefCounter(); in RefBase()
242 if (refs_ != nullptr) { in RefBase()
243 refs_->IncRefCount(); in RefBase()
244 refs_->SetCallback([this] { in RefBase()
263 if (refs_ != nullptr) { in operator =()
264 refs_->RemoveCallback(); in operator =()
265 refs_ in operator =()
[all...]
/foundation/graphic/graphic_2d/rosen/modules/platform/utils/
H A Drefbase.h595 RefCounter *refs_ = nullptr; // Pointer to the corresponding reference counter of this RefBase object member in OHOS::RefBase
675 return refs_; in GetRefPtr()
703 return refs_; in operator T *()
715 return *refs_; in operator *()
725 return refs_; in operator ->()
735 return refs_ == nullptr; in operator !()
840 T *refs_ = nullptr; // Raw pointer to the managed specific object member in OHOS::sptr
846 refs_ = other; in ForceSetRefPtr()
852 refs_ = nullptr; in sptr()
858 refs_ in sptr()
1279 WeakRefCounter *refs_ = nullptr; // Pointer to the corresponding weak reference counter object global() member in OHOS::wptr
[all...]
H A Drefbase.cpp377 RefBase::RefBase() : refs_(new RefCounter()) in RefBase()
379 refs_->IncRefCount(); in RefBase()
380 refs_->SetCallback(std::bind(&RefBase::RefPtrCallback, this)); in RefBase()
385 refs_ = new (std::nothrow) RefCounter(); in RefBase()
386 if (refs_ != nullptr) { in RefBase()
387 refs_->IncRefCount(); in RefBase()
388 refs_->SetCallback(std::bind(&RefBase::RefPtrCallback, this)); in RefBase()
405 if (refs_ != nullptr) { in operator =()
406 refs_->RemoveCallback(); in operator =()
407 refs_ in operator =()
[all...]
/foundation/distributeddatamgr/preferences/frameworks/native/mock/c_utils/utils/base/include/
H A Drefbase.h152 RefCounter *refs_ = nullptr; member in OHOS::RefBase
181 return refs_; in GetRefPtr()
190 return refs_; in operator T *()
195 return *refs_; in operator *()
200 return refs_; in operator ->()
205 return refs_ == nullptr; in operator !()
238 T *refs_ = nullptr; member in OHOS::sptr
243 refs_ = other; in ForceSetRefPtr()
248 refs_ = nullptr; in sptr()
253 refs_ in sptr()
451 WeakRefCounter *refs_ = nullptr; global() member in OHOS::wptr
[all...]
/foundation/multimedia/av_session/services/session/server/migrate/
H A Dmigrate_avsession_manager.cpp65 if (refs_ == 0) { in IncSoftBusRef()
68 refs_++; in IncSoftBusRef()
74 refs_--; in DecSoftBusRef()
75 if (refs_ <= 0) { in DecSoftBusRef()
77 refs_ = 0; in DecSoftBusRef()
H A Dmigrate_avsession_manager.h43 std::atomic<int32_t> refs_ = 0; member in OHOS::AVSession::MigrateAVSessionManager
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/
H A Dmock_refbase_test.cpp28 RefCounter *refs_ = nullptr; member
/foundation/multimedia/av_session/services/session/server/test/
H A Dmigrate_avsession_test.cpp546 migrateManager_->refs_ = 1; in HWTEST_F()
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service/unittest/pipeline/
H A Drs_uni_render_visitor_test.cpp508 auto surface = static_cast<ConsumerSurface*>(node->surfaceHandler_->consumer_.refs_); in HWTEST_F()
543 auto surface = static_cast<ConsumerSurface*>(node->surfaceHandler_->consumer_.refs_); in HWTEST_F()

Completed in 15 milliseconds