Lines Matching refs:async
606 bool async; /* true if in a hook-triggered
690 if (!asdata->async) {
694 asdata->async = true;
698 * Resume from the completion of async event. The fetch handle
699 * should have been detached so that we can start another async
703 asdata->async = false;
831 * hook on destroying actx. Can't be used for async event, but we use this
849 .async = false,
908 * If the query has been canceled, or async event didn't succeed,
930 * hook-triggered async event should be happening unless it hits
933 INSIST(asdata.async ==
945 /* If async event has started, manually invoke the 'done' event. */
946 if (asdata.async) {
1042 NS_TEST_ID("async from setup"),
1051 NS_TEST_ID("async from lookup"),
1060 NS_TEST_ID("async from resume"),
1069 NS_TEST_ID("async from resume restored"),
1078 NS_TEST_ID("async from gotanswer"),
1087 NS_TEST_ID("async from respond any"),
1096 NS_TEST_ID("async from add answer"),
1105 NS_TEST_ID("async from notfound"),
1114 NS_TEST_ID("async from prep delegation"),
1123 NS_TEST_ID("async from zone delegation"),
1132 NS_TEST_ID("async from delegation"),
1141 NS_TEST_ID("async from async delegation"),
1150 NS_TEST_ID("async from nodata"),
1159 NS_TEST_ID("async from nxdomain"),
1168 NS_TEST_ID("async from ncache"),
1177 NS_TEST_ID("async from CNAME"),
1186 NS_TEST_ID("async from DNAME"),
1195 NS_TEST_ID("async from prep response"),
1204 NS_TEST_ID("async from respond"),
1213 NS_TEST_ID("async from done begin"),
1222 NS_TEST_ID("async from done send"),
1262 bool async; /* true if in a hook-triggered
1320 if (!asdata->async) {
1321 /* Initial call to the hook; start async event */
1328 asdata->async = true;
1333 /* Resume from the completion of async event */
1334 asdata->async = false;
1360 .async = false,
1402 /* Handle the query. hook-based async event will be triggered. */
1413 * If async event has started, manually invoke the done event.
1415 INSIST(asdata.async);
1419 * Usually 'async' is reset to false on the 2nd call to
1424 INSIST(asdata.async == test->do_cancel);
1426 INSIST(!asdata.async);
1454 NS_TEST_ID("async fail"),