/external/vboot_reference/tests/ |
D | vboot_api_init_tests.c | 23 static VbNvContext vnc; variable 55 Memset(&vnc, 0, sizeof(vnc)); in ResetMocks() 56 VbNvSetup(&vnc); in ResetMocks() 57 VbNvTeardown(&vnc); /* So CRC gets generated */ in ResetMocks() 83 Memcpy(buf, vnc.raw, sizeof(vnc.raw)); in VbExNvStorageRead() 90 Memcpy(vnc.raw, buf, sizeof(vnc.raw)); in VbExNvStorageWrite() 148 VbNvGet(&vnc, VBNV_RECOVERY_REQUEST, &rr); in TestVbInit() 175 VbNvSet(&vnc, VBNV_RECOVERY_REQUEST, 123); in VbInitTest() 219 VbNvSet(&vnc, VBNV_RECOVERY_REQUEST, 123); in VbInitTest() 220 VbNvTeardown(&vnc); in VbInitTest() [all …]
|
D | vboot_display_tests.c | 25 static VbNvContext vnc; variable 78 Memset(&vnc, 0, sizeof(vnc)); in ResetMocks() 79 VbNvSetup(&vnc); in ResetMocks() 80 VbNvTeardown(&vnc); /* So CRC gets generated */ in ResetMocks() 139 VbDisplayDebugInfo(&cparams, &vnc); in DebugInfoTest() 175 VbCheckDisplayKey(&cparams, 'q', &vnc); in DisplayKeyTest() 180 VbCheckDisplayKey(&cparams, '\t', &vnc); in DisplayKeyTest() 186 VbNvSet(&vnc, VBNV_LOCALIZATION_INDEX, 0); in DisplayKeyTest() 187 VbNvTeardown(&vnc); in DisplayKeyTest() 188 VbCheckDisplayKey(&cparams, VB_KEY_DOWN, &vnc); in DisplayKeyTest() [all …]
|
D | vboot_api_kernel4_tests.c | 26 static VbNvContext vnc; variable 53 Memset(&vnc, 0, sizeof(vnc)); in ResetMocks() 54 VbNvSetup(&vnc); in ResetMocks() 55 VbNvTeardown(&vnc); /* So CRC gets generated */ in ResetMocks() 70 Memcpy(buf, vnc.raw, sizeof(vnc.raw)); in VbExNvStorageRead() 76 Memcpy(vnc.raw, buf, sizeof(vnc.raw)); in VbExNvStorageWrite() 138 VbNvGet(&vnc, VBNV_RECOVERY_REQUEST, &u); in test_slk() 185 VbNvSet(&vnc, VBNV_RECOVERY_REQUEST, 123); in VbSlkTest() 186 VbNvTeardown(&vnc); in VbSlkTest()
|
D | vboot_api_firmware_tests.c | 28 static VbNvContext vnc; variable 59 Memset(&vnc, 0, sizeof(vnc)); in ResetMocks() 60 VbNvSetup(&vnc); in ResetMocks() 61 VbNvTeardown(&vnc); /* So CRC gets generated */ in ResetMocks() 83 Memcpy(buf, vnc.raw, sizeof(vnc.raw)); in VbExNvStorageRead() 89 Memcpy(vnc.raw, buf, sizeof(vnc.raw)); in VbExNvStorageWrite() 126 VbNvContext* vnc) { in LoadFirmware() argument 140 VbNvGet(&vnc, VBNV_RECOVERY_REQUEST, &rr); in TestVbSf()
|
D | vboot_region_tests.c | 24 static VbNvContext vnc; variable 48 Memset(&vnc, 0, sizeof(vnc)); in ResetMocks() 49 VbNvSetup(&vnc); in ResetMocks() 50 VbNvTeardown(&vnc); /* So CRC gets generated */ in ResetMocks() 125 Memcpy(buf, vnc.raw, sizeof(vnc.raw)); in VbExNvStorageRead() 130 Memcpy(vnc.raw, buf, sizeof(vnc.raw)); in VbExNvStorageWrite() 174 VbNvContext *vnc) { in LoadFirmware() argument
|
D | vboot_api_devmode_tests.c | 135 static VbNvContext vnc; variable 160 Memset(&vnc, 0, sizeof(vnc)); in ResetMocks() 161 VbNvSetup(&vnc); in ResetMocks() 162 VbNvTeardown(&vnc); /* So CRC gets generated */ in ResetMocks() 190 Memcpy(buf, vnc.raw, sizeof(vnc.raw)); in VbExNvStorageRead() 195 Memcpy(vnc.raw, buf, sizeof(vnc.raw)); in VbExNvStorageWrite()
|
D | vboot_firmware_tests.c | 26 static VbNvContext vnc; variable 77 Memset(&vnc, 0, sizeof(vnc)); in ResetMocks() 78 VbNvSetup(&vnc); in ResetMocks() 201 TEST_EQ(LoadFirmware(&cparams, &fparams, &vnc), expected_retval, desc); in TestLoadFirmware() 202 VbNvGet(&vnc, VBNV_RECOVERY_REQUEST, &rr); in TestLoadFirmware() 364 VbNvSet(&vnc, VBNV_TRY_B_COUNT, 5); in LoadFirmwareTest() 371 VbNvGet(&vnc, VBNV_TRY_B_COUNT, &u); in LoadFirmwareTest()
|
D | vboot_kernel_tests.c | 58 static VbNvContext vnc; variable 142 memset(&vnc, 0, sizeof(vnc)); in ResetMocks() 143 VbNvSetup(&vnc); in ResetMocks() 144 VbNvTeardown(&vnc); /* So CRC gets generated */ in ResetMocks() 151 lkp.nv_context = &vnc; in ResetMocks() 580 VbNvGet(&vnc, VBNV_RECOVERY_REQUEST, &u); in LoadKernelTest() 594 VbNvGet(&vnc, VBNV_RECOVERY_REQUEST, &u); in LoadKernelTest() 601 VbNvGet(&vnc, VBNV_RECOVERY_REQUEST, &u); in LoadKernelTest() 630 VbNvSet(&vnc, VBNV_DEV_BOOT_SIGNED_ONLY, 1); in LoadKernelTest() 631 VbNvTeardown(&vnc); in LoadKernelTest()
|
/external/vboot_reference/firmware/lib/ |
D | vboot_api_init.c | 25 VbNvContext vnc; in VbInit() local 54 VbExNvStorageRead(vnc.raw); in VbInit() 55 VbNvSetup(&vnc); in VbInit() 56 lost_nvram = vnc.regenerate_crc; in VbInit() 93 VbNvGet(&vnc, VBNV_DEBUG_RESET_MODE, &s3_debug_boot); in VbInit() 106 VbNvSet(&vnc, VBNV_DEBUG_RESET_MODE, 0); in VbInit() 114 VbNvGet(&vnc, VBNV_RECOVERY_REQUEST, &recovery); in VbInit() 117 VbNvSet(&vnc, VBNV_RECOVERY_REQUEST, in VbInit() 178 VbNvGet(&vnc, VBNV_DISABLE_DEV_REQUEST, &disable_dev_request); in VbInit() 185 VbNvGet(&vnc, VBNV_CLEAR_TPM_OWNER_REQUEST, in VbInit() [all …]
|
D | vboot_api_firmware.c | 25 VbNvContext vnc; in VbSelectFirmware() local 38 VbExNvStorageRead(vnc.raw); in VbSelectFirmware() 39 VbNvSetup(&vnc); in VbSelectFirmware() 66 retval = LoadFirmware(cparams, fparams, &vnc); in VbSelectFirmware() 89 VbNvSet(&vnc, VBNV_RECOVERY_REQUEST, in VbSelectFirmware() 100 VbNvSet(&vnc, VBNV_RECOVERY_REQUEST, in VbSelectFirmware() 117 VbNvSet(&vnc, VBNV_RECOVERY_REQUEST, in VbSelectFirmware() 135 VbNvTeardown(&vnc); in VbSelectFirmware() 136 if (vnc.raw_changed) in VbSelectFirmware() 137 VbExNvStorageWrite(vnc.raw); in VbSelectFirmware()
|
D | vboot_api_kernel.c | 24 static VbNvContext vnc; variable 31 return &vnc; in VbApiKernelGetVnc() 41 VbNvSet(&vnc, VBNV_RECOVERY_REQUEST, recovery_request); in VbSetRecoveryRequest() 211 VbCheckDisplayKey(cparams, key, &vnc); in VbUserConfirms() 238 VbNvGet(&vnc, VBNV_DEV_BOOT_USB, &allow_usb); in VbBootDeveloper() 239 VbNvGet(&vnc, VBNV_DEV_BOOT_LEGACY, &allow_legacy); in VbBootDeveloper() 248 VbDisplayScreen(cparams, VB_SCREEN_DEVELOPER_WARNING, 0, &vnc); in VbBootDeveloper() 296 0, &vnc); in VbBootDeveloper() 302 VbNvSet(&vnc, VBNV_DISABLE_DEV_REQUEST, in VbBootDeveloper() 307 0, &vnc); in VbBootDeveloper() [all …]
|
D | vboot_nvstorage_rollback.c | 28 int RestoreNvFromBackup(VbNvContext *vnc) in RestoreNvFromBackup() argument 47 VbNvSet(vnc, backup_params[i], value); in RestoreNvFromBackup() 54 int SaveNvToBackup(VbNvContext *vnc) in SaveNvToBackup() argument 71 VbNvGet(vnc, backup_params[i], &value); in SaveNvToBackup() 80 VbNvSet(vnc, VBNV_BACKUP_NVRAM_REQUEST, 0); in SaveNvToBackup() 86 VbNvSet(vnc, VBNV_BACKUP_NVRAM_REQUEST, 0); in SaveNvToBackup()
|
D | vboot_firmware.c | 42 VbNvContext *vnc) in LoadFirmware() argument 79 VbNvGet(vnc, VBNV_TRY_B_COUNT, &try_b_count); in LoadFirmware() 81 VbNvSet(vnc, VBNV_TRY_B_COUNT, try_b_count - 1); in LoadFirmware() 352 VbNvSet(vnc, VBNV_RECOVERY_REQUEST, VBERROR_SUCCESS != retval ? in LoadFirmware()
|
/external/vboot_reference/host/arch/arm/lib/ |
D | crossystem_arch.c | 347 static int VbReadNvStorage_mosys(VbNvContext* vnc) { in VbReadNvStorage_mosys() argument 361 vnc->raw[i] = strtol(hexdigit, NULL, 16); in VbReadNvStorage_mosys() 366 static int VbWriteNvStorage_mosys(VbNvContext* vnc) { in VbWriteNvStorage_mosys() argument 374 snprintf(hexstring + i * 2, 3, "%02x", vnc->raw[i]); in VbWriteNvStorage_mosys() 381 static int VbReadNvStorage_disk(VbNvContext* vnc) { in VbReadNvStorage_disk() argument 396 if (size != sizeof(vnc->raw) || (size + offset > SECTOR_SIZE)) in VbReadNvStorage_disk() 412 Memcpy(vnc->raw, sector+offset, size); in VbReadNvStorage_disk() 422 static int VbWriteNvStorage_disk(VbNvContext* vnc) { in VbWriteNvStorage_disk() argument 437 if (size != sizeof(vnc->raw) || (size + offset > SECTOR_SIZE)) in VbWriteNvStorage_disk() 453 Memcpy(sector+offset, vnc->raw, size); in VbWriteNvStorage_disk() [all …]
|
/external/llvm-project/llvm/test/CodeGen/SystemZ/ |
D | vec-and-02.ll | 8 ; CHECK: vnc %v24, %v26, %v28 21 ; CHECK: vnc %v24, %v28, %v26 34 ; CHECK: vnc %v24, %v26, %v28 45 ; CHECK: vnc %v24, %v28, %v26 56 ; CHECK: vnc %v24, %v26, %v28 66 ; CHECK: vnc %v24, %v28, %v26 76 ; CHECK: vnc %v24, %v26, %v28 86 ; CHECK: vnc %v24, %v28, %v26
|
/external/llvm/test/CodeGen/SystemZ/ |
D | vec-and-02.ll | 8 ; CHECK: vnc %v24, %v26, %v28 21 ; CHECK: vnc %v24, %v28, %v26 34 ; CHECK: vnc %v24, %v26, %v28 45 ; CHECK: vnc %v24, %v28, %v26 56 ; CHECK: vnc %v24, %v26, %v28 66 ; CHECK: vnc %v24, %v28, %v26 76 ; CHECK: vnc %v24, %v26, %v28 86 ; CHECK: vnc %v24, %v28, %v26
|
/external/vboot_reference/host/lib/include/ |
D | crossystem_arch.h | 49 int VbReadNvStorage(VbNvContext* vnc); 54 int VbWriteNvStorage(VbNvContext* vnc);
|
/external/vboot_reference/host/lib/ |
D | crossystem.c | 114 VbNvContext vnc; in VbSetNvStorage() local 118 if (0 != VbReadNvStorage(&vnc)) in VbSetNvStorage() 121 if (0 != VbNvSetup(&vnc)) in VbSetNvStorage() 123 i = VbNvSet(&vnc, param, (uint32_t)value); in VbSetNvStorage() 124 if (0 != VbNvTeardown(&vnc)) in VbSetNvStorage() 129 if (vnc.raw_changed) { in VbSetNvStorage() 131 if (0 != VbWriteNvStorage(&vnc)) in VbSetNvStorage()
|
/external/vboot_reference/host/arch/mips/lib/ |
D | crossystem_arch.c | 18 int VbReadNvStorage(VbNvContext* vnc) { in VbReadNvStorage() argument 22 int VbWriteNvStorage(VbNvContext* vnc) { in VbWriteNvStorage() argument
|
/external/vboot_reference/utility/ |
D | load_kernel_test.c | 31 static VbNvContext vnc; variable 95 Memset(&vnc, 0, sizeof(VbNvContext)); in main() 96 VbNvSetup(&vnc); in main() 97 lkp.nv_context = &vnc; in main()
|
/external/libiio/src/CI/travis/ |
D | setup_qemu_for_arm.sh | 35 …vnc-jpeg --disable-kvm --disable-lzo --disable-curses --disable-libnfs --disable-numa --disable-op…
|
/external/vboot_reference/firmware/include/ |
D | vboot_nvstorage.h | 319 int RestoreNvFromBackup(VbNvContext *vnc); 329 int SaveNvToBackup(VbNvContext *vnc);
|
/external/autotest/server/site_tests/factory_InstallVM/ |
D | factory_InstallVM.py | 57 if self.vnc: 158 self.vnc = self.parse_boolean(debug_vnc)
|
/external/vboot_reference/host/arch/x86_64/lib/ |
D | crossystem_arch.c | 171 int VbReadNvStorage(VbNvContext* vnc) { in VbReadNvStorage() argument 182 if (0 != VbCmosRead(offs, VBNV_BLOCK_SIZE, vnc->raw)) in VbReadNvStorage() 189 int VbWriteNvStorage(VbNvContext* vnc) { in VbWriteNvStorage() argument 192 if (!vnc->raw_changed) in VbWriteNvStorage() 203 if (0 != VbCmosWrite(offs, VBNV_BLOCK_SIZE, vnc->raw)) in VbWriteNvStorage()
|
/external/vboot_reference/host/arch/x86/lib/ |
D | crossystem_arch.c | 171 int VbReadNvStorage(VbNvContext* vnc) { in VbReadNvStorage() argument 182 if (0 != VbCmosRead(offs, VBNV_BLOCK_SIZE, vnc->raw)) in VbReadNvStorage() 189 int VbWriteNvStorage(VbNvContext* vnc) { in VbWriteNvStorage() argument 192 if (!vnc->raw_changed) in VbWriteNvStorage() 203 if (0 != VbCmosWrite(offs, VBNV_BLOCK_SIZE, vnc->raw)) in VbWriteNvStorage()
|