Biomedical Image Analysis Library
The Biomedical Image Analysis Library is a poweful tool for developers, physicians, researchers, engineers, and so on.
infcover.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include "zlib.h"
#include "inftrees.h"
#include "inflate.h"
Include dependency graph for infcover.c:

Go to the source code of this file.

Classes

struct  mem_item
 
struct  mem_zone
 

Macros

#define ZLIB_INTERNAL
 
#define local   static
 

Functions

static void * mem_alloc (void *mem, unsigned count, unsigned size)
 
static void mem_free (void *mem, void *ptr)
 
static void mem_setup (z_stream *strm)
 
static void mem_limit (z_stream *strm, size_t limit)
 
static void mem_used (z_stream *strm, char *prefix)
 
static void mem_high (z_stream *strm, char *prefix)
 
static void mem_done (z_stream *strm, char *prefix)
 
static unsigned char * h2b (const char *hex, unsigned *len)
 
static void inf (char *hex, char *what, unsigned step, int win, unsigned len, int err)
 
static void cover_support (void)
 
static void cover_wrap (void)
 
static unsigned pull (void *desc, unsigned char **buf)
 
static int push (void *desc, unsigned char *buf, unsigned len)
 
static void cover_back (void)
 
static int try (char *hex, char *id, int err)
 
static void cover_inflate (void)
 
static void cover_trees (void)
 
static void cover_fast (void)
 
int main (void)
 

Class Documentation

struct mem_item

Definition at line 56 of file infcover.c.

Collaboration diagram for mem_item:
Collaboration graph
Class Members
struct mem_item * next
void * ptr
size_t size
struct mem_zone

Definition at line 63 of file infcover.c.

Collaboration diagram for mem_zone:
Collaboration graph
Class Members
struct mem_item * first
size_t highwater
size_t limit
int notlifo
int rogue
size_t total

Macro Definition Documentation

#define local   static

Definition at line 20 of file infcover.c.

#define ZLIB_INTERNAL

Definition at line 16 of file infcover.c.

Function Documentation

static void cover_back ( void  )
static

Definition at line 470 of file infcover.c.

static void cover_fast ( void  )
static

Definition at line 641 of file infcover.c.

static void cover_inflate ( void  )
static

Definition at line 581 of file infcover.c.

static void cover_support ( void  )
static

Definition at line 350 of file infcover.c.

static void cover_trees ( void  )
static

Definition at line 617 of file infcover.c.

static void cover_wrap ( void  )
static

Definition at line 388 of file infcover.c.

static unsigned char* h2b ( const char *  hex,
unsigned *  len 
)
static

Definition at line 245 of file infcover.c.

static void inf ( char *  hex,
char *  what,
unsigned  step,
int  win,
unsigned  len,
int  err 
)
static

Definition at line 284 of file infcover.c.

int main ( void  )

Definition at line 661 of file infcover.c.

static void* mem_alloc ( void *  mem,
unsigned  count,
unsigned  size 
)
static

Definition at line 71 of file infcover.c.

static void mem_done ( z_stream strm,
char *  prefix 
)
static

Definition at line 200 of file infcover.c.

static void mem_free ( void *  mem,
void *  ptr 
)
static

Definition at line 112 of file infcover.c.

static void mem_high ( z_stream strm,
char *  prefix 
)
static

Definition at line 192 of file infcover.c.

static void mem_limit ( z_stream strm,
size_t  limit 
)
static

Definition at line 176 of file infcover.c.

static void mem_setup ( z_stream strm)
static

Definition at line 158 of file infcover.c.

static void mem_used ( z_stream strm,
char *  prefix 
)
static

Definition at line 184 of file infcover.c.

static unsigned pull ( void *  desc,
unsigned char **  buf 
)
static

Definition at line 447 of file infcover.c.

static int push ( void *  desc,
unsigned char *  buf,
unsigned  len 
)
static

Definition at line 463 of file infcover.c.

static int try ( char *  hex,
char *  id,
int  err 
)
static

Definition at line 507 of file infcover.c.