Home
last modified time | relevance | path

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

/openbmc/qemu/tests/unit/
H A Dtest-xbzrle.c17 #define XBZRLE_PAGE_SIZE 4096 macro
43 uint8_t *buffer = g_malloc0(XBZRLE_PAGE_SIZE); in test_encode_decode_zero()
68 uint8_t *test = g_malloc0(XBZRLE_PAGE_SIZE); in test_encode_decode_unchanged()
91 uint8_t *buffer = g_malloc0(XBZRLE_PAGE_SIZE); in test_encode_decode_1_byte()
92 uint8_t *test = g_malloc0(XBZRLE_PAGE_SIZE); in test_encode_decode_1_byte()
97 test[XBZRLE_PAGE_SIZE - 1] = 1; in test_encode_decode_1_byte()
104 g_assert(rc == XBZRLE_PAGE_SIZE); in test_encode_decode_1_byte()
115 uint8_t *test = g_malloc0(XBZRLE_PAGE_SIZE); in test_encode_decode_overflow()
116 uint8_t *buffer = g_malloc0(XBZRLE_PAGE_SIZE); in test_encode_decode_overflow()
137 uint8_t *test = g_malloc0(XBZRLE_PAGE_SIZE); in encode_decode_range()
[all …]