Lines Matching refs:rrnum
143 ns_parserr(ns_msg *handle, ns_sect section, int rrnum, ns_rr *rr) { in ns_parserr() argument
155 if (rrnum == -1) in ns_parserr()
156 rrnum = handle->_rrnum; in ns_parserr()
157 if (rrnum < 0 || rrnum >= handle->_counts[(int)section]) in ns_parserr()
159 if (rrnum < handle->_rrnum) in ns_parserr()
161 if (rrnum > handle->_rrnum) { in ns_parserr()
163 rrnum - handle->_rrnum); in ns_parserr()
168 handle->_rrnum = rrnum; in ns_parserr()
206 ns_parserr2(ns_msg *handle, ns_sect section, int rrnum, ns_rr2 *rr) { in ns_parserr2() argument
218 if (rrnum == -1) in ns_parserr2()
219 rrnum = handle->_rrnum; in ns_parserr2()
220 if (rrnum < 0 || rrnum >= handle->_counts[(int)section]) in ns_parserr2()
222 if (rrnum < handle->_rrnum) in ns_parserr2()
224 if (rrnum > handle->_rrnum) { in ns_parserr2()
226 rrnum - handle->_rrnum); in ns_parserr2()
231 handle->_rrnum = rrnum; in ns_parserr2()