Lines Matching refs:readlen
109 sf_count_t total, readlen ;
114 for (total = 0 ; total < len ; total += readlen)
115 { readlen = mpeg_dec_decode (psf, ubuf.fbuf, SF_MIN (buflen, len - total)) ;
116 if (readlen <= 0)
119 convert (ubuf.fbuf, ptr + total, readlen, SF_TRUE) ;
128 sf_count_t total, readlen ;
133 for (total = 0 ; total < len ; total += readlen)
134 { readlen = mpeg_dec_decode (psf, ubuf.fbuf, SF_MIN (buflen, len - total)) ;
135 if (readlen <= 0)
138 convert (ubuf.fbuf, ptr + total, readlen, SF_TRUE) ;
146 { sf_count_t readlen ;
148 readlen = mpeg_dec_decode (psf, ptr, len) ;
149 if (readlen <= 0)
153 for (int i = 0 ; i < readlen ; i++)
157 return readlen ;
170 sf_count_t total, readlen ;
176 for (total = 0 ; total < len ; total += readlen)
177 { readlen = mpeg_dec_decode (psf, ubuf.fbuf, SF_MIN (buflen, len - total)) ;
178 if (readlen <= 0)
181 f2d_array (ubuf.fbuf, readlen, ptr + total, normfact) ;