Home
last modified time | relevance | path

Searched refs:table_ (Results 1 – 4 of 4) sorted by relevance

/system/keymaster/android_keymaster/
Doperation_table.cpp26 if (!table_) { in Add()
27 table_.reset(new (std::nothrow) OperationPtr[table_size_]); in Add()
28 if (!table_) in Add()
32 if (!table_[i]) { in Add()
33 table_[i] = move(operation); in Add()
44 if (!table_.get()) in Find()
48 if (table_[i] && table_[i]->operation_handle() == op_handle) in Find()
49 return table_[i].get(); in Find()
55 if (!table_.get()) in Delete()
59 if (table_[i] && table_[i]->operation_handle() == op_handle) { in Delete()
[all …]
/system/core/fs_mgr/libvbmeta/
Dbuilder.cpp86 if ((table_.header.in_use & (1 << i)) == 0) return i; in GetEmptySlot()
93 table_.descriptors.begin(), table_.descriptors.end(), in AddVBMetaImage()
97 if (desc != table_.descriptors.end()) { in AddVBMetaImage()
112 table_.descriptors.emplace_back(std::move(new_desc)); in AddVBMetaImage()
115 table_.header.in_use |= (1 << slot_number); in AddVBMetaImage()
123 table_.descriptors.begin(), table_.descriptors.end(), in DeleteVBMetaImage()
126 if (desc != table_.descriptors.end()) { in DeleteVBMetaImage()
128 table_.header.in_use &= ~(1 << desc->vbmeta_index); in DeleteVBMetaImage()
131 table_.descriptors.erase(desc); in DeleteVBMetaImage()
138 for (const auto& desc : table_.descriptors) { in ExportVBMetaTable()
[all …]
Dbuilder.h49 VBMetaTable table_; variable
/system/keymaster/include/keymaster/
Doperation_table.h41 UniquePtr<OperationPtr[]> table_;