Lines Matching refs:hparser
138 struct http_parser hparser;
169 http_parser_init(&hparser, data, size);
171 if (http_parse_token_list_next(&hparser, &option) <= 0)
182 if (hparser.cur < hparser.end || num_tokens == 0) {
275 http_parser_init(&hparser, data, size);
278 if (http_parse_token(&hparser, &trenc) > 0) {
292 http_parse_ows(&hparser);
293 if (hparser.cur >= hparser.end || *hparser.cur != ';')
295 hparser.cur++;
296 http_parse_ows(&hparser);
299 if (http_parse_token(&hparser, &attribute) <= 0) {
305 http_parse_ows(&hparser);
306 if (hparser.cur >= hparser.end || *hparser.cur != '=') {
310 hparser.cur++;
311 http_parse_ows(&hparser);
314 if (http_parse_token_or_qstring(&hparser, &value) <= 0) {
339 http_parse_ows(&hparser);
340 if (hparser.cur >= hparser.end || *hparser.cur != ',')
342 hparser.cur++;
343 http_parse_ows(&hparser);
346 if (hparser.cur < hparser.end ||