Home
last modified time | relevance | path

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

/netbsd-src/sys/net/
H A Dbsd-comp.c96 u_int maxmaxcode; /* largest valid code */ member
239 if (db->max_ent >= db->maxmaxcode) { in bsd_check()
306 u_int newlen, hsize, hshift, maxmaxcode; in bsd_alloc() local
342 maxmaxcode = MAXCODE(bits); in bsd_alloc()
351 db->lens = malloc((maxmaxcode+1) * sizeof(db->lens[0]), in bsd_alloc()
362 db->maxmaxcode = maxmaxcode; in bsd_alloc()
593 if (max_ent < db->maxmaxcode) { in bsd_compress()
639 if (max_ent >= MAXCODE(n_bits) && max_ent < db->maxmaxcode) in bsd_compress()
737 if (max_ent < db->maxmaxcode) { in bsd_incomp()
772 if (max_ent >= MAXCODE(n_bits) && max_ent < db->maxmaxcode) in bsd_incomp()
[all …]
/netbsd-src/usr.bin/compress/
H A Dzopen.c149 #define maxmaxcode zs->zs_maxmaxcode macro
255 maxmaxcode = 1L << maxbits; in zwrite()
311 if (free_ent < maxmaxcode) { in zwrite()
431 maxcode = maxmaxcode; in output()
488 maxmaxcode = 1L << maxbits; in zread()
547 if ((code = free_ent) < maxmaxcode && oldcode != -1) { in zread()
584 maxcode = maxmaxcode; in getcode()
668 maxmaxcode = 1 << maxbits; /* Should NEVER generate this code. */ in zopen()