Lines Matching refs:buf_start
283 const char *buf_start = buf;
299 *token = buf_start;
300 *token_len = buf - buf_start;
441 phr_parse_request(const char *buf_start, size_t len, const char **method,
445 const char *buf = buf_start, *buf_end = buf_start + len;
469 return (int)(buf - buf_start);
526 phr_parse_response(const char *buf_start, size_t len, int *minor_version,
530 const char *buf = buf_start, *buf_end = buf + len;
553 return (int)(buf - buf_start);
557 phr_parse_headers(const char *buf_start, size_t len, struct phr_header *headers,
559 const char *buf = buf_start, *buf_end = buf + len;
577 return (int)(buf - buf_start);