Lines Matching refs:edata
58 static int charstr(const u_char *rdata, const u_char *edata,
115 const u_char *edata = rdata + rdlen; in ns_sprintrrf() local
180 T(len = charstr(rdata, edata, &buf, &buflen)); in ns_sprintrrf()
188 if (type == ns_t_isdn && rdata == edata) in ns_sprintrrf()
191 T(len = charstr(rdata, edata, &buf, &buflen)); in ns_sprintrrf()
209 if ((edata - rdata) != 5*NS_INT32SZ) in ns_sprintrrf()
304 T(len = charstr(rdata, edata, &buf, &buflen)); in ns_sprintrrf()
312 while (rdata < edata) { in ns_sprintrrf()
313 T(len = charstr(rdata, edata, &buf, &buflen)); in ns_sprintrrf()
317 if (rdata < edata) in ns_sprintrrf()
360 T(len = charstr(rdata, edata, &buf, &buflen)); in ns_sprintrrf()
367 T(len = charstr(rdata, edata, &buf, &buflen)); in ns_sprintrrf()
374 T(len = charstr(rdata, edata, &buf, &buflen)); in ns_sprintrrf()
436 while (rdata < edata) { in ns_sprintrrf()
470 key_id = dst_s_dns_key_id(rdata, edata-rdata); in ns_sprintrrf()
482 len = b64_ntop(rdata, (size_t)(edata - rdata), in ns_sprintrrf()
546 len = b64_ntop(rdata, (size_t)(edata - rdata), in ns_sprintrrf()
573 n = edata - rdata; in ns_sprintrrf()
595 siz = (edata-rdata)*4/3 + 4; /* "+4" accounts for trailing \0 */ in ns_sprintrrf()
601 len = b64_ntop(rdata, (size_t)(edata-rdata), in ns_sprintrrf()
688 if (rdata + pbyte >= edata) goto formerr; in ns_sprintrrf()
699 if (rdata >= edata) goto formerr; in ns_sprintrrf()
734 while (rdata < edata) { in ns_sprintrrf()
838 while (rdata < edata) { in ns_sprintrrf()
862 while (rdata < edata) { in ns_sprintrrf()
887 siz = (int)(edata-rdata)*4/3 + 4; /* "+4" accounts for trailing \0 */ in ns_sprintrrf()
892 len = b64_ntop(rdata, (size_t)(edata-rdata), in ns_sprintrrf()
977 if (rdata >= edata) in ns_sprintrrf()
980 siz = (int)(edata-rdata)*4/3 + 4; /* "+4" accounts for trailing \0 */ in ns_sprintrrf()
985 len = b64_ntop(rdata, (size_t)(edata-rdata), in ns_sprintrrf()
1044 while (rdata < edata) { in ns_sprintrrf()
1066 len = snprintf(tmp, sizeof(tmp), "\\# %u%s\t; %s", (unsigned)(edata - rdata), in ns_sprintrrf()
1069 while (rdata < edata) { in ns_sprintrrf()
1073 n = MIN(16, (int)(edata - rdata)); in ns_sprintrrf()
1142 charstr(const u_char *rdata, const u_char *edata, char **buf, size_t *buflen) { in charstr() argument
1149 if (rdata < edata) { in charstr()
1152 if (rdata + 1 + n <= edata) { in charstr()