Home
last modified time | relevance | path

Searched refs:wptr (Results 1 - 3 of 3) sorted by relevance

/commonlibrary/c_utils/base/include/
H A Drefbase.h295 * A WeakRefCounter object can be shared by multiple wptr objects.\n
352 * the corresponding RefBase object (to promote a wptr to a sptr).
465 * @note Use this function with related functions of wptr.
530 * interaction between sptr and wptr. Avoid using it independently.
586 * @brief Called when `wptr::Promote()` is invoked.
608 class wptr;
622 friend class wptr<T>;
685 * @brief Constructor used to promote the process of wptr.
786 * @brief Copy assignment operator for wptr with
790 * with the input wptr objec
1063 class wptr { global() class
1338 wptr<T>::wptr() wptr() function in OHOS::wptr
1344 wptr<T>::wptr(T *other) wptr() function in OHOS::wptr
1357 wptr<T>::wptr(const wptr<T> &other) wptr() function in OHOS::wptr
1366 wptr<T>::wptr(const sptr<T> &other) wptr() function in OHOS::wptr
1378 wptr<T>::wptr(const wptr<O> &other) wptr() function in OHOS::wptr
1388 wptr<T>::wptr(const sptr<O> &other) wptr() function in OHOS::wptr
[all...]
/commonlibrary/c_utils/base/test/unittest/common/
H A Dutils_refbase_test.cpp230 std::map<string, wptr<IRemoteObject>> objects1_;
265 objects1_.insert(std::pair<string, wptr<IRemoteObject>>(to_string(handle), remoteObject)); in FindOrNewObject()
497 wptr<RefBaseTest> weakObject(testobject); in HWTEST_F()
514 wptr<RefBaseTest> weakObject(testObject); in HWTEST_F()
525 wptr<RefBaseTest> testObject = new RefBaseTest(); in HWTEST_F()
596 wptr<RefBaseTest> testObject2 = testObject1; in HWTEST_F()
679 wptr<RefBaseTest> weakObject(testobject); in HWTEST_F()
707 wptr<RefBaseTest> testObject2 = new RefBaseTest(); in HWTEST_F()
723 wptr<RefBaseTest> testObject2(new RefBaseTest()); in HWTEST_F()
813 wptr<RefBas in HWTEST_F()
[all...]
/commonlibrary/c_utils/base/test/benchmarktest/refbase_benchmark_test/
H A Drefbase_benchmark_test.cpp263 std::map<string, wptr<IRemoteObject>> objects1_;
300 objects1_.insert(std::pair<string, wptr<IRemoteObject>>(to_string(handle), remoteObject)); in FindOrNewObject()
669 wptr<RefBaseTest> weakObject(testobject); in BENCHMARK_F()
692 wptr<RefBaseTest> weakObject(testObject); in BENCHMARK_F()
708 wptr<RefBaseTest> testObject = new RefBaseTest(); in BENCHMARK_F()
799 wptr<RefBaseTest> testObject2 = testObject1; in BENCHMARK_F()
1012 * @tc.desc: test Equal-to operator between the sptr and wptr
1019 wptr<RefBase> testObject1(new RefBase()); in BENCHMARK_F()
1027 * @tc.desc: test Not-equal-to operator between the sptr and wptr
1034 wptr<RefBas in BENCHMARK_F()
[all...]

Completed in 10 milliseconds