Home
last modified time | relevance | path

Searched refs:rcode (Results 1 – 11 of 11) sorted by relevance

/device/linaro/bootloader/edk2/StdLib/BsdSocketLib/
Dres_update.c130 int i, j, k = 0, n, ancount, nscount, arcount, rcode, rdatasize, in res_update() local
216 rcode = hp->rcode; in res_update()
238 } else if ((rcode == NOERROR || rcode == NXDOMAIN) && in res_update()
274 } else if (rcode == NOERROR && ancount == 1) { in res_update()
309 ancount, nscount, arcount, hp->rcode); in res_update()
380 if (rcode == NOERROR && ancount > 0) { in res_update()
411 dname, ancount, nscount, arcount, hp->rcode); in res_update()
415 if (rcode == NOERROR && ancount > 0) { in res_update()
422 dname, ancount, nscount, arcount, hp->rcode); in res_update()
Dres_query.c131 hp->rcode = NOERROR; /* default */ in res_query()
162 if (hp->rcode != NOERROR || ntohs(hp->ancount) == 0) { in res_query()
165 printf(";; rcode = %d, ancount=%d\n", hp->rcode, in res_query()
168 switch (hp->rcode) { in res_query()
286 if (hp->rcode == SERVFAIL) { in res_search()
Dres_debug.c223 u_int opcode, rcode, id; in fp_nquery() local
233 rcode = ns_msg_getflag(handle, ns_f_rcode); in fp_nquery()
243 if ((!_res.pfcode) || (_res.pfcode & RES_PRF_HEADX) || rcode) in fp_nquery()
246 _res_opcodes[opcode], _res_resultcodes[rcode], (int)id); in fp_nquery()
Dgetaddrinfo.c1688 int rcode; in res_queryN() local
1694 rcode = NOERROR; in res_queryN()
1703 hp->rcode = NOERROR; /* default */ in res_queryN()
1741 if (n < 0 || hp->rcode != NOERROR || ntohs(hp->ancount) == 0) { in res_queryN()
1742 rcode = hp->rcode; /* record most recent error */ in res_queryN()
1745 printf(";; rcode = %u, ancount=%u\n", hp->rcode, in res_queryN()
1757 switch (rcode) { in res_queryN()
1873 if (hp->rcode == SERVFAIL) { in res_searchN()
Dres_mkquery.c139 hp->rcode = NOERROR; in res_mkquery()
Dres_send.c829 if (anhp->rcode == SERVFAIL || in res_send()
830 anhp->rcode == NOTIMP || in res_send()
831 anhp->rcode == REFUSED) { in res_send()
Dres_mkupdate.c137 hp->rcode = NOERROR; in res_mkupdate()
/device/linaro/bootloader/edk2/StdLib/Include/arpa/
Dnameser_compat.h113 unsigned rcode :4; /*%< response code */ member
123 unsigned rcode :4; /*%< response code */ member
/device/google/bonito/gpt-utils/
Dgpt-utils.cpp977 int rcode = 0; in prepare_boot_update() local
1038 rcode = prepare_partitions(stage, data.lun_list[i]); in prepare_boot_update()
1039 if (rcode != 0) in prepare_boot_update()
/device/google/marlin/recovery/gpt-utils/
Dgpt-utils.cpp975 int rcode = 0; in prepare_boot_update() local
1036 rcode = prepare_partitions(stage, data.lun_list[i]); in prepare_boot_update()
1037 if (rcode != 0) in prepare_boot_update()
/device/google/crosshatch/gpt-utils/
Dgpt-utils.cpp975 int rcode = 0; in prepare_boot_update() local
1036 rcode = prepare_partitions(stage, data.lun_list[i]); in prepare_boot_update()
1037 if (rcode != 0) in prepare_boot_update()