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