Lines Matching defs:lengthlist
236 static int _make_decode_table(codebook *s,char *lengthlist,long quantvals,
241 if (!lengthlist) return 1;
253 if(_make_words(lengthlist,s->entries,
264 if(_make_words(lengthlist,s->entries,work,quantvals,s,opb,maptype)) goto error_out;
406 char *lengthlist=NULL;
431 lengthlist=(char *)calloc(s->entries, sizeof(*lengthlist));
432 if(!lengthlist) goto _eofout;
442 lengthlist[i]=(char)(num+1);
446 lengthlist[i]=0;
454 lengthlist[i]=(char)(num+1);
466 lengthlist=(char *)calloc(s->entries, sizeof(*lengthlist));
467 if (!lengthlist) goto _eofout;
473 lengthlist[i]=(char)length;
509 if(_make_decode_table(s,lengthlist,quantvals,opb,maptype)) goto _errout;
544 if(_make_decode_table(s,lengthlist,quantvals,opb,maptype)){
575 if(_make_decode_table(s,lengthlist,quantvals,opb,maptype))goto _errout;
592 if(_make_decode_table(s,lengthlist,quantvals,opb,maptype))goto _errout;
600 if(_make_decode_table(s,lengthlist,quantvals,opb,maptype))goto _errout;
634 free(lengthlist);
639 free(lengthlist);