Home
last modified time | relevance | path

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

/system/keymaster/android_keymaster/
Dauthorization_set.cpp151 size_t invalid_count = 0; in Deduplicate() local
154 ++invalid_count; in Deduplicate()
160 ++invalid_count; in Deduplicate()
163 if (size() > 0 && elems_[size() - 1].tag == KM_TAG_INVALID) ++invalid_count; in Deduplicate()
165 if (invalid_count == 0) return; in Deduplicate()
170 elems_size_ -= invalid_count; in Deduplicate()
171 memmove(elems_, elems_ + invalid_count, size() * sizeof(*elems_)); in Deduplicate()