Home
last modified time | relevance | path

Searched refs:maxmaxcode (Results 1 – 3 of 3) sorted by relevance

/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppdump/
H A Dbsd-comp.c92 u_int maxmaxcode; /* largest valid code */ member
220 if (db->max_ent >= db->maxmaxcode) {
292 u_int newlen, hsize, hshift, maxmaxcode; local
328 maxmaxcode = MAXCODE(bits);
338 db->lens = (u_short *) malloc((maxmaxcode+1) * sizeof(db->lens[0]));
348 db->maxmaxcode = maxmaxcode;
493 if (max_ent < db->maxmaxcode) {
527 if (max_ent >= MAXCODE(n_bits) && max_ent < db->maxmaxcode)
620 if (incode > max_ent + 2 || incode > db->maxmaxcode
691 if (oldcode != CLEAR && max_ent < db->maxmaxcode) {
[all …]
/illumos-gate/usr/src/uts/common/io/ppp/spppcomp/
H A Dbsd-comp.c106 uint_t maxmaxcode; /* largest valid code */ member
259 if (db->max_ent >= db->maxmaxcode) { in bsd_check()
351 uint_t maxmaxcode; in bsd_alloc() local
409 maxmaxcode = MAXCODE(bits); in bsd_alloc()
412 newlen += (maxmaxcode+1) * sizeof (db->lens[0]); in bsd_alloc()
429 db->maxmaxcode = maxmaxcode; in bsd_alloc()
796 if (max_ent < db->maxmaxcode) { in bsd_compress()
1017 if (max_ent < db->maxmaxcode) { in bsd_incomp()
1288 incode > db->maxmaxcode || in bsd_decompress()
1389 if (oldcode != CLEAR && max_ent < db->maxmaxcode) { in bsd_decompress()
[all …]
/illumos-gate/usr/src/cmd/compress/
H A Dcompress.c139 static code_int maxmaxcode = 1 << BITS; variable
525 maxmaxcode = 1 << maxbits; in main()
633 maxmaxcode = 1 << maxbits; in main()
1073 if (free_ent < maxmaxcode) { in compress()
1239 maxcode = maxmaxcode; in output()
1361 if ((code = free_ent) < maxmaxcode) { in decompress()
1405 maxcode = maxmaxcode; in getcode()
1469 } else if (free_ent < maxmaxcode) in printcodes()