Home
last modified time | relevance | path

Searched refs:AvbPropertyDescriptor (Results 1 – 6 of 6) sorted by relevance

/external/u-boot/lib/libavb/
Davb_property_descriptor.c10 const AvbPropertyDescriptor* src, AvbPropertyDescriptor* dest) { in avb_property_descriptor_validate_and_byteswap()
13 avb_memcpy(dest, src, sizeof(AvbPropertyDescriptor)); in avb_property_descriptor_validate_and_byteswap()
28 expected_size = sizeof(AvbPropertyDescriptor) - sizeof(AvbDescriptor) + 2; in avb_property_descriptor_validate_and_byteswap()
52 AvbPropertyDescriptor prop_desc; in property_lookup_desc_foreach()
61 (const AvbPropertyDescriptor*)header, &prop_desc)) { in property_lookup_desc_foreach()
66 if (p[sizeof(AvbPropertyDescriptor) + prop_desc.key_num_bytes] != 0) { in property_lookup_desc_foreach()
72 if (avb_memcmp(p + sizeof(AvbPropertyDescriptor), in property_lookup_desc_foreach()
75 data->ret_value = (const char*)(p + sizeof(AvbPropertyDescriptor) + in property_lookup_desc_foreach()
Davb_property_descriptor.h26 typedef struct AvbPropertyDescriptor { struct
30 } AVB_ATTR_PACKED AvbPropertyDescriptor; argument
38 const AvbPropertyDescriptor* src,
39 AvbPropertyDescriptor* dest) AVB_ATTR_WARN_UNUSED_RESULT;
/external/avb/libavb/
Davb_property_descriptor.c29 const AvbPropertyDescriptor* src, AvbPropertyDescriptor* dest) { in avb_property_descriptor_validate_and_byteswap()
32 avb_memcpy(dest, src, sizeof(AvbPropertyDescriptor)); in avb_property_descriptor_validate_and_byteswap()
47 expected_size = sizeof(AvbPropertyDescriptor) - sizeof(AvbDescriptor) + 2; in avb_property_descriptor_validate_and_byteswap()
71 AvbPropertyDescriptor prop_desc; in property_lookup_desc_foreach()
80 (const AvbPropertyDescriptor*)header, &prop_desc)) { in property_lookup_desc_foreach()
85 if (p[sizeof(AvbPropertyDescriptor) + prop_desc.key_num_bytes] != 0) { in property_lookup_desc_foreach()
91 if (avb_memcmp(p + sizeof(AvbPropertyDescriptor), in property_lookup_desc_foreach()
94 data->ret_value = (const char*)(p + sizeof(AvbPropertyDescriptor) + in property_lookup_desc_foreach()
Davb_property_descriptor.h45 typedef struct AvbPropertyDescriptor { struct
49 } AVB_ATTR_PACKED AvbPropertyDescriptor; argument
57 const AvbPropertyDescriptor* src,
58 AvbPropertyDescriptor* dest) AVB_ATTR_WARN_UNUSED_RESULT;
/external/avb/test/
Davb_util_unittest.cc331 AvbPropertyDescriptor h; in TEST_F()
332 AvbPropertyDescriptor s; in TEST_F()
333 AvbPropertyDescriptor bad; in TEST_F()
337 nbf = 40 + sizeof(AvbPropertyDescriptor) - sizeof(AvbDescriptor); in TEST_F()
/external/avb/
Davbtool1140 class AvbPropertyDescriptor(AvbDescriptor): class
1784 AvbPropertyDescriptor, AvbHashtreeDescriptor, AvbHashDescriptor,
2723 desc = AvbPropertyDescriptor()
2732 desc = AvbPropertyDescriptor()