Searched refs:toread (Results 1 - 5 of 5) sorted by relevance
/third_party/pulseaudio/src/pulsecore/ |
H A D | srbchannel.c | 135 int toread; in pa_srbchannel_read() local 136 void *ptr = pa_ringbuffer_peek(&sr->rb_read, &toread); in pa_srbchannel_read() 138 if ((size_t) toread > l) in pa_srbchannel_read() 139 toread = l; in pa_srbchannel_read() 141 if (toread == 0) in pa_srbchannel_read() 144 memcpy(data, ptr, toread); in pa_srbchannel_read() 146 if (pa_ringbuffer_drop(&sr->rb_read, toread)) { in pa_srbchannel_read() 153 isread += toread; in pa_srbchannel_read() 154 data = (uint8_t*) data + toread; in pa_srbchannel_read() 155 l -= toread; in pa_srbchannel_read() [all...] |
/third_party/ffmpeg/libavformat/ |
H A D | rtmppkt.c | 174 int ret, toread; in rtmp_packet_read_one_chunk() local 268 toread = FFMIN(size, chunk_size); in rtmp_packet_read_one_chunk() 269 if (ffurl_read_complete(h, p->data + p->offset, toread) != toread) { in rtmp_packet_read_one_chunk() 273 size -= toread; in rtmp_packet_read_one_chunk() 274 p->read += toread; in rtmp_packet_read_one_chunk() 275 p->offset += toread; in rtmp_packet_read_one_chunk()
|
/third_party/lame/Dll/ |
H A D | MP3export.pas | 250 //if FileRead(fs, buf[0], toread) = -1 251 if FileRead(fs, pbuffer^, toread) = -1 267 done := done + toread;
|
/third_party/backends/backend/ |
H A D | sm3840_lib.c | 248 int toread; in record_head() local 255 toread = (bytes > 65536) ? 65536 : bytes; in record_head() 256 len = usb_bulk_read (udev, 1, buff, toread, rd_timeout); in record_head()
|
/third_party/libsnd/src/ |
H A D | wavlike.c | 1270 exif_fill_and_sink (SF_PRIVATE *psf, char* buf, size_t bufsz, size_t toread) in exif_fill_and_sink() argument 1276 if (toread < bufsz) in exif_fill_and_sink() 1277 bufsz = toread ; in exif_fill_and_sink() 1281 if (bytesread == bufsz && toread > bufsz) in exif_fill_and_sink() 1282 bytesread += psf_binheader_readf (psf, "j", toread - bufsz) ; in exif_fill_and_sink()
|
Completed in 6 milliseconds