/ohos5.0/foundation/distributeddatamgr/preferences/frameworks/native/mock/c_utils/utils/base/src/ |
H A D | refbase.cpp | 231 refs_->IncRefCount(); in RefBase() 240 if (refs_ != nullptr) { in RefBase() 255 if (refs_ != nullptr) { in operator =() 261 if (refs_ != nullptr) { in operator =() 273 refs_ = other.refs_; in RefBase() 281 if (refs_ == other.refs_) { in operator =() 285 if (refs_ != nullptr) { in operator =() 290 refs_ = other.refs_; in operator =() 299 if (refs_ != nullptr) { in ~RefBase() 302 refs_ = nullptr; in ~RefBase() [all …]
|
/ohos5.0/foundation/multimedia/image_framework/mock/native/src/ |
H A D | refbase.cpp | 236 refs_->IncRefCount(); in RefBase() 245 if (refs_ != nullptr) { in RefBase() 266 if (refs_ != nullptr) { in operator =() 271 if (refs_ != nullptr) { in operator =() 282 refs_ = other.refs_; in RefBase() 283 other.refs_ = nullptr; in RefBase() 288 if (refs_ == other.refs_) { in operator =() 291 if (refs_ != nullptr) { in operator =() 295 refs_ = other.refs_; in operator =() 296 other.refs_ = nullptr; in operator =() [all …]
|
/ohos5.0/foundation/distributeddatamgr/preferences/frameworks/native/mock/c_utils/utils/base/include/ |
H A D | refbase.h | 181 return refs_; in GetRefPtr() 243 refs_ = other; in ForceSetRefPtr() 248 refs_ = nullptr; in sptr() 253 refs_ = other; in sptr() 297 refs_ = other; 359 if (refs_) { in clear() 361 refs_ = 0; in clear() 478 refs_ = other.refs_; in wptr() 496 refs_ = other.refs_; in wptr() 559 refs_ = other.refs_; [all …]
|
/ohos5.0/commonlibrary/c_utils/base/src/ |
H A D | refbase.cpp | 419 refs_->IncRefCount(); in RefBase() 429 if (refs_ != nullptr) { in RefBase() 458 if (refs_ != nullptr) { in operator =() 477 refs_ = other.refs_; in RefBase() 478 other.refs_ = nullptr; in RefBase() 483 if (refs_ == other.refs_) { in operator =() 492 refs_ = other.refs_; in operator =() 493 other.refs_ = nullptr; in operator =() 501 if ((refs_->IsLifeTimeExtended() && refs_->GetWeakRefCount() == 0) || in ~RefBase() 505 refs_ = nullptr; in ~RefBase() [all …]
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/platform/utils/ |
H A D | refbase.cpp | 401 refs_->IncRefCount(); in RefBase() 411 if (refs_ != nullptr) { in RefBase() 440 if (refs_ != nullptr) { in operator =() 459 refs_ = other.refs_; in RefBase() 460 other.refs_ = nullptr; in RefBase() 465 if (refs_ == other.refs_) { in operator =() 474 refs_ = other.refs_; in operator =() 475 other.refs_ = nullptr; in operator =() 483 if ((refs_->IsLifeTimeExtended() && refs_->GetWeakRefCount() == 0) || in ~RefBase() 487 refs_ = nullptr; in ~RefBase() [all …]
|
H A D | refbase.h | 862 refs_ = other; in ForceSetRefPtr() 868 refs_ = nullptr; in sptr() 874 refs_ = other; in sptr() 927 refs_ = other; 1000 if (refs_) { in clear() 1002 refs_ = 0; in clear() 1307 refs_ = nullptr; in wptr() 1326 refs_ = other.refs_; in wptr() 1347 refs_ = other.refs_; in wptr() 1416 refs_ = other.refs_; [all …]
|
/ohos5.0/commonlibrary/c_utils/base/include/ |
H A D | refbase.h | 889 refs_ = other; in ForceSetRefPtr() 895 refs_ = nullptr; in sptr() 901 refs_ = other; in sptr() 954 refs_ = other; 1027 if (refs_) { in clear() 1029 refs_ = 0; in clear() 1340 refs_ = nullptr; in wptr() 1359 refs_ = other.refs_; in wptr() 1380 refs_ = other.refs_; in wptr() 1449 refs_ = other.refs_; [all …]
|
/ohos5.0/drivers/peripheral/codec/test/unittest/hdi_image/ |
H A D | codec_hdi_heif_encode_test.cpp | 57 refs_.clear(); in SetUp() 268 vector<ItemRef> refs_; member in __anonb1cac0c50110::CodecHdiHeifEncodeTest 375 refs_.emplace_back(ItemRef { 381 refs_.emplace_back(ItemRef { 404 refs_.emplace_back(ItemRef { 426 refs_.emplace_back(ItemRef { 450 refs_.emplace_back(ItemRef { 456 refs_.emplace_back(ItemRef { 479 refs_.emplace_back(ItemRef { 488 refs_.emplace_back(ItemRef { [all …]
|
/ohos5.0/foundation/multimedia/av_session/services/session/server/migrate/ |
H A D | migrate_avsession_manager.cpp | 65 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 D | migrate_avsession_manager.h | 43 std::atomic<int32_t> refs_ = 0; variable
|
/ohos5.0/drivers/peripheral/codec/test/demo/heif/src/ |
H A D | codec_heif_helper.cpp | 42 int32_t ret = hdiHeifEncoder->DoHeifEncode(inputImgs_, inputMetas_, refs_, output, filledLen); in DoEncode() 76 refs_.clear(); in Reset() 244 refs_.emplace_back(ItemRef { in AssembleParamForOtherImg() 255 refs_.emplace_back(ItemRef { in AssembleParamForOtherImg() 276 refs_.emplace_back(ItemRef { in AssembleParamForTmap() 328 refs_.emplace_back(ItemRef { in AssembleParamForMetaData() 340 refs_.emplace_back(ItemRef { in AssembleParamForMetaData()
|
/ohos5.0/drivers/peripheral/codec/test/fuzztest/image_fuzzer/common/src/ |
H A D | encode_heif_helper.cpp | 46 refs_.clear(); in Reset() 182 refs_.emplace_back(newRefAulx); in AssembleParamForOtherImg() 200 refs_.emplace_back(newRefThmb); in AssembleParamForOtherImg() 238 refs_.emplace_back(newRefTMap); in AssembleParamForTmap() 324 refs_.emplace_back(newRefIt1); in AssembleParamForMetaData() 339 refs_.emplace_back(newRefIt2); in AssembleParamForMetaData()
|
/ohos5.0/drivers/peripheral/codec/test/fuzztest/image_fuzzer/imagedoheifencode_fuzzer/ |
H A D | imagedoheifencode_fuzzer.cpp | 72 …auto err = image->DoHeifEncode(heifHelper.inputImgs_, heifHelper.inputMetas_, heifHelper.refs_, ou… in DoHeifEncode()
|
/ohos5.0/drivers/peripheral/codec/test/demo/heif/include/ |
H A D | codec_heif_helper.h | 58 std::vector<OHOS::HDI::Codec::Image::V2_0::ItemRef> refs_; variable
|
/ohos5.0/drivers/peripheral/codec/test/fuzztest/image_fuzzer/common/include/ |
H A D | encode_heif_helper.h | 50 std::vector<OHOS::HDI::Codec::Image::V2_0::ItemRef> refs_; variable
|
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/ |
H A D | mock_refbase_test.cpp | 28 RefCounter *refs_ = nullptr; variable
|