Home
last modified time | relevance | path

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

/commonlibrary/memory_utils/libpurgeablemem/test/
H A Dpurgeable_cpp_test.cpp185 if (pobj1.BeginRead()) { in HWTEST_F()
190 std::cout << __func__ << ": ERROR! BeginRead failed." << std::endl; in HWTEST_F()
195 if (pobj2.BeginRead()) { in HWTEST_F()
200 std::cout << __func__ << ": ERROR! BeginRead failed." << std::endl; in HWTEST_F()
218 if (pobj->BeginRead()) { in HWTEST_F()
223 std::cout << __func__ << ": ERROR! BeginRead failed." << std::endl; in HWTEST_F()
246 if (pobj->BeginRead()) { in HWTEST_F()
251 std::cout << __func__ << ": ERROR! BeginRead failed." << std::endl; in HWTEST_F()
278 if (pobj->BeginRead()) { in HWTEST_F()
283 std::cout << __func__ << ": ERROR! BeginRead faile in HWTEST_F()
[all...]
H A Dpurgeableashmem_test.cpp241 if (pobj1.BeginRead()) { in HWTEST_F()
246 std::cout << __func__ << ": ERROR! BeginRead failed." << std::endl; in HWTEST_F()
251 if (pobj2.BeginRead()) { in HWTEST_F()
256 std::cout << __func__ << ": ERROR! BeginRead failed." << std::endl; in HWTEST_F()
275 if (pobj->BeginRead()) { in HWTEST_F()
280 std::cout << __func__ << ": ERROR! BeginRead failed." << std::endl; in HWTEST_F()
304 if (pobj->BeginRead()) { in HWTEST_F()
309 std::cout << __func__ << ": ERROR! BeginRead failed." << std::endl; in HWTEST_F()
337 if (pobj->BeginRead()) { in HWTEST_F()
342 std::cout << __func__ << ": ERROR! BeginRead faile in HWTEST_F()
[all...]
/commonlibrary/memory_utils/libpurgeablemem/cpp/include/
H A Dpurgeable_mem_base.h35 * BeginRead: begin read the PurgeableMem obj.
47 * if (BeginRead()) {
52 bool BeginRead();
62 * BeginRead: begin write the PurgeableMem obj.
100 * This function should be protected by BeginRead()/EndRead()
/commonlibrary/memory_utils/libpurgeablemem/cpp/src/
H A Dpurgeable_mem_base.cpp54 bool PurgeableMemBase::BeginRead() in BeginRead() function in OHOS::PurgeableMem::PurgeableMemBase
65 IF_NULL_LOG_ACTION(dataPtr_, "dataPtr is nullptr in BeginRead", return false); in BeginRead()
66 IF_NULL_LOG_ACTION(builder_, "builder_ is nullptr in BeginRead", return false); in BeginRead()

Completed in 3 milliseconds