Home
last modified time | relevance | path

Searched refs:read_ret (Results 1 – 4 of 4) sorted by relevance

/third_party/ffmpeg/libavformat/
Dhttp.c383 int read_ret; in ff_http_get_shutdown_status() local
384 read_ret = ffurl_read(s->hd, buf, sizeof(buf)); in ff_http_get_shutdown_status()
385 if (read_ret < 0) { in ff_http_get_shutdown_status()
386 ret = read_ret; in ff_http_get_shutdown_status()
1549 int err, new_location, read_ret; in http_read_stream() local
1566 read_ret = http_buf_read(h, buf, size); in http_read_stream()
1567 while (read_ret < 0) { in http_read_stream()
1570 if (read_ret == AVERROR_EXIT) in http_read_stream()
1577 !(s->reconnect_at_eof && read_ret == AVERROR_EOF)) in http_read_stream()
1583 …connect at %"PRIu64" in %d second(s), error=%s.\n", s->off, reconnect_delay, av_err2str(read_ret)); in http_read_stream()
[all …]
/third_party/ltp/lib/
Dtst_cgroup.c1081 ssize_t read_ret = 0; in safe_cgroup_read() local
1091 read_ret = safe_file_readat(file, lineno, in safe_cgroup_read()
1093 if (read_ret < 0) in safe_cgroup_read()
1103 prev_len = MIN(sizeof(prev_buf), (size_t)read_ret); in safe_cgroup_read()
1106 out[MAX(read_ret, 0)] = '\0'; in safe_cgroup_read()
1108 return read_ret; in safe_cgroup_read()
/third_party/mesa3d/src/util/
Ddisk_cache_os.c404 ssize_t read_ret; in read_all() local
407 for (done = 0; done < count; done += read_ret) { in read_all()
408 read_ret = read(fd, in + done, count - done); in read_all()
409 if (read_ret == -1 || read_ret == 0) in read_all()
/third_party/libsnd/src/
Dogg.c257 sf_count_t position, nb_read, read_ret ; in ogg_sync_next_page() local
300 read_ret = psf_fread (buffer, 1, nb_read, psf) ; in ogg_sync_next_page()
301 if (read_ret == 0) in ogg_sync_next_page()
303 ogg_sync_wrote (&odata->osync, read_ret) ; in ogg_sync_next_page()