Classes | Macros | Functions
bloaty/third_party/zlib/examples/gzappend.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <fcntl.h>
#include <unistd.h>
#include "zlib.h"
Include dependency graph for bloaty/third_party/zlib/examples/gzappend.c:

Go to the source code of this file.

Classes

struct  file
 

Macros

#define CHUNK   (1U << LGCHUNK)
 
#define DSIZE   32768U
 
#define LGCHUNK   14
 
#define local   static
 
#define read1(in)
 

Functions

void bye (char *msg1, char *msg2)
 
unsigned gcd (unsigned a, unsigned b)
 
void gzheader (file *in)
 
int gzscan (char *name, z_stream *strm, int level)
 
void gztack (char *name, int gd, z_stream *strm, int last)
 
int main (int argc, char **argv)
 
unsigned long read4 (file *in)
 
int readin (file *in)
 
int readmore (file *in)
 
void rotate (unsigned char *list, unsigned len, unsigned rot)
 
void skip (file *in, unsigned n)
 

Macro Definition Documentation

◆ CHUNK

#define CHUNK   (1U << LGCHUNK)

Definition at line 89 of file bloaty/third_party/zlib/examples/gzappend.c.

◆ DSIZE

#define DSIZE   32768U

Definition at line 90 of file bloaty/third_party/zlib/examples/gzappend.c.

◆ LGCHUNK

#define LGCHUNK   14

Definition at line 88 of file bloaty/third_party/zlib/examples/gzappend.c.

◆ local

#define local   static

Definition at line 87 of file bloaty/third_party/zlib/examples/gzappend.c.

◆ read1

#define read1 (   in)
Value:
(in->left == 0 ? readmore(in) : 0, \
in->left--, *(in->next)++)

Definition at line 198 of file bloaty/third_party/zlib/examples/gzappend.c.

Function Documentation

◆ bye()

void bye ( char *  msg1,
char *  msg2 
)

Definition at line 93 of file bloaty/third_party/zlib/examples/gzappend.c.

◆ gcd()

unsigned gcd ( unsigned  a,
unsigned  b 
)

Definition at line 102 of file bloaty/third_party/zlib/examples/gzappend.c.

◆ gzheader()

void gzheader ( file in)

Definition at line 235 of file bloaty/third_party/zlib/examples/gzappend.c.

◆ gzscan()

int gzscan ( char *  name,
z_stream strm,
int  level 
)

Definition at line 259 of file bloaty/third_party/zlib/examples/gzappend.c.

◆ gztack()

void gztack ( char *  name,
int  gd,
z_stream strm,
int  last 
)

Definition at line 388 of file bloaty/third_party/zlib/examples/gzappend.c.

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 466 of file bloaty/third_party/zlib/examples/gzappend.c.

◆ read4()

unsigned long read4 ( file in)

Definition at line 223 of file bloaty/third_party/zlib/examples/gzappend.c.

◆ readin()

int readin ( file in)

Definition at line 180 of file bloaty/third_party/zlib/examples/gzappend.c.

◆ readmore()

int readmore ( file in)

Definition at line 192 of file bloaty/third_party/zlib/examples/gzappend.c.

◆ rotate()

void rotate ( unsigned char *  list,
unsigned  len,
unsigned  rot 
)

Definition at line 123 of file bloaty/third_party/zlib/examples/gzappend.c.

◆ skip()

void skip ( file in,
unsigned  n 
)

Definition at line 202 of file bloaty/third_party/zlib/examples/gzappend.c.

in
const char * in
Definition: third_party/abseil-cpp/absl/strings/internal/str_format/parser_test.cc:391
readmore
int readmore(file *in)
Definition: bloaty/third_party/zlib/examples/gzappend.c:192
next
AllocList * next[kMaxLevel]
Definition: abseil-cpp/absl/base/internal/low_level_alloc.cc:100


grpc
Author(s):
autogenerated on Fri May 16 2025 03:01:19