Home
last modified time | relevance | path

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

/linux/lib/zlib_dfltcc/
A Ddfltcc.c31 struct dfltcc_state *dfltcc_state = in dfltcc_reset() local
32 (struct dfltcc_state *)((char *)strm->state + size); in dfltcc_reset()
34 (struct dfltcc_qaf_param *)&dfltcc_state->param; in dfltcc_reset()
39 memmove(&dfltcc_state->af, param, sizeof(dfltcc_state->af)); in dfltcc_reset()
41 memset(&dfltcc_state->af, 0, sizeof(dfltcc_state->af)); in dfltcc_reset()
44 memset(&dfltcc_state->param, 0, sizeof(dfltcc_state->param)); in dfltcc_reset()
45 dfltcc_state->param.nt = 1; in dfltcc_reset()
49 dfltcc_state->level_mask = DFLTCC_LEVEL_MASK_DEBUG; in dfltcc_reset()
51 dfltcc_state->level_mask = DFLTCC_LEVEL_MASK; in dfltcc_reset()
52 dfltcc_state->block_size = DFLTCC_BLOCK_SIZE; in dfltcc_reset()
[all …]
A Ddfltcc_deflate.c18 struct dfltcc_state *dfltcc_state = GET_DFLTCC_STATE(state); in dfltcc_can_deflate() local
27 dfltcc_state->level_mask)) in dfltcc_can_deflate()
31 if (!is_bit_set(dfltcc_state->af.fns, DFLTCC_GDHT) || in dfltcc_can_deflate()
32 !is_bit_set(dfltcc_state->af.fns, DFLTCC_CMPR) || in dfltcc_can_deflate()
33 !is_bit_set(dfltcc_state->af.fmts, DFLTCC_FMT0)) in dfltcc_can_deflate()
107 struct dfltcc_state *dfltcc_state = GET_DFLTCC_STATE(state); in dfltcc_deflate() local
108 struct dfltcc_param_v0 *param = &dfltcc_state->param; in dfltcc_deflate()
164 dfltcc_state->block_threshold = in dfltcc_deflate()
179 strm->avail_in = dfltcc_state->block_size; in dfltcc_deflate()
235 strm->msg = oesc_msg(dfltcc_state->msg, param->oesc); in dfltcc_deflate()
[all …]
A Ddfltcc_inflate.c18 struct dfltcc_state *dfltcc_state = GET_DFLTCC_STATE(state); in dfltcc_can_inflate() local
30 return is_bit_set(dfltcc_state->af.fns, DFLTCC_XPND) && in dfltcc_can_inflate()
31 is_bit_set(dfltcc_state->af.fmts, DFLTCC_FMT0); in dfltcc_can_inflate()
50 struct dfltcc_state *dfltcc_state = GET_DFLTCC_STATE(state); in dfltcc_inflate_disable() local
61 memset(&dfltcc_state->af, 0, sizeof(dfltcc_state->af)); in dfltcc_inflate_disable()
90 struct dfltcc_state *dfltcc_state = GET_DFLTCC_STATE(state); in dfltcc_inflate() local
91 struct dfltcc_param_v0 *param = &dfltcc_state->param; in dfltcc_inflate()
136 strm->msg = oesc_msg(dfltcc_state->msg, param->oesc); in dfltcc_inflate()
A Ddfltcc.h93 struct dfltcc_state { struct
104 #define GET_DFLTCC_STATE(state) ((struct dfltcc_state *)((state) + 1)) argument
/linux/lib/zlib_inflate/
A Dinfutil.h25 struct dfltcc_state dfltcc_state; member
34 static_assert(offsetof(struct inflate_workspace, dfltcc_state) % 8 == 0);
/linux/lib/zlib_deflate/
A Ddeflate.c109 struct dfltcc_state dfltcc_memory;

Completed in 8 milliseconds