Searched refs:remaining_buf (Results 1 – 3 of 3) sorted by relevance
/external/vboot_reference/firmware/lib/ |
D | stateful_util.c | 15 state->remaining_buf = buf; in StatefulInit() 28 state->remaining_buf += len; in StatefulSkip() 41 Memcpy(dst, state->remaining_buf, len); in StatefulMemcpy() 42 state->remaining_buf += len; in StatefulMemcpy() 55 Memcpy(state->remaining_buf, src, len); in StatefulMemcpy_r() 56 state->remaining_buf += len; in StatefulMemcpy_r() 70 Memset(state->remaining_buf, val, len); in StatefulMemset_r() 71 state->remaining_buf += len; in StatefulMemset_r()
|
/external/vboot_reference/tests/ |
D | stateful_util_tests.c | 31 TEST_PTR_EQ(buf, s.remaining_buf, "StatefulInit() buf"); in StatefulInitTest() 44 TEST_PTR_EQ(buf + 5, s.remaining_buf, "StatefulSkip(5) buf"); in StatefulSkipTest() 51 TEST_PTR_EQ(buf + 128, s.remaining_buf, "StatefulSkip(all) buf"); in StatefulSkipTest() 57 TEST_PTR_EQ(buf + 128, s.remaining_buf, "StatefulSkip(0) buf"); in StatefulSkipTest() 93 TEST_PTR_EQ(buf + 5, s.remaining_buf, "StatefulMemset_r(5) buf"); in StatefulMemset_rTest() 106 TEST_PTR_EQ(buf + 128, s.remaining_buf, "StatefulMemset_r(all) buf"); in StatefulMemset_rTest() 114 TEST_PTR_EQ(buf + 128, s.remaining_buf, "StatefulMemset_r(0) buf"); in StatefulMemset_rTest() 162 TEST_PTR_EQ(buf + 6, s.remaining_buf, "StatefulMemcpy_r(6) buf"); in StatefulMemcpy_rTest() 177 TEST_PTR_EQ(buf + 10, s.remaining_buf, "StatefulMemcpy_r(all) buf"); in StatefulMemcpy_rTest() 186 TEST_PTR_EQ(buf + 10, s.remaining_buf, "StatefulMemcpy_r(0) buf"); in StatefulMemcpy_rTest() [all …]
|
/external/vboot_reference/firmware/lib/include/ |
D | stateful_util.h | 18 uint8_t *remaining_buf; member
|