Home
last modified time | relevance | path

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

/system/keymaster/android_keymaster/
Dauthorization_set.cpp41 elems_size_ = builder.set.elems_size_; in AuthorizationSet()
42 builder.set.elems_size_ = 0; in AuthorizationSet()
74 memcpy(new_elems, elems_, sizeof(*elems_) * elems_size_); in reserve_elems()
95 for (size_t i = 0; i < elems_size_; ++i) { in reserve_indirect()
108 elems_size_ = set.elems_size_; in MoveFrom()
115 set.elems_size_ = 0; in MoveFrom()
138 elems_size_ = count; in Reinitialize()
150 qsort(elems_, elems_size_, sizeof(*elems_), in Sort()
178 elems_size_ -= invalid_count; in Deduplicate()
234 while (i < (int)elems_size_ && elems_[i].tag != tag) in find()
[all …]
/system/keymaster/include/keymaster/
Dauthorization_set.h47 elems_size_ = 0; in AuthorizationSet()
84 Reinitialize(set.elems_, set.elems_size_); in AuthorizationSet()
94 Reinitialize(set.elems_, set.elems_size_);
120 return Reinitialize(set.elems_, set.elems_size_); in Reinitialize()
140 size_t size() const { return elems_size_; } in size()
206 const keymaster_key_param_t* end() const { return elems_ + elems_size_; } in end()
471 size_t& elems_size_ = keymaster_key_param_set_t::length; variable