Lines Matching refs:output
58 * decode <input> using huffman tree defined in <hp> onto <output>
64 Sfoff_t huffdecode(register Huff_t *hp,Sfio_t *input,Sfio_t *output,int size)
82 /* set up output buffers for faster access */
83 if(!(outp=outbuff=(unsigned char*)sfreserve(output,SF_UNBOUND,SF_LOCKR)))
84 return(sfvalue(output));
85 n = sfvalue(output);
139 if(sfwrite(output,outbuff,n)<0)
148 if(!(outp=outbuff=(unsigned char*)sfreserve(output,SF_UNBOUND,SF_LOCKR)))
150 n = sfvalue(output);
192 /* compute output char and number of bits used for each CHUNK of bits */