Home
last modified time | relevance | path

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

/system/core/libcutils/
Dhashmap.c26 typedef struct Entry Entry; typedef
27 struct Entry { struct
31 Entry* next; argument
35 Entry** buckets;
61 map->buckets = calloc(map->bucketCount, sizeof(Entry*)); in hashmapCreate()
109 Entry** newBuckets = calloc(newBucketCount, sizeof(Entry*)); in expandIfNecessary()
118 Entry* entry = map->buckets[i]; in expandIfNecessary()
120 Entry* next = entry->next; in expandIfNecessary()
146 Entry* entry = map->buckets[i]; in hashmapFree()
148 Entry* next = entry->next; in hashmapFree()
[all …]
/system/security/keystore/
Dauth_token_table.h98 class Entry {
100 Entry(const HardwareAuthToken* token, time_t current_time);
101 Entry(Entry&& entry) { *this = std::move(entry); } in Entry() function
103 void operator=(Entry&& rhs) {
110 bool operator<(const Entry& rhs) const { return last_use_ < rhs.last_use_; }
114 bool Supersedes(const Entry& entry) const;
117 bool is_newer_than(const Entry* entry) { in is_newer_than()
144 void RemoveEntriesSupersededBy(const Entry& entry);
145 bool IsSupersededBySomeEntry(const Entry& entry);
147 std::vector<Entry> entries_;
Dauth_token_table.cpp79 Entry new_entry(auth_token, clock_function_()); in AddAuthenticationToken()
132 entries_, [&](Entry& e) { return e.token()->challenge == op_handle && !e.completed(); }); in FindAuthPerOpAuthorization()
146 Entry* newest_match = NULL; in FindTimedAuthorization()
178 void AuthTokenTable::RemoveEntriesSupersededBy(const Entry& entry) { in RemoveEntriesSupersededBy()
179 entries_.erase(remove_if(entries_, [&](Entry& e) { return entry.Supersedes(e); }), in RemoveEntriesSupersededBy()
191 bool AuthTokenTable::IsSupersededBySomeEntry(const Entry& entry) { in IsSupersededBySomeEntry()
193 [&](Entry& e) { return e.Supersedes(entry); }); in IsSupersededBySomeEntry()
197 auto found = find_if(entries_, [&](Entry& e) { return e.token()->challenge == op_handle; }); in MarkCompleted()
206 AuthTokenTable::Entry::Entry(const HardwareAuthToken* token, time_t current_time) in Entry() function in keystore::AuthTokenTable::Entry
210 uint32_t AuthTokenTable::Entry::timestamp_host_order() const { in timestamp_host_order()
[all …]
/system/core/libutils/include/utils/
DLruCache.h67 class Entry final : public KeyedEntry {
71 Entry* parent;
72 Entry* child;
74 Entry(TKey _key, TValue _value) : key(_key), value(_value), parent(NULL), child(NULL) { in Entry() function
103 void attachToCache(Entry& entry);
104 void detachFromCache(Entry& entry);
114 Entry* mOldest;
115 Entry* mYoungest;
148 return reinterpret_cast<Entry *>(*mIterator)->value; in value()
197 Entry *entry = reinterpret_cast<Entry*>(*find_result); in get()
[all …]
/system/keymaster/
Doperation_table.h32 struct Entry { struct
33 Entry() { in Entry() function
37 ~Entry();
47 UniquePtr<Entry[]> table_; argument
Doperation_table.cpp28 OperationTable::Entry::~Entry() { in ~Entry()
37 table_.reset(new (std::nothrow) Entry[table_size_]); in Add()
/system/media/camera/docs/
Dmetadata_model_test.py16 entry1 = Entry(name="entry1", type="int32", kind="static",
18 entry2 = Entry(name="entry2", type="int32", kind="static",
20 entry3 = Entry(name="entry3", type="int32", kind="static",
62 entry1 = Entry(name="entry1", type="int32", kind="static",
64 entry2 = Entry(name="entry2", type="int32", kind="static",
96 entry1 = Entry(name="entry1", type="int32", kind="static",
98 entry2 = Entry(name="entry2", type="int32", kind="static",
100 entry3 = Entry(name="entry3", type="int32", kind="static",
Dhtml.mako55 /* Entry flair */
59 /* Entry type flair */
75 /* Entry tags flair */
78 /* Entry details (full docs) flair */
82 /* Entry spacer flair */
DACameraMetadata.mako22 …% if section.find_first(lambda x: isinstance(x, metadata_model.Entry) and x.kind == kind_name) and…
Dmetadata_model.py302 e = Entry(**entry)
1037 class Entry(Node): class
1395 class Clone(Entry):
1474 class MergedEntry(Entry):
DCameraMetadataEnums.mako54 …% if section.find_first(lambda x: isinstance(x, metadata_model.Entry) and x.kind == xml_name) and \
DCameraMetadataKeys.mako77 …% if section.find_first(lambda x: isinstance(x, metadata_model.Entry) and x.kind == xml_name) and \
Dmetadata_helpers.py453 if not isinstance(entry, metadata_model.Entry):
/system/media/audio_utils/include/audio_utils/
DErrorLog.h161 struct Entry { struct
162 Entry() in Entry() argument
189 std::vector<Entry> mEntries; // circular buffer of error entries. argument
/system/core/libmemunreachable/
DREADME.md56 - `MemUnreachable.cpp`: Entry points, implements the sequencing described above.