#include "zlib.h"Go to the source code of this file.
Defines | |
| #define | Buf_size (8 * 2*sizeof(char)) | 
| #define | PUTSHORT(w) | 
| #define | PUTBYTE(b) | 
| #define | HDRSIZE 9 | 
Functions | |
| local int R__mem_read | OF ((char *buf, unsigned size)) | 
| local void R__flush_outbuf | OF ((unsigned w, unsigned size)) | 
| local int R__mem_read | OF ((char *b, unsigned bsize)) | 
| local void R__flush_outbuf | OF ((unsigned w, unsigned bytes)) | 
| void | R__SetZipMode (int mode) | 
| void | R__bi_init (FILE *zipfile) | 
| void | R__send_bits (int value, int length) | 
| unsigned | R__bi_reverse (unsigned code, int len) | 
| local void | R__flush_outbuf (unsigned w, unsigned bytes) | 
| void | R__bi_windup () | 
| void | R__copy_block (char far *buf, unsigned len, int header) | 
| int | R__seekable () | 
| ulg | R__memcompress (char *tgt, ulg tgtsize, char *src, ulg srcsize) | 
| local int | R__mem_read (char *b, unsigned bsize) | 
| void | R__zip (int cxlevel, int *srcsize, char *src, int *tgtsize, char *tgt, int *irep) | 
| void | R__error (char *msg) | 
Variables | |
| local FILE * | zfile | 
| local unsigned short | bi_buf | 
| local int | bi_valid | 
| local char * | in_buf | 
| local char * | out_buf | 
| local unsigned | in_offset | 
| local unsigned | out_offset | 
| local unsigned | in_size | 
| local unsigned | out_size | 
| int | R__ZipMode = 1 | 
| static int | error_flag | 
| #define PUTBYTE | ( | b | ) | 
Value:
{ if (out_offset < out_size) { \
    out_buf[out_offset++] = (char) (b); \
  } else { \
    R__flush_outbuf((b),1); \
  } \
}
| #define PUTSHORT | ( | w | ) | 
Value:
{ if (out_offset < out_size-1) { \
    out_buf[out_offset++] = (char) ((w) & 0xff); \
    out_buf[out_offset++] = (char) ((ush)(w) >> 8); \
  } else { \
    R__flush_outbuf((w),2); \
  } \
}
| local void R__flush_outbuf OF | ( | (unsigned w, unsigned bytes) | ) | 
| void R__bi_init | ( | FILE * | zipfile | ) | 
| void R__bi_windup | ( | ) | 
| void R__copy_block | ( | char far * | buf, | |
| unsigned | len, | |||
| int | header | |||
| ) | 
Definition at line 265 of file Bits.h.
References fprintf(), PUTSHORT, R__bi_windup(), R__error(), and verbose.
| void R__error | ( | char * | msg | ) | 
| local void R__flush_outbuf | ( | unsigned | w, | |
| unsigned | bytes | |||
| ) | 
Definition at line 321 of file Bits.h.
References flags, RooFitShortHand::L(), level, method, NULL, R__bi_init(), R__ct_init(), R__Deflate(), R__error(), R__lm_init(), R__window_size, UNKNOWN, and Z_DEFLATED.
| int R__seekable | ( | ) | 
| void R__send_bits | ( | int | value, | |
| int | length | |||
| ) | 
| void R__SetZipMode | ( | int | mode | ) | 
| void R__zip | ( | int | cxlevel, | |
| int * | srcsize, | |||
| char * | src, | |||
| int * | tgtsize, | |||
| char * | tgt, | |||
| int * | irep | |||
| ) | 
Definition at line 405 of file Bits.h.
References deflate(), deflateEnd(), deflateInit, flags, HDRSIZE, RooFitShortHand::L(), level, method, NULL, R__bi_init(), R__ct_init(), R__Deflate(), R__error(), R__lm_init(), R__window_size, PC3::stream(), UNKNOWN, Z_DEFLATED, Z_FINISH, Z_OK, and Z_STREAM_END.
int error_flag [static]           | 
        
| local unsigned out_offset | 
| int R__ZipMode = 1 | 
 1.5.1