/system/core/include/utils/ |
D | LruCache.h | 59 struct Entry { struct 62 Entry* parent; argument 63 Entry* child; argument 65 Entry(TKey key_, TValue value_) : key(key_), value(value_), parent(NULL), child(NULL) { in Entry() argument 70 struct HashForEntry : public std::unary_function<Entry*, hash_t> { argument 71 size_t operator() (const Entry* entry) const { in operator() 76 struct EqualityForHashedEntries : public std::unary_function<Entry*, hash_t> { 77 bool operator() (const Entry* lhs, const Entry* rhs) const { in operator() 82 typedef std::unordered_set<Entry*, HashForEntry, EqualityForHashedEntries> LruCacheSet; 84 void attachToCache(Entry& entry); [all …]
|
/system/core/libcutils/ |
D | hashmap.c | 26 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/ |
D | auth_token_table.h | 105 class Entry { 107 Entry(const hw_auth_token_t* token, time_t current_time); 108 Entry(Entry&& entry) { *this = std::move(entry); } in Entry() function 110 void operator=(Entry&& rhs) { 117 bool operator<(const Entry& rhs) const { return last_use_ < rhs.last_use_; } 121 bool Supersedes(const Entry& entry) const; 124 bool is_newer_than(const Entry* entry) { in is_newer_than() 153 void RemoveEntriesSupersededBy(const Entry& entry); 154 bool IsSupersededBySomeEntry(const Entry& entry); 156 std::vector<Entry> entries_;
|
D | auth_token_table.cpp | 53 Entry new_entry(auth_token, clock_function_()); in AddAuthenticationToken() 111 entries_, [&](Entry& e) { return e.token()->challenge == op_handle && !e.completed(); }); in FindAuthPerOpAuthorization() 127 Entry* newest_match = NULL; in FindTimedAuthorization() 153 void AuthTokenTable::RemoveEntriesSupersededBy(const Entry& entry) { in RemoveEntriesSupersededBy() 154 entries_.erase(remove_if(entries_, [&](Entry& e) { return entry.Supersedes(e); }), in RemoveEntriesSupersededBy() 162 bool AuthTokenTable::IsSupersededBySomeEntry(const Entry& entry) { in IsSupersededBySomeEntry() 164 [&](Entry& e) { return e.Supersedes(entry); }); in IsSupersededBySomeEntry() 168 auto found = find_if(entries_, [&](Entry& e) { return e.token()->challenge == op_handle; }); in MarkCompleted() 179 AuthTokenTable::Entry::Entry(const hw_auth_token_t* token, time_t current_time) in Entry() function in keymaster::AuthTokenTable::Entry 184 uint32_t AuthTokenTable::Entry::timestamp_host_order() const { in timestamp_host_order() [all …]
|
/system/keymaster/ |
D | operation_table.h | 32 struct Entry { struct 33 Entry() { in Entry() argument 37 ~Entry(); 47 UniquePtr<Entry[]> table_; argument
|
D | operation_table.cpp | 28 OperationTable::Entry::~Entry() { in ~Entry() 37 table_.reset(new (std::nothrow) Entry[table_size_]); in Add()
|
/system/media/camera/docs/ |
D | metadata_model_test.py | 16 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",
|
D | html.mako | 55 /* Entry flair */ 59 /* Entry type flair */ 75 /* Entry tags flair */ 78 /* Entry details (full docs) flair */ 82 /* Entry spacer flair */
|
D | ACameraMetadata.mako | 22 …% if section.find_first(lambda x: isinstance(x, metadata_model.Entry) and x.kind == kind_name) and…
|
D | metadata_model.py | 302 e = Entry(**entry) 1037 class Entry(Node): class 1395 class Clone(Entry): 1474 class MergedEntry(Entry):
|
D | CameraMetadataEnums.mako | 54 …% if section.find_first(lambda x: isinstance(x, metadata_model.Entry) and x.kind == xml_name) and \
|
D | CameraMetadataKeys.mako | 77 …% if section.find_first(lambda x: isinstance(x, metadata_model.Entry) and x.kind == xml_name) and \
|
D | metadata_helpers.py | 453 if not isinstance(entry, metadata_model.Entry):
|
/system/connectivity/shill/doc/ |
D | profile-api.txt | 142 List of profile Entry objects. Use the GetEntry 143 method to retrieve an Entry's contents.
|
/system/core/libmemunreachable/ |
D | README.md | 56 - `MemUnreachable.cpp`: Entry points, implements the sequencing described above.
|