Home
last modified time | relevance | path

Searched refs:entries_ (Results 1 – 10 of 10) 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()
184 entries_.erase(remove_if(entries_, [&](Entry& e) { return entry.Supersedes(e); }), in RemoveEntriesSupersededBy()
185 entries_.end()); in RemoveEntriesSupersededBy()
195 entries_.clear(); in Clear()
200 return entries_.size(); in size()
[all …]
Dauth_token_table.h167 std::vector<Entry> 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/extras/simpleperf/
DOfflineUnwinder.cpp144 size_t old_size = entries_.size(); in UpdateMaps()
147 if (i < old_size && entry == entries_[i]) { in UpdateMaps()
150 } else if (i == old_size || entry->start_addr <= entries_[i]->start_addr) { in UpdateMaps()
152 entries_.push_back(entry); in UpdateMaps()
157 entries_[i] = nullptr; in UpdateMaps()
162 entries_[i] = nullptr; in UpdateMaps()
165 std::sort(entries_.begin(), entries_.end(), [](const auto& e1, const auto& e2) { in UpdateMaps()
178 entries_.resize(map_set.maps.size()); in UpdateMaps()
DOfflineUnwinder.h65 std::vector<const MapEntry*> 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