Lines Matching refs:bitlen_ll
1136 unsigned* bitlen_ll = 0; /*lit,len code lengths*/ in getTreeInflateDynamic() local
1173 bitlen_ll = (unsigned*)lodepng_malloc(NUM_DEFLATE_CODE_SYMBOLS * sizeof(unsigned)); in getTreeInflateDynamic()
1175 if(!bitlen_ll || !bitlen_d) ERROR_BREAK(83 /*alloc fail*/); in getTreeInflateDynamic()
1176 lodepng_memset(bitlen_ll, 0, NUM_DEFLATE_CODE_SYMBOLS * sizeof(*bitlen_ll)); in getTreeInflateDynamic()
1186 if(i < HLIT) bitlen_ll[i] = code; in getTreeInflateDynamic()
1197 if(i < HLIT + 1) value = bitlen_ll[i - 1]; in getTreeInflateDynamic()
1202 if(i < HLIT) bitlen_ll[i] = value; in getTreeInflateDynamic()
1214 if(i < HLIT) bitlen_ll[i] = 0; in getTreeInflateDynamic()
1226 if(i < HLIT) bitlen_ll[i] = 0; in getTreeInflateDynamic()
1243 … if(bitlen_ll[256] == 0) ERROR_BREAK(64); /*the length of the end code 256 must be larger than 0*/ in getTreeInflateDynamic()
1246 error = HuffmanTree_makeFromLengths(tree_ll, bitlen_ll, NUM_DEFLATE_CODE_SYMBOLS, 15); in getTreeInflateDynamic()
1254 lodepng_free(bitlen_ll); in getTreeInflateDynamic()