Searched refs:uch (Results 26 - 50 of 58) sorted by relevance

123

/haiku-fatelf/src/bin/unzip/
H A Dfileio.c99 static int partflush OF((__GPRO__ uch *rawbuf, ulg size, int unshrink));
102 static int is_vms_varlen_txt OF((__GPRO__ uch *ef_buf, unsigned ef_len));
531 (uch *)LoadFarString(ReadError), /* CANNOT use slide */
575 (uch *)LoadFarString(ReadError),
592 uch *p;
631 uch *p;
722 uch *rawbuf;
750 uch *rawbuf; /* cannot be ZCONST, gets passed to (*G.message)() */
755 register uch *p;
756 register uch *
[all...]
H A Dinflate.c60 c10 17 Oct 92 G. Roelofs changed ULONG/UWORD/byte to ulg/ush/uch,
119 ush into uch, to save space
241 inflate.h must supply the uch slide[WSIZE] array, the zvoid typedef
251 typedef unsigned char uch;
467 G.inptr = (uch *)G.dstrm.next_in;
504 to be usable as if it were declared "uch slide[32768];" or as just
505 "uch *slide;" and then malloc'ed in the latter case. The definition
531 static ZCONST uch cplext64[] = {
537 static ZCONST uch cplext32[] = {
553 static ZCONST uch cpdext6
[all...]
H A Dinflatef.c225 G.inptr = (uch *)G.dstrm.next_in;
262 to be usable as if it were declared "uch slide[32768];" or as just
263 "uch *slide;" and then malloc'ed in the latter case. The definition
289 static ZCONST uch cplext64[] = {
295 static ZCONST uch cplext32[] = {
311 static ZCONST uch cpdext64[] = {
318 static ZCONST uch cpdext32[] = {
466 redirSlide[w++] = (uch)t->v.n;
605 redirSlide[w++] = (uch)b;
828 MESSAGE((uch *)"(incomplet
[all...]
H A Dprocess.c182 G.inbuf = (uch *)malloc(INBUFSIZ + 4); /* 4 extra for hold[] (below) */
183 G.outbuf = (uch *)malloc(OUTBUFSIZ + 1); /* 1 extra for string term. */
185 if ((G.inbuf == (uch *)NULL) || (G.outbuf == (uch *)NULL)) {
323 (*G.message)((zvoid *)&G, (uch *)"\n", 1L, 0);
434 (*G.message)((zvoid *)&G, (uch *)"\n", 1L, 0x401);
492 if (G.extra_field != (uch *)NULL) {
494 G.extra_field = (uch *)NULL;
501 G.outbuf2 = (uch *)NULL;
509 G.inbuf = G.outbuf = (uch *)NUL
[all...]
H A Dlist.c196 if (G.extra_field != (uch *)NULL) {
198 G.extra_field = (uch *)NULL;
243 uch *ef_ptr = G.extra_field;
549 if (G.extra_field != (uch *)NULL) {
551 G.extra_field = (uch *)NULL;
668 (*G.message)((zvoid *)&G, (uch *)name, (ulg)strlen(name), 0);
669 (*G.message)((zvoid *)&G, (uch *)"\n", 1L, 0);
H A Dcrctab.c107 static uch p[] = {0,1,2,4,5,7,8,10,11,12,16,22,23,26};
111 for (i = 0; i < sizeof(p)/sizeof(uch); i++)
H A Dexplode.c39 c8 17 Oct 92 G. Roelofs changed ULONG/UWORD/byte to ulg/ush/uch.
66 "extra" from ush into uch (to save space)
115 #include "unzip.h" /* must supply slide[] (uch) array and NEXTBYTE macro */
148 /* This must be supplied in an external module useable like "uch slide[8192];"
149 or "uch *slide;", where the latter would be malloc'ed. In unzip, slide[]
168 static ZCONST uch extra[] =
287 redirSlide[w++] = (uch)t->v.n;
404 redirSlide[w++] = (uch)b;
H A Debcdic.h53 ZCONST uch ebcdic[] = {
97 ZCONST uch ascii[] = {
148 ZCONST uch ebcdic[] = {
184 ZCONST uch ascii[] = {
239 ZCONST uch Far iso2oem[] = {
260 ZCONST uch Far oem2iso[] = {
H A Dunzip.c675 # define UZ_SLIDE_CHUNK (sizeof(shrint)+sizeof(uch)+sizeof(uch))
679 G.area.Slide = (uch *)zcalloc(UZ_NUMOF_CHUNKS, UZ_SLIDE_CHUNK);
685 (sizeof(shrint) + sizeof(uch))*(HSIZE);
1006 if (G.area.Slide != (uch *)NULL) {
1008 G.area.Slide = (uch *)NULL;
H A Dapi.c396 int writeToMemory(__GPRO__ ZCONST uch *rawbuf, extent size)
398 if ((uch *)rawbuf != G.redirect_pointer)
/haiku-fatelf/src/bin/zip/
H A Dtrees.c273 local uch near bl_order[BL_CODES]
286 local uch near depth[2*L_CODES+1];
289 local uch length_code[MAX_MATCH-MIN_MATCH+1];
292 local uch dist_code[512];
305 local uch far l_buf[LIT_BUFSIZE]; /* buffer for literals/lengths */
308 local uch far *l_buf;
312 local uch near flag_buf[(LIT_BUFSIZE/8)];
320 local uch flags; /* current flags not yet saved in flag_buf */
321 local uch flag_bit; /* current bit used in flags */
485 l_buf = (uch fa
[all...]
H A Dzipup.c135 local uch *window = NULL; /* Used to read all input file at once */
138 extern uch *window; /* Used to read all input file at once */
426 window = (uch*)mmap(0, window_size, PROT_READ, MAP_PRIVATE, ifile, 0);
428 window = (uch*)valloc(window_size - remain + PAGESIZE);
430 window = (uch*)mmap((char*)window, window_size - remain, PROT_READ,
433 window = (uch*)(-1);
436 if (window == (uch*)(-1)) {
447 window = window ? (uch*) realloc(window, (unsigned)window_size)
448 : (uch*) malloc((unsigned)window_size);
577 crc = crc32(crc, (uch *)
[all...]
H A Dcrctab.c107 static uch p[] = {0,1,2,4,5,7,8,10,11,12,16,22,23,26};
111 for (i = 0; i < sizeof(p)/sizeof(uch); i++)
H A Dzipfile.c32 ush SH(uch* p) { return ((ush)(uch)((p)[0]) | ((ush)(uch)((p)[1]) << 8)); }
33 ulg LG(uch* p) { return ((ulg)(SH(p)) | ((ulg)(SH((p)+2)) << 16)); }
36 #define SH(a) ((ush)(((ush)(uch)(a)[0]) | (((ush)(uch)(a)[1]) << 8)))
390 || (p == 3 && (uch) m != 0xF3))
885 (unsigned)n, (uch)b[n], (uch)u[n]);
H A Debcdic.h53 ZCONST uch ebcdic[] = {
97 ZCONST uch ascii[] = {
148 ZCONST uch ebcdic[] = {
184 ZCONST uch ascii[] = {
239 ZCONST uch Far iso2oem[] = {
260 ZCONST uch Far oem2iso[] = {
/haiku-fatelf/src/bin/gzip/
H A Dinflate.c122 uch e; /* number of extra bits or operation */
123 uch b; /* number of bits in this code or subcode */
148 to be usable as if it were declared "uch slide[32768];" or as just
149 "uch *slide;" and then malloc'ed in the latter case. The definition
216 uch cc;
220 # define NEXTBYTE() (uch)get_byte()
419 r.b = (uch)l; /* bits to dump before this table */
420 r.e = (uch)(16 + j); /* bits in this table */
428 r.b = (uch)(k - w);
433 r.e = (uch)(*
[all...]
H A Dunlzh.c18 local unsigned decode OF((unsigned count, uch buffer[]));
35 local void make_table OF((int nchar, uch bitlen[],
85 /* local uch c_len[NC]; */
91 local uch pt_len[NPT];
143 uch bitlen[];
341 uch buffer[];
H A Dtrees.c220 local uch near bl_order[BL_CODES]
233 local uch near depth[2*L_CODES+1];
236 local uch length_code[MAX_MATCH-MIN_MATCH+1];
239 local uch dist_code[512];
252 /* DECLARE(uch, l_buf, LIT_BUFSIZE); buffer for literals or lengths */
256 local uch near flag_buf[(LIT_BUFSIZE/8)];
264 local uch flags; /* current flags not yet saved in flag_buf */
265 local uch flag_bit; /* current bit used in flags */
353 length_code[length++] = (uch)code;
361 length_code[length-1] = (uch)cod
[all...]
H A Ddeflate.c134 /* DECLARE(uch, window, 2L*WSIZE); */
361 register uch *scan = window + strstart; /* current string */
362 register uch *match; /* matched string */
381 register uch *strend = window + strstart + MAX_MATCH - 1;
385 register uch *strend = window + strstart + MAX_MATCH;
386 register uch scan_end1 = scan[best_len-1];
387 register uch scan_end = scan[best_len];
H A Dgzip.c188 DECLARE(uch, inbuf, INBUFSIZ +INBUF_EXTRA);
189 DECLARE(uch, outbuf, OUTBUFSIZ+OUTBUF_EXTRA);
191 DECLARE(uch, window, 2L*WSIZE);
576 ALLOC(uch, inbuf, INBUFSIZ +INBUF_EXTRA);
577 ALLOC(uch, outbuf, OUTBUFSIZ+OUTBUF_EXTRA);
579 ALLOC(uch, window, 2L*WSIZE);
1161 uch flags; /* compression flags */
1194 flags = (uch)get_byte();
1378 uch buf[8];
/haiku-fatelf/src/libs/pdflib/libs/flate/
H A Dzutil.h37 typedef unsigned char uch; typedef
38 typedef uch FAR uchf;
H A Dtrees.c71 local const uch bl_order[BL_CODES]
103 uch _dist_code[DIST_CODE_LEN];
109 uch _length_code[MAX_MATCH-MIN_MATCH+1];
182 put_byte(s, (uch)((w) & 0xff)); \
183 put_byte(s, (uch)((ush)(w) >> 8)); \
266 _length_code[length++] = (uch)code;
274 _length_code[length-1] = (uch)code;
281 _dist_code[dist++] = (uch)code;
289 _dist_code[256 + dist++] = (uch)code;
353 fprintf(header, "const uch _dist_cod
[all...]
H A Dzutil.c147 *((ush*)&buf+1) += ((ush)((uch*)buf-0) + 15) >> 4;
/haiku-fatelf/src/libs/zlib/
H A Dtrees.c71 local const uch bl_order[BL_CODES]
103 uch _dist_code[DIST_CODE_LEN];
109 uch _length_code[MAX_MATCH-MIN_MATCH+1];
182 put_byte(s, (uch)((w) & 0xff)); \
183 put_byte(s, (uch)((ush)(w) >> 8)); \
267 _length_code[length++] = (uch)code;
275 _length_code[length-1] = (uch)code;
282 _dist_code[dist++] = (uch)code;
290 _dist_code[256 + dist++] = (uch)code;
354 fprintf(header, "const uch ZLIB_INTERNA
[all...]
H A Dzutil.h37 typedef unsigned char uch; typedef
38 typedef uch FAR uchf;

Completed in 385 milliseconds

123