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

/freebsd-11.0-release/sys/cddl/contrib/opensolaris/uts/common/zmod/
H A Dinftrees.h55 extern int inflate_table OF((codetype type, unsigned short FAR *lens,
H A Dinflate.h112 unsigned have; /* number of code lengths in lens[] */
114 unsigned short lens[320]; /* temporary storage for code lengths */ member in struct:inflate_state
H A Dinftrees.c24 The code lengths are lens[0..codes-1]. The result starts at *table,
26 lens shorts, which is used as a work area. type is the type of code
34 int inflate_table(type, lens, codes, table, bits, work)
36 unsigned short FAR *lens;
79 code lengths are lens[0..codes-1]. Each length corresponds to the
91 lens[] are in the range 0..MAXBITS. The caller must assure this.
108 /* accumulate lengths for codes (assumes lens[] all in 0..MAXBITS) */
112 count[lens[sym]]++;
149 if (lens[sym] != 0) work[offs[lens[sy
[all...]
H A Dinflate.c227 while (sym < 144) state->lens[sym++] = 8;
228 while (sym < 256) state->lens[sym++] = 9;
229 while (sym < 280) state->lens[sym++] = 7;
230 while (sym < 288) state->lens[sym++] = 8;
234 inflate_table(LENS, state->lens, 288, &(next), &(bits), state->work);
238 while (sym < 32) state->lens[sym++] = 5;
241 inflate_table(DISTS, state->lens, 32, &(next), &(bits), state->work);
877 state->lens[order[state->have++]] = (unsigned short)BITS(3);
881 state->lens[order[state->have++]] = 0;
885 ret = inflate_table(CODES, state->lens, 1
[all...]
/freebsd-11.0-release/lib/libz/
H A Dinftrees.h60 int ZLIB_INTERNAL 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
32 int ZLIB_INTERNAL inflate_table(type, lens, codes, table, bits, work)
34 unsigned short FAR *lens;
77 code lengths are lens[0..codes-1]. Each length corresponds to the
89 lens[] are in the range 0..MAXBITS. The caller must assure this.
106 /* accumulate lengths for codes (assumes lens[] all in 0..MAXBITS) */
110 count[lens[sym]]++;
147 if (lens[sym] != 0) work[offs[lens[sy
[all...]
H A Dinfback.c97 while (sym < 144) state->lens[sym++] = 8;
98 while (sym < 256) state->lens[sym++] = 9;
99 while (sym < 280) state->lens[sym++] = 7;
100 while (sym < 288) state->lens[sym++] = 8;
104 inflate_table(LENS, state->lens, 288, &(next), &(bits), state->work);
108 while (sym < 32) state->lens[sym++] = 5;
111 inflate_table(DISTS, state->lens, 32, &(next), &(bits), state->work);
380 state->lens[order[state->have++]] = (unsigned short)BITS(3);
384 state->lens[order[state->have++]] = 0;
388 ret = inflate_table(CODES, state->lens, 1
[all...]
H A Dinflate.h114 unsigned have; /* number of code lengths in lens[] */
116 unsigned short lens[320]; /* temporary storage for code lengths */ member in struct:inflate_state
H A Dinflate.c276 while (sym < 144) state->lens[sym++] = 8;
277 while (sym < 256) state->lens[sym++] = 9;
278 while (sym < 280) state->lens[sym++] = 7;
279 while (sym < 288) state->lens[sym++] = 8;
283 inflate_table(LENS, state->lens, 288, &(next), &(bits), state->work);
287 while (sym < 32) state->lens[sym++] = 5;
290 inflate_table(DISTS, state->lens, 32, &(next), &(bits), state->work);
918 state->lens[order[state->have++]] = (unsigned short)BITS(3);
922 state->lens[order[state->have++]] = 0;
926 ret = inflate_table(CODES, state->lens, 1
[all...]
/freebsd-11.0-release/usr.bin/column/
H A Dcolumn.c230 int *lens, maxcols; local
239 if ((lens = calloc(maxcols, sizeof(int))) == NULL)
248 !(lens = realloc(lens,
251 memset((char *)lens + maxcols * sizeof(int),
262 if (t->len[coloff] > lens[coloff])
263 lens[coloff] = t->len[coloff];
269 lens[coloff] - t->len[coloff] + 2, L" ");
/freebsd-11.0-release/crypto/openssh/regress/unittests/sshkey/
H A Dtest_sshkey.c151 size_t lens[] = { local
156 for (i = 0; i < (sizeof(lens)/sizeof(lens[0])); i++) {
158 sshkey_type(k), lens[i]);
159 banana(buf, lens[i]);
160 signature_test(k, bad, sig_alg, buf, lens[i]);
/freebsd-11.0-release/lib/libz/test/
H A Dinfcover.c621 unsigned short lens[16], work[16]; local
627 lens[bits] = (unsigned short)(bits + 1);
628 lens[15] = 15;
631 ret = inflate_table(DISTS, lens, 16, &next, &bits, work);
635 ret = inflate_table(DISTS, lens, 16, &next, &bits, work);
/freebsd-11.0-release/usr.bin/bsdiff/bsdiff/
H A Dbsdiff.c220 off_t overlap,Ss,lens; local
345 s=0;Ss=0;lens=0;
351 if(s>Ss) { Ss=s; lens=i+1; }
354 lenf+=lens-overlap;
355 lenb-=lens;
/freebsd-11.0-release/contrib/libarchive/libarchive/test/
H A Dtest_write_format_iso9660_filename.c206 const int lens[] = { local
241 for (i = 0; lens[i] >= 0; i++) {
242 for (l = 0; l < lens[i]; l++) {
/freebsd-11.0-release/contrib/ncurses/ncurses/tinfo/
H A Dread_entry.c439 size_t lens = sizeof(suffix) - 1; local
441 size_t test = lens + size;
445 if (size >= lens
446 && !strcmp(path + size - lens, suffix))
/freebsd-11.0-release/contrib/ncurses/progs/
H A Dtoe.c235 size_t lens = sizeof(suffix) - 1; local
237 size_t need = lens + size;
240 if (size >= lens
241 && !strcmp(src + size - lens, suffix)) {
/freebsd-11.0-release/contrib/wpa/wpa_supplicant/
H A Dinterworking.c1071 u8 lens; local
1089 lens = *pos++;
1090 if (pos + (lens & 0x0f) + (lens >> 4) > end)
1093 if ((lens & 0x0f) == rc_len && os_memcmp(pos, rc_id, rc_len) == 0)
1095 pos += lens & 0x0f;
1097 if ((lens >> 4) == rc_len && os_memcmp(pos, rc_id, rc_len) == 0)
1099 pos += lens >> 4;

Completed in 256 milliseconds