Lines Matching refs:p
72 struct h1_req_parser p; in parse_success() local
78 Curl_h1_req_parse_init(&p, 1024); in parse_success()
84 nread = Curl_h1_req_parse_read(&p, buf, buflen, t->default_scheme, in parse_success()
92 if(!p.done) { in parse_success()
100 fail_if(!p.done, "end not detected"); in parse_success()
101 fail_if(!p.req, "not request created"); in parse_success()
107 if(p.req) { in parse_success()
108 check_eq(p.req->method, t->method, "method"); in parse_success()
109 check_eq(p.req->scheme, t->scheme, "scheme"); in parse_success()
110 check_eq(p.req->authority, t->authority, "authority"); in parse_success()
111 check_eq(p.req->path, t->path, "path"); in parse_success()
112 if(Curl_dynhds_count(&p.req->headers) != t->header_count) { in parse_success()
114 Curl_dynhds_count(&p.req->headers)); in parse_success()
119 Curl_h1_req_parse_free(&p); in parse_success()