Lines Matching refs:work
239 ogg_uint32_t *work; in _make_decode_table() local
249 s->dec_table=_ogg_malloc((s->entries*2+1)*sizeof(*work)); in _make_decode_table()
260 s->used_entries*2 > INT_MAX/((long) sizeof(*work)) - 1) return 1; in _make_decode_table()
262 work=calloc((s->entries*2+1),sizeof(*work)); in _make_decode_table()
263 if (!work) return 1; in _make_decode_table()
264 if(_make_words(lengthlist,s->entries,work,quantvals,s,opb,maptype)) goto error_out; in _make_decode_table()
276 (((work[i] & 0x80000000UL) >> 24) | work[i]); in _make_decode_table()
281 (((work[i] & 0x80000000UL) >> 16) | work[i]); in _make_decode_table()
293 if(work[i]&0x80000000UL){ in _make_decode_table()
294 if(work[i+1]&0x80000000UL){ in _make_decode_table()
296 out[top]=(work[i]>>8 & 0x7f)|0x80; in _make_decode_table()
297 out[top+1]=(work[i+1]>>8 & 0x7f)|0x80; in _make_decode_table()
298 out[top+2]=work[i] & 0xff; in _make_decode_table()
299 out[top+3]=work[i+1] & 0xff; in _make_decode_table()
302 out[top]=(work[i]>>8 & 0x7f)|0x80; in _make_decode_table()
303 out[top+1]=work[work[i+1]*2]; in _make_decode_table()
304 out[top+2]=work[i] & 0xff; in _make_decode_table()
307 if(work[i+1]&0x80000000UL){ in _make_decode_table()
309 out[top]=work[work[i]*2]; in _make_decode_table()
310 out[top+1]=(work[i+1]>>8 & 0x7f)|0x80; in _make_decode_table()
311 out[top+2]=work[i+1] & 0xff; in _make_decode_table()
314 out[top]=work[work[i]*2]; in _make_decode_table()
315 out[top+1]=work[work[i+1]*2]; in _make_decode_table()
318 work[i]=top; in _make_decode_table()
323 if(work[i]&0x80000000UL){ in _make_decode_table()
324 if(work[i+1]&0x80000000UL){ in _make_decode_table()
326 out[top]=(work[i]>>16 & 0x7fff)|0x8000; in _make_decode_table()
327 out[top+1]=(work[i+1]>>16 & 0x7fff)|0x8000; in _make_decode_table()
328 out[top+2]=work[i] & 0xffff; in _make_decode_table()
329 out[top+3]=work[i+1] & 0xffff; in _make_decode_table()
332 out[top]=(work[i]>>16 & 0x7fff)|0x8000; in _make_decode_table()
333 out[top+1]=work[work[i+1]*2]; in _make_decode_table()
334 out[top+2]=work[i] & 0xffff; in _make_decode_table()
337 if(work[i+1]&0x80000000UL){ in _make_decode_table()
339 out[top]=work[work[i]*2]; in _make_decode_table()
340 out[top+1]=(work[i+1]>>16 & 0x7fff)|0x8000; in _make_decode_table()
341 out[top+2]=work[i+1] & 0xffff; in _make_decode_table()
344 out[top]=work[work[i]*2]; in _make_decode_table()
345 out[top+1]=work[work[i+1]*2]; in _make_decode_table()
348 work[i]=top; in _make_decode_table()
353 free(work); in _make_decode_table()
356 free(work); in _make_decode_table()