Searched refs:ulg (Results 1 - 11 of 11) sorted by relevance

/ast/src/cmd/codexlib/zip/
H A Dhuff.h35 extern int huff(ulg*, ulg, ulg, ush*, ush*, Huff_t**, int*, Vmalloc_t*);
H A Dzip.h14 typedef uint32_t ulg; typedef
H A Dhuff.c37 /* If BMAX needs to be larger than 16, then h and x[] should be ulg. */
42 ulg *b, /* code lengths in bits (all assumed <= BMAX) */
43 ulg n, /* number of codes (assumed <= N_MAX) */
44 ulg s, /* number of simple-valued codes (0..s-1) */
59 ulg a; /* counter for codes of length k */
60 ulg c[BMAX+1]; /* bit length count table */
61 ulg el; /* length of EOB code (value 256) */
62 ulg f; /* i repeats in table every f entries */
65 register ulg i; /* counter, current code */
66 register ulg
[all...]
H A Ddeflate.c116 ulg bit_buf = state->bit_buf; \
117 ulg bit_len = state->bit_len;
124 #define MASK_BITS(n) ((((ulg)1)<<(n))-1)
126 #define NEEDBITS(p,n) {while (bit_len<(n)){bit_buf|=((ulg)NEXTBYTE(p))<<bit_len;bit_len+=8;}}
149 ulg wp; /* current position in slide */
154 ulg bit_buf; /* bit buffer */
155 ulg bit_len; /* bits in bit buffer */
156 ulg copy_len;
157 ulg copy_pos;
215 register ulg
[all...]
H A Dimplode.c38 c8 17 Oct 92 G. Roelofs changed ULONG/UWORD/byte to ulg/ush/uch.
52 c15 6 Jul 96 W. Haidinger added ulg typecasts to flush() calls
111 ulg bit_buf; /* bit buffer */
112 ulg bit_len; /* bits in bit buffer */
122 ulg u, n, d, w;
124 ulg l[256]; /* bit lengths for codes */
190 #define MASK_BITS(n) ((((ulg)1)<<(n))-1)
191 #define NEEDBITS(p,n) {while((p)->bit_len<(n)){(p)->bit_buf|=((ulg)NEXTBYTE(p))<<(p)->bit_len;(p)->bit_len+=8;}}
192 #define GETBITS(p,n) ((ulg)(p)->bit_buf & MASK_BITS(n))
193 #define IGETBITS(p,n) ((~((ulg)(
[all...]
/ast/src/lib/libz/
H A Ddeflate.h98 ulg pending_buf_size; /* size of pending_buf */
123 ulg window_size;
244 ulg opt_len; /* bit length of current block with optimal trees */
245 ulg static_len; /* bit length of current block with static trees */
250 ulg compressed_len; /* total bit length of compressed file mod 2^32 */
251 ulg bits_sent; /* bit length of compressed data sent mod 2^32 */
284 void _tr_flush_block OF((deflate_state *s, charf *buf, ulg stored_len,
287 void _tr_stored_block OF((deflate_state *s, charf *buf, ulg stored_len,
H A Dtrees.c199 s->bits_sent += (ulg)length;
527 s->opt_len += (ulg)f * (bits + xbits);
528 if (stree) s->static_len += (ulg)f * (stree[n].Len + xbits);
870 ulg stored_len; /* length of input block */
875 s->compressed_len = (s->compressed_len + 3 + 7) & (ulg)~7L;
924 ulg stored_len; /* length of input block */
927 ulg opt_lenb, static_lenb; /* opt_len and static_len in bytes */
1048 ulg out_length = (ulg)s->last_lit*8L;
1049 ulg in_lengt
[all...]
H A Dzutil.c219 ulg bsize = (ulg)items*size;
H A Ddeflate.c295 s->pending_buf_size = (ulg)s->lit_bufsize * (sizeof(ush)+2L);
989 s->window_size = (ulg)2L*s->w_size;
1072 Assert((ulg)s->strstart <= s->window_size-MIN_LOOKAHEAD, "need lookahead");
1189 Assert((ulg)s->strstart <= s->window_size-MIN_LOOKAHEAD, "need lookahead");
1275 more = (unsigned)(s->window_size -(ulg)s->lookahead -(ulg)s->strstart);
1368 (ulg)((long)s->strstart - s->block_start), \
1397 ulg max_block_size = 0xffff;
1398 ulg max_start;
1424 if (s->strstart == 0 || (ulg)
[all...]
H A Dzutil.h51 typedef unsigned long ulg; typedef
/ast/src/cmd/INIT/
H A Dratz.c600 typedef unsigned long ulg; typedef
889 ulg bsize = (ulg)items*size;
1308 ulg pending_buf_size; /* size of pending_buf */
1333 ulg window_size;
1454 ulg opt_len; /* bit length of current block with optimal trees */
1455 ulg static_len; /* bit length of current block with static trees */
1460 ulg compressed_len; /* total bit length of compressed file mod 2^32 */
1461 ulg bits_sent; /* bit length of compressed data sent mod 2^32 */
1494 void _tr_flush_block OF((deflate_state *s, charf *buf, ulg stored_le
[all...]

Completed in 33 milliseconds