Home
last modified time | relevance | path

Searched refs:TEST_PTR_EQ (Results 1 – 16 of 16) sorted by relevance

/external/vboot_reference/tests/
Dstateful_util_tests.c31 TEST_PTR_EQ(buf, s.remaining_buf, "StatefulInit() buf"); in StatefulInitTest()
42 TEST_PTR_EQ(&s, StatefulSkip(&s, 5), "StatefulSkip(5) retval"); in StatefulSkipTest()
44 TEST_PTR_EQ(buf + 5, s.remaining_buf, "StatefulSkip(5) buf"); in StatefulSkipTest()
49 TEST_PTR_EQ(&s, StatefulSkip(&s, 128), "StatefulSkip(all) retval"); in StatefulSkipTest()
51 TEST_PTR_EQ(buf + 128, s.remaining_buf, "StatefulSkip(all) buf"); in StatefulSkipTest()
55 TEST_PTR_EQ(&s, StatefulSkip(&s, 0), "StatefulSkip(0) retval"); in StatefulSkipTest()
57 TEST_PTR_EQ(buf + 128, s.remaining_buf, "StatefulSkip(0) buf"); in StatefulSkipTest()
61 TEST_PTR_EQ(NULL, StatefulSkip(&s, 1), "StatefulSkip(+1) retval"); in StatefulSkipTest()
67 TEST_PTR_EQ(NULL, StatefulSkip(&s, 256), "StatefulSkip(256) retval"); in StatefulSkipTest()
70 TEST_PTR_EQ(NULL, StatefulSkip(&s, 1), "StatefulSkip(256+1) retval"); in StatefulSkipTest()
[all …]
Dtpm_bootmode_tests.c86 TEST_PTR_EQ(last_in[0], in BootStateTest()
93 TEST_PTR_EQ(last_in[1], NULL, what); in BootStateTest()
105 TEST_PTR_EQ(last_in[0], in BootStateTest()
112 TEST_PTR_EQ(last_in[1], NULL, what); in BootStateTest()
124 TEST_PTR_EQ(last_in[0], in BootStateTest()
131 TEST_PTR_EQ(last_in[1], gbb_v2.hwid_digest, what); in BootStateTest()
Drsa_utility_tests.c66 TEST_PTR_EQ(key->n, NULL, "New key no n"); in TestUtils()
67 TEST_PTR_EQ(key->rr, NULL, "New key no rr"); in TestUtils()
112 TEST_PTR_EQ(RSAPublicKeyFromBuf(buf, 8 + key_len * 2 - 1), NULL, in TestKeyFromBuffer()
114 TEST_PTR_EQ(RSAPublicKeyFromBuf(buf, 8 + key_len * 2 + 1), NULL, in TestKeyFromBuffer()
119 TEST_PTR_EQ(RSAPublicKeyFromBuf(buf, 8 + key_len * 2 + 1), NULL, in TestKeyFromBuffer()
124 TEST_PTR_EQ(RSAPublicKeyFromBuf(buf, 8 + key_len * 2 + 1), NULL, in TestKeyFromBuffer()
Dvb21_host_key_tests.c49 TEST_PTR_EQ(key->desc, NULL, " desc"); in private_key_tests()
54 TEST_PTR_EQ(key, NULL, " key_ptr"); in private_key_tests()
67 TEST_PTR_EQ(key->desc, NULL, " desc"); in private_key_tests()
109 TEST_PTR_EQ(k2, NULL, " key_ptr"); in private_key_tests()
154 TEST_PTR_EQ(ckey, NULL, " key_ptr"); in private_key_tests()
182 TEST_PTR_EQ(key, NULL, " key_ptr"); in public_key_tests()
187 TEST_PTR_EQ(key->desc, NULL, " desc"); in public_key_tests()
210 TEST_PTR_EQ(key->desc, NULL, " desc"); in public_key_tests()
250 TEST_PTR_EQ(pkey, NULL, " key_ptr"); in public_key_tests()
Dvboot_firmware_tests.c125 TEST_PTR_EQ(key, &data_key, " Verify preamble data key"); in VerifyFirmwarePreamble()
143 TEST_PTR_EQ(key, &data_key, " RSA data key"); in RSAPublicKeyFree()
152 TEST_PTR_EQ(data, digest_expect_ptr, " Digesting expected data"); in DigestUpdate()
188 TEST_PTR_EQ(digest, digest_returned, "Verifying expected digest"); in VerifyDigest()
189 TEST_PTR_EQ(key, &data_key, "Verifying using data key"); in VerifyDigest()
190 TEST_PTR_EQ(sig, &mpreamble[hash_fw_index].body_signature, "Verifying sig"); in VerifyDigest()
Dvboot_region_tests.c189 TEST_PTR_EQ(cparams.gbb, NULL, " GBB free"); in VbRegionReadTest()
194 TEST_PTR_EQ(cparams.gbb, NULL, " GBB free"); in VbRegionReadTest()
195 TEST_PTR_EQ(cparams.bmp, NULL, " BMP free"); in VbRegionReadTest()
Dvboot_display_tests.c243 TEST_PTR_EQ(fptr, buf, "Internalize"); in FontTest()
245 TEST_PTR_EQ(VbFindFontGlyph(fptr, 'B', &bufferptr, &buffersize), in FontTest()
248 TEST_PTR_EQ(VbFindFontGlyph(fptr, 'X', &bufferptr, &buffersize), in FontTest()
Dtest_common.h23 int TEST_PTR_EQ(const void* result, const void* expected_result,
Dvboot_api_kernel_tests.c313 TEST_PTR_EQ(got_find_disk, t->expected_to_find_disk, in VbTryLoadKernelTest()
315 TEST_PTR_EQ(got_load_disk, t->expected_to_load_disk, in VbTryLoadKernelTest()
Dvb21_host_fw_preamble_tests.c107 TEST_PTR_EQ(fp, NULL, " fp_ptr"); in preamble_tests()
Dvb2_common_tests.c94 TEST_PTR_EQ(vb2_workbuf_alloc(&wb, 33), NULL, "Workbuf alloc too big"); in test_workbuf()
Dtest_common.c47 int TEST_PTR_EQ(const void* result, const void* expected_result, in TEST_PTR_EQ() function
Dvb21_host_keyblock_tests.c111 TEST_PTR_EQ(kb, NULL, " kb_ptr"); in keyblock_tests()
Dtlcl_tests.c133 TEST_PTR_EQ(calls[0].req, buf, "SendReceive req ptr"); in TlclTest()
Dvboot_kernel_tests.c265 TEST_PTR_EQ(key, mock_data_key, " data key ptr"); in RSAPublicKeyFree()
736 TEST_PTR_EQ(lkp.kernel_buffer, kernel_buffer, " address"); in LoadKernelTest()
Dvb2_misc_tests.c119 TEST_PTR_EQ(wb.buf, workbuf + 16, "vb_workbuf_from_ctx() buf"); in misc_tests()