Home
last modified time | relevance | path

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

/system/security/keystore/
Dauth_token_table.cpp89 if (entries_.size() >= max_entries_) { in AddAuthenticationToken()
91 *min_element(entries_) = std::move(new_entry); in AddAuthenticationToken()
93 entries_.push_back(std::move(new_entry)); in AddAuthenticationToken()
139 entries_, [&](Entry& e) { return e.token().challenge == op_handle && !e.completed(); }); in FindAuthPerOpAuthorization()
141 if (matching_op == entries_.end()) return {AUTH_TOKEN_NOT_FOUND, {}}; in FindAuthPerOpAuthorization()
153 for (auto& entry : entries_) in FindTimedAuthorization()
187 entries_, [&](Entry& e) { return e.token().challenge == challenge && !e.completed(); }); in FindAuthorizationForCredstore()
188 if (matching_op == entries_.end()) { in FindAuthorizationForCredstore()
209 for (auto& entry : entries_) { in FindAuthorizationForCredstore()
238 entries_.erase(remove_if(entries_, [&](Entry& e) { return entry.Supersedes(e); }), in RemoveEntriesSupersededBy()
[all …]
Dauth_token_table.h169 std::vector<Entry> entries_; variable
/system/extras/simpleperf/
DOfflineUnwinder.cpp157 size_t old_size = entries_.size(); in UpdateMaps()
161 if (i < old_size && entry == entries_[i]) { in UpdateMaps()
164 } else if (i == old_size || entry->start_addr <= entries_[i]->start_addr) { in UpdateMaps()
166 entries_.push_back(entry); in UpdateMaps()
172 entries_[i] = nullptr; in UpdateMaps()
178 entries_[i] = nullptr; in UpdateMaps()
183 entries_.resize(std::remove(entries_.begin(), entries_.end(), nullptr) - entries_.begin()); in UpdateMaps()
188 std::sort(entries_.begin(), entries_.end(), [](const auto& e1, const auto& e2) { in UpdateMaps()
DOfflineUnwinder_impl.h32 std::vector<const MapEntry*> entries_; variable
/system/bt/packet/avrcp/
Dget_element_attributes_packet.cc95 CHECK_LT(entries_.size(), size_t(0xFF)) in AddAttributeEntry()
107 entries_.insert(entry); in AddAttributeEntry()
119 for (auto& attribute_entry : entries_) { in size()
134 AddPayloadOctets1(pkt, entries_.size()); in Serialize()
135 for (const auto& attribute_entry : entries_) { in Serialize()
Dget_item_attributes.cc31 CHECK(entries_.size() < 0xFF); in AddAttributeEntry()
42 entries_.insert(entry); in AddAttributeEntry()
57 for (const auto& entry : entries_) { in size()
72 AddPayloadOctets1(pkt, entries_.size()); in Serialize()
73 for (const auto& entry : entries_) { in Serialize()
Dget_element_attributes_packet.h76 std::set<AttributeEntry> entries_;
Dget_item_attributes.h43 std::set<AttributeEntry> entries_; variable
/system/bt/gd/packet/parser/
Denum_def.cc37 entries_.insert(name); in AddEntry()
45 return entries_.count(name) != 0; in HasEntry()
Denum_def.h41 std::set<std::string> entries_; variable
/system/core/init/
Dkeychords.cpp114 for (auto& [keycodes, entry] : entries_) { in LambdaCheck()
160 for (auto& [keycodes, entry] : entries_) { in GeteventEnable()
283 entries_.try_emplace(keycodes, Entry()); in Register()
289 if (entries_.size()) GeteventOpenDevice(); in Start()
Dkeychords.h89 std::map<const std::vector<int>, Entry> entries_; variable