| line |
true |
false |
branch |
|
107
|
576 |
36 |
for (len = 0; len <= MAXBITS; len++) |
|
109
|
3758 |
36 |
for (sym = 0; sym < codes; sym++) |
|
114
|
447 |
0 |
for (max = MAXBITS; max >= 1; max--) |
|
115
|
36 |
411 |
if (count[max] != 0) break; |
|
116
|
36 |
0 |
if (root > max) root = max; |
|
117
|
0 |
36 |
if (max == 0) { /* no symbols to code at all */ |
|
126
|
36 |
12 |
for (min = 1; min < max; min++) |
|
127
|
24 |
12 |
if (count[min] != 0) break; |
|
128
|
0 |
36 |
if (root < min) root = min; |
|
132
|
540 |
36 |
for (len = 1; len <= MAXBITS; len++) { |
|
135
|
0 |
540 |
if (left < 0) return -1; /* over-subscribed */ |
|
137
|
0 |
36 |
if (left > 0 && (type == CODES || max != 1)) |
|
|
0 |
0 |
if (left > 0 && (type == CODES || max != 1)) |
|
|
0 |
0 |
if (left > 0 && (type == CODES || max != 1)) |
|
142
|
504 |
36 |
for (len = 1; len < MAXBITS; len++) |
|
146
|
3758 |
36 |
for (sym = 0; sym < codes; sym++) |
|
147
|
312 |
3446 |
if (lens[sym] != 0) work[offs[lens[sym]]++] = (unsigned short)sym; |
|
209
|
12 |
24 |
if ((type == LENS && used > ENOUGH_LENS) || |
|
|
12 |
0 |
if ((type == LENS && used > ENOUGH_LENS) || |
|
|
12 |
24 |
if ((type == LENS && used > ENOUGH_LENS) || |
|
210
|
0 |
12 |
(type == DISTS && used > ENOUGH_DISTS)) |
|
217
|
252 |
60 |
if (work[sym] + 1U < match) { |
|
221
|
48 |
12 |
else if (work[sym] >= match) { |
|
237
|
600 |
312 |
} while (fill != 0); |
|
241
|
276 |
312 |
while (huff & incr) |
|
243
|
276 |
36 |
if (incr != 0) { |
|
252
|
101 |
211 |
if (--(count[len]) == 0) { |
|
253
|
36 |
65 |
if (len == max) break; |
|
258
|
0 |
276 |
if (len > root && (huff & mask) != low) { |
|
|
0 |
0 |
if (len > root && (huff & mask) != low) { |
|
260
|
0 |
0 |
if (drop == 0) |
|
269
|
0 |
0 |
while (curr + drop < max) { |
|
271
|
0 |
0 |
if (left <= 0) break; |
|
278
|
0 |
0 |
if ((type == LENS && used > ENOUGH_LENS) || |
|
|
0 |
0 |
if ((type == LENS && used > ENOUGH_LENS) || |
|
|
0 |
0 |
if ((type == LENS && used > ENOUGH_LENS) || |
|
279
|
0 |
0 |
(type == DISTS && used > ENOUGH_DISTS)) |
|
293
|
0 |
36 |
if (huff != 0) { |