Home
last modified time | relevance | path

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

/external/vboot_reference/tests/
Drollback_index2_tests.c55 static RollbackSpaceKernel mock_rsk; variable
71 Memset(&mock_rsk, 0, sizeof(mock_rsk)); in ResetMocks()
135 TEST_EQ(length, sizeof(mock_rsk), "TlclRead rsk size"); in TlclRead()
136 Memcpy(data, &mock_rsk, length); in TlclRead()
155 TEST_EQ(length, sizeof(mock_rsk), "TlclWrite rsk size"); in TlclWrite()
156 Memcpy(&mock_rsk, data, length); in TlclWrite()
157 MaybeInjectNoise(&mock_rsk, length); in TlclWrite()
362 mock_rsk.struct_version = 2; in CrcTestKernel()
373 mock_rsk.struct_version = 2; in CrcTestKernel()
374 mock_rsk.crc8 = Crc8(&mock_rsk, offsetof(RollbackSpaceKernel, crc8)); in CrcTestKernel()
[all …]