• Home
  • Raw
  • Download

Lines Matching refs:local_outcome

1353 	struct gai_outcome local_outcome;  in test_getaddrinfo_async()  local
1364 memset(&local_outcome, 0, sizeof(local_outcome)); in test_getaddrinfo_async()
1382 memset(&local_outcome, 0, sizeof(local_outcome)); in test_getaddrinfo_async()
1384 &hints, gai_cb, &local_outcome); in test_getaddrinfo_async()
1386 if (!local_outcome.err) { in test_getaddrinfo_async()
1387 tt_ptr_op(local_outcome.ai,!=,NULL); in test_getaddrinfo_async()
1388 test_ai_eq(local_outcome.ai, "1.2.3.4:80", SOCK_STREAM, IPPROTO_TCP); in test_getaddrinfo_async()
1389 evutil_freeaddrinfo(local_outcome.ai); in test_getaddrinfo_async()
1390 local_outcome.ai = NULL; in test_getaddrinfo_async()
1399 memset(&local_outcome, 0, sizeof(local_outcome)); in test_getaddrinfo_async()
1401 &hints, gai_cb, &local_outcome); in test_getaddrinfo_async()
1403 tt_int_op(local_outcome.err,==,EVUTIL_EAI_NONAME); in test_getaddrinfo_async()
1404 tt_ptr_op(local_outcome.ai,==,NULL); in test_getaddrinfo_async()
1408 memset(&local_outcome, 0, sizeof(local_outcome)); in test_getaddrinfo_async()
1412 &hints, gai_cb, &local_outcome); in test_getaddrinfo_async()
1414 tt_int_op(local_outcome.err,==,0); in test_getaddrinfo_async()
1415 tt_assert(local_outcome.ai); in test_getaddrinfo_async()
1416 tt_ptr_op(local_outcome.ai->ai_next,==,NULL); in test_getaddrinfo_async()
1417 test_ai_eq(local_outcome.ai, "[f::f]:8008", SOCK_STREAM, IPPROTO_TCP); in test_getaddrinfo_async()
1418 evutil_freeaddrinfo(local_outcome.ai); in test_getaddrinfo_async()
1419 local_outcome.ai = NULL; in test_getaddrinfo_async()
1423 memset(&local_outcome, 0, sizeof(local_outcome)); in test_getaddrinfo_async()
1426 &hints, gai_cb, &local_outcome); in test_getaddrinfo_async()
1428 tt_int_op(local_outcome.err,==,0); in test_getaddrinfo_async()
1429 tt_assert(local_outcome.ai); in test_getaddrinfo_async()
1430 a = ai_find_by_protocol(local_outcome.ai, IPPROTO_TCP); in test_getaddrinfo_async()
1433 a = ai_find_by_protocol(local_outcome.ai, IPPROTO_UDP); in test_getaddrinfo_async()
1436 evutil_freeaddrinfo(local_outcome.ai); in test_getaddrinfo_async()
1437 local_outcome.ai = NULL; in test_getaddrinfo_async()
1441 memset(&local_outcome, 0, sizeof(local_outcome)); in test_getaddrinfo_async()
1446 &hints, gai_cb, &local_outcome); in test_getaddrinfo_async()
1448 tt_int_op(local_outcome.err,==,0); in test_getaddrinfo_async()
1449 tt_assert(local_outcome.ai); in test_getaddrinfo_async()
1451 a = ai_find_by_family(local_outcome.ai, PF_INET); in test_getaddrinfo_async()
1455 a = ai_find_by_family(local_outcome.ai, PF_INET6); in test_getaddrinfo_async()
1458 evutil_freeaddrinfo(local_outcome.ai); in test_getaddrinfo_async()
1459 local_outcome.ai = NULL; in test_getaddrinfo_async()
1463 memset(&local_outcome, 0, sizeof(local_outcome)); in test_getaddrinfo_async()
1467 &hints, gai_cb, &local_outcome); in test_getaddrinfo_async()
1469 tt_int_op(local_outcome.err,==,0); in test_getaddrinfo_async()
1470 tt_assert(local_outcome.ai); in test_getaddrinfo_async()
1472 a = ai_find_by_family(local_outcome.ai, PF_INET); in test_getaddrinfo_async()
1476 a = ai_find_by_family(local_outcome.ai, PF_INET6); in test_getaddrinfo_async()
1479 evutil_freeaddrinfo(local_outcome.ai); in test_getaddrinfo_async()
1480 local_outcome.ai = NULL; in test_getaddrinfo_async()
1484 memset(&local_outcome, 0, sizeof(local_outcome)); in test_getaddrinfo_async()
1488 &hints, gai_cb, &local_outcome); in test_getaddrinfo_async()
1490 tt_int_op(local_outcome.err,==,0); in test_getaddrinfo_async()
1491 tt_assert(local_outcome.ai); in test_getaddrinfo_async()
1493 a = ai_find_by_family(local_outcome.ai, PF_INET); in test_getaddrinfo_async()
1497 a = ai_find_by_family(local_outcome.ai, PF_INET6); in test_getaddrinfo_async()
1500 evutil_freeaddrinfo(local_outcome.ai); in test_getaddrinfo_async()
1501 local_outcome.ai = NULL; in test_getaddrinfo_async()
1505 memset(&local_outcome, 0, sizeof(local_outcome)); in test_getaddrinfo_async()
1509 &hints, gai_cb, &local_outcome); in test_getaddrinfo_async()
1511 tt_int_op(local_outcome.err,==,0); in test_getaddrinfo_async()
1512 tt_assert(local_outcome.ai); in test_getaddrinfo_async()
1513 a = local_outcome.ai; in test_getaddrinfo_async()
1516 evutil_freeaddrinfo(local_outcome.ai); in test_getaddrinfo_async()
1517 local_outcome.ai = NULL; in test_getaddrinfo_async()
1711 if (local_outcome.ai) in test_getaddrinfo_async()
1712 evutil_freeaddrinfo(local_outcome.ai); in test_getaddrinfo_async()