Lines Matching refs:used_entries
225 if(b->used_entries != 1){ in _make_words()
259 if (s->used_entries > INT_MAX/2 || in _make_decode_table()
260 s->used_entries*2 > INT_MAX/((long) sizeof(*work)) - 1) return 1; in _make_decode_table()
265 if (s->used_entries > INT_MAX/(s->dec_leafw+1)) goto error_out; in _make_decode_table()
266 if (s->dec_nodeb && s->used_entries * (s->dec_leafw+1) > INT_MAX/s->dec_nodeb) goto error_out; in _make_decode_table()
267 s->dec_table=_ogg_malloc((s->used_entries*(s->dec_leafw+1)-2)* in _make_decode_table()
274 for(i=0;i<s->used_entries*2-2;i++) in _make_decode_table()
279 for(i=0;i<s->used_entries*2-2;i++) in _make_decode_table()
288 long top=s->used_entries*3-2; in _make_decode_table()
292 for(i=s->used_entries*2-4;i>=0;i-=2){ in _make_decode_table()
322 for(i=s->used_entries*2-4;i>=0;i-=2){ in _make_decode_table()
443 s->used_entries++; in vorbis_book_unpack()
450 s->used_entries=s->entries; in vorbis_book_unpack()
465 s->used_entries=s->entries; in vorbis_book_unpack()
505 s->dec_nodeb=_determine_node_bytes(s->used_entries,_ilog(s->entries)/8+1); in vorbis_book_unpack()
540 s->dec_nodeb=_determine_node_bytes(s->used_entries, in vorbis_book_unpack()
571 s->dec_nodeb=_determine_node_bytes(s->used_entries, in vorbis_book_unpack()
590 s->dec_nodeb=_determine_node_bytes(s->used_entries,(s->q_bits*s->dim+8)/8); in vorbis_book_unpack()
598 s->dec_nodeb=_determine_node_bytes(s->used_entries,_ilog(s->used_entries-1)/8+1); in vorbis_book_unpack()
599 s->dec_leafw=_determine_leaf_words(s->dec_nodeb,_ilog(s->used_entries-1)/8+1); in vorbis_book_unpack()
604 s->q_val=_ogg_malloc(s->q_pack*s->used_entries); in vorbis_book_unpack()
607 for(i=0;i<s->used_entries*s->dim;i++) in vorbis_book_unpack()
610 for(i=0;i<s->used_entries*s->dim;i++) in vorbis_book_unpack()
836 if(book->used_entries>0){ in vorbis_book_decodevs_add()
853 if(book->used_entries>0){ in vorbis_book_decodev_add()
869 if(book->used_entries>0){ in vorbis_book_decodev_set()
899 if(book->used_entries>0){ in vorbis_book_decodevv_add()