Home | History | Annotate | Download | only in functional

Lines Matching defs:TypedTag

31  * to which Tag. Central to this mechanism is the template TypedTag. It has zero size and binds a
81 * TypedTag is a templatized version of Tag, which provides compile-time checking of keymaster tag
86 template <TagType tag_type, Tag tag> struct TypedTag {
87 inline TypedTag() {
88 // Ensure that it's impossible to create a TypedTag instance whose 'tag' doesn't have type
99 template <Tag tag> struct Tag2TypedTag { typedef TypedTag<typeFromTag(tag), tag> type; };
181 template <Tag tag> struct TypedTag2ValueType<TypedTag<tag_type, tag>> { \
185 inline auto accessTagValue(TypedTag<tag_type, tag>, const KeyParameter& param) \
190 inline auto accessTagValue(TypedTag<tag_type, tag>, KeyParameter& param) \
229 inline KeyParameter makeKeyParameter(TypedTag<tag_type, tag> ttag, ValueT&& value) {
238 template <Tag tag> inline KeyParameter makeKeyParameter(TypedTag<TagType::BOOL, tag>) {
254 inline KeyParameter Authorization(TypedTag<tag_type, tag> ttag, Args&&... args) {
262 typename TypedTag2ValueType<TypedTag<tag_type, tag>>::type>::value,
327 inline NullOr<const typename TypedTag2ValueType<TypedTag<tag_type, tag>>::type&>
328 authorizationValue(TypedTag<tag_type, tag> ttag, const KeyParameter& param) {