Lines Matching full:buf_len
1586 dnsname_to_labels(u8 *const buf, size_t buf_len, off_t j,
1594 if (j + 2 > (off_t)buf_len) \
1601 if (j + 4 > (off_t)buf_len) \
1620 if ((size_t)(j+label_len+1) > buf_len) return -2;
1631 if ((size_t)(j+label_len+1) > buf_len) return -2;
1668 u8 *const buf, size_t buf_len) {
1679 j = dnsname_to_labels(buf, buf_len, j, name, name_len, NULL);
1880 size_t buf_len = sizeof(buf);
1906 j = dnsname_to_labels(buf, buf_len, j, s, strlen(s), &table);
1925 r = dnsname_to_labels(buf, buf_len, j, item->name, strlen(item->name), &table);
1937 r = dnsname_to_labels(buf, buf_len, j, item->data, strlen(item->data), &table);
1945 if (j+item->datalen > (off_t)buf_len)