Lines Matching defs:count
417 inline void FreePairValue(OH_PreferencesPair *pairs, size_t count)
419 for (size_t i = 0; i < count; i++) {
430 auto count = records.size();
431 if (count == 0) {
434 OH_PreferencesPair *pairs = new (std::nothrow) OH_PreferencesPair[count];
436 LOG_ERROR("malloc pairs failed when on change, count: %{public}d, errno:%{public}d", static_cast<int>(count),
451 static_cast<OH_PreferencesValue *>(valueImpl), count};
453 (dataObserver_)(context_, pairs, count);
454 FreePairValue(pairs, count);