Searched defs:res (Results 1 - 25 of 35) sorted by relevance

12

/bind-9.6-ESV-R11/bin/tests/
H A Dinter_test.c35 const char * res; local
56 res = inet_ntop(ifdata.af, &ifdata.address.type, buf,
60 res == NULL ? "BAD" : res,
64 res == NULL ? "BAD" : res);
66 res = inet_ntop(ifdata.af, &ifdata.netmask.type, buf,
68 fprintf(stdout, "netmask = %s\n", res == NULL ? "BAD" : res);
71 res
[all...]
H A Dkeyboard_test.c41 isc_result_t res; local
49 res = isc_keyboard_open(&kbd);
50 CHECK("isc_keyboard_open()", res);
54 while (res == ISC_R_SUCCESS && c != 'Q') {
55 res = isc_keyboard_getchar(&kbd, &c);
63 if (res != ISC_R_SUCCESS) {
65 isc_result_totext(res));
70 res = isc_keyboard_close(&kbd, 3);
71 CHECK("isc_keyboard_close()", res);
H A Dlwres_test.c154 lwres_gabnresponse_t *res; local
160 res = NULL;
163 &res);
167 if (res != NULL)
168 lwres_gabnresponse_free(ctx, &res);
173 res->realnamelen, res->realname);
174 printf("%u aliases:\n", res->naliases);
175 for (i = 0; i < res->naliases; i++)
176 printf("\t(%u, %s)\n", res
198 lwres_gnbaresponse_t *res; local
[all...]
/bind-9.6-ESV-R11/lib/lwres/
H A Dgetrrset.c30 * After a successful call to lwres_getrrsetbyname(), *res is a pointer
144 struct rrsetinfo **res)
256 *res = rrset;
142 lwres_getrrsetbyname(const char *hostname, unsigned int rdclass, unsigned int rdtype, unsigned int flags, struct rrsetinfo **res) argument
H A Dgethost.c233 int res; local
238 res = copytobuf(he, resbuf, buf, buflen);
240 if (res != 0) {
254 int res; local
259 res = copytobuf(he, resbuf, buf, buflen);
261 if (res != 0) {
H A Dlwconfig.c297 int res; local
306 res = getword(fp, word, sizeof(word));
309 else if (res == ' ' || res == '\t')
310 res = eatwhite(fp);
312 if (res != EOF && res != '\n')
315 res = lwres_create_addr(word, &address, 1);
316 if (res == LWRES_R_SUCCESS &&
328 int res; local
356 int res, i; local
477 int delim, res, idx; local
[all...]
H A Dgetaddrinfo.c104 * After a successful call to lwres_getaddrinfo(), *res is a pointer to a
157 static int get_local(const char *name, int socktype, struct addrinfo **res);
175 const struct addrinfo *hints, struct addrinfo **res)
262 return (get_local(hostname, socktype, res));
266 return (get_local(servname, socktype, res));
333 *res = ai_list;
473 *res = ai_list;
702 get_local(const char *name, int socktype, struct addrinfo **res) { argument
722 *res = ai;
174 lwres_getaddrinfo(const char *hostname, const char *servname, const struct addrinfo *hints, struct addrinfo **res) argument
/bind-9.6-ESV-R11/unit/atf-src/atf-c++/detail/
H A Dtext.cpp72 const int res = ::regexec(&preg, str.c_str(), 0, NULL, 0); local
74 if (res != 0 && res != REG_NOMATCH)
77 found = res == 0;
/bind-9.6-ESV-R11/contrib/sdb/bdb/
H A Dzone2bdb.c122 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.6-ESV-R11/contrib/sdb/pgsql/
H A Dzonetodb.c98 PGresult *res; local
123 res = PQexec(conn, str);
124 if (!res || PQresultStatus(res) != PGRES_COMMAND_OK) {
126 PQresultErrorMessage(res));
127 PQclear(res);
130 PQclear(res);
148 PGresult *res; local
201 res = PQexec(conn, str);
202 if (!res || PQresultStatu
[all...]
H A Dpgsqldb.c120 PGresult *res; local
140 res = PQexec(dbi->conn, str);
141 if (!res || PQresultStatus(res) != PGRES_TUPLES_OK) {
142 PQclear(res);
145 if (PQntuples(res) == 0) {
146 PQclear(res);
150 for (i = 0; i < PQntuples(res); i++) {
151 char *ttlstr = PQgetvalue(res, i, 0);
152 char *type = PQgetvalue(res,
179 PGresult *res; local
[all...]
/bind-9.6-ESV-R11/contrib/zkt/
H A Ddomaincmp.c266 int res; member in struct:__anon71
310 int res; local
318 expect = ex[i].res;
329 res = domaincmp (ex[i].a, ex[i].b);
330 printf ("%3d ", res);
331 if ( res < 0 && expect < 0 || res > 0 && expect > 0 || res == 0 && expect == 0 )
/bind-9.6-ESV-R11/lib/isc/unix/
H A Dinterfaceiter.c190 int res; local
202 res = sscanf(iter->entry, "%32[a-f0-9] %x %x %x %x %16s\n",
204 if (res != 6) {
208 res);
/bind-9.6-ESV-R11/bin/tests/system/lwresd/
H A Dlwtest.c133 lwres_gabnresponse_t *res; local
140 res = NULL;
143 &res);
146 if (res != NULL)
147 lwres_gabnresponse_free(ctx, &res);
161 addr = LWRES_LIST_HEAD(res->addrs);
174 addr = LWRES_LIST_HEAD(res->addrs);
187 if (res != NULL)
188 lwres_gabnresponse_free(ctx, &res);
195 lwres_gnbaresponse_t *res; local
[all...]
/bind-9.6-ESV-R11/contrib/idn/idnkit-1.0-src/tools/runidn/
H A Dstub.c346 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
H A Dresolver.c960 const struct addrinfo *hints, struct addrinfo **res)
968 return (REAL(getaddrinfo)(nodename, servname, hints, res));
982 *res = copy_decode_addrinfo_dynamic(aip);
983 if (*res == NULL)
986 obj_lock(*res);
959 getaddrinfo(const char *nodename, const char *servname, const struct addrinfo *hints, struct addrinfo **res) argument
/bind-9.6-ESV-R11/contrib/queryperf/missing/
H A Dgetaddrinfo.c199 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.6-ESV-R11/contrib/sdb/sqlite/
H A Dzone2sqlite.c114 int res; local
137 res = sqlite3_exec(dbi.db, sql, add_rdata_cb, NULL, &errmsg);
150 int res; local
213 res = sqlite3_exec(dbi.db, sql, NULL, NULL, &errmsg);
216 if (res != SQLITE_OK) {
225 res = sqlite3_exec(dbi.db, sql, NULL, NULL, &errmsg);
227 if (res != SQLITE_OK) {
238 res = sqlite3_exec(dbi.db, sql, NULL, NULL, &errmsg);
240 if (res != SQLITE_OK) {
292 res
[all...]
/bind-9.6-ESV-R11/lib/isc/win32/
H A Dfile.c298 int res = 0; local
311 res = isc_file_safemovefile(file, templet);
312 if (res != 0) {
/bind-9.6-ESV-R11/unit/atf-src/atf-c/
H A Dutils.c58 int res; local
64 res = regexec(&preg, str, 0, NULL, 0);
65 ATF_REQUIRE(res == 0 || res == REG_NOMATCH);
69 return res == 0;
300 bool res; local
310 res = grep_string(atf_dynstr_cstring(&formatted), str);
314 return res;
/bind-9.6-ESV-R11/bin/named/unix/
H A Dos.c804 char *res; local
807 res = strsep(stringp, delim);
808 if (res == NULL)
810 } while (*res == '\0');
811 return (res);
/bind-9.6-ESV-R11/lib/dns/
H A Dpeer.c158 isc_result_t res; local
174 res = ISC_R_SUCCESS;
176 res = ISC_R_NOTFOUND;
179 return (res);
/bind-9.6-ESV-R11/contrib/idn/idnkit-1.0-src/wsock/wsock20/
H A Ddllfunc.c493 const struct my_addrinfo *hints, struct my_addrinfo **res)
507 err = _org_getaddrinfo(nodename, servname, hints, res);
518 *res = copy_decode_addrinfo_dynamic(aip, encodeCtx);
519 if (*res == NULL)
522 obj_lock(*res);
492 getaddrinfo(const char *nodename, const char *servname, const struct my_addrinfo *hints, struct my_addrinfo **res) argument
/bind-9.6-ESV-R11/contrib/sdb/ldap/
H A Dldapdb.c226 LDAPMessage *res, *e; local
274 while ((errno = ldap_result(*ldp, msgid, 0, NULL, &res)) != LDAP_RES_SEARCH_RESULT ) {
282 ldap_msgfree(res);
287 e = ldap_first_entry(ld, res);
289 ldap_msgfree(res);
345 ldap_msgfree(res);
363 ldap_msgfree(res);
367 ldap_msgfree(res);
H A Dzone2ldap.c87 void isc_result_check (isc_result_t res, char *errorstr);
342 isc_result_check (isc_result_t res, char *errorstr) argument
344 if (res != ISC_R_SUCCESS)
346 fprintf (stderr, " %s: %s\n", errorstr, isc_result_totext (res));

Completed in 3790 milliseconds

12