Home
last modified time | relevance | path

Searched refs:gbb_used (Results 1 – 2 of 2) sorted by relevance

/external/vboot_reference/tests/
Dvboot_region_tests.c46 int gbb_used; in ResetMocks() local
63 gbb_used = sizeof(GoogleBinaryBlockHeader); in ResetMocks()
65 gbb->hwid_offset = gbb_used; in ResetMocks()
68 gbb_used = (gbb_used + gbb->hwid_size + 7) & ~7; in ResetMocks()
70 gbb->bmpfv_offset = gbb_used; in ResetMocks()
73 gbb_used = (gbb_used + gbb->bmpfv_size + 7) & ~7; in ResetMocks()
80 layout = (ScreenLayout *)(gbb_data + gbb_used); in ResetMocks()
81 gbb_used += sizeof(*layout); in ResetMocks()
83 layout->images[0].image_info_offset = gbb_used - gbb->bmpfv_offset; in ResetMocks()
86 image_info = (ImageInfo *)(gbb_data + gbb_used); in ResetMocks()
[all …]
Dvboot_display_tests.c36 int gbb_used; in ResetMocks() local
42 gbb_used = sizeof(GoogleBinaryBlockHeader); in ResetMocks()
44 gbb->hwid_offset = gbb_used; in ResetMocks()
47 gbb_used = (gbb_used + gbb->hwid_size + 7) & ~7; in ResetMocks()
49 gbb->bmpfv_offset = gbb_used; in ResetMocks()
52 gbb_used = (gbb_used + gbb->bmpfv_size + 7) & ~7; in ResetMocks()
70 gbb->rootkey_offset = gbb_used; in ResetMocks()
72 gbb_used += 64; in ResetMocks()
73 gbb->recovery_key_offset = gbb_used; in ResetMocks()
75 gbb_used += 64; in ResetMocks()