Lines Matching defs:dtor
34 // Indicates whether is unit is active. Presence of a non-null dtor
39 TSSDtor *dtor = nullptr;
42 constexpr TSSKeyUnit(TSSDtor *d) : active(true), dtor(d) {}
46 dtor = nullptr;
59 cpp::optional<unsigned int> new_key(TSSDtor *dtor) {
64 u = {dtor};
75 return units[key].dtor;
97 TSSDtor *dtor = nullptr;
101 : active(true), payload(p), dtor(d) {}
160 // Both dtor and value need to nonnull to call dtor
161 if (unit.dtor != nullptr && unit.payload != nullptr)
162 unit.dtor(unit.payload);
168 cpp::optional<unsigned int> new_tss_key(TSSDtor *dtor) {
169 return tss_key_mgr.new_key(dtor);