Lines Matching +full:- +full:o
1 /* SPDX-License-Identifier: Zlib */
2 /* inflate.h -- internal inflate state definition
3 * Copyright (C) 1995-2019 Mark Adler
33 TYPE, /* i: waiting for type bits, including last-flag bit */
36 COPY_, /* i/o: same as COPY below, but only first time in */
37 COPY, /* i/o: waiting for input or output to copy stored block */
46 MATCH, /* o: waiting for output space to copy string */
47 LIT, /* o: waiting for output space to write literal */
48 CHECK, /* i: waiting for 32-bit check value */
49 LENGTH, /* i: waiting for 32-bit length (gzip) */
50 DONE, /* finished check, done -- remain here until reset */
51 BAD, /* got a data error -- remain here until reset */
52 MEM, /* got an inflate() memory error -- remain here until reset */
57 State transitions between above modes -
59 (most modes can go to BAD or MEM on error -- not shown for clarity)
62 HEAD -> (gzip) or (zlib) or (raw)
63 (gzip) -> FLAGS -> TIME -> OS -> EXLEN -> EXTRA -> NAME -> COMMENT ->
64 HCRC -> TYPE
65 (zlib) -> DICTID or TYPE
66 DICTID -> DICT -> TYPE
67 (raw) -> TYPEDO
69 TYPE -> TYPEDO -> STORED or TABLE or LEN_ or CHECK
70 STORED -> COPY_ -> COPY -> TYPE
71 TABLE -> LENLENS -> CODELENS -> LEN_
72 LEN_ -> LEN
74 LEN -> LENEXT or LIT or TYPE
75 LENEXT -> DIST -> DISTEXT -> MATCH -> LEN
76 LIT -> LEN
78 CHECK -> LENGTH -> DONE
81 /* State maintained between inflate() calls -- approximately 7K bytes, not
91 -1 if raw or no header yet */