/bind-9.11.3/bin/tests/ |
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 | 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 | 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...] |
H A D | sample-request.c | 143 struct addrinfo hints, *res; local 216 gaierror = getaddrinfo(argv[0], "53", &hints, &res); 222 INSIST(res->ai_addrlen <= sizeof(sa.type)); 223 memmove(&sa.type, res->ai_addr, res->ai_addrlen); 224 freeaddrinfo(res); 225 sa.length = (unsigned int)res->ai_addrlen;
|
H A D | resolve.c | 180 struct addrinfo hints, *res; local 195 gaierror = getaddrinfo(addrstr, port, &hints, &res); 201 INSIST(res->ai_addrlen <= sizeof(sa.type)); 202 memmove(&sa.type, res->ai_addr, res->ai_addrlen); 203 sa.length = (unsigned int)res->ai_addrlen; 204 freeaddrinfo(res);
|
/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/lib/lwres/ |
H A D | getrrset.c | 21 * After a successful call to lwres_getrrsetbyname(), *res is a pointer 135 struct rrsetinfo **res) 247 *res = rrset; 133 lwres_getrrsetbyname(const char *hostname, unsigned int rdclass, unsigned int rdtype, unsigned int flags, struct rrsetinfo **res) argument
|
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) {
|
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 | getaddrinfo.c | 107 * After a successful call to lwres_getaddrinfo(), *res is a pointer to a 160 static int get_local(const char *name, int socktype, struct addrinfo **res); 178 const struct addrinfo *hints, struct addrinfo **res) 265 return (get_local(hostname, socktype, res)); 269 return (get_local(servname, socktype, res)); 336 *res = ai_list; 476 *res = ai_list; 705 get_local(const char *name, int socktype, struct addrinfo **res) { argument 729 *res = ai; 177 lwres_getaddrinfo(const char *hostname, const char *servname, const struct addrinfo *hints, struct addrinfo **res) argument
|
/bind-9.11.3/unit/atf-src/atf-c++/detail/ |
H A D | text.cpp | 68 const int res = ::regexec(&preg, str.c_str(), 0, NULL, 0); local 70 if (res != 0 && res != REG_NOMATCH) 73 found = res == 0;
|
/bind-9.11.3/unit/atf-src/tools/ |
H A D | text.cpp | 67 const int res = ::regexec(&preg, str.c_str(), 0, NULL, 0); local 69 if (res != 0 && res != REG_NOMATCH) 72 found = res == 0;
|
/bind-9.11.3/lib/isc/unix/ |
H A D | interfaceiter.c | 181 int res; local 193 res = sscanf(iter->entry, "%32[a-f0-9] %x %x %x %x %16s\n", 195 if (res != 6) { 199 res);
|
H A D | net.c | 496 cmsgsend(int s, int level, int type, struct addrinfo *res) { argument 511 if (bind(s, res->ai_addr, res->ai_addrlen) < 0) {
|
/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/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/contrib/idn/idnkit-1.0-src/tools/runidn/ |
H A D | stub.c | 346 const struct addrinfo *hints, struct addrinfo **res) 349 const struct addrinfo *hints, struct addrinfo **res); 354 return ((*fp)(nodename, servname, hints, res)); 345 idn_stub_getaddrinfo(const char *nodename, const char *servname, const struct addrinfo *hints, struct addrinfo **res) argument
|
/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/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/unit/atf-src/atf-c/ |
H A D | utils.c | 82 int res; local 88 res = regexec(&preg, str, 0, NULL, 0); 89 ATF_REQUIRE(res == 0 || res == REG_NOMATCH); 93 return res == 0; 333 bool res; local 343 res = grep_string(atf_dynstr_cstring(&formatted), str); 347 return res;
|
/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/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/ |
H A D | peer.c | 156 isc_result_t res; local 172 res = ISC_R_SUCCESS; 174 res = ISC_R_NOTFOUND; 177 return (res);
|