Home
last modified time | relevance | path

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

/external/rust/crates/libz-sys/src/zlib-ng/arch/s390/
Ddfltcc_common.c39 …struct dfltcc_state *dfltcc_state = (struct dfltcc_state *)((char *)strm->state + ALIGN_UP(size, 8… in dfltcc_reset() local
40 struct dfltcc_qaf_param *param = (struct dfltcc_qaf_param *)&dfltcc_state->param; in dfltcc_reset()
45 memmove(&dfltcc_state->af, param, sizeof(dfltcc_state->af)); in dfltcc_reset()
47 memset(&dfltcc_state->af, 0, sizeof(dfltcc_state->af)); in dfltcc_reset()
50 memset(&dfltcc_state->param, 0, sizeof(dfltcc_state->param)); in dfltcc_reset()
51 dfltcc_state->param.nt = 1; in dfltcc_reset()
54 dfltcc_state->level_mask = DFLTCC_LEVEL_MASK; in dfltcc_reset()
55 dfltcc_state->block_size = DFLTCC_BLOCK_SIZE; in dfltcc_reset()
56 dfltcc_state->block_threshold = DFLTCC_FIRST_FHT_BLOCK_SIZE; in dfltcc_reset()
57 dfltcc_state->dht_threshold = DFLTCC_DHT_MIN_SAMPLE_SIZE; in dfltcc_reset()
[all …]
Ddfltcc_deflate.c26 struct dfltcc_state *dfltcc_state = GET_DFLTCC_STATE(state); in dfltcc_can_deflate_with_params() local
29 if ((dfltcc_state->level_mask & (1 << level)) == 0) in dfltcc_can_deflate_with_params()
39 if (!is_bit_set(dfltcc_state->af.fns, DFLTCC_GDHT) || in dfltcc_can_deflate_with_params()
40 !is_bit_set(dfltcc_state->af.fns, DFLTCC_CMPR) || in dfltcc_can_deflate_with_params()
41 !is_bit_set(dfltcc_state->af.fmts, DFLTCC_FMT0)) in dfltcc_can_deflate_with_params()
100 struct dfltcc_state *dfltcc_state = GET_DFLTCC_STATE(state); in dfltcc_deflate() local
101 struct dfltcc_param_v0 *param = &dfltcc_state->param; in dfltcc_deflate()
149 strm->total_in > dfltcc_state->block_threshold && in dfltcc_deflate()
150 strm->avail_in >= dfltcc_state->dht_threshold) { in dfltcc_deflate()
164 dfltcc_state->block_threshold = strm->total_in + dfltcc_state->block_size; in dfltcc_deflate()
[all …]
Ddfltcc_inflate.c25 struct dfltcc_state *dfltcc_state = GET_DFLTCC_STATE(state); in dfltcc_can_inflate() local
32 …return is_bit_set(dfltcc_state->af.fns, DFLTCC_XPND) && is_bit_set(dfltcc_state->af.fmts, DFLTCC_F… in dfltcc_can_inflate()
52 struct dfltcc_state *dfltcc_state = GET_DFLTCC_STATE(state); in dfltcc_inflate() local
53 struct dfltcc_param_v0 *param = &dfltcc_state->param; in dfltcc_inflate()
98 strm->msg = oesc_msg(dfltcc_state->msg, param->oesc); in dfltcc_inflate()
124 struct dfltcc_state *dfltcc_state = GET_DFLTCC_STATE(state); in dfltcc_inflate_disable() local
135 memset(&dfltcc_state->af, 0, sizeof(dfltcc_state->af)); in dfltcc_inflate_disable()
Ddfltcc_detail.h187 struct dfltcc_state { struct
199 #define GET_DFLTCC_STATE(state) ((struct dfltcc_state *)((char *)(state) + ALIGN_UP(sizeof(*state),… argument