Home
last modified time | relevance | path

Searched refs:fparams (Results 1 – 8 of 8) sorted by relevance

/external/vboot_reference/tests/
Dvboot_api_firmware_tests.c26 static VbSelectFirmwareParams fparams; variable
52 Memset(&fparams, 0, sizeof(fparams)); in ResetMocks()
125 int LoadFirmware(VbCommonParams* cparams, VbSelectFirmwareParams* fparams, in LoadFirmware() argument
139 TEST_EQ(VbSelectFirmware(&cparams, &fparams), expected_retval, desc); in TestVbSf()
171 TEST_EQ(fparams.selected_firmware, VB_SELECT_FIRMWARE_RECOVERY, in VbSelectFirmwareTest()
181 TEST_EQ(fparams.selected_firmware, VB_SELECT_FIRMWARE_RECOVERY, in VbSelectFirmwareTest()
196 TEST_EQ(fparams.selected_firmware, VB_SELECT_FIRMWARE_READONLY, in VbSelectFirmwareTest()
201 TEST_EQ(fparams.selected_firmware, VB_SELECT_FIRMWARE_A, " select A"); in VbSelectFirmwareTest()
205 TEST_EQ(fparams.selected_firmware, VB_SELECT_FIRMWARE_B, " select B"); in VbSelectFirmwareTest()
Dvboot_region_tests.c25 static VbSelectFirmwareParams fparams; variable
56 Memset(&fparams, 0, sizeof(fparams)); in ResetMocks()
173 int LoadFirmware(VbCommonParams *cparams, VbSelectFirmwareParams *fparams, in LoadFirmware() argument
186 TEST_EQ(VbSelectFirmware(&cparams, &fparams), VBERROR_SUCCESS, in VbRegionReadTest()
Dvboot_firmware_tests.c23 static VbSelectFirmwareParams fparams; variable
52 Memset(&fparams, 0, sizeof(fparams)); in ResetMocks()
53 fparams.verification_block_A = vblock; in ResetMocks()
54 fparams.verification_size_A = sizeof(VbKeyBlockHeader); in ResetMocks()
55 fparams.verification_block_B = vblock + 1; in ResetMocks()
56 fparams.verification_size_B = sizeof(VbKeyBlockHeader); in ResetMocks()
201 TEST_EQ(LoadFirmware(&cparams, &fparams, &vnc), expected_retval, desc); in TestLoadFirmware()
/external/vboot_reference/firmware/lib/
Dvboot_api_firmware.c21 VbSelectFirmwareParams *fparams) in VbSelectFirmware() argument
58 fparams->selected_firmware = VB_SELECT_FIRMWARE_RECOVERY; in VbSelectFirmware()
66 retval = LoadFirmware(cparams, fparams, &vnc); in VbSelectFirmware()
75 fparams->selected_firmware = in VbSelectFirmware()
78 fparams->selected_firmware = VB_SELECT_FIRMWARE_A; in VbSelectFirmware()
80 fparams->selected_firmware = VB_SELECT_FIRMWARE_B; in VbSelectFirmware()
Dvboot_firmware.c41 int LoadFirmware(VbCommonParams *cparams, VbSelectFirmwareParams *fparams, in LoadFirmware() argument
105 fparams->verification_block_A; in LoadFirmware()
106 vblock_size = fparams->verification_size_A; in LoadFirmware()
110 fparams->verification_block_B; in LoadFirmware()
111 vblock_size = fparams->verification_size_B; in LoadFirmware()
/external/mesa3d/src/mesa/main/
Dtexparam.c833 GLfloat fparams[4]; in _mesa_TexParameteriv() local
834 fparams[0] = INT_TO_FLOAT(params[0]); in _mesa_TexParameteriv()
835 fparams[1] = INT_TO_FLOAT(params[1]); in _mesa_TexParameteriv()
836 fparams[2] = INT_TO_FLOAT(params[2]); in _mesa_TexParameteriv()
837 fparams[3] = INT_TO_FLOAT(params[3]); in _mesa_TexParameteriv()
838 need_update = set_tex_parameterf(ctx, texObj, pname, fparams); in _mesa_TexParameteriv()
849 GLfloat fparams[4]; in _mesa_TexParameteriv() local
850 fparams[0] = (GLfloat) params[0]; in _mesa_TexParameteriv()
851 fparams[1] = fparams[2] = fparams[3] = 0.0F; in _mesa_TexParameteriv()
852 need_update = set_tex_parameterf(ctx, texObj, pname, fparams); in _mesa_TexParameteriv()
[all …]
/external/vboot_reference/firmware/lib/include/
Dload_firmware_fw.h26 int LoadFirmware(VbCommonParams *cparams, VbSelectFirmwareParams *fparams,
/external/vboot_reference/firmware/include/
Dvboot_api.h368 VbSelectFirmwareParams *fparams);