Subversion Repositories Kolibri OS

Rev

Rev 1896 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1896 Rev 3926
Line 1... Line 1...
1
/* inffast.c -- fast decoding
1
/* inffast.c -- fast decoding
2
 * Copyright (C) 1995-2008, 2010 Mark Adler
2
 * Copyright (C) 1995-2008, 2010, 2013 Mark Adler
3
 * For conditions of distribution and use, see copyright notice in zlib.h
3
 * For conditions of distribution and use, see copyright notice in zlib.h
4
 */
4
 */
Line 5... Line 5...
5
 
5
 
6
#include "zutil.h"
6
#include "zutil.h"
Line 67... Line 67...
67
void ZLIB_INTERNAL inflate_fast(strm, start)
67
void ZLIB_INTERNAL inflate_fast(strm, start)
68
z_streamp strm;
68
z_streamp strm;
69
unsigned start;         /* inflate()'s starting value for strm->avail_out */
69
unsigned start;         /* inflate()'s starting value for strm->avail_out */
70
{
70
{
71
    struct inflate_state FAR *state;
71
    struct inflate_state FAR *state;
72
    unsigned char FAR *in;      /* local strm->next_in */
72
    z_const unsigned char FAR *in;      /* local strm->next_in */
73
    unsigned char FAR *last;    /* while in < last, enough input available */
73
    z_const unsigned char FAR *last;    /* have enough input while in < last */
74
    unsigned char FAR *out;     /* local strm->next_out */
74
    unsigned char FAR *out;     /* local strm->next_out */
75
    unsigned char FAR *beg;     /* inflate()'s initial strm->next_out */
75
    unsigned char FAR *beg;     /* inflate()'s initial strm->next_out */
76
    unsigned char FAR *end;     /* while out < end, enough space available */
76
    unsigned char FAR *end;     /* while out < end, enough space available */
77
#ifdef INFLATE_STRICT
77
#ifdef INFLATE_STRICT
78
    unsigned dmax;              /* maximum distance from zlib header */
78
    unsigned dmax;              /* maximum distance from zlib header */