Lines Matching refs:lengthlist
216 static int _make_decode_table(codebook *s,char *lengthlist,long quantvals,
221 if (!lengthlist) return 1;
233 if(_make_words(lengthlist,s->entries,
244 if(_make_words(lengthlist,s->entries,work,quantvals,s,opb,maptype)) goto error_out;
386 char *lengthlist=NULL;
411 lengthlist=(char *)calloc(s->entries, sizeof(*lengthlist));
412 if(!lengthlist) goto _eofout;
422 lengthlist[i]=(char)(num+1);
426 lengthlist[i]=0;
434 lengthlist[i]=(char)(num+1);
446 lengthlist=(char *)calloc(s->entries, sizeof(*lengthlist));
447 if (!lengthlist) goto _eofout;
453 lengthlist[i]=(char)length;
489 if(_make_decode_table(s,lengthlist,quantvals,opb,maptype)) goto _errout;
525 if(_make_decode_table(s,lengthlist,quantvals,opb,maptype)){
557 if(_make_decode_table(s,lengthlist,quantvals,opb,maptype))goto _errout;
574 if(_make_decode_table(s,lengthlist
582 if(_make_decode_table(s,lengthlist,quantvals,opb,maptype))goto _errout;
616 free(lengthlist);
621 free(lengthlist);