Lines Matching refs:tr
246 struct test_result *tr) in check_result() argument
251 duration_ms = Curl_timediff(tr->ended, tr->started); in check_result()
254 if(tr->result != tc->exp_result in check_result()
255 && CURLE_OPERATION_TIMEDOUT != tr->result) { in check_result()
259 tc->id, tc->exp_result, tr->result); in check_result()
262 if(tr->cf4.creations != tc->exp_cf4_creations) { in check_result()
264 tc->id, tc->exp_cf4_creations, tr->cf4.creations); in check_result()
267 if(tr->cf6.creations != tc->exp_cf6_creations) { in check_result()
269 tc->id, tc->exp_cf6_creations, tr->cf6.creations); in check_result()
273 duration_ms = Curl_timediff(tr->ended, tr->started); in check_result()
284 if(tr->cf6.creations && tr->cf4.creations && tc->pref_family) { in check_result()
288 &tr->cf6 : &tr->cf4; in check_result()
290 &tr->cf4 : &tr->cf6; in check_result()
310 struct test_result tr; in test_connect() local
315 current_tr = &tr; in test_connect()
327 memset(&tr, 0, sizeof(tr)); in test_connect()
328 tr.cf6.family = "v6"; in test_connect()
329 tr.cf4.family = "v4"; in test_connect()
331 tr.started = Curl_now(); in test_connect()
332 tr.result = curl_easy_perform(easy); in test_connect()
333 tr.ended = Curl_now(); in test_connect()
341 check_result(tc, &tr); in test_connect()