Home
last modified time | relevance | path

Searched refs:expect_size (Results 1 – 4 of 4) sorted by relevance

/external/vboot_reference/tests/
Dvb20_verify_fw.c91 uint32_t expect_size; in hash_body() local
101 rv = vb2api_init_hash(ctx, VB2_HASH_TAG_FW_BODY, &expect_size); in hash_body()
105 printf("Expect %d bytes of body...\n", expect_size); in hash_body()
108 while (expect_size) { in hash_body()
110 if (size > expect_size) in hash_body()
111 size = expect_size; in hash_body()
123 expect_size -= size; in hash_body()
/external/mesa3d/src/mesa/main/
Dtexcompress_cpal.c117 unsigned w, h, expect_size; in _mesa_cpal_compressed_size() local
127 expect_size = info->palette_size * info->size; in _mesa_cpal_compressed_size()
137 expect_size += (w * h + 1) / 2; in _mesa_cpal_compressed_size()
139 expect_size += w * h; in _mesa_cpal_compressed_size()
142 return expect_size; in _mesa_cpal_compressed_size()
/external/vboot_reference/host/arch/x86_64/lib/
Dcrossystem_arch.c312 int expect_size; in VbSharedDataRead() local
321 expect_size = VB_SHARED_DATA_HEADER_SIZE_V1; in VbSharedDataRead()
324 expect_size = sizeof(VbSharedDataHeader); in VbSharedDataRead()
327 if (got_size < expect_size) { in VbSharedDataRead()
/external/vboot_reference/host/arch/x86/lib/
Dcrossystem_arch.c312 int expect_size; in VbSharedDataRead() local
321 expect_size = VB_SHARED_DATA_HEADER_SIZE_V1; in VbSharedDataRead()
324 expect_size = sizeof(VbSharedDataHeader); in VbSharedDataRead()
327 if (got_size < expect_size) { in VbSharedDataRead()