• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/transmission/libevent-2.0.20-stable/test/

Lines Matching refs:local_outcome

1202 	struct gai_outcome local_outcome;
1218 memset(&local_outcome, 0, sizeof(local_outcome));
1227 memset(&local_outcome, 0, sizeof(local_outcome));
1229 &hints, gai_cb, &local_outcome);
1231 if (!local_outcome.err) {
1232 tt_ptr_op(local_outcome.ai,!=,NULL);
1233 test_ai_eq(local_outcome.ai, "1.2.3.4:80", SOCK_STREAM, IPPROTO_TCP);
1234 evutil_freeaddrinfo(local_outcome.ai);
1235 local_outcome.ai = NULL;
1244 memset(&local_outcome, 0, sizeof(local_outcome));
1246 &hints, gai_cb, &local_outcome);
1248 tt_int_op(local_outcome.err,==,EVUTIL_EAI_NONAME);
1249 tt_ptr_op(local_outcome.ai,==,NULL);
1253 memset(&local_outcome, 0, sizeof(local_outcome));
1257 &hints, gai_cb, &local_outcome);
1259 tt_int_op(local_outcome.err,==,0);
1260 tt_assert(local_outcome.ai);
1261 tt_ptr_op(local_outcome.ai->ai_next,==,NULL);
1262 test_ai_eq(local_outcome.ai, "[f::f]:8008", SOCK_STREAM, IPPROTO_TCP);
1263 evutil_freeaddrinfo(local_outcome.ai);
1264 local_outcome.ai = NULL;
1268 memset(&local_outcome, 0, sizeof(local_outcome));
1271 &hints, gai_cb, &local_outcome);
1273 tt_int_op(local_outcome.err,==,0);
1274 tt_assert(local_outcome.ai);
1275 a = ai_find_by_protocol(local_outcome.ai, IPPROTO_TCP);
1278 a = ai_find_by_protocol(local_outcome.ai, IPPROTO_UDP);
1281 evutil_freeaddrinfo(local_outcome.ai);
1282 local_outcome.ai = NULL;
1286 memset(&local_outcome, 0, sizeof(local_outcome));
1291 &hints, gai_cb, &local_outcome);
1293 tt_int_op(local_outcome.err,==,0);
1294 tt_assert(local_outcome.ai);
1296 a = ai_find_by_family(local_outcome.ai, PF_INET);
1300 a = ai_find_by_family(local_outcome.ai, PF_INET6);
1303 evutil_freeaddrinfo(local_outcome.ai);
1304 local_outcome.ai = NULL;
1308 memset(&local_outcome, 0, sizeof(local_outcome));
1312 &hints, gai_cb, &local_outcome);
1314 tt_int_op(local_outcome.err,==,0);
1315 tt_assert(local_outcome.ai);
1317 a = ai_find_by_family(local_outcome.ai, PF_INET);
1321 a = ai_find_by_family(local_outcome.ai, PF_INET6);
1324 evutil_freeaddrinfo(local_outcome.ai);
1325 local_outcome.ai = NULL;
1329 memset(&local_outcome, 0, sizeof(local_outcome));
1333 &hints, gai_cb, &local_outcome);
1335 tt_int_op(local_outcome.err,==,0);
1336 tt_assert(local_outcome.ai);
1338 a = ai_find_by_family(local_outcome.ai, PF_INET);
1342 a = ai_find_by_family(local_outcome.ai, PF_INET6);
1345 evutil_freeaddrinfo(local_outcome.ai);
1346 local_outcome.ai = NULL;
1350 memset(&local_outcome, 0, sizeof(local_outcome));
1354 &hints, gai_cb, &local_outcome);
1356 tt_int_op(local_outcome.err,==,0);
1357 tt_assert(local_outcome.ai);
1358 a = local_outcome.ai;
1361 evutil_freeaddrinfo(local_outcome.ai);
1362 local_outcome.ai = NULL;
1556 if (local_outcome.ai)
1557 evutil_freeaddrinfo(local_outcome.ai);