/system/keymaster/ |
H A D | operation_table.h | 32 struct Entry { struct in class:keymaster::OperationTable 33 Entry() { function in struct:keymaster::OperationTable::Entry 37 ~Entry(); 47 UniquePtr<Entry[]> table_;
|
H A D | operation_table.cpp | 28 OperationTable::Entry::~Entry() { 37 table_.reset(new (std::nothrow) Entry[table_size_]);
|
/system/security/keystore/ |
H A D | auth_token_table.h | 105 class Entry { class in class:keymaster::AuthTokenTable 107 Entry(const hw_auth_token_t* token, time_t current_time); 108 Entry(Entry&& entry) { *this = std::move(entry); } function in class:keymaster::AuthTokenTable::Entry 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) { 153 void RemoveEntriesSupersededBy(const Entry& entry); 154 bool IsSupersededBySomeEntry(const Entry [all...] |
H A D | auth_token_table.cpp | 53 Entry new_entry(auth_token, clock_function_()); 111 entries_, [&](Entry& e) { return e.token()->challenge == op_handle && !e.completed(); }); 127 Entry* newest_match = NULL; 153 void AuthTokenTable::RemoveEntriesSupersededBy(const Entry& entry) { 154 entries_.erase(remove_if(entries_, [&](Entry& e) { return entry.Supersedes(e); }), 162 bool AuthTokenTable::IsSupersededBySomeEntry(const Entry& entry) { 164 [&](Entry& e) { return e.Supersedes(entry); }); 168 auto found = find_if(entries_, [&](Entry& e) { return e.token()->challenge == op_handle; }); 179 AuthTokenTable::Entry::Entry(cons function in class:AuthTokenTable::Entry [all...] |
/system/core/include/utils/ |
H A D | LruCache.h | 82 struct Entry { struct in class:android::LruCache 85 Entry* parent; 86 Entry* child; 88 Entry(TKey key_, TValue value_) : key(key_), value(value_), parent(NULL), child(NULL) { function in struct:android::LruCache::Entry 93 void attachToCache(Entry& entry); 94 void detachFromCache(Entry& entry); 97 UniquePtr<BasicHashtable<TKey, Entry> > mTable; 99 Entry* mOldest; 100 Entry* mYoungest; 108 : mTable(new BasicHashtable<TKey, Entry>) [all...] |
/system/core/libcutils/ |
H A D | hashmap.c | 26 typedef struct Entry Entry; typedef in typeref:struct:Entry 27 struct Entry { struct 31 Entry* next; 35 Entry** buckets; 61 map->buckets = calloc(map->bucketCount, sizeof(Entry*)); 106 Entry** newBuckets = calloc(newBucketCount, sizeof(Entry*)); 115 Entry* entry = map->buckets[i]; 117 Entry* nex [all...] |
/system/media/camera/docs/ |
H A 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",
|
H A D | CameraMetadataEnums.mako | 54 % if section.find_first(lambda x: isinstance(x, metadata_model.Entry) and x.kind == xml_name) and \
|
H A D | CameraMetadataKeys.mako | 77 % if section.find_first(lambda x: isinstance(x, metadata_model.Entry) and x.kind == xml_name) and \
|
H A D | html.mako | 55 /* Entry flair */ 59 /* Entry type flair */ 75 /* Entry tags flair */ 78 /* Entry details (full docs) flair */ 82 /* Entry spacer flair */
|
H A D | metadata_model.py | 24 Entry: A node corresponding to <entry> elements. 211 self._entries_ordered = [] # list of ordered Entry/Clone instances 296 Entry#__init__ for the keys required/optional. 302 e = Entry(**entry) 359 Generate the graph recursively, after which all Entry nodes will be 770 entries: A sequence of Entry/Clone children. 870 entries: A sequence of Entry/Clone children. 989 parent: An edge to the parent, always an Entry instance. 1014 class Entry(Node): class in inherits:Node 1057 tags: A sequence of Tag nodes associated with this Entry [all...] |
H A D | metadata_helpers.py | 68 entry: an Entry or Clone node 372 if not isinstance(entry, metadata_model.Entry): 373 raise ValueError("Expected entry to be an instance of Entry") 439 entry: An instance of an Entry node 481 entry: an Entry node 652 enum: An enum-typed Entry node 1036 entries: An iterable of Entry nodes 1040 An iterable of Entry nodes 1049 entries: An iterable of Entry nodes 1052 An iterable of Entry node [all...] |