Lines Matching refs:p
86 static int onetest(CURL *curl, const char *url, const struct testparams *p, in onetest() argument
93 replyselector = (p->flags & F_CONTENTRANGE) ? 1 : 0; in onetest()
94 if(p->flags & F_HTTP416) in onetest()
99 test_setopt(curl, CURLOPT_RESUME_FROM, (p->flags & F_RESUME) ? 3 : 0); in onetest()
100 test_setopt(curl, CURLOPT_RANGE, !(p->flags & F_RESUME) ? in onetest()
102 test_setopt(curl, CURLOPT_FAILONERROR, (p->flags & F_FAIL) ? 1 : 0); in onetest()
105 if(res != p->result) { in onetest()
108 (p->flags & F_RESUME) ? "yes": "no", in onetest()
109 (p->flags & F_FAIL) ? "yes": "no", in onetest()
110 (p->flags & F_HTTP416) ? "yes": "no", in onetest()
111 (p->flags & F_CONTENTRANGE) ? "yes": "no", in onetest()
112 p->result); in onetest()
115 if(hasbody && (p->flags & F_IGNOREBODY)) { in onetest()
118 (p->flags & F_RESUME) ? "yes": "no", in onetest()
119 (p->flags & F_FAIL) ? "yes": "no", in onetest()
120 (p->flags & F_HTTP416) ? "yes": "no", in onetest()
121 (p->flags & F_CONTENTRANGE) ? "yes": "no"); in onetest()