/bind-9.11.3/bin/tests/ |
H A D | keyboard_test.c | 33 isc_result_t res; local 41 res = isc_keyboard_open(&kbd); 42 CHECK("isc_keyboard_open()", res); 46 while (res == ISC_R_SUCCESS && c != 'Q') { 47 res = isc_keyboard_getchar(&kbd, &c); 55 if (res != ISC_R_SUCCESS) { 57 isc_result_totext(res)); 62 res = isc_keyboard_close(&kbd, 3); 63 CHECK("isc_keyboard_close()", res);
|
H A D | inter_test.c | 27 const char * res; local 48 res = inet_ntop(ifdata.af, &ifdata.address.type, buf, 52 res == NULL ? "BAD" : res, 56 res == NULL ? "BAD" : res); 58 res = inet_ntop(ifdata.af, &ifdata.netmask.type, buf, 60 fprintf(stdout, "netmask = %s\n", res == NULL ? "BAD" : res); 63 res [all...] |
H A D | lwres_test.c | 146 lwres_gabnresponse_t *res; local 152 res = NULL; 155 &res); 159 if (res != NULL) 160 lwres_gabnresponse_free(ctx, &res); 165 res->realnamelen, res->realname); 166 printf("%u aliases:\n", res->naliases); 167 for (i = 0; i < res->naliases; i++) 168 printf("\t(%u, %s)\n", res 190 lwres_gnbaresponse_t *res; local [all...] |
/bind-9.11.3/lib/samples/ |
H A D | sample-gai.c | 24 struct addrinfo hints, *res, *res0; local 39 for (res = res0; res; res = res->ai_next) { 40 error = getnameinfo(res->ai_addr, 41 (socklen_t)res->ai_addrlen, 45 error = getnameinfo(res->ai_addr, 46 (socklen_t)res->ai_addrlen, 54 res [all...] |
/bind-9.11.3/bin/tests/system/dnssec/ |
H A D | dnssec_update_test.pl | 39 $res = new Net::DNS::Resolver; 40 $res->nameservers($opt_s); 41 $res->port($opt_p); 42 $res->defnames(0); # Do not append default domain. 68 $reply = $res->send($update); 75 print "I:Update failed: ", $res->errorstring, "\n";
|
/bind-9.11.3/bin/tests/system/stress/ |
H A D | update.pl | 44 $res = new Net::DNS::Resolver; 45 $res->nameservers($opt_s); 46 $res->port($opt_p); 47 $res->defnames(0); # Do not append default domain. 73 $reply = $res->send($update); 80 print "I:Update failed: ", $res->errorstring, "\n";
|
/bind-9.11.3/contrib/scripts/ |
H A D | nanny.pl | 27 $res = kill 0, $pid; 29 goto restart if ($res == 0);
|
/bind-9.11.3/contrib/sdb/pgsql/ |
H A D | zonetodb.c | 89 PGresult *res; local 114 res = PQexec(conn, str); 115 if (!res || PQresultStatus(res) != PGRES_COMMAND_OK) { 117 PQresultErrorMessage(res)); 118 PQclear(res); 121 PQclear(res); 139 PGresult *res; local 192 res = PQexec(conn, str); 193 if (!res || PQresultStatu [all...] |
H A D | pgsqldb.c | 118 PGresult *res; local 142 res = PQexec(dbi->conn, str); 143 if (!res || PQresultStatus(res) != PGRES_TUPLES_OK) { 144 PQclear(res); 147 if (PQntuples(res) == 0) { 148 PQclear(res); 152 for (i = 0; i < PQntuples(res); i++) { 153 char *ttlstr = PQgetvalue(res, i, 0); 154 char *type = PQgetvalue(res, 181 PGresult *res; local [all...] |
/bind-9.11.3/bin/tests/system/delzone/ |
H A D | tests.sh | 36 res = r.call('addzone z%d.example { type master; file "added.db"; };' % i) 37 if 'text' in res: 38 print ('I:n2:' + res['text']) 49 res = r.call('delzone z%d.example' % i) 50 if 'text' in res: 51 print ('I:n2:' + res['text'])
|
/bind-9.11.3/contrib/sdb/bdb/ |
H A D | zone2bdb.c | 122 isc_result_t res; local 154 for (res = dns_dbiterator_first(dbiter); res == ISC_R_SUCCESS; 155 res = dns_dbiterator_next(dbiter)) { 160 for (res = dns_rdatasetiter_first(rdatasetiter); 161 res == ISC_R_SUCCESS; 162 res = dns_rdatasetiter_next(rdatasetiter)) { 165 res = dns_rdataset_first(&rdataset); 166 while (res == ISC_R_SUCCESS) { 174 res [all...] |
/bind-9.11.3/unit/atf-src/test-programs/ |
H A D | srcdir_test.sh | 47 atf_check -s eq:1 -o empty -e ignore "${hp}" -r res srcdir_exists 48 atf_check -s eq:0 -o ignore -e empty grep "Cannot find datafile" res 70 atf_check -s eq:1 -o empty -e ignore "${hp}" -r res srcdir_exists 71 atf_check -s eq:0 -o ignore -e empty grep "Cannot find datafile" res 80 atf_check -s eq:1 -o empty -e ignore "${hp}" -r res srcdir_exists 81 atf_check -s eq:0 -o ignore -e empty grep "Cannot find datafile" res 101 atf_check -s eq:1 -o empty -e save:stderr "${hp}" -r res srcdir_exists 102 atf_check -s eq:0 -o ignore -e empty grep "Cannot find datafile" res 128 atf_check -s eq:1 -o empty -e save:stderr "${hp}" -r res \ 130 atf_check -s eq:0 -o ignore -e empty grep "Cannot find datafile" res [all...] |
/bind-9.11.3/lib/dns/ |
H A D | resolver.c | 71 "res %p: %s", res, (m)) 76 "res %p: %s", (r), (m)) 91 #define FCTXTRACE3(m, res) \ 98 isc_result_totext(res), (m)) 99 #define FCTXTRACE4(m1, m2, res) \ 106 isc_result_totext(res), (m1), (m2)) 133 #define FCTXTRACE3(m1, res) do { UNUSED(m1); UNUSED(res); } while (0) 134 #define FCTXTRACE4(m1, m2, res) \ 256 dns_resolver_t * res; member in struct:fetchctx 580 inc_stats(dns_resolver_t *res, isc_statscounter_t counter) argument 586 dec_stats(dns_resolver_t *res, isc_statscounter_t counter) argument 860 dns_resolver_t *res; local 1421 dns_resolver_t *res; local 1630 dns_resolver_t *res; local 2109 dns_resolver_t *res; local 2770 dns_resolver_t *res; local 3089 dns_resolver_t *res; local 3216 dns_resolver_t *res; local 3506 dns_resolver_t *res; local 3707 dns_resolver_t *res; local 3802 dns_resolver_t *res; local 4005 dns_resolver_t *res; local 4077 dns_resolver_t *res; local 4224 fctx_create(dns_resolver_t *res, dns_name_t *name, dns_rdatatype_t type, dns_name_t *domain, dns_rdataset_t *nameservers, unsigned int options, unsigned int bucketnum, unsigned int depth, isc_counter_t *qc, fetchctx_t **fctxp) argument 4761 dns_resolver_t *res = fctx->res; local 4805 dns_resolver_t *res; local 5356 dns_resolver_t *res = fctx->res; local 5931 dns_resolver_t *res; local 7313 dns_resolver_t *res; local 7686 dns_resolver_t *res; local 8714 destroy(dns_resolver_t *res) argument 8771 send_shutdown_events(dns_resolver_t *res) argument 8791 empty_bucket(dns_resolver_t *res) argument 8806 dns_resolver_t *res = event->ev_arg; local 8849 dns_resolver_t *res; local 9083 dns_resolver_t *res; local 9132 dns_resolver_prime(dns_resolver_t *res) argument 9193 dns_resolver_freeze(dns_resolver_t *res) argument 9221 dns_resolver_whenshutdown(dns_resolver_t *res, isc_task_t *task, isc_event_t **eventp) argument 9252 dns_resolver_shutdown(dns_resolver_t *res) argument 9301 dns_resolver_t *res; local 9365 dns_resolver_createfetch(dns_resolver_t *res, dns_name_t *name, dns_rdatatype_t type, dns_name_t *domain, dns_rdataset_t *nameservers, dns_forwarders_t *forwarders, unsigned int options, isc_task_t *task, isc_taskaction_t action, void *arg, dns_rdataset_t *rdataset, dns_rdataset_t *sigrdataset, dns_fetch_t **fetchp) argument 9382 dns_resolver_createfetch2(dns_resolver_t *res, dns_name_t *name, dns_rdatatype_t type, dns_name_t *domain, dns_rdataset_t *nameservers, dns_forwarders_t *forwarders, isc_sockaddr_t *client, dns_messageid_t id, unsigned int options, isc_task_t *task, isc_taskaction_t action, void *arg, dns_rdataset_t *rdataset, dns_rdataset_t *sigrdataset, dns_fetch_t **fetchp) argument 9400 dns_resolver_createfetch3(dns_resolver_t *res, dns_name_t *name, dns_rdatatype_t type, dns_name_t *domain, dns_rdataset_t *nameservers, dns_forwarders_t *forwarders, isc_sockaddr_t *client, dns_messageid_t id, unsigned int options, unsigned int depth, isc_counter_t *qc, isc_task_t *task, isc_taskaction_t action, void *arg, dns_rdataset_t *rdataset, dns_rdataset_t *sigrdataset, dns_fetch_t **fetchp) argument 9548 dns_resolver_t *res; local 9595 dns_resolver_t *res; local 9644 dns_resolver_t *res; local [all...] |
/bind-9.11.3/bin/tests/system/nsupdate/ |
H A D | update_test.pl | 44 $res = new Net::DNS::Resolver; 45 $res->nameservers($opt_s); 46 $res->port($opt_p); 47 $res->defnames(0); # Do not append default domain. 73 $reply = $res->send($update); 80 print "I:Update failed: ", $res->errorstring, "\n"; 320 my $query = $res->query($zone, "SOA"); 336 ($db_soa) = $res->query($zone, "SOA")->answer; 349 ($old_soa) = $res->query($zone, "SOA")->answer; 353 ($db_soa) = $res [all...] |
/bind-9.11.3/lib/lwres/ |
H A D | lwconfig.c | 294 int res; local 303 res = getword(fp, word, sizeof(word)); 306 else if (res == ' ' || res == '\t') 307 res = eatwhite(fp); 309 if (res != EOF && res != '\n') 312 res = lwres_create_addr(word, &address, 1); 313 if (res == LWRES_R_SUCCESS && 325 int res; local 353 int res, i; local 506 int delim, res, idx; local [all...] |
H A D | gethost.c | 227 int res; local 232 res = copytobuf(myhe, resbuf, buf, buflen); 234 if (res != 0) { 248 int res; local 253 res = copytobuf(myhe, resbuf, buf, buflen); 255 if (res != 0) {
|
/bind-9.11.3/lib/isc/ |
H A D | safe.c | 44 int res = 0, done = 0; local 56 /* set res = cmp if !done. */ 57 res |= cmp & ~done; 63 return (res);
|
/bind-9.11.3/contrib/dlz/modules/mysqldyn/ |
H A D | dlz_mysqldyn_mod.c | 598 MYSQL_RES *res = NULL; local 619 res = mysql_store_result(dbi->sock); 620 if (res == NULL) { 631 modname, dbi->id, mysql_num_rows(res)); 636 return (res); 724 MYSQL_RES *res; local 735 res = db_query(state, NULL, query); 737 if (res == NULL) 743 mysql_free_result(res); 752 while ((row = mysql_fetch_row(res)) ! 1039 MYSQL_RES *res; local 1071 MYSQL_RES *res; local 1216 MYSQL_RES *res; local 1263 MYSQL_RES *res; local 1360 MYSQL_RES *res; local 1485 MYSQL_RES *res; local [all...] |
/bind-9.11.3/contrib/queryperf/missing/ |
H A D | getaddrinfo.c | 199 getaddrinfo(hostname, servname, hints, res) 202 struct addrinfo **res; 428 *res = top; 437 *res = NULL; 442 get_name(addr, afd, res, numaddr, pai, port0) 445 struct addrinfo **res; 461 *res = cur; 468 *res = NULL; 482 struct addrinfo **res; local 486 res [all...] |
/bind-9.11.3/lib/irs/ |
H A D | resconf.c | 202 struct addrinfo hints, *res; local 205 res = NULL; 211 error = getaddrinfo(address_str, "53", &hints, &res); 216 if (res->ai_family == AF_INET) { 221 v4 = &((struct sockaddr_in *)res->ai_addr)->sin_addr; 231 if (res->ai_addrlen > sizeof(address->type)) { 236 address->length = (unsigned int)res->ai_addrlen; 237 memmove(&address->type.ss, res->ai_addr, res->ai_addrlen); 242 freeaddrinfo(res); 301 int res; local 387 int delim, res; local [all...] |
/bind-9.11.3/contrib/dnsperf-2.1.0.0-1/ |
H A D | util.h | 104 isc_boolean_t *res = (timedout); \ 108 if (res != NULL) \ 109 *res = ISC_TF(__n != 0); \
|
/bind-9.11.3/contrib/sdb/sqlite/ |
H A D | zone2sqlite.c | 103 int res; local 126 res = sqlite3_exec(dbi.db, sql, add_rdata_cb, NULL, &errmsg); 129 if (res != SQLITE_OK) { 139 int res; local 202 res = sqlite3_exec(dbi.db, sql, NULL, NULL, &errmsg); 205 if (res != SQLITE_OK) { 214 res = sqlite3_exec(dbi.db, sql, NULL, NULL, &errmsg); 216 if (res != SQLITE_OK) { 227 res = sqlite3_exec(dbi.db, sql, NULL, NULL, &errmsg); 229 if (res ! [all...] |
/bind-9.11.3/contrib/idn/idnkit-1.0-src/include/idn/ |
H A D | api.h | 54 #include <idn/res.h> 59 * Low-level APIs are also available. See "res.h" for details.
|
/bind-9.11.3/bin/tests/system/lwresd/ |
H A D | lwtest.c | 126 lwres_gabnresponse_t *res; local 133 res = NULL; 136 &res); 139 if (res != NULL) 140 lwres_gabnresponse_free(ctx, &res); 154 addr = LWRES_LIST_HEAD(res->addrs); 167 addr = LWRES_LIST_HEAD(res->addrs); 180 if (res != NULL) 181 lwres_gabnresponse_free(ctx, &res); 188 lwres_gnbaresponse_t *res; local [all...] |
/bind-9.11.3/lib/dns/include/dns/ |
H A D | resolver.h | 182 dns_resolver_freeze(dns_resolver_t *res); 193 *\li 'res' is a valid resolver. 197 *\li 'res' is frozen. 201 dns_resolver_prime(dns_resolver_t *res); 214 *\li 'res' is a valid, frozen resolver. 219 dns_resolver_whenshutdown(dns_resolver_t *res, isc_task_t *task, 222 * Send '*eventp' to 'task' when 'res' has completed shutdown. 226 *\li It is not safe to detach the last reference to 'res' until 231 *\li 'res' is a valid resolver. 243 dns_resolver_shutdown(dns_resolver_t *res); [all...] |