/haiku-fatelf/src/libs/pdflib/libs/flate/ |
H A D | trees.h | 76 const uch _dist_code[DIST_CODE_LEN] = { 105 const uch _length_code[MAX_MATCH-MIN_MATCH+1]= {
|
H A D | deflate.h | 200 uch depth[2*L_CODES+1]; 291 extern uch _length_code[]; 292 extern uch _dist_code[]; 294 extern const uch _length_code[]; 295 extern const uch _dist_code[]; 299 { uch cc = (c); \ 306 { uch len = (length); \
|
/haiku-fatelf/src/libs/zlib/ |
H A D | trees.h | 73 const uch ZLIB_INTERNAL _dist_code[DIST_CODE_LEN] = { 102 const uch ZLIB_INTERNAL _length_code[MAX_MATCH-MIN_MATCH+1]= {
|
H A D | deflate.h | 210 uch depth[2*L_CODES+1]; 312 extern uch ZLIB_INTERNAL _length_code[]; 313 extern uch ZLIB_INTERNAL _dist_code[]; 315 extern const uch ZLIB_INTERNAL _length_code[]; 316 extern const uch ZLIB_INTERNAL _dist_code[]; 320 { uch cc = (c); \ 327 { uch len = (length); \
|
/haiku-fatelf/src/bin/unzip/ |
H A D | globals.h | 83 uch *tgt, *src; 200 uch *redirect_buffer; /* pointer to head of allocated buffer */ 201 uch *redirect_pointer; /* pointer past end of written data */ 203 uch *redirect_sldptr; /* head of decompression slide buffer */ 231 uch *inbuf; /* input buffer (any size is OK) */ 232 uch *inptr; /* pointer into input buffer */ 250 uch *extra_field; /* Unix, VMS, Mac, OS/2, Acorn, ... */ 251 uch *hold; 259 uch *outbufptr; /* extract.c static */ 277 uch *outbu [all...] |
H A D | match.c | 92 # define ToLower(c) (IsUpper((uch) c) ? (unsigned) c | 0x20 : (unsigned) c) 108 #define match(s,p,ic) (recmatch((ZCONST uch *)p,(ZCONST uch *)s,ic) == 1) 109 int recmatch OF((ZCONST uch *pattern, ZCONST uch *string, int ignore_case)); 112 static int recmatch OF((ZCONST uch *pattern, ZCONST uch *string, 150 j = recmatch((uch *)dospattern, (uch *)string, ignore_case); 155 return recmatch((uch *)patter [all...] |
H A D | funzip.c | 43 1.9 17 Oct 92 G. Roelofs changed ULONG/UWORD/byte to ulg/ush/uch; 163 ush SH(uch* p) { return ((ush)(uch)((p)[0]) | ((ush)(uch)((p)[1]) << 8)); } 164 ulg LG(uch* p) { return ((ulg)(SH(p)) | ((ulg)(SH((p)+2)) << 16)); } 167 #define SH(p) ((ush)(uch)((p)[0]) | ((ush)(uch)((p)[1]) << 8)) 174 static int partflush OF((uch *rawbuf, unsigned w)); 205 uch *p; 249 uch *rawbu [all...] |
H A D | unzip.h | 338 typedef unsigned char uch; /* code assumes unsigned bytes; these type- */ typedef 346 typedef int (UZ_EXP MsgFn) (zvoid *pG, uch *buf, ulg size, int flag); 347 typedef int (UZ_EXP InputFn) (zvoid *pG, uch *buf, int *size, int flag); 472 uch major; /* e.g., integer 5 */ 473 uch minor; /* e.g., 2 */ 474 uch patchlevel; /* e.g., 0 */ 475 uch not_used; 504 uch version_made_by[2]; 505 uch version_needed_to_extract[2]; 596 int UZ_EXP UzpMessagePrnt OF((zvoid *pG, uch *bu [all...] |
H A D | unshrink.c | 104 uch *stacktop = stack + offset; 105 register uch *newstr; 115 uch *realbuf = G.outbuf; 132 (G.outbuf2 = (uch *)malloc(TRANSBUFSIZ)) == (uch *)NULL) 138 Value[code] = (uch)code; 167 *G.outptr++ = (uch)oldcode; 168 OUTDBG((uch)oldcode) 224 register uch *p;
|
H A D | unzpriv.h | 1431 # define foreign(c) ascii[(uch)(c)] 1432 # define native(c) ebcdic[(uch)(c)] 1522 uch hostver; 1523 uch hostnum; 1547 uch *value; /* pointer to 8KB char buffer */ 1548 uch *Stack; /* pointer to another 8KB char buffer */ 1550 uch *Slide; /* explode(), inflate(), unreduce() */ 1556 uch value[HSIZE]; /* 8KB */ 1557 uch Stack[HSIZE]; /* 8KB */ 1559 uch Slid [all...] |
H A D | beos.c | 49 static uch *scanBeOSexfield OF((const uch *ef_ptr, unsigned ef_len)); 51 static void setBeOSexfield OF((const char *path, uch *extra_field)); 53 static void printBeOSexfield OF((int isdir, uch *extra_field)); 62 uch ID[2]; 63 uch size[2]; 64 uch ID_2[4]; 65 uch loadaddr[4]; 66 uch execaddr[4]; 67 uch att [all...] |
H A D | crc32.c | 39 register ZCONST uch *buf; /* pointer to bytes to pump through */
|
H A D | crypt.c | 93 local int testp OF((__GPRO__ ZCONST uch *h)); 94 local int testkey OF((__GPRO__ ZCONST uch *h, ZCONST char *key)); 181 uch header[RAND_HEAD_LEN-2]; /* random header */ 194 header[n] = (uch)zencode(c, t); 389 uch h[RAND_HEAD_LEN]; 399 h[n] = (uch)b; 461 ZCONST uch *h; 516 ZCONST uch *h; /* decrypted header */ 524 uch *p; 525 uch h [all...] |
H A D | cryptf.c | 96 local int testp OF((__GPRO__ ZCONST uch *h)); 97 local int testkey OF((__GPRO__ ZCONST uch *h, ZCONST char *key)); 184 uch header[RAND_HEAD_LEN-2]; /* random header */ 197 header[n] = (uch)zencode(c, t); 392 uch h[RAND_HEAD_LEN]; 402 h[n] = (uch)b; 464 ZCONST uch *h; 519 ZCONST uch *h; /* decrypted header */ 527 uch *p; 528 uch h [all...] |
H A D | extract.c | 49 printf("%02x ", (uch)(buf)[i+(j<<4)]); \ 66 printf("%02x ", (uch)(buf)[i]); \ 95 static int TestExtraField OF((__GPRO__ uch *ef, unsigned ef_len)); 96 static int test_compr_eb OF((__GPRO__ uch *eb, unsigned eb_size, 98 int (*test_uc_ebdata)(__GPRO__ uch *eb, unsigned eb_size, 99 uch *eb_ucptr, ulg eb_ucsize))); 102 static void decompress_bits OF((uch *outptr, unsigned needlen, 103 ZCONST uch *bitptr)); 276 uch *cd_inptr; 988 if (G.extra_field != (uch *)NUL [all...] |
/haiku-fatelf/src/bin/zip/ |
H A D | util.c | 22 uch upper[256], lower[256]; 212 uch cc = (cs ? (uch)*s : case_map((uch)*s)); 213 uch uc = (uch) c; 215 for (uc = uc ? uc : (uch)*p; uc <= (uch)*p; uc++) 261 return (cs ? c == *s : case_map((uch)c) == case_map((uch)* [all...] |
H A D | api.h | 51 uch major; /* e.g., integer 5 */ 52 uch minor; /* e.g., 2 */ 53 uch patchlevel; /* e.g., 0 */ 54 uch not_used;
|
H A D | crc32.c | 39 register ZCONST uch *buf; /* pointer to bytes to pump through */
|
H A D | crypt.c | 94 local int testp OF((__GPRO__ ZCONST uch *h)); 95 local int testkey OF((__GPRO__ ZCONST uch *h, ZCONST char *key)); 182 uch header[RAND_HEAD_LEN-2]; /* random header */ 195 header[n] = (uch)zencode(c, t); 404 uch h[RAND_HEAD_LEN]; 414 h[n] = (uch)b; 476 ZCONST uch *h; 531 ZCONST uch *h; /* decrypted header */ 539 uch *p; 540 uch h [all...] |
H A D | deflate.c | 137 uch window[2L*WSIZE]; 157 uch far * near window = NULL; 320 window = (uch far *) zcalloc(WSIZE, 2*sizeof(uch)); 417 register uch far *scan = window + strstart; /* current string */ 418 register uch far *match; /* matched string */ 437 register uch far *strend = window + strstart + MAX_MATCH - 1; 441 register uch far *strend = window + strstart + MAX_MATCH; 442 register uch scan_end1 = scan[best_len-1]; 443 register uch scan_en [all...] |
H A D | zip.h | 109 typedef unsigned char uch; /* unsigned 8-bit value */ typedef 230 # define CRCVAL_INITIAL crc32(0L, (uch *)NULL, 0) 240 extern uch upper[256]; /* Country dependent case map table */ 241 extern uch lower[256]; 243 extern ZCONST uch ascii[256]; /* EBCDIC <--> ASCII translation tables */ 244 extern ZCONST uch ebcdic[256]; 247 extern ZCONST uch Far iso2oem[128]; 250 extern ZCONST uch Far oem2iso[128]; 507 ulg crc32 OF((ulg, ZCONST uch *, extent));
|
/haiku-fatelf/src/bin/gzip/ |
H A D | unzip.c | 54 uch *h = inbuf + inptr; /* first local header */ 105 uch buf[EXTHDR]; /* extended local header */ 138 uch c = (uch)get_byte(); 155 buf[n] = (uch)get_byte(); /* may cause an error if EOF */ 167 buf[n] = (uch)get_byte(); /* may cause an error if EOF */
|
H A D | zip.c | 36 uch flags = 0; /* general purpose bit flags */ 64 put_byte((uch)deflate_flags); /* extra flags */ 114 crc = updcrc((uch*)buf, len);
|
H A D | gzip.h | 44 typedef unsigned char uch; typedef 115 EXTERN(uch, inbuf); /* input buffer */ 116 EXTERN(uch, outbuf); /* output buffer */ 118 EXTERN(uch, window); /* Sliding window and suffix table (unlzw) */ 210 #define put_byte(c) {outbuf[outcnt++]=(uch)(c); if (outcnt==OUTBUFSIZ)\ 212 #define put_ubyte(c) {window[outcnt++]=(uch)(c); if (outcnt==WSIZE)\ 218 outbuf[outcnt++] = (uch) ((w) & 0xff); \ 219 outbuf[outcnt++] = (uch) ((ush)(w) >> 8); \ 221 put_byte((uch)((w) & 0xff)); \ 222 put_byte((uch)((us [all...] |
H A D | unpack.c | 35 local uch literal[LITERALS]; 51 /* local uch prefix_len[1 << MAX_PEEK]; */ 136 literal[base++] = (uch)get_byte(); 149 uch *prefixp; /* pointer in prefix_len */ 171 while (prefixes--) *--prefixp = (uch)len;
|