Searched refs:rrnum (Results 1 – 2 of 2) sorted by relevance
/bionic/libc/dns/nameser/ |
D | ns_parse.c | 141 ns_parserr(ns_msg *handle, ns_sect section, int rrnum, ns_rr *rr) { in ns_parserr() argument 153 if (rrnum == -1) in ns_parserr() 154 rrnum = handle->_rrnum; in ns_parserr() 155 if (rrnum < 0 || rrnum >= handle->_counts[(int)section]) in ns_parserr() 157 if (rrnum < handle->_rrnum) in ns_parserr() 159 if (rrnum > handle->_rrnum) { in ns_parserr() 161 rrnum - handle->_rrnum); in ns_parserr() 166 handle->_rrnum = rrnum; in ns_parserr() 204 ns_parserr2(ns_msg *handle, ns_sect section, int rrnum, ns_rr2 *rr) { in ns_parserr2() argument 216 if (rrnum == -1) in ns_parserr2() [all …]
|
/bionic/libc/dns/resolv/ |
D | res_debug.c | 153 int n, sflag, rrnum; in do_section() local 173 rrnum = 0; in do_section() 175 if (ns_parserr(handle, section, rrnum, &rr)) { in do_section() 179 else if (rrnum > 0 && sflag != 0 && in do_section() 184 if (rrnum == 0 && sflag != 0 && (statp->pfcode & RES_PRF_HEAD1)) in do_section() 267 rrnum++; in do_section()
|