Lines Matching defs:buf_start
285 const char *buf_start = buf;
301 *token = buf_start;
302 *token_len = buf - buf_start;
443 phr_parse_request(const char *buf_start, size_t len, const char **method,
447 const char *buf = buf_start, *buf_end = buf_start + len;
471 return (int)(buf - buf_start);
528 phr_parse_response(const char *buf_start, size_t len, int *minor_version,
532 const char *buf = buf_start, *buf_end = buf + len;
555 return (int)(buf - buf_start);
559 phr_parse_headers(const char *buf_start, size_t len, struct phr_header *headers,
561 const char *buf = buf_start, *buf_end = buf + len;
579 return (int)(buf - buf_start);