/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() 169 static int cmdline_append_version(AvbSlotVerifyData* slot_data, in cmdline_append_version() argument 185 return cmdline_append_option(slot_data, key, combined); in cmdline_append_version() 188 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() 894 avb_assert(slot_data->num_vbmeta_images == 0); in load_and_verify_vbmeta() [all …]
|
D | avb_cmdline.h | 66 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-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/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/llvm-project/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/ |
D | AppleObjCRuntimeV2.cpp | 2303 uintptr_t slot_data = process->ReadPointerFromMemory(slot_ptr, error); in GetClassDescriptor() local 2304 if (error.Fail() || slot_data == 0 || in GetClassDescriptor() 2305 slot_data == uintptr_t(LLDB_INVALID_ADDRESS)) in GetClassDescriptor() 2308 m_runtime.GetClassDescriptorFromISA((ObjCISA)slot_data); in GetClassDescriptor() 2391 uintptr_t slot_data = process->ReadPointerFromMemory(slot_ptr, error); in GetClassDescriptor() local 2392 if (error.Fail() || slot_data == 0 || in GetClassDescriptor() 2393 slot_data == uintptr_t(LLDB_INVALID_ADDRESS)) in GetClassDescriptor() 2396 m_runtime.GetClassDescriptorFromISA((ObjCISA)slot_data); in GetClassDescriptor()
|
/external/avb/ |
D | avbtool.py | 2367 def set_ab_metadata(self, misc_image, slot_data): argument 2380 tokens = slot_data.split(':') 2382 raise AvbError('Malformed slot data "{}".'.format(slot_data)) 4808 self.avb.set_ab_metadata(args.misc_image, args.slot_data)
|
D | avbtool | 2367 def set_ab_metadata(self, misc_image, slot_data): argument 2380 tokens = slot_data.split(':') 2382 raise AvbError('Malformed slot data "{}".'.format(slot_data)) 4808 self.avb.set_ab_metadata(args.misc_image, args.slot_data)
|
D | README.md | 865 // The |slot_data| parameter should be the AvbSlotVerifyData returned 869 AvbSlotVerifyData* slot_data) { 871 uint64_t rollback_index = slot_data->rollback_indexes[n];
|