Lines Matching refs:lengths
303 this.build_tree = function(t, lengths, loffset, num) argument
312 for (i = 0; i < num; ++i) t.table[lengths[loffset + i]]++;
326 if (lengths[loffset + i]) t.trans[offs[lengths[loffset + i]]++] = i;
408 var lengths = new Array(288+32);
421 for (i = 0; i < 19; ++i) lengths[i] = 0;
429 lengths[this.clcidx[i]] = clen;
433 this.build_tree(code_tree, lengths, 0, 19);
445 var prev = lengths[num - 1];
448 lengths[num++] = prev;
456 lengths[num++] = 0;
463 lengths[num++] = 0;
468 lengths[num++] = sym;
474 this.build_tree(lt, lengths, 0, hlit);
475 this.build_tree(dt, lengths, hlit, hdist);