Lines Matching refs:endp
80 u_char *cp, *sp2, *startp, *endp; in res_nmkupdate() local
203 endp = startp + rrecp->r_size - 1; in res_nmkupdate()
207 if (!getword_str(buf2, sizeof buf2, &startp, endp)) in res_nmkupdate()
222 if (!getword_str(buf2, sizeof buf2, &startp, endp)) in res_nmkupdate()
235 endp)) in res_nmkupdate()
255 soanum = getnum_str(&startp, endp); in res_nmkupdate()
271 n = getnum_str(&startp, endp); in res_nmkupdate()
276 if (!getword_str(buf2, sizeof buf2, &startp, endp)) in res_nmkupdate()
285 n = getnum_str(&startp, endp); in res_nmkupdate()
291 n = getnum_str(&startp, endp); in res_nmkupdate()
297 n = getnum_str(&startp, endp); in res_nmkupdate()
303 if (!getword_str(buf2, sizeof buf2, &startp, endp)) in res_nmkupdate()
312 n = getnum_str(&startp, endp); in res_nmkupdate()
319 endp)) in res_nmkupdate()
333 if (!getword_str(buf2, sizeof buf2, &startp, endp)) in res_nmkupdate()
341 if (!getword_str(buf2, sizeof buf2, &startp, endp)) in res_nmkupdate()
351 while (getword_str(buf2, sizeof buf2, &startp, endp)) { in res_nmkupdate()
371 &startp, endp)) < 0) in res_nmkupdate()
384 &startp, endp)) < 0) { in res_nmkupdate()
400 endp)) < 0) in res_nmkupdate()
412 endp)) < 0) in res_nmkupdate()
421 endp)) < 0) in res_nmkupdate()
454 &startp, endp)) < 0) in res_nmkupdate()
462 n = getnum_str(&startp, endp); in res_nmkupdate()
468 n = getnum_str(&startp, endp); in res_nmkupdate()
474 if (!getword_str(buf2, sizeof buf2, &startp, endp)) in res_nmkupdate()
493 endp)) in res_nmkupdate()
503 if (!getword_str(buf2, sizeof buf2, &startp, endp)) in res_nmkupdate()
513 n = getnum_str(&startp, endp); in res_nmkupdate()
519 if (!getword_str(buf2, sizeof buf2, &startp, endp)) in res_nmkupdate()
528 &startp, endp)) < 0) in res_nmkupdate()
540 n = gethexnum_str(&startp, endp); in res_nmkupdate()
546 n = getnum_str(&startp, endp); in res_nmkupdate()
552 n = getnum_str(&startp, endp); in res_nmkupdate()
559 &startp, endp)) < 0) in res_nmkupdate()
575 if (!getword_str(buf2, sizeof buf2, &startp, endp)) in res_nmkupdate()
586 endp)) in res_nmkupdate()
604 n = getnum_str(&startp, endp); in res_nmkupdate()
610 n = getnum_str(&startp, endp); in res_nmkupdate()
616 n = getnum_str(&startp, endp); in res_nmkupdate()
623 &startp, endp)) < 0) in res_nmkupdate()
633 if (!getword_str(buf2, sizeof buf2, &startp, endp)) in res_nmkupdate()
644 n = getnum_str(&startp, endp); in res_nmkupdate()
650 n = getnum_str(&startp, endp); in res_nmkupdate()
657 &startp, endp)) < 0) { in res_nmkupdate()
668 &startp, endp)) < 0) { in res_nmkupdate()
679 &startp, endp)) < 0) { in res_nmkupdate()
689 if (!getword_str(buf2, sizeof buf2, &startp, endp)) in res_nmkupdate()
717 getword_str(char *buf, int size, u_char **startpp, u_char *endp) { in getword_str() argument
721 for (cp = buf; *startpp <= endp; ) { in getword_str()
747 getstr_str(char *buf, int size, u_char **startpp, u_char *endp) { in getstr_str() argument
755 for (cp = buf; *startpp <= endp; ) { in getstr_str()
825 gethexnum_str(u_char **startpp, u_char *endp) { in gethexnum_str() argument
830 if (*startpp + 2 >= endp || strncasecmp((char *)*startpp, "0x", 2) != 0) in gethexnum_str()
831 return getnum_str(startpp, endp); in gethexnum_str()
833 for (n = 0; *startpp <= endp; ) { in gethexnum_str()
844 while ((*startpp <= endp) && in gethexnum_str()
873 getnum_str(u_char **startpp, u_char *endp) { in getnum_str() argument
878 for (n = 0; *startpp <= endp; ) { in getnum_str()
889 while ((*startpp <= endp) && in getnum_str()