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

/ast/src/lib/libz/
H A Dinftrees.h53 extern int inflate_table OF((codetype type, unsigned short FAR *lens,
H A Dinftrees.c22 The code lengths are lens[0..codes-1]. The result starts at *table,
24 lens shorts, which is used as a work area. type is the type of code
34 int inflate_table(codetype type, unsigned short FAR *lens, unsigned codes, argument
37 int inflate_table(type, lens, codes, table, bits, work)
39 unsigned short FAR *lens;
83 code lengths are lens[0..codes-1]. Each length corresponds to the
95 lens[] are in the range 0..MAXBITS. The caller must assure this.
112 /* accumulate lengths for codes (assumes lens[] all in 0..MAXBITS) */
116 count[lens[sym]]++;
153 if (lens[sy
[all...]
H A Dinflate.h110 unsigned have; /* number of code lengths in lens[] */
112 unsigned short lens[320]; /* temporary storage for code lengths */ member in struct:inflate_state
H A Dinfback.c88 while (sym < 144) state->lens[sym++] = 8;
89 while (sym < 256) state->lens[sym++] = 9;
90 while (sym < 280) state->lens[sym++] = 7;
91 while (sym < 288) state->lens[sym++] = 8;
95 inflate_table(LENS, state->lens, 288, &(next), &(bits), state->work);
99 while (sym < 32) state->lens[sym++] = 5;
102 inflate_table(DISTS, state->lens, 32, &(next), &(bits), state->work);
371 state->lens[order[state->have++]] = (unsigned short)BITS(3);
375 state->lens[order[state->have++]] = 0;
379 ret = inflate_table(CODES, state->lens, 1
[all...]
H A Dinflate.c220 while (sym < 144) state->lens[sym++] = 8;
221 while (sym < 256) state->lens[sym++] = 9;
222 while (sym < 280) state->lens[sym++] = 7;
223 while (sym < 288) state->lens[sym++] = 8;
227 inflate_table(LENS, state->lens, 288, &(next), &(bits), state->work);
231 while (sym < 32) state->lens[sym++] = 5;
234 inflate_table(DISTS, state->lens, 32, &(next), &(bits), state->work);
858 state->lens[order[state->have++]] = (unsigned short)BITS(3);
862 state->lens[order[state->have++]] = 0;
866 ret = inflate_table(CODES, state->lens, 1
[all...]
/ast/src/lib/libast/misc/
H A Dfindlib.h108 int* lens; \
H A Dfastfind.c504 if (!(fp->lens = vmnewof(fp->vm, 0, int, 2 * k, 0)))
548 fp->lens[i] = strlen(fp->dirs[i]);
812 * (*fp->dirs)[*fp->lens]=='/' if its
816 if ((n = p - fp->decode.path + 1) > (m = *fp->lens))
833 (*fp->dirs)[++(*fp->lens)] = '/';
844 fp->lens++;
/ast/src/cmd/INIT/
H A Dratz.c1671 unsigned have; /* number of code lengths in lens[] */
1673 unsigned short lens[320]; /* temporary storage for code lengths */ member in struct:inflate_state
1695 The code lengths are lens[0..codes-1]. The result starts at *table,
1697 lens shorts, which is used as a work area. type is the type of code
1705 int inflate_table(type, lens, codes, table, bits, work)
1707 unsigned short FAR *lens;
1750 code lengths are lens[0..codes-1]. Each length corresponds to the
1762 lens[] are in the range 0..MAXBITS. The caller must assure this.
1779 /* accumulate lengths for codes (assumes lens[] all in 0..MAXBITS) */
1783 count[lens[sy
[all...]

Completed in 24 milliseconds