Lines Matching refs:roundTrip
36 cursor_t roundTrip; member
70 state.roundTrip = cursor_create(size); in state_create()
85 cursor_free(state.roundTrip); in state_free()
99 state->roundTrip.pos = 0; in state_reset()
105 char* dst = state->roundTrip.buf + state->roundTrip.pos; in state_decompress()
106 int const dstCapacity = state->roundTrip.size - state->roundTrip.pos; in state_decompress()
110 state->roundTrip.pos += dSize; in state_decompress()
117 FUZZ_ASSERT_MSG(size == state->roundTrip.pos, "Incorrect size!"); in state_checkRoundTrip()
118 FUZZ_ASSERT_MSG(!memcmp(data, state->roundTrip.buf, size), "Corruption!"); in state_checkRoundTrip()
132 FUZZ_ASSERT(state->roundTrip.pos == 0); in state_trimDict()
133 memcpy(state->roundTrip.buf, state->data.buf, dictSize); in state_trimDict()
135 state->roundTrip.pos += dictSize; in state_trimDict()