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 <errno.h>
#include <fcntl.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <utime.h>
#include "zlib.h"
Go to the source code of this file.
Macros | |
#define | local static |
#define | SIZE 32768U /* input and output buffer sizes */ |
#define | PIECE 16384 /* limits i/o chunks for 16-bit int case */ |
#define | NEXT() |
#define | FLUSHCODE() |
Functions | |
local unsigned | in (void *in_desc, z_const unsigned char **buf) |
local int | out (void *out_desc, unsigned char *buf, unsigned len) |
local int | lunpipe (unsigned have, z_const unsigned char *next, struct ind *indp, int outfile, z_stream *strm) |
local int | gunpipe (z_stream *strm, int infile, int outfile) |
local void | copymeta (char *from, char *to) |
local int | gunzip (z_stream *strm, char *inname, char *outname, int test) |
int | main (int argc, char **argv) |
Variables | |
unsigned char | inbuf [SIZE] |
unsigned char | outbuf [SIZE] |
unsigned short | prefix [65536] |
unsigned char | suffix [65536] |
unsigned char | match [65280+2] |
#define FLUSHCODE | ( | ) |
Definition at line 171 of file gun.c.
Referenced by lunpipe().
#define NEXT | ( | ) |
#define SIZE 32768U /* input and output buffer sizes */ |
Definition at line 383 of file gun.c.
References z_stream_s::avail_in, crc32(), inbuf, infile, inflateBack(), int, lunpipe(), z_stream_s::msg, NEXT, z_stream_s::next_in, NULL, out(), outfile, Z_BUF_ERROR, z_const, Z_DATA_ERROR, Z_ERRNO, Z_NULL, Z_OK, and Z_STREAM_END.
Definition at line 131 of file gun.c.
References crc32(), int, PIECE, and write().
Referenced by gzfilebuf::attach(), gzofstream::attach(), vl::compress(), vl::Camera::computeRay(), convert1(), vl::decompress(), def(), vl::PixelLODEvaluator::evaluate(), extract(), file_compress(), file_uncompress(), FT_GlyphLoader_CopyPoints(), FT_Outline_EmboldenXY(), vl::Matrix2< T_Scalar >::getIdentity(), vl::Matrix3< T_Scalar >::getIdentity(), vl::Matrix4< float >::getIdentity(), vl::Quaternion< T_Scalar >::getInverse(), vl::Matrix4< float >::getInverse(), vl::Quaternion< T_Scalar >::getNlerp(), vl::Matrix2< T_Scalar >::getNull(), vl::Matrix3< T_Scalar >::getNull(), vl::Matrix4< float >::getNull(), vl::Matrix4< float >::getRotation(), vl::Matrix3< T_Scalar >::getScaling(), vl::Matrix4< float >::getScaling(), vl::Matrix3< T_Scalar >::getTranslation(), vl::Matrix4< float >::getTranslation(), gunpipe(), gz_compress(), gztack(), inf(), inflate(), inflate_fast(), inflateBack(), inflateSync(), init_error_limit(), vl::Matrix4< float >::invert(), gzifstream::is_open(), gzofstream::is_open(), lunpipe(), main(), vl::Matrix2< T_Scalar >::multiply(), vl::Matrix3< T_Scalar >::multiply(), vl::Matrix4< float >::multiply(), gzfilebuf::open(), gzofstream::open(), gzfilebuf::open_mode(), gzfilebuf::overflow(), vl::Say::parse(), vlX::VisitorExportToVLT::rawtextEncode(), vlX::VisitorExportToVLT::stringEncode(), vl::TriangleStripGenerator::stripfy(), vl::Quaternion< T_Scalar >::toMatrix3(), vl::Quaternion< T_Scalar >::toMatrix4(), and try().
unsigned char match[65280+2] |
Definition at line 165 of file gun.c.
Referenced by vl::FileSystem::FileSystem(), vl::String::filterStrings(), longest_match(), lunpipe(), and vl::MemoryDirectory::subDir().
unsigned short prefix[65536] |
Definition at line 163 of file gun.c.
Referenced by lunpipe(), vlX::VLXSerializer::reset(), and try().
Visualization Library 2.0.0-b5 Reference Documentation
Updated on Mon Feb 10 2020 02:44:58.
© Copyright Michele Bosi. All rights reserved.