Home
last modified time | relevance | path

Searched refs:RefBase (Results 1 – 25 of 371) sorted by relevance

12345678910>>...15

/ohos5.0/foundation/distributeddatamgr/preferences/frameworks/native/mock/c_utils/utils/base/src/
H A Drefbase.cpp229 RefBase::RefBase() : refs_(new RefCounter()) in RefBase() function in OHOS::RefBase
237 RefBase::RefBase(const RefBase &other) in RefBase() function in OHOS::RefBase
248 void RefBase::RefPtrCallback() in RefPtrCallback()
253 RefBase &RefBase::operator=(const RefBase &other) in operator =()
271 RefBase::RefBase(RefBase &&other) noexcept in RefBase() function in OHOS::RefBase
279 RefBase &RefBase::operator=(RefBase &&other) noexcept in operator =()
297 RefBase::~RefBase() in ~RefBase()
342 int RefBase::GetSptrRefCount() in GetSptrRefCount()
372 int RefBase::GetWptrRefCount() in GetWptrRefCount()
412 bool RefBase::IsAttemptAcquireSet() in IsAttemptAcquireSet()
[all …]
/ohos5.0/foundation/multimedia/image_framework/mock/native/src/
H A Drefbase.cpp234 RefBase::RefBase() : refs_(new RefCounter()) in RefBase() function in OHOS::RefBase
242 RefBase::RefBase(const RefBase& /*other*/) in RefBase() function in OHOS::RefBase
253 void RefBase::RefPtrCallback() in RefPtrCallback()
264 RefBase &RefBase::operator=(const RefBase& /*other*/) in operator =() argument
280 RefBase::RefBase(RefBase &&other) noexcept in RefBase() function in OHOS::RefBase
286 RefBase &RefBase::operator=(RefBase &&other) noexcept in operator =()
300 RefBase::~RefBase() in ~RefBase()
342 int RefBase::GetSptrRefCount() in GetSptrRefCount()
374 int RefBase::GetWptrRefCount() in GetWptrRefCount()
411 bool RefBase::IsAttemptAcquireSet() in IsAttemptAcquireSet()
[all …]
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/platform/utils/
H A Drefbase.cpp399 RefBase::RefBase() : refs_(new RefCounter()) in RefBase() function in OHOS::RefBase
408 RefBase::RefBase(const RefBase &) in RefBase() argument
421 bool RefBase::CanPromote() in CanPromote()
427 void RefBase::RefPtrCallback() in RefPtrCallback()
438 RefBase &RefBase::operator=(const RefBase &) in operator =() argument
457 RefBase::RefBase(RefBase &&other) noexcept in RefBase() function in OHOS::RefBase
463 RefBase &RefBase::operator=(RefBase &&other) noexcept in operator =()
479 RefBase::~RefBase() in ~RefBase()
534 int RefBase::GetSptrRefCount() in GetSptrRefCount()
569 int RefBase::GetWptrRefCount() in GetWptrRefCount()
[all …]
H A Drefbase.h55 class RefBase; variable
84 friend class RefBase; variable
397 class RS_EXPORT RefBase {
399 RefBase();
407 RefBase(const RefBase &);
416 RefBase &operator=(const RefBase &);
421 RefBase(RefBase &&other) noexcept;
430 RefBase &operator=(RefBase &&other) noexcept;
432 virtual ~RefBase();
/ohos5.0/commonlibrary/c_utils/base/src/
H A Drefbase.cpp417 RefBase::RefBase() : refs_(new RefCounter()) in RefBase() function in OHOS::RefBase
426 RefBase::RefBase(const RefBase &) in RefBase() argument
439 bool RefBase::CanPromote() in CanPromote()
445 void RefBase::RefPtrCallback() in RefPtrCallback()
456 RefBase &RefBase::operator=(const RefBase &) in operator =() argument
475 RefBase::RefBase(RefBase &&other) noexcept in RefBase() function in OHOS::RefBase
481 RefBase &RefBase::operator=(RefBase &&other) noexcept in operator =()
497 RefBase::~RefBase() in ~RefBase()
568 int RefBase::GetSptrRefCount() in GetSptrRefCount()
686 void RefBase::EnableTracker() in EnableTracker()
[all …]
/ohos5.0/commonlibrary/c_utils/base/test/fuzztest/
H A DREADME_zh.md17 ### RefBase模块用例设计说明
22 A[创建RefBase对象]-->B[随机创建n个线程]
25 subgraph loop:随机调用RefBase的接口
33 K-->L{RefBase自身是否已释放}
47 B-->U[循环随机调用RefBase的接口]
51 B-->V[循环随机调用RefBase的接口]
55 Y[若未释放RefBase,释放RefBase]
70 由于RefBase及其成员RefCounter会在所有线程引用计数归零时自动释放,所以各个线程在不知道其它线程引用计数的情况下,需要在自身计数即将归零时加锁,确保RefBase和其成员RefCoun…
97 ├── BUILD.gn # RefBase模块的Fuzz用例编译配置
98 ├── refbase_fuzzer.cpp # RefBase模块的Fuzz用例源文件
[all …]
/ohos5.0/commonlibrary/c_utils/base/test/benchmarktest/refbase_benchmark_test/
H A Drefbase_benchmark_test.cpp928 sptr<RefBase> baseObject1(new RefBase()); in BENCHMARK_F()
934 sptr<RefBase> baseObject3(new RefBase()); in BENCHMARK_F()
1001 sptr<RefBase> testObject0(new RefBase()); in BENCHMARK_F()
1018 sptr<RefBase> testObject0(new RefBase()); in BENCHMARK_F()
1019 wptr<RefBase> testObject1(new RefBase()); in BENCHMARK_F()
1033 sptr<RefBase> testObject0(new RefBase()); in BENCHMARK_F()
1087 RefBase *baseObject = new RefBase(); in BENCHMARK_F()
1103 RefBase *baseObject = new RefBase(); in BENCHMARK_F()
1536 RefBase *baseObject = new RefBase(); in BENCHMARK_F()
1677 RefBase *baseObject1 = new RefBase(); in BENCHMARK_F()
[all …]
/ohos5.0/commonlibrary/c_utils/docs/zh-cn/
H A Dc-utils-guide-refbase.md24 指向RefBase(或其子类)对象的强引用智能指针。
33 指向RefBase(或其子类)对象的强引用智能指针。
37 * **T** 被sptr管理的具体类型。该类必须继承自RefBase基类。
39 其直接引用RefBase对象。
78 指向RefBase(或其子类)对象的弱引用智能指针。
87 指向RefBase(或其子类)对象的弱引用智能指针。
91 * **T** 被wptr管理的具体类型。该类必须继承自RefBase基类。
93 其间接引用RefBase对象;直接引用WeakRefCounter对象。
138 class RefBaseTest : public RefBase {
295 RefBase* a = new RefBase();
[all …]
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/
H A Dmock_refbase_test.cpp269 RefBase refb;
284 RefBase refb;
299 RefBase refb;
313 RefBase refb;
327 RefBase refb;
342 RefBase refb;
357 RefBase refb;
372 RefBase refb;
387 RefBase refb;
401 RefBase refb;
[all …]
/ohos5.0/commonlibrary/c_utils/base/test/unittest/common/
H A Dutils_refbase_test.cpp51 class RefBaseTest : public RefBase {
295 RefBase::RefPtrCallback(); in RefPtrCallback()
684 class SptrTest : public RefBase {
768 sptr<RefBase> testObject1(new RefBase());
780 RefBase baseObject1{};
783 RefBase baseObject2{};
791 RefBase baseObject3{};
803 class WptrTest : public RefBase {
1043 wptr<RefBase> testObject1(new RefBase());
1066 sptr<RefBase> testObject1(new RefBase());
[all …]
/ohos5.0/foundation/window/window_manager/interfaces/innerkits/wm/
H A Dwindow_manager.h60 class IWMSConnectionChangedListener : virtual public RefBase {
85 class IFocusChangedListener : virtual public RefBase {
106 class IWindowModeChangedListener : virtual public RefBase {
122 class ISystemBarChangedListener : virtual public RefBase {
153 class IVisibilityChangedListener : virtual public RefBase {
168 class IDrawingContentChangedListener : virtual public RefBase {
184 class IWindowStyleChangedListener : virtual public RefBase {
328 class IWindowUpdateListener : virtual public RefBase {
390 class ICameraWindowChangedListener : virtual public RefBase {
406 class IDisplayInfoChangedListener : virtual public RefBase {
[all …]
H A Dwindow.h76 class IWindowLifeCycle : virtual public RefBase {
133 class IWindowChangeListener : virtual public RefBase {
173 class IAvoidAreaChangedListener : virtual public RefBase {
189 class IWindowDragListener : virtual public RefBase {
206 class IDisplayMoveListener : virtual public RefBase {
260 class IAceAbilityHandler : virtual public RefBase {
316 class ITouchOutsideListener : virtual public RefBase {
346 class IScreenshotListener : virtual public RefBase {
396 class IDisplayIdChangeListener : virtual public RefBase {
468 class ISubWindowCloseListener : virtual public RefBase {
[all …]
/ohos5.0/foundation/window/window_manager/interfaces/innerkits/dm/
H A Ddisplay_manager.h47 class IDisplayListener : public virtual RefBase {
65 class IScreenshotListener : public virtual RefBase {
75 class IPrivateWindowListener : public virtual RefBase {
85 class IPrivateWindowListChangeListener : public virtual RefBase {
107 class IFoldStatusListener : public virtual RefBase {
117 class IFoldAngleListener : public virtual RefBase {
127 class ICaptureStatusListener : public virtual RefBase {
137 class IDisplayUpdateListener : public virtual RefBase {
147 class IDisplayModeListener : public virtual RefBase {
157 class IAvailableAreaListener : public virtual RefBase {
H A Dscreen_manager.h27 class ScreenManager : public RefBase {
31 class IScreenListener : public virtual RefBase {
49 class IScreenGroupListener : public virtual RefBase {
57 class IVirtualScreenGroupListener : public virtual RefBase {
/ohos5.0/foundation/graphic/graphic_2d/frameworks/opengl_wrapper/src/EGL/
H A Degl_wrapper_surface.cpp27 OHOS::RefBase *ref = reinterpret_cast<OHOS::RefBase *>(window_); in EglWrapperSurface()
36 OHOS::RefBase *ref = reinterpret_cast<OHOS::RefBase *>(window_); in ~EglWrapperSurface()
/ohos5.0/foundation/window/window_manager/previewer/include/
H A Dwindow.h63 class IWindowLifeCycle : virtual public RefBase {
65 class IWindowChangeListener : virtual public RefBase {
71 class IIgnoreViewSafeAreaListener : virtual public RefBase {
75 class IAvoidAreaChangedListener : virtual public RefBase {
79 class IWindowDragListener : virtual public RefBase {
81 class IDisplayMoveListener : virtual public RefBase {
92 class IAceAbilityHandler : virtual public RefBase {
96 class ITouchOutsideListener : virtual public RefBase {
103 class IScreenshotListener : virtual public RefBase {
105 class IDialogTargetTouchListener : virtual public RefBase {
[all …]
/ohos5.0/foundation/multimedia/player_framework/frameworks/native/capi/common/
H A Dnative_player_magic.h23 struct OH_AVScreenCapture : public OHOS::RefBase {
28 struct OH_AVScreenCapture_ContentFilter : public OHOS::RefBase {
33 struct OH_AVPlayer : public OHOS::RefBase {
/ohos5.0/foundation/window/window_manager/wm/include/
H A Dpicture_in_picture_interface.h28 class IPiPLifeCycle : virtual public RefBase {
43 class IPiPActionObserver : virtual public RefBase {
53 class IPiPControlObserver : virtual public RefBase {
/ohos5.0/foundation/distributeddatamgr/preferences/frameworks/native/mock/c_utils/utils/base/include/
H A Drefbase.h24 class RefBase; variable
103 class RefBase {
105 RefBase();
107 RefBase(const RefBase &other);
109 RefBase &operator=(const RefBase &other);
111 RefBase(RefBase &&other) noexcept;
113 RefBase &operator=(RefBase &&other) noexcept;
115 virtual ~RefBase();
/ohos5.0/commonlibrary/c_utils/base/include/
H A Drefbase.h49 class RefBase; variable
77 friend class RefBase; variable
375 class RefBase {
377 RefBase();
385 RefBase(const RefBase &);
394 RefBase &operator=(const RefBase &);
399 RefBase(RefBase &&other) noexcept;
408 RefBase &operator=(RefBase &&other) noexcept;
410 virtual ~RefBase();
/ohos5.0/foundation/window/window_manager/interfaces/innerkits/dm_lite/
H A Dscreen_manager_lite.h25 class ScreenManagerLite : public RefBase {
32 class IScreenListener : public virtual RefBase {
50 class IScreenModeChangeListener : public virtual RefBase {
H A Ddisplay_manager_lite.h32 class IDisplayListener : public virtual RefBase {
50 class IFoldStatusListener : public virtual RefBase {
60 class IDisplayModeListener : public virtual RefBase {
/ohos5.0/foundation/multimedia/drm_framework/interfaces/kits/c/drm_capi/common/
H A Dnative_drm_base.h50 struct MediaKeySystem : public OHOS::RefBase {
61 struct MediaKeySession : public OHOS::RefBase {
/ohos5.0/foundation/arkui/napi/interfaces/inner_api/cjffi/native/
H A Dffi_remote_data.h92 friend class RefBase; \
113 class FFI_EXPORT RemoteData : public TypeBase, public virtual RefBase {
139 friend class RefBase;
172 class FFI_EXPORT FFIData : public TypeBase, public RefBase {
/ohos5.0/foundation/multimedia/camera_framework/services/camera_service/include/avcodec/
H A Ddrain_manager.h27 class DrainImageCallback : public RefBase {
34 class DrainImageManager : public RefBase {

12345678910>>...15