Lines Matching refs:endp
87 u_char *cp, *sp2, *startp, *endp; in res_nmkupdate() local
210 endp = startp + rrecp->r_size - 1; in res_nmkupdate()
214 if (!getword_str(buf2, sizeof buf2, &startp, endp)) in res_nmkupdate()
229 if (!getword_str(buf2, sizeof buf2, &startp, endp)) in res_nmkupdate()
242 endp)) in res_nmkupdate()
262 soanum = getnum_str(&startp, endp); in res_nmkupdate()
278 n = getnum_str(&startp, endp); in res_nmkupdate()
283 if (!getword_str(buf2, sizeof buf2, &startp, endp)) in res_nmkupdate()
292 n = getnum_str(&startp, endp); in res_nmkupdate()
298 n = getnum_str(&startp, endp); in res_nmkupdate()
304 n = getnum_str(&startp, endp); in res_nmkupdate()
310 if (!getword_str(buf2, sizeof buf2, &startp, endp)) in res_nmkupdate()
319 n = getnum_str(&startp, endp); in res_nmkupdate()
326 endp)) in res_nmkupdate()
340 if (!getword_str(buf2, sizeof buf2, &startp, endp)) in res_nmkupdate()
348 if (!getword_str(buf2, sizeof buf2, &startp, endp)) in res_nmkupdate()
358 while (getword_str(buf2, sizeof buf2, &startp, endp)) { in res_nmkupdate()
378 &startp, endp)) < 0) in res_nmkupdate()
391 &startp, endp)) < 0) { in res_nmkupdate()
407 endp)) < 0) in res_nmkupdate()
419 endp)) < 0) in res_nmkupdate()
428 endp)) < 0) in res_nmkupdate()
462 &startp, endp)) < 0) in res_nmkupdate()
470 n = getnum_str(&startp, endp); in res_nmkupdate()
476 n = getnum_str(&startp, endp); in res_nmkupdate()
482 if (!getword_str(buf2, sizeof buf2, &startp, endp)) in res_nmkupdate()
505 endp)) in res_nmkupdate()
515 if (!getword_str(buf2, sizeof buf2, &startp, endp)) in res_nmkupdate()
525 n = getnum_str(&startp, endp); in res_nmkupdate()
531 if (!getword_str(buf2, sizeof buf2, &startp, endp)) in res_nmkupdate()
540 &startp, endp)) < 0) in res_nmkupdate()
552 n = gethexnum_str(&startp, endp); in res_nmkupdate()
558 n = getnum_str(&startp, endp); in res_nmkupdate()
564 n = getnum_str(&startp, endp); in res_nmkupdate()
571 &startp, endp)) < 0) in res_nmkupdate()
587 if (!getword_str(buf2, sizeof buf2, &startp, endp)) in res_nmkupdate()
598 endp)) in res_nmkupdate()
616 n = getnum_str(&startp, endp); in res_nmkupdate()
622 n = getnum_str(&startp, endp); in res_nmkupdate()
628 n = getnum_str(&startp, endp); in res_nmkupdate()
635 &startp, endp)) < 0) in res_nmkupdate()
645 if (!getword_str(buf2, sizeof buf2, &startp, endp)) in res_nmkupdate()
656 n = getnum_str(&startp, endp); in res_nmkupdate()
662 n = getnum_str(&startp, endp); in res_nmkupdate()
669 &startp, endp)) < 0) { in res_nmkupdate()
680 &startp, endp)) < 0) { in res_nmkupdate()
691 &startp, endp)) < 0) { in res_nmkupdate()
701 if (!getword_str(buf2, sizeof buf2, &startp, endp)) in res_nmkupdate()
729 getword_str(char *buf, size_t size, u_char **startpp, u_char *endp) { in getword_str() argument
733 for (cp = buf; *startpp <= endp; ) { in getword_str()
759 getstr_str(char *buf, size_t size, u_char **startpp, u_char *endp) { in getstr_str() argument
767 for (cp = buf; *startpp <= endp; ) { in getstr_str()
837 gethexnum_str(u_char **startpp, u_char *endp) { in gethexnum_str() argument
842 if (*startpp + 2 >= endp || strncasecmp((char *)*startpp, "0x", 2) != 0) in gethexnum_str()
843 return getnum_str(startpp, endp); in gethexnum_str()
845 for (n = 0; *startpp <= endp; ) { in gethexnum_str()
856 while ((*startpp <= endp) && in gethexnum_str()
885 getnum_str(u_char **startpp, u_char *endp) { in getnum_str() argument
890 for (n = 0; *startpp <= endp; ) { in getnum_str()
901 while ((*startpp <= endp) && in getnum_str()