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

Go to the source code of this file.

Classes

struct  bin
 

Macros

#define bget(in)
 
#define CHUNK   32768 /* must be a power of two and fit in unsigned */
 
#define local   static
 

Functions

int bail (char *why1, char *why2)
 
void bclose (bin *in)
 
unsigned long bget4 (bin *in)
 
int bload (bin *in)
 
binbopen (char *name)
 
void bskip (bin *in, unsigned skip)
 
void gzcopy (char *name, int clr, unsigned long *crc, unsigned long *tot, FILE *out)
 
void gzhead (bin *in)
 
void gzinit (unsigned long *crc, unsigned long *tot, FILE *out)
 
int main (int argc, char **argv)
 
void put4 (unsigned long val, FILE *out)
 
void zpull (z_streamp strm, bin *in)
 

Macro Definition Documentation

◆ bget

#define bget (   in)
Value:
(in->left ? 0 : bload(in), \
in->left ? (in->left--, *(in->next)++) : \
bail("unexpected end of file on ", in->name))

Definition at line 140 of file bloaty/third_party/zlib/examples/gzjoin.c.

◆ CHUNK

#define CHUNK   32768 /* must be a power of two and fit in unsigned */

Definition at line 75 of file bloaty/third_party/zlib/examples/gzjoin.c.

◆ local

#define local   static

Definition at line 63 of file bloaty/third_party/zlib/examples/gzjoin.c.

Function Documentation

◆ bail()

int bail ( char *  why1,
char *  why2 
)

Definition at line 66 of file bloaty/third_party/zlib/examples/gzjoin.c.

◆ bclose()

void bclose ( bin in)

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

◆ bget4()

unsigned long bget4 ( bin in)

Definition at line 145 of file bloaty/third_party/zlib/examples/gzjoin.c.

◆ bload()

int bload ( bin in)

Definition at line 121 of file bloaty/third_party/zlib/examples/gzjoin.c.

◆ bopen()

bin* bopen ( char *  name)

Definition at line 100 of file bloaty/third_party/zlib/examples/gzjoin.c.

◆ bskip()

void bskip ( bin in,
unsigned  skip 
)

Definition at line 157 of file bloaty/third_party/zlib/examples/gzjoin.c.

◆ gzcopy()

void gzcopy ( char *  name,
int  clr,
unsigned long crc,
unsigned long tot,
FILE *  out 
)

Definition at line 279 of file bloaty/third_party/zlib/examples/gzjoin.c.

◆ gzhead()

void gzhead ( bin in)

Definition at line 204 of file bloaty/third_party/zlib/examples/gzjoin.c.

◆ gzinit()

void gzinit ( unsigned long crc,
unsigned long tot,
FILE *  out 
)

Definition at line 265 of file bloaty/third_party/zlib/examples/gzjoin.c.

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 427 of file bloaty/third_party/zlib/examples/gzjoin.c.

◆ put4()

void put4 ( unsigned long  val,
FILE *  out 
)

Definition at line 245 of file bloaty/third_party/zlib/examples/gzjoin.c.

◆ zpull()

void zpull ( z_streamp  strm,
bin in 
)

Definition at line 254 of file bloaty/third_party/zlib/examples/gzjoin.c.

bload
int bload(bin *in)
Definition: bloaty/third_party/zlib/examples/gzjoin.c:121
in
const char * in
Definition: third_party/abseil-cpp/absl/strings/internal/str_format/parser_test.cc:391


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