Lines Matching defs:count
59 bool SetCacheMaxCount(uint32_t count)
63 if (count >= cacheCountMax_) {
64 cacheCountMax_ = count;
65 } else if (Size() <= count) {
66 cacheCountMax_ = count;
68 HDF_LOGE("%{public}s error: clientCacheCount can't be set, because cacheCountMax_ > count", __func__);
71 HDF_LOGD("%{public}s: set cache max count from %{public}u to %{public}u",
175 bool SetCacheMaxCount(uint32_t count)
179 if (count >= cacheCountMax_) {
180 cacheCountMax_ = count;
181 } else if (Size() <= count) {
182 cacheCountMax_ = count;
184 HDF_LOGE("%{public}s error: clientCacheCount can't be set, because cacheCountMax_ > count", __func__);
187 HDF_LOGI("%{public}s: set cache max count from %{public}u to %{public}u",