Lines Matching refs:rrnum
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()
217 rrnum = handle->_rrnum; in ns_parserr2()
218 if (rrnum < 0 || rrnum >= handle->_counts[(int)section]) in ns_parserr2()
220 if (rrnum < handle->_rrnum) in ns_parserr2()
222 if (rrnum > handle->_rrnum) { in ns_parserr2()
224 rrnum - handle->_rrnum); in ns_parserr2()
229 handle->_rrnum = rrnum; in ns_parserr2()