Home
last modified time | relevance | path

Searched refs:num_spaces_ (Results 1 – 2 of 2) sorted by relevance

/system/nvram/core/
Dnvram_manager.cpp176 response->available_size = kMaxSpaceSize * (kMaxSpaces - num_spaces_); in GetInfo()
180 if (!space_list.Resize(num_spaces_)) { in GetInfo()
184 for (size_t i = 0; i < num_spaces_; ++i) { in GetInfo()
210 if (num_spaces_ + 1 > kMaxSpaces) { in CreateSpace()
246 spaces_[num_spaces_].index = index; in CreateSpace()
247 spaces_[num_spaces_].write_locked = false; in CreateSpace()
248 spaces_[num_spaces_].read_locked = false; in CreateSpace()
249 ++num_spaces_; in CreateSpace()
284 --num_spaces_; in CreateSpace()
347 spaces_[space_record.array_index] = spaces_[num_spaces_ - 1]; in DeleteSpace()
[all …]
/system/nvram/core/include/nvram/core/
Dnvram_manager.h149 size_t num_spaces_ = 0; variable