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/vboot_reference/firmware/lib/include/
Dload_firmware_fw.h26 int LoadFirmware(VbCommonParams *cparams, VbSelectFirmwareParams *fparams,
/external/mesa3d/src/mesa/main/
Dtexparam.c942 GLfloat fparams[4]; in _mesa_texture_parameteriv() local
943 fparams[0] = INT_TO_FLOAT(params[0]); in _mesa_texture_parameteriv()
944 fparams[1] = INT_TO_FLOAT(params[1]); in _mesa_texture_parameteriv()
945 fparams[2] = INT_TO_FLOAT(params[2]); in _mesa_texture_parameteriv()
946 fparams[3] = INT_TO_FLOAT(params[3]); in _mesa_texture_parameteriv()
947 need_update = set_tex_parameterf(ctx, texObj, pname, fparams, dsa); in _mesa_texture_parameteriv()
958 GLfloat fparams[4]; in _mesa_texture_parameteriv() local
959 fparams[0] = (GLfloat) params[0]; in _mesa_texture_parameteriv()
960 fparams[1] = fparams[2] = fparams[3] = 0.0F; in _mesa_texture_parameteriv()
961 need_update = set_tex_parameterf(ctx, texObj, pname, fparams, dsa); in _mesa_texture_parameteriv()
/external/vboot_reference/firmware/include/
Dvboot_api.h368 VbSelectFirmwareParams *fparams);