ABC: A System for Sequential Synthesis and Verification
 
Loading...
Searching...
No Matches
inflate.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  inflate_state
 

Macros

#define GUNZIP
 

Enumerations

enum  inflate_mode {
  HEAD , FLAGS , TIME , OS ,
  EXLEN , EXTRA , NAME , COMMENT ,
  HCRC , DICTID , DICT , TYPE ,
  TYPEDO , STORED , COPY_ , COPY ,
  TABLE , LENLENS , CODELENS , LEN_ ,
  LEN , LENEXT , DIST , DISTEXT ,
  MATCH , LIT , CHECK , LENGTH ,
  DONE , BAD , MEM , SYNC
}
 

Macro Definition Documentation

◆ GUNZIP

#define GUNZIP

Definition at line 18 of file inflate.h.

Enumeration Type Documentation

◆ inflate_mode

Enumerator
HEAD 
FLAGS 
TIME 
OS 
EXLEN 
EXTRA 
NAME 
COMMENT 
HCRC 
DICTID 
DICT 
TYPE 
TYPEDO 
STORED 
COPY_ 
COPY 
TABLE 
LENLENS 
CODELENS 
LEN_ 
LEN 
LENEXT 
DIST 
DISTEXT 
MATCH 
LIT 
CHECK 
LENGTH 
DONE 
BAD 
MEM 
SYNC 

Definition at line 22 of file inflate.h.

22 {
23 HEAD, /* i: waiting for magic header */
24 FLAGS, /* i: waiting for method and flags (gzip) */
25 TIME, /* i: waiting for modification time (gzip) */
26 OS, /* i: waiting for extra flags and operating system (gzip) */
27 EXLEN, /* i: waiting for extra length (gzip) */
28 EXTRA, /* i: waiting for extra bytes (gzip) */
29 NAME, /* i: waiting for end of file name (gzip) */
30 COMMENT, /* i: waiting for end of comment (gzip) */
31 HCRC, /* i: waiting for header crc (gzip) */
32 DICTID, /* i: waiting for dictionary check value */
33 DICT, /* waiting for inflateSetDictionary() call */
34 TYPE, /* i: waiting for type bits, including last-flag bit */
35 TYPEDO, /* i: same, but skip check to exit inflate on new block */
36 STORED, /* i: waiting for stored size (length and complement) */
37 COPY_, /* i/o: same as COPY below, but only first time in */
38 COPY, /* i/o: waiting for input or output to copy stored block */
39 TABLE, /* i: waiting for dynamic block table lengths */
40 LENLENS, /* i: waiting for code length code lengths */
41 CODELENS, /* i: waiting for length/lit and distance code lengths */
42 LEN_, /* i: same as LEN below, but only first time in */
43 LEN, /* i: waiting for length/lit/eob code */
44 LENEXT, /* i: waiting for length extra bits */
45 DIST, /* i: waiting for distance code */
46 DISTEXT, /* i: waiting for distance extra bits */
47 MATCH, /* o: waiting for output space to copy string */
48 LIT, /* o: waiting for output space to write literal */
49 CHECK, /* i: waiting for 32-bit check value */
50 LENGTH, /* i: waiting for 32-bit length (gzip) */
51 DONE, /* finished check, done -- remain here until reset */
52 BAD, /* got a data error -- remain here until reset */
53 MEM, /* got an inflate() memory error -- remain here until reset */
54 SYNC /* looking for synchronization bytes to restart inflate() */
#define FLAGS
#define COPY
Definition gzguts.h:95
inflate_mode
Definition inflate.h:22
@ HEAD
Definition inflate.h:23
@ MATCH
Definition inflate.h:47
@ DICT
Definition inflate.h:33
@ TABLE
Definition inflate.h:39
@ LENGTH
Definition inflate.h:50
@ SYNC
Definition inflate.h:54
@ OS
Definition inflate.h:26
@ EXLEN
Definition inflate.h:27
@ MEM
Definition inflate.h:53
@ NAME
Definition inflate.h:29
@ STORED
Definition inflate.h:36
@ CODELENS
Definition inflate.h:41
@ DICTID
Definition inflate.h:32
@ DONE
Definition inflate.h:51
@ TYPEDO
Definition inflate.h:35
@ COMMENT
Definition inflate.h:30
@ LENLENS
Definition inflate.h:40
@ TYPE
Definition inflate.h:34
@ LEN_
Definition inflate.h:42
@ COPY_
Definition inflate.h:37
@ DIST
Definition inflate.h:45
@ LENEXT
Definition inflate.h:44
@ HCRC
Definition inflate.h:31
@ TIME
Definition inflate.h:25
@ CHECK
Definition inflate.h:49
@ DISTEXT
Definition inflate.h:46
@ BAD
Definition inflate.h:52
@ LEN
Definition inflate.h:43
@ EXTRA
Definition inflate.h:28
#define LIT(IDX)
Definition literal.h:31