#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "misc/util/abc_global.h"
#include "zutil.h"
Go to the source code of this file.
Definition at line 41 of file zutil.c.
46 switch ((
int)(
sizeof(
uInt))) {
48 case 4: flags += 1;
break;
49 case 8: flags += 2;
break;
52 switch ((
int)(
sizeof(
uLong))) {
54 case 4: flags += 1 << 2;
break;
55 case 8: flags += 2 << 2;
break;
56 default: flags += 3 << 2;
58 switch ((
int)(
sizeof(
voidpf))) {
60 case 4: flags += 1 << 4;
break;
61 case 8: flags += 2 << 4;
break;
62 default: flags += 3 << 4;
64 switch ((
int)(
sizeof(
z_off_t))) {
66 case 4: flags += 1 << 6;
break;
67 case 8: flags += 2 << 6;
break;
68 default: flags += 3 << 6;
73 #if defined(ASMV) || defined(ASMINF)
82 #ifdef DYNAMIC_CRC_TABLE
91 #ifdef PKZIP_BUG_WORKAROUND
100 # ifdef HAS_vsprintf_void
104 # ifdef HAS_vsnprintf_void
112 # ifdef HAS_sprintf_void
116 # ifdef HAS_snprintf_void
Definition at line 165 of file zutil.c.
169 for (j = 0; j < len; j++) {
170 if (
s1[j] != s2[j])
return 2*(
s1[j] > s2[j])-1;
static char s1[largest_string]
Definition at line 157 of file zutil.c.
159 if (len == 0)
return;
162 }
while (--len != 0);
Definition at line 175 of file zutil.c.
177 if (len == 0)
return;
180 }
while (--len != 0);
Initial value:= {
"need dictionary",
"stream end",
"",
"file error",
"stream error",
"data error",
"insufficient memory",
"buffer error",
"incompatible version",
""}
Definition at line 23 of file zutil.c.