Home
last modified time | relevance | path

Searched refs:succ (Results 1 – 5 of 5) sorted by relevance

/commonlibrary/memory_utils/libpurgeablemem/cpp/src/
Dpurgeable_mem_base.cpp52 bool succ = false; in BeginRead() local
83 succ = BuildContent_(); in BeginRead()
84 if (succ) { in BeginRead()
87 …PM_HILOG_DEBUG(LOG_CORE, "%{public}s: purged, built %{public}s", __func__, succ ? "succ" : "fail"); in BeginRead()
91 if (!succ || tryTimes > MAX_BUILD_TRYTIMES) { in BeginRead()
171 bool succ = false; in BeginReadWithDataLock() local
188 succ = BuildContent_(); in BeginReadWithDataLock()
189 if (succ) { in BeginReadWithDataLock()
192 …PM_HILOG_DEBUG(LOG_CORE, "%{public}s: purged, built %{public}s", __func__, succ ? "succ" : "fail"); in BeginReadWithDataLock()
195 if (!succ || tryTimes > MAX_BUILD_TRYTIMES) { in BeginReadWithDataLock()
[all …]
/commonlibrary/memory_utils/libpurgeablemem/c/src/
Dpurgeable_mem_c.c216 bool succ = false; in PurgMemBuildData_() local
220 return succ; in PurgMemBuildData_()
223 succ = PurgMemBuilderBuildAll(purgObj->builder, purgObj->dataPtr, purgObj->dataSizeInput); in PurgMemBuildData_()
224 if (succ) { in PurgMemBuildData_()
227 return succ; in PurgMemBuildData_()
407 bool succ = func(purgObj->dataPtr, purgObj->dataSizeInput, funcPara); in PurgMemAppendModify() local
408 if (!succ) { in PurgMemAppendModify()
/commonlibrary/memory_utils/libpurgeablemem/test/
Dpurgeable_c_test.cpp245 bool succ = true; in ReclaimPurgeable() local
247 succ = false; in ReclaimPurgeable()
254 return succ; in ReclaimPurgeable()
Dpurgeable_cpp_test.cpp471 bool succ = true; in ReclaimPurgeable() local
473 succ = false; in ReclaimPurgeable()
480 return succ; in ReclaimPurgeable()
Dpurgeableashmem_test.cpp578 bool succ = true; in ReclaimPurgeable() local
580 succ = false; in ReclaimPurgeable()
587 return succ; in ReclaimPurgeable()