/external/avb/test/ |
D | avb_slot_verify_unittest.cc | 66 AvbSlotVerifyData* slot_data = NULL; in TEST_F() local 74 &slot_data)); in TEST_F() 75 EXPECT_NE(nullptr, slot_data); in TEST_F() 85 std::string(slot_data->cmdline)); in TEST_F() 88 slot_data, AVB_DIGEST_TYPE_SHA256, vbmeta_digest); in TEST_F() 91 avb_slot_verify_data_free(slot_data); in TEST_F() 107 AvbSlotVerifyData* slot_data = NULL; in TEST_F() local 115 &slot_data)); in TEST_F() 116 EXPECT_NE(nullptr, slot_data); in TEST_F() 127 std::string(slot_data->cmdline)); in TEST_F() [all …]
|
D | avb_atx_slot_verify_unittest.cc | 117 AvbSlotVerifyData* slot_data = NULL; in RunSlotVerify() local 124 &slot_data, in RunSlotVerify() 127 EXPECT_NE(nullptr, slot_data); in RunSlotVerify() 128 avb_slot_verify_data_free(slot_data); in RunSlotVerify()
|
D | avb_atx_validate_unittest.cc | 1030 AvbSlotVerifyData* slot_data = NULL; in TEST_F() local 1038 &slot_data)); in TEST_F() 1039 EXPECT_NE(nullptr, slot_data); in TEST_F() 1040 avb_slot_verify_data_free(slot_data); in TEST_F()
|
/external/avb/libavb/ |
D | avb_cmdline.c | 133 static int cmdline_append_option(AvbSlotVerifyData* slot_data, in cmdline_append_option() argument 143 if (slot_data->cmdline != NULL) { in cmdline_append_option() 144 offset = avb_strlen(slot_data->cmdline); in cmdline_append_option() 155 avb_memcpy(new_cmdline, slot_data->cmdline, offset - 1); in cmdline_append_option() 161 if (slot_data->cmdline != NULL) { in cmdline_append_option() 162 avb_free(slot_data->cmdline); in cmdline_append_option() 164 slot_data->cmdline = new_cmdline; in cmdline_append_option() 193 static int cmdline_append_version(AvbSlotVerifyData* slot_data, in cmdline_append_version() argument 209 return cmdline_append_option(slot_data, key, combined); in cmdline_append_version() 212 static int cmdline_append_uint64_base10(AvbSlotVerifyData* slot_data, in cmdline_append_uint64_base10() argument [all …]
|
D | avb_slot_verify.c | 284 AvbSlotVerifyData* slot_data) { in load_and_verify_hash_partition() argument 460 if (slot_data->num_loaded_partitions == MAX_NUMBER_OF_LOADED_PARTITIONS) { in load_and_verify_hash_partition() 466 &slot_data->loaded_partitions[slot_data->num_loaded_partitions++]; in load_and_verify_hash_partition() 485 AvbSlotVerifyData* slot_data) { in load_requested_partitions() argument 526 if (slot_data->num_loaded_partitions == MAX_NUMBER_OF_LOADED_PARTITIONS) { in load_requested_partitions() 532 &slot_data->loaded_partitions[slot_data->num_loaded_partitions++]; in load_requested_partitions() 569 AvbSlotVerifyData* slot_data, in load_and_verify_vbmeta() argument 593 avb_assert(slot_data != NULL); in load_and_verify_vbmeta() 723 slot_data, in load_and_verify_vbmeta() 891 avb_assert(slot_data->num_vbmeta_images == 0); in load_and_verify_vbmeta() [all …]
|
D | avb_cmdline.h | 66 AvbSlotVerifyData* slot_data,
|
/external/u-boot/lib/libavb/ |
D | avb_cmdline.c | 114 static int cmdline_append_option(AvbSlotVerifyData* slot_data, in cmdline_append_option() argument 124 if (slot_data->cmdline != NULL) { in cmdline_append_option() 125 offset = avb_strlen(slot_data->cmdline); in cmdline_append_option() 136 avb_memcpy(new_cmdline, slot_data->cmdline, offset - 1); in cmdline_append_option() 142 if (slot_data->cmdline != NULL) { in cmdline_append_option() 143 avb_free(slot_data->cmdline); in cmdline_append_option() 145 slot_data->cmdline = new_cmdline; in cmdline_append_option() 174 static int cmdline_append_version(AvbSlotVerifyData* slot_data, in cmdline_append_version() argument 190 return cmdline_append_option(slot_data, key, combined); in cmdline_append_version() 193 static int cmdline_append_uint64_base10(AvbSlotVerifyData* slot_data, in cmdline_append_uint64_base10() argument [all …]
|
D | avb_slot_verify.c | 265 AvbSlotVerifyData* slot_data) { in load_and_verify_hash_partition() argument 441 if (slot_data->num_loaded_partitions == MAX_NUMBER_OF_LOADED_PARTITIONS) { in load_and_verify_hash_partition() 447 &slot_data->loaded_partitions[slot_data->num_loaded_partitions++]; in load_and_verify_hash_partition() 466 AvbSlotVerifyData* slot_data) { in load_requested_partitions() argument 507 if (slot_data->num_loaded_partitions == MAX_NUMBER_OF_LOADED_PARTITIONS) { in load_requested_partitions() 513 &slot_data->loaded_partitions[slot_data->num_loaded_partitions++]; in load_requested_partitions() 550 AvbSlotVerifyData* slot_data, in load_and_verify_vbmeta() argument 574 avb_assert(slot_data != NULL); in load_and_verify_vbmeta() 704 slot_data, in load_and_verify_vbmeta() 872 avb_assert(slot_data->num_vbmeta_images == 0); in load_and_verify_vbmeta() [all …]
|
D | avb_cmdline.h | 47 AvbSlotVerifyData* slot_data,
|
/external/avb/examples/uefi/ |
D | main.c | 37 AvbSlotVerifyData* slot_data; in efi_main() local 73 &slot_data); in efi_main() 81 avb_printv("slot_suffix: ", slot_data->ab_suffix, "\n", NULL); in efi_main() 82 avb_printv("cmdline: ", slot_data->cmdline, "\n", NULL); in efi_main() 85 (const char*)((((AvbVBMetaImageHeader*)(slot_data->vbmeta_images[0] in efi_main() 96 slot_data->ab_suffix + 1, in efi_main() 99 slot_data->ab_suffix, in efi_main() 105 uefi_avb_boot_kernel(ImageHandle, slot_data, additional_cmdline); in efi_main() 110 avb_slot_verify_data_free(slot_data); in efi_main()
|
D | uefi_avb_boot.c | 117 AvbSlotVerifyData* slot_data, in uefi_avb_boot_kernel() argument 137 if (slot_data->num_loaded_partitions != 1) { in uefi_avb_boot_kernel() 143 boot = &slot_data->loaded_partitions[0]; in uefi_avb_boot_kernel() 211 cmdline_second_len = avb_strlen(slot_data->cmdline); in uefi_avb_boot_kernel() 233 avb_memcpy(cmdline_utf8 + offset, slot_data->cmdline, cmdline_second_len); in uefi_avb_boot_kernel()
|
D | uefi_avb_boot.h | 59 AvbSlotVerifyData* slot_data,
|
/external/avb/libavb_ab/ |
D | avb_ab_flow.c | 211 AvbSlotVerifyData* slot_data[2] = {NULL, NULL}; in avb_ab_flow() local 239 &slot_data[n]); in avb_ab_flow() 324 if (slot_data[0] != NULL && slot_data[1] != NULL) { in avb_ab_flow() 325 uint64_t a_rollback_index = slot_data[0]->rollback_indexes[n]; in avb_ab_flow() 326 uint64_t b_rollback_index = slot_data[1]->rollback_indexes[n]; in avb_ab_flow() 330 } else if (slot_data[0] != NULL) { in avb_ab_flow() 331 rollback_index_value = slot_data[0]->rollback_indexes[n]; in avb_ab_flow() 332 } else if (slot_data[1] != NULL) { in avb_ab_flow() 333 rollback_index_value = slot_data[1]->rollback_indexes[n]; in avb_ab_flow() 362 avb_assert(slot_data[slot_index_to_boot] != NULL); in avb_ab_flow() [all …]
|
/external/strace/tests/ |
D | kcmp.c | 161 static const struct kcmp_epoll_slot slot_data[] = { in main() local 219 for (i = 0; i < ARRAY_SIZE(slot_data); i++) { in main() 220 memcpy(slot, slot_data + i, sizeof(*slot)); in main()
|
/external/strace/tests-m32/ |
D | kcmp.c | 161 static const struct kcmp_epoll_slot slot_data[] = { in main() local 219 for (i = 0; i < ARRAY_SIZE(slot_data); i++) { in main() 220 memcpy(slot, slot_data + i, sizeof(*slot)); in main()
|
/external/strace/tests-mx32/ |
D | kcmp.c | 161 static const struct kcmp_epoll_slot slot_data[] = { in main() local 219 for (i = 0; i < ARRAY_SIZE(slot_data); i++) { in main() 220 memcpy(slot, slot_data + i, sizeof(*slot)); in main()
|
/external/autotest/client/site_tests/firmware_TouchMTB/ |
D | mtb.py | 159 for slot_data in sm.get_snapshot(): 160 syn_time, slot, tid, point, pressure = slot_data 484 slot_data = [self.syn_time, slot, tid, 486 slots_data.append(slot_data)
|
/external/avb/ |
D | avbtool.py | 2295 def set_ab_metadata(self, misc_image, slot_data): argument 2308 tokens = slot_data.split(':') 2310 raise AvbError('Malformed slot data "{}".'.format(slot_data)) 4588 self.avb.set_ab_metadata(args.misc_image, args.slot_data)
|
D | avbtool | 2295 def set_ab_metadata(self, misc_image, slot_data): argument 2308 tokens = slot_data.split(':') 2310 raise AvbError('Malformed slot data "{}".'.format(slot_data)) 4588 self.avb.set_ab_metadata(args.misc_image, args.slot_data)
|
D | README.md | 828 // The |slot_data| parameter should be the AvbSlotVerifyData returned 832 AvbSlotVerifyData* slot_data) { 834 uint64_t rollback_index = slot_data->rollback_indexes[n];
|