Lines Matching refs:lengthlist
230 static int _make_decode_table(codebook *s,char *lengthlist,long quantvals, in _make_decode_table() argument
235 if (!lengthlist) return 1; in _make_decode_table()
247 if(_make_words(lengthlist,s->entries, in _make_decode_table()
258 if(_make_words(lengthlist,s->entries,work,quantvals,s,opb,maptype)) goto error_out; in _make_decode_table()
400 char *lengthlist=NULL; in vorbis_book_unpack() local
425 lengthlist=(char *)calloc(s->entries, sizeof(*lengthlist)); in vorbis_book_unpack()
426 if(!lengthlist) goto _eofout; in vorbis_book_unpack()
436 lengthlist[i]=(char)(num+1); in vorbis_book_unpack()
440 lengthlist[i]=0; in vorbis_book_unpack()
448 lengthlist[i]=(char)(num+1); in vorbis_book_unpack()
460 lengthlist=(char *)calloc(s->entries, sizeof(*lengthlist)); in vorbis_book_unpack()
461 if (!lengthlist) goto _eofout; in vorbis_book_unpack()
467 lengthlist[i]=(char)length; in vorbis_book_unpack()
503 if(_make_decode_table(s,lengthlist,quantvals,opb,maptype)) goto _errout; in vorbis_book_unpack()
538 if(_make_decode_table(s,lengthlist,quantvals,opb,maptype)){ in vorbis_book_unpack()
569 if(_make_decode_table(s,lengthlist,quantvals,opb,maptype))goto _errout; in vorbis_book_unpack()
586 if(_make_decode_table(s,lengthlist,quantvals,opb,maptype))goto _errout; in vorbis_book_unpack()
594 if(_make_decode_table(s,lengthlist,quantvals,opb,maptype))goto _errout; in vorbis_book_unpack()
628 free(lengthlist); in vorbis_book_unpack()
633 free(lengthlist); in vorbis_book_unpack()