HomeSort by relevance Sort by last modified time
    Searched refs:tag_type (Results 1 - 25 of 37) sorted by null

1 2

  /hardware/interfaces/keymaster/3.0/vts/functional/
keystore_tags_utils.cpp 28 template <TagType tag_type, Tag tag>
29 static TypedTag<tag_type, tag> chooseString(TypedTag<tag_type, tag> ttag, Tag runtime_tag,
keymaster_tags.h 86 template <TagType tag_type, Tag tag> struct TypedTag {
89 // 'tag_type'. Attempting to instantiate a tag with the wrong type will result in a compile
91 static_assert(typeFromTag(tag) == tag_type, "mismatch between tag and tag_type");
180 #define MAKE_TAG_VALUE_ACCESSOR(tag_type, field_name) \
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) \
228 template <TagType tag_type, Tag tag, typename ValueT>
229 inline KeyParameter makeKeyParameter(TypedTag<tag_type, tag> ttag, ValueT&& value)
    [all...]
authorization_set.cpp 259 template <TagType tag_type, Tag tag, typename... Tail>
260 struct choose_serializer<TypedTag<tag_type, tag>, Tail...> {
263 return V3_0::serialize(TypedTag<tag_type, tag>(), out, param);
358 template <TagType tag_type, Tag tag, typename... Tail>
359 struct choose_deserializer<TypedTag<tag_type, tag>, Tail...> {
362 return V3_0::deserialize(TypedTag<tag_type, tag>(), in, param);
  /hardware/libhardware/modules/camera/3_0/
Metadata.cpp 110 bool Metadata::validate(uint32_t tag, int tag_type, int count)
116 if (tag_type < 0 || tag_type >= NUM_TYPES) {
117 ALOGE("%s: Invalid metadata entry tag type: %d", __func__, tag_type);
120 if (tag_type != get_camera_metadata_tag_type(tag)) {
122 camera_metadata_type_names[tag_type], tag_type);
138 int tag_type = get_camera_metadata_tag_type(tag); local
139 size_t size = calculate_camera_metadata_entry_data_size(tag_type, count);
Metadata.h 53 bool validate(uint32_t tag, int tag_type, int count);
  /hardware/libhardware/modules/usbcamera/
Metadata.cpp 99 bool Metadata::validate(uint32_t tag, int tag_type, int count) {
104 if (tag_type < 0 || tag_type >= NUM_TYPES) {
105 ALOGE("%s: Invalid metadata entry tag type: %d", __func__, tag_type);
108 if (tag_type != get_camera_metadata_tag_type(tag)) {
110 camera_metadata_type_names[tag_type], tag_type);
128 int tag_type = get_camera_metadata_tag_type(tag); local
129 size_t size = calculate_camera_metadata_entry_data_size(tag_type, count);
Metadata.h 53 bool validate(uint32_t tag, int tag_type, int count);
  /system/keymaster/include/keymaster/
keymaster_tags.h 80 template <keymaster_tag_type_t tag_type> struct TagValueType {};
97 template <keymaster_tag_type_t tag_type, keymaster_tag_t tag> class TypedTag {
99 typedef typename TagValueType<tag_type>::value_type value_type;
103 // 'tag_type'. Attempting to instantiate a tag with the wrong type will result in a compile
105 StaticAssert<(tag & tag_type) == tag_type>::check();
106 StaticAssert<(tag_type != KM_ENUM) && (tag_type != KM_ENUM_REP)>::check();
112 template <keymaster_tag_type_t tag_type, keymaster_tag_t tag, typename KeymasterEnum>
119 // 'tag_type'. Attempting to instantiate a tag with the wrong type will result in a compil
    [all...]
  /hardware/interfaces/keymaster/4.0/support/include/keymasterV4_0/
keymaster_tags.h 86 template <TagType tag_type, Tag tag>
90 // 'tag_type'. Attempting to instantiate a tag with the wrong type will result in a compile
92 static_assert(typeFromTag(tag) == tag_type, "mismatch between tag and tag_type");
171 #define MAKE_TAG_VALUE_ACCESSOR(tag_type, field_name) \
173 struct TypedTag2ValueType<TypedTag<tag_type, tag>> { \
177 inline auto accessTagValue(TypedTag<tag_type, tag>, const KeyParameter& param) \
182 inline auto accessTagValue(TypedTag<tag_type, tag>, KeyParameter& param) \
220 template <TagType tag_type, Tag tag, typename ValueT>
221 inline KeyParameter makeKeyParameter(TypedTag<tag_type, tag> ttag, ValueT&& value)
    [all...]
authorization_set.h 163 template <TagType tag_type, Tag tag, typename ValueT>
164 bool Contains(TypedTag<tag_type, tag> ttag, const ValueT& value) const {
  /system/keymaster/ng/include/
keymaster_tags.h 107 template <TagType tag_type, Tag tag> struct TypedTag {
110 // 'tag_type'. Attempting to instantiate a tag with the wrong type will result in a compile
112 static_assert(typeFromTag(tag) == tag_type, "mismatch between tag and tag_type");
198 #define MAKE_TAG_VALUE_ACCESSOR(tag_type, field_name) \
199 template <Tag tag> struct TypedTag2ValueType<TypedTag<tag_type, tag>> { \
203 inline auto accessTagValue(TypedTag<tag_type, tag>, const KeyParameter& param) \
208 inline auto accessTagValue(TypedTag<tag_type, tag>, KeyParameter& param) \
246 template <TagType tag_type, Tag tag, typename ValueT>
247 inline KeyParameter makeKeyParameter(TypedTag<tag_type, tag> ttag, ValueT&& value)
    [all...]
authorization_set.h 162 template <TagType tag_type, Tag tag, typename ValueT>
163 bool Contains(TypedTag<tag_type, tag> ttag, const ValueT& value) const {
  /external/tcpdump/
print-pppoe.c 135 u_short tag_type = 0xffff, tag_len; local
141 * tag_type is previous tag or 0xffff for first iteration
143 while (tag_type && p < pppoe_payload + pppoe_length) {
145 tag_type = EXTRACT_16BITS(p);
170 tok2str(pppoetag2str, "TAG-0x%x", tag_type),
176 ND_PRINT((ndo, " [%s 0x", tok2str(pppoetag2str, "TAG-0x%x", tag_type)));
186 "TAG-0x%x", tag_type)));
  /external/syslinux/gpxe/src/interface/smbios/
smbios_settings.c 80 unsigned int tag_type; local
87 tag_type = ( ( setting->tag >> 16 ) & 0xff );
94 if ( ( rc = find_smbios_structure ( tag_type, &structure ) ) != 0 )
  /external/clang/test/Sema/
gnu-flags.c 155 short tag_type; member in struct:vst
struct-decl.c 28 short tag_type; member in struct:pppoe_tag
  /system/media/camera/tests/
camera_metadata_tests_fake_vendor.h 65 uint8_t tag_type; member in struct:vendor_tag_info
159 return fakevendor_tag_info[tag_section][tag_index].tag_type;
  /bionic/libc/kernel/uapi/linux/
if_pppox.h 83 __be16 tag_type; member in struct:pppoe_tag
  /external/kernel-headers/original/uapi/linux/
if_pppox.h 123 __be16 tag_type; member in struct:pppoe_tag
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/linux/
if_pppox.h 107 __be16 tag_type; member in struct:pppoe_tag
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/sys/
acl.h 107 extern int acl_set_tag_type(acl_entry_t entry_d, acl_tag_t tag_type);
  /external/protobuf/python/google/protobuf/internal/
wire_format_test.py 50 tag_type = 2
51 self.assertEqual((field_number << 3) | tag_type,
52 wire_format.PackTag(field_number, tag_type))
  /hardware/interfaces/keymaster/4.0/support/
authorization_set.cpp 254 template <TagType tag_type, Tag tag, typename... Tail>
255 struct choose_serializer<TypedTag<tag_type, tag>, Tail...> {
258 return V4_0::serialize(TypedTag<tag_type, tag>(), out, param);
358 template <TagType tag_type, Tag tag, typename... Tail>
359 struct choose_deserializer<TypedTag<tag_type, tag>, Tail...> {
362 return V4_0::deserialize(TypedTag<tag_type, tag>(), in, param);
  /system/security/keystore/
authorization_set.cpp 262 template <TagType tag_type, Tag tag, typename... Tail>
263 struct choose_serializer<TypedTag<tag_type, tag>, Tail...> {
266 return keystore::serialize(TypedTag<tag_type, tag>(), out, param);
368 template <TagType tag_type, Tag tag, typename... Tail>
369 struct choose_deserializer<TypedTag<tag_type, tag>, Tail...> {
372 return keystore::deserialize(TypedTag<tag_type, tag>(), in, param);
  /device/google/marlin/camera/QCamera2/HAL3/
QCamera3VendorTags.cpp 61 uint8_t tag_type; member in struct:qcamera::vendor_tag_info
481 ret = qcamera3_tag_info[section_index][tag_index].tag_type;

Completed in 385 milliseconds

1 2