Home
last modified time | relevance | path

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

/commonlibrary/c_utils/base/test/benchmarktest/refbase_benchmark_test/
H A Drefbase_benchmark_test.cpp1246 void CompOrigSptrAndTarWptr002(const sptr<T1> &origSptr, const wptr<T2> &tarWptr, int value, benchmark::State& state) in CompOrigSptrAndTarWptr002() argument
1248 AssertEqual(static_cast<void *>(origSptr.GetRefPtr()), static_cast<void *>(tarWptr.GetRefPtr()), in CompOrigSptrAndTarWptr002()
1249 "origSptr.GetRefPtr() did not equal tarWptr.GetRefPtr()", state); in CompOrigSptrAndTarWptr002()
1251 AssertEqual(static_cast<void *>(&(*origSptr)), static_cast<void *>(&(*tarWptr)), in CompOrigSptrAndTarWptr002()
1252 "&(*origSptr) did not equal &(*tarWptr)", state); in CompOrigSptrAndTarWptr002()
1254 AssertEqual(tarWptr->GetSptrRefCount(), origSptr->GetSptrRefCount(), in CompOrigSptrAndTarWptr002()
1255 "tarWptr->GetSptrRefCount() did not equal origSptr->GetSptrRefCount()", state); in CompOrigSptrAndTarWptr002()
1257 AssertEqual(tarWptr->GetWptrRefCount(), origSptr->GetWptrRefCount(), in CompOrigSptrAndTarWptr002()
1258 "tarWptr->GetWptrRefCount() did not equal origSptr->GetWptrRefCount()", state); in CompOrigSptrAndTarWptr002()

Completed in 3 milliseconds