Visualization Library 2.0.0-b5
A lightweight C++ OpenGL middleware for 2D/3D graphics
|
[Download] [Tutorials] [All Classes] [Grouped Classes] |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <fcntl.h>
#include <unistd.h>
#include "zlib.h"
Go to the source code of this file.
Macros | |
#define | local static |
#define | LGCHUNK 14 |
#define | CHUNK (1U << LGCHUNK) |
#define | DSIZE 32768U |
#define | read1(in) |
Functions | |
local void | bye (char *msg1, char *msg2) |
local unsigned | gcd (unsigned a, unsigned b) |
local void | rotate (unsigned char *list, unsigned len, unsigned rot) |
local int | readin (file *in) |
local int | readmore (file *in) |
local void | skip (file *in, unsigned n) |
unsigned long | read4 (file *in) |
local void | gzheader (file *in) |
local int | gzscan (char *name, z_stream *strm, int level) |
local void | gztack (char *name, int gd, z_stream *strm, int last) |
int | main (int argc, char **argv) |
#define CHUNK (1U << LGCHUNK) |
Definition at line 89 of file gzappend.c.
#define DSIZE 32768U |
Definition at line 90 of file gzappend.c.
#define LGCHUNK 14 |
Definition at line 88 of file gzappend.c.
#define local static |
Definition at line 87 of file gzappend.c.
#define read1 | ( | in | ) |
Definition at line 93 of file gzappend.c.
Referenced by gzheader(), gztack(), main(), readin(), readmore(), and skip().
local unsigned gcd | ( | unsigned | a, |
unsigned | b | ||
) |
Definition at line 102 of file gzappend.c.
Referenced by rotate().
Definition at line 235 of file gzappend.c.
Definition at line 259 of file gzappend.c.
Referenced by main().
Definition at line 388 of file gzappend.c.
References z_stream_s::adler, z_stream_s::avail_in, z_stream_s::avail_out, bye(), CHUNK, close(), crc32(), deflate(), deflateEnd(), free(), malloc(), z_stream_s::next_in, z_stream_s::next_out, NULL, open(), out(), read(), z_stream_s::total_in, write(), Z_FINISH, Z_NO_FLUSH, and Z_STREAM_END.
Referenced by main().
Definition at line 466 of file gzappend.c.
References bye(), gzscan(), gztack(), NULL, and Z_DEFAULT_COMPRESSION.
unsigned long read4 | ( | file * | in | ) |
Definition at line 223 of file gzappend.c.
Definition at line 123 of file gzappend.c.
References gcd(), and z_const.
Referenced by vl::Text::computeBounds_Implementation(), vl::Transform::parent(), vl::DrawElements< ArrayUShort1 >::primitiveRestartIndex(), vl::DrawRangeElements< ArrayUShort1 >::primitiveRestartIndex(), and vl::VectorGraphics::resetMatrix().
Definition at line 202 of file gzappend.c.
References bye(), lseek(), readmore(), and SEEK_CUR.
Referenced by bskip(), do_extract_currentfile(), extract(), gzheader(), and main().
Visualization Library 2.0.0-b5 Reference Documentation
Updated on Mon Feb 10 2020 02:44:58.
© Copyright Michele Bosi. All rights reserved.