Home
last modified time | relevance | path

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

/titanic_44/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) {
/titanic_44/usr/src/lib/fm/libdiagcode/common/
H A Ddiagcode_test.c57 #define MAXCODE 100 macro
198 char code[MAXCODE]; in do_key2code()
231 if (fm_dc_key2code(Dhp, key, code, MAXCODE) < 0) in do_key2code()
/titanic_44/usr/src/uts/common/io/ppp/spppcomp/
H A Dbsd-comp.c195 #define MAXCODE(b) ((1 << (b)) - 1) macro
196 #define BADCODEM1 MAXCODE(BSD_MAX_BITS)
411 maxmaxcode = MAXCODE(bits); in bsd_alloc()
804 if (max_ent >= MAXCODE(n_bits)) { in bsd_compress()
854 if (max_ent >= MAXCODE(n_bits) && max_ent < db->maxmaxcode) { in bsd_compress()
1025 if (max_ent >= MAXCODE(n_bits)) { in bsd_incomp()
1067 if (max_ent >= MAXCODE(n_bits) && max_ent < db->maxmaxcode) { in bsd_incomp()
1451 if (max_ent >= MAXCODE(n_bits) && in bsd_decompress()
/titanic_44/usr/src/cmd/compress/
H A Dcompress.c138 #define MAXCODE(n_bits) ((1 << (n_bits)) - 1) macro
1004 maxcode = MAXCODE(n_bits = INIT_BITS); in compress()
1232 maxcode = MAXCODE(n_bits = INIT_BITS); in output()
1239 maxcode = MAXCODE(n_bits); in output()
1289 maxcode = MAXCODE(n_bits = INIT_BITS); in decompress()
1405 maxcode = MAXCODE(n_bits); in getcode()
1408 maxcode = MAXCODE(n_bits = INIT_BITS); in getcode()
1461 maxcode = MAXCODE(n_bits); in printcodes()