Lines Matching refs:used_entries
219 if (s->used_entries > INT_MAX/2 || in _make_decode_table()
220 s->used_entries*2 > INT_MAX/((long) sizeof(*work)) - 1) return 1; in _make_decode_table()
225 if (s->used_entries > INT_MAX/(s->dec_leafw+1)) return 1; in _make_decode_table()
226 if (s->dec_nodeb && s->used_entries * (s->dec_leafw+1) > INT_MAX/s->dec_nodeb) return 1; in _make_decode_table()
227 s->dec_table=_ogg_malloc((s->used_entries*(s->dec_leafw+1)-2)* in _make_decode_table()
234 for(i=0;i<s->used_entries*2-2;i++) in _make_decode_table()
239 for(i=0;i<s->used_entries*2-2;i++) in _make_decode_table()
248 long top=s->used_entries*3-2; in _make_decode_table()
252 for(i=s->used_entries*2-4;i>=0;i-=2){ in _make_decode_table()
282 for(i=s->used_entries*2-4;i>=0;i-=2){ in _make_decode_table()
395 s->used_entries++; in vorbis_book_unpack()
402 s->used_entries=s->entries; in vorbis_book_unpack()
417 s->used_entries=s->entries; in vorbis_book_unpack()
457 s->dec_nodeb=_determine_node_bytes(s->used_entries,_ilog(s->entries)/8+1); in vorbis_book_unpack()
493 s->dec_nodeb=_determine_node_bytes(s->used_entries, in vorbis_book_unpack()
525 s->dec_nodeb=_determine_node_bytes(s->used_entries, in vorbis_book_unpack()
544 s->dec_nodeb=_determine_node_bytes(s->used_entries,(s->q_bits*s->dim+8)/8); in vorbis_book_unpack()
552 s->dec_nodeb=_determine_node_bytes(s->used_entries,_ilog(s->used_entries-1)/8+1); in vorbis_book_unpack()
553 s->dec_leafw=_determine_leaf_words(s->dec_nodeb,_ilog(s->used_entries-1)/8+1); in vorbis_book_unpack()
558 s->q_val=_ogg_malloc(s->q_pack*s->used_entries); in vorbis_book_unpack()
561 for(i=0;i<s->used_entries*s->dim;i++) in vorbis_book_unpack()
564 for(i=0;i<s->used_entries*s->dim;i++) in vorbis_book_unpack()
748 if(book->used_entries>0){ in vorbis_book_decodevs_add()
765 if(book->used_entries>0){ in vorbis_book_decodev_add()
781 if(book->used_entries>0){ in vorbis_book_decodev_set()
806 if(book->used_entries>0){ in vorbis_book_decodevv_add()