Lines Matching defs:key
35 // is not sufficient to indicate the same information as a TSS key can
71 TSSDtor *get_dtor(unsigned int key) {
72 if (key >= TSS_KEY_COUNT)
75 return units[key].dtor;
78 bool remove_key(unsigned int key) {
79 if (key >= TSS_KEY_COUNT)
82 units[key].reset();
86 bool is_valid_key(unsigned int key) {
88 return units[key].active;
172 bool tss_key_delete(unsigned int key) { return tss_key_mgr.remove_key(key); }
174 bool set_tss_value(unsigned int key, void *val) {
175 if (!tss_key_mgr.is_valid_key(key))
177 tss_values[key] = {val, tss_key_mgr.get_dtor(key)};
181 void *get_tss_value(unsigned int key) {
182 if (key >= TSS_KEY_COUNT)
185 auto &u = tss_values[key];