Home
last modified time | relevance | path

Searched refs:MAXCODE (Results 1 – 4 of 4) sorted by relevance

/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppdump/
H A Dbsd-comp.c161 #define MAXCODE(b) ((1 << (b)) - 1) macro
162 #define BADCODEM1 MAXCODE(BSD_MAX_BITS)
328 maxmaxcode = MAXCODE(bits);
496 if (max_ent >= MAXCODE(n_bits))
527 if (max_ent >= MAXCODE(n_bits) && max_ent < db->maxmaxcode)
727 if (max_ent >= MAXCODE(n_bits) && max_ent < db->maxmaxcode) {
/illumos-gate/usr/src/lib/fm/libdiagcode/common/
H A Ddiagcode_test.c55 #define MAXCODE 100 macro
196 char code[MAXCODE]; in do_key2code()
229 if (fm_dc_key2code(Dhp, key, code, MAXCODE) < 0) in do_key2code()
/illumos-gate/usr/src/uts/common/io/ppp/spppcomp/
H A Dbsd-comp.c193 #define MAXCODE(b) ((1 << (b)) - 1) macro
194 #define BADCODEM1 MAXCODE(BSD_MAX_BITS)
409 maxmaxcode = MAXCODE(bits); in bsd_alloc()
802 if (max_ent >= MAXCODE(n_bits)) { in bsd_compress()
852 if (max_ent >= MAXCODE(n_bits) && max_ent < db->maxmaxcode) { in bsd_compress()
1023 if (max_ent >= MAXCODE(n_bits)) { in bsd_incomp()
1065 if (max_ent >= MAXCODE(n_bits) && max_ent < db->maxmaxcode) { in bsd_incomp()
1449 if (max_ent >= MAXCODE(n_bits) && in bsd_decompress()
/illumos-gate/usr/src/cmd/compress/
H A Dcompress.c140 #define MAXCODE(n_bits) ((1 << (n_bits)) - 1) macro
1006 maxcode = MAXCODE(n_bits = INIT_BITS); in compress()
1234 maxcode = MAXCODE(n_bits = INIT_BITS); in output()
1241 maxcode = MAXCODE(n_bits); in output()
1291 maxcode = MAXCODE(n_bits = INIT_BITS); in decompress()
1407 maxcode = MAXCODE(n_bits); in getcode()
1410 maxcode = MAXCODE(n_bits = INIT_BITS); in getcode()
1463 maxcode = MAXCODE(n_bits); in printcodes()