HomeSort by relevance Sort by last modified time
    Searched refs:vb2_offset_of (Results 1 - 11 of 11) sorted by null

  /external/vboot_reference/tests/
vb2_common_tests.c 36 TEST_EQ(vb2_offset_of(p0, ptr), 0, "ptr");
45 TEST_EQ(vb2_offset_of(p0, ptr), 4, "ptr");
75 TEST_EQ(vb2_offset_of(p0, wb.buf), 0, "Workbuf init aligned");
79 TEST_EQ(vb2_offset_of(p0, wb.buf), VB2_WORKBUF_ALIGN,
89 TEST_EQ(vb2_offset_of(p0, ptr), 0, "Workbuf alloc");
90 TEST_EQ(vb2_offset_of(p0, wb.buf), 32, " buf");
100 TEST_EQ(vb2_offset_of(p0, wb.buf), 0, "Workbuf free buf");
107 TEST_EQ(vb2_offset_of(p0, ptr), 0, "Workbuf realloc");
108 TEST_EQ(vb2_offset_of(p0, wb.buf), 32, " buf");
vb20_common_tests.c 58 TEST_EQ((int)vb2_offset_of(p, p), 0, "vb2_offset_of() equal");
59 TEST_EQ((int)vb2_offset_of(p, p+10), 10,
60 "vb2_offset_of() positive");
65 TEST_EQ((int)vb2_offset_of(&k, vb2_packed_key_data(&k)),
71 TEST_EQ((int)vb2_offset_of(&k, vb2_packed_key_data(&k)), 123,
77 TEST_EQ((int)vb2_offset_of(&s, vb2_signature_data(&s)),
83 TEST_EQ((int)vb2_offset_of(&s, vb2_signature_data(&s)), 123,
vb20_misc_tests.c 87 sd->gbb_rootkey_offset = vb2_offset_of(&mock_gbb, &mock_gbb.rootkey);
93 vb2_offset_of(&mock_gbb.rootkey,
101 vb2_offset_of(&mock_vblock.k, &mock_vblock.k.data_key_data) -
102 vb2_offset_of(&mock_vblock.k, &kb->data_key);
vb21_misc_tests.c 90 sd->gbb_rootkey_offset = vb2_offset_of(&mock_gbb, &mock_gbb.rootkey);
96 vb2_offset_of(&mock_gbb.rootkey,
101 kb->key_offset = vb2_offset_of(&mock_vblock.k.kb,
  /external/vboot_reference/firmware/2lib/include/
2common.h 161 ptrdiff_t vb2_offset_of(const void *base, const void *ptr);
  /external/vboot_reference/firmware/lib20/
misc.c 116 sd->workbuf_data_key_offset = vb2_offset_of(ctx->workbuf, key_data);
219 sd->workbuf_preamble_offset = vb2_offset_of(ctx->workbuf, pre);
api.c 74 sd->workbuf_hash_offset = vb2_offset_of(ctx->workbuf, dc);
common.c 25 const ptrdiff_t member_offs = vb2_offset_of(parent, member);
  /external/vboot_reference/firmware/lib21/
api.c 85 sd->workbuf_hash_offset = vb2_offset_of(ctx->workbuf, dc);
90 sd->hash_tag = vb2_offset_of(ctx->workbuf, sig);
misc.c 143 sd->workbuf_data_key_offset = vb2_offset_of(ctx->workbuf, key_data);
231 sd->workbuf_preamble_offset = vb2_offset_of(ctx->workbuf, pre);
  /external/vboot_reference/firmware/2lib/
2common.c 113 ptrdiff_t vb2_offset_of(const void *base, const void *ptr) function

Completed in 409 milliseconds