Lines Matching defs:hparser
357 struct http_parser hparser;
366 http_parser_init(&hparser, (const unsigned char *)hdr->value, hdr->size);
371 if (http_parse_token(&hparser, &expect_name) > 0) {
384 http_parse_ows(&hparser);
385 if (hparser.cur >= hparser.end)
388 if (*hparser.cur == '=') {
389 hparser.cur++;
390 http_parse_ows(&hparser);
393 if (http_parse_token_or_qstring(&hparser, &expect_value) <= 0) {
410 http_parse_ows(&hparser);
411 if (hparser.cur >= hparser.end || *hparser.cur != ';')
413 hparser.cur++;
414 http_parse_ows(&hparser);
417 if (http_parse_token(&hparser, &attribute) <= 0) {
423 http_parse_ows(&hparser);
424 if (hparser.cur >= hparser.end || *hparser.cur != '=') {
428 hparser.cur++;
429 http_parse_ows(&hparser);
432 if (http_parse_token_or_qstring(&hparser, &value) <= 0) {
447 http_parse_ows(&hparser);
448 if (hparser.cur >= hparser.end || *hparser.cur != ',')
450 hparser.cur++;
451 http_parse_ows(&hparser);
454 if (parse_error || hparser.cur < hparser.end) {