Lines Matching defs:distance
221 static const int MAXDCODES = 30; // max number of distance codes
495 static const int dists[30] = { // Offset base for distance codes 0..29
499 static const int dext[30] = { // Extra bits for distance codes 0..29
504 //decode literals and length/distance pairs
531 symbol = doDecode(distcode);//distance
542 error("distance too far back %d/%d", dist, dest.size());
548 // copy length bytes from distance bytes back
632 // distance table
652 Huffman distcode = {distcnt, distsym}; // distance code
688 // read length/literal and distance code length tables
739 // build huffman table for distance codes
1258 //## Output distance
1274 unsigned int distance = dist - base;
1275 //error("--- %d %d %d %d", dist, base, range, distance);
1277 putBits(distance, distBases[i].bits);
1355 //trace("### distance");