Lines Matching +defs:read +defs:line
69 /* A flag which indicates we have finished to read POST reply. */
79 /* how much data was read since the last ICY metadata packet */
81 /* after how many bytes of read data a new metadata packet will be found */
308 static int http_get_line(HTTPContext *s, char *line, int line_size)
313 q = line;
319 /* process line */
320 if (q > line && q[-1] == '\r')
326 if ((q - line) < line_size - 1)
430 static int process_line(URLContext *h, char *line, int line_count,
438 if (line[0] == '\0') {
443 p = line;
462 tag = line;
638 char line[MAX_URL_SIZE];
644 if ((err = http_get_line(s, line, sizeof(line))) < 0)
647 av_log(h, AV_LOG_DEBUG, "header='%s'\n", line);
649 err = process_line(h, line, s->line_count, new_location);
798 /* Pretend that it did work. We didn't read any header yet, since
823 /* read bytes from input buffer first */
857 int read = http_buf_read(h, s->inflate_buffer, DECOMPRESS_BUF_SIZE);
858 if (read <= 0)
859 return read;
861 s->inflate_stream.avail_in = read;
891 char line[32];
894 if ((err = http_get_line(s, line, sizeof(line))) < 0)
896 } while (!*line); /* skip CR LF from last chunk */
898 s->chunksize = strtoll(line, NULL, 16);