Searched refs:succ (Results 1 – 5 of 5) sorted by relevance
/commonlibrary/memory_utils/libpurgeablemem/cpp/src/ |
D | purgeable_mem_base.cpp | 52 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/ |
D | purgeable_mem_c.c | 216 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/ |
D | purgeable_c_test.cpp | 245 bool succ = true; in ReclaimPurgeable() local 247 succ = false; in ReclaimPurgeable() 254 return succ; in ReclaimPurgeable()
|
D | purgeable_cpp_test.cpp | 471 bool succ = true; in ReclaimPurgeable() local 473 succ = false; in ReclaimPurgeable() 480 return succ; in ReclaimPurgeable()
|
D | purgeableashmem_test.cpp | 578 bool succ = true; in ReclaimPurgeable() local 580 succ = false; in ReclaimPurgeable() 587 return succ; in ReclaimPurgeable()
|