Lines Matching refs:lengthlist
236 static int _make_decode_table(codebook *s,char *lengthlist,long quantvals, in _make_decode_table() argument
241 if (!lengthlist) return 1; in _make_decode_table()
253 if(_make_words(lengthlist,s->entries, in _make_decode_table()
264 if(_make_words(lengthlist,s->entries,work,quantvals,s,opb,maptype)) goto error_out; in _make_decode_table()
413 char *lengthlist=NULL; in vorbis_book_unpack() local
438 lengthlist=(char *)calloc(s->entries, sizeof(*lengthlist)); in vorbis_book_unpack()
439 if(!lengthlist) goto _eofout; in vorbis_book_unpack()
449 lengthlist[i]=(char)(num+1); in vorbis_book_unpack()
453 lengthlist[i]=0; in vorbis_book_unpack()
461 lengthlist[i]=(char)(num+1); in vorbis_book_unpack()
473 lengthlist=(char *)calloc(s->entries, sizeof(*lengthlist)); in vorbis_book_unpack()
474 if (!lengthlist) goto _eofout; in vorbis_book_unpack()
480 lengthlist[i]=(char)length; in vorbis_book_unpack()
516 if(_make_decode_table(s,lengthlist,quantvals,opb,maptype)) goto _errout; in vorbis_book_unpack()
551 if(_make_decode_table(s,lengthlist,quantvals,opb,maptype)){ in vorbis_book_unpack()
582 if(_make_decode_table(s,lengthlist,quantvals,opb,maptype))goto _errout; in vorbis_book_unpack()
599 if(_make_decode_table(s,lengthlist,quantvals,opb,maptype))goto _errout; in vorbis_book_unpack()
607 if(_make_decode_table(s,lengthlist,quantvals,opb,maptype))goto _errout; in vorbis_book_unpack()
641 free(lengthlist); in vorbis_book_unpack()
646 free(lengthlist); in vorbis_book_unpack()