Searched refs:lens (Results 1 - 6 of 6) sorted by relevance

/darwin-on-arm/xnu/libkern/zlib/
H A Dinftrees.h80 extern int inflate_table OF((codetype type, unsigned short FAR *lens,
H A Dinflate.h137 unsigned have; /* number of code lengths in lens[] */
139 unsigned short lens[320]; /* temporary storage for code lengths */ member in struct:inflate_state
H A Dinftrees.c49 The code lengths are lens[0..codes-1]. The result starts at *table,
51 lens shorts, which is used as a work area. type is the type of code
59 int inflate_table(type, lens, codes, table, bits, work)
61 unsigned short FAR *lens;
104 code lengths are lens[0..codes-1]. Each length corresponds to the
116 lens[] are in the range 0..MAXBITS. The caller must assure this.
133 /* accumulate lengths for codes (assumes lens[] all in 0..MAXBITS) */
137 count[lens[sym]]++;
174 if (lens[sym] != 0) work[offs[lens[sy
[all...]
H A Dinfback.c117 while (sym < 144) state->lens[sym++] = 8;
118 while (sym < 256) state->lens[sym++] = 9;
119 while (sym < 280) state->lens[sym++] = 7;
120 while (sym < 288) state->lens[sym++] = 8;
124 inflate_table(LENS, state->lens, 288, &(next), &(bits), state->work);
128 while (sym < 32) state->lens[sym++] = 5;
131 inflate_table(DISTS, state->lens, 32, &(next), &(bits), state->work);
400 state->lens[order[state->have++]] = (unsigned short)BITS(3);
404 state->lens[order[state->have++]] = 0;
408 ret = inflate_table(CODES, state->lens, 1
[all...]
H A Dinflate.c249 while (sym < 144) state->lens[sym++] = 8;
250 while (sym < 256) state->lens[sym++] = 9;
251 while (sym < 280) state->lens[sym++] = 7;
252 while (sym < 288) state->lens[sym++] = 8;
256 inflate_table(LENS, state->lens, 288, &(next), &(bits), state->work);
260 while (sym < 32) state->lens[sym++] = 5;
263 inflate_table(DISTS, state->lens, 32, &(next), &(bits), state->work);
887 state->lens[order[state->have++]] = (unsigned short)BITS(3);
891 state->lens[order[state->have++]] = 0;
895 ret = inflate_table(CODES, state->lens, 1
[all...]
/darwin-on-arm/xnu/bsd/net/
H A Dbsd_comp.c141 u_int16_t *lens; /* array of lengths of codes */ member in struct:bsd_db
390 db->lens = NULL;
392 MALLOC(db->lens, u_int16_t *, (maxmaxcode+1) * sizeof(db->lens[0]),
394 if (!db->lens) {
415 if (db->lens)
416 FREE(db->lens, M_DEVBUF);
451 || (decomp && db->lens == NULL))
457 db->lens[--i] = 1;
812 db->lens[max_en
[all...]

Completed in 77 milliseconds