Lines Matching refs:addstr
64 static int addstr(const char *src, size_t len,
126 T(addstr("\t\t\t", (size_t)3, &buf, &buflen)); in ns_sprintrrf()
132 T(addstr("@\t\t\t", (size_t)4, &buf, &buflen)); in ns_sprintrrf()
134 T(addstr(name, (size_t)len, &buf, &buflen)); in ns_sprintrrf()
140 T(addstr(".", (size_t)1, &buf, &buflen)); in ns_sprintrrf()
153 T(addstr(tmp, (size_t)len, &buf, &buflen)); in ns_sprintrrf()
184 T(addstr(" ", (size_t)1, &buf, &buflen)); in ns_sprintrrf()
202 T(addstr(" ", (size_t)1, &buf, &buflen)); in ns_sprintrrf()
206 T(addstr(" (\n", (size_t)3, &buf, &buflen)); in ns_sprintrrf()
214 T(addstr("\t\t\t\t\t", (size_t)5, &buf, &buflen)); in ns_sprintrrf()
216 T(addstr(tmp, (size_t)len, &buf, &buflen)); in ns_sprintrrf()
218 T(addstr("; serial\n", (size_t)9, &buf, &buflen)); in ns_sprintrrf()
223 T(addstr("\t\t\t\t\t", (size_t)5, &buf, &buflen)); in ns_sprintrrf()
227 T(addstr("; refresh\n", (size_t)10, &buf, &buflen)); in ns_sprintrrf()
232 T(addstr("\t\t\t\t\t", (size_t)5, &buf, &buflen)); in ns_sprintrrf()
236 T(addstr("; retry\n", (size_t)8, &buf, &buflen)); in ns_sprintrrf()
241 T(addstr("\t\t\t\t\t", (size_t)5, &buf, &buflen)); in ns_sprintrrf()
245 T(addstr("; expiry\n", (size_t)9, &buf, &buflen)); in ns_sprintrrf()
250 T(addstr("\t\t\t\t\t", (size_t)5, &buf, &buflen)); in ns_sprintrrf()
253 T(addstr(" )", (size_t)2, &buf, &buflen)); in ns_sprintrrf()
255 T(addstr("; minimum\n", (size_t)10, &buf, &buflen)); in ns_sprintrrf()
273 T(addstr(tmp, (size_t)len, &buf, &buflen)); in ns_sprintrrf()
291 T(addstr(tmp, (size_t)len, &buf, &buflen)); in ns_sprintrrf()
295 T(addstr(" ", (size_t)1, &buf, &buflen)); in ns_sprintrrf()
318 T(addstr(" ", (size_t)1, &buf, &buflen)); in ns_sprintrrf()
326 T(addstr(t, strlen(t), &buf, &buflen)); in ns_sprintrrf()
342 T(addstr(t, strlen(t), &buf, &buflen)); in ns_sprintrrf()
357 T(addstr(t, (size_t)len, &buf, &buflen)); in ns_sprintrrf()
364 T(addstr(" ", (size_t)1, &buf, &buflen)); in ns_sprintrrf()
371 T(addstr(" ", (size_t)1, &buf, &buflen)); in ns_sprintrrf()
380 T(addstr(" ", (size_t)1, &buf, &buflen)); in ns_sprintrrf()
399 T(addstr(t, (size_t)len, &buf, &buflen)); in ns_sprintrrf()
410 T(addstr(" ", (size_t)1, &buf, &buflen)); in ns_sprintrrf()
430 T(addstr(tmp, (size_t)len, &buf, &buflen)); in ns_sprintrrf()
441 T(addstr("\n\t\t\t\t", (size_t)5, in ns_sprintrrf()
447 T(addstr(tmp, (size_t)len, &buf, &buflen)); in ns_sprintrrf()
453 T(addstr(")", (size_t)1, &buf, &buflen)); in ns_sprintrrf()
479 T(addstr(tmp, (size_t)len, &buf, &buflen)); in ns_sprintrrf()
487 T(addstr(" (", (size_t)2, &buf, &buflen)); in ns_sprintrrf()
493 T(addstr(leader, strlen(leader), &buf, &buflen)); in ns_sprintrrf()
494 T(addstr(base64_key + n, (size_t)MIN(len - n, 48), in ns_sprintrrf()
498 T(addstr(" )", (size_t)2, &buf, &buflen)); in ns_sprintrrf()
500 T(addstr(tmp, (size_t)n, &buf, &buflen)); in ns_sprintrrf()
523 T(addstr(tmp, (size_t)len, &buf, &buflen)); in ns_sprintrrf()
530 T(addstr(tmp, (size_t)len, &buf, &buflen)); in ns_sprintrrf()
535 T(addstr(tmp, (size_t)len, &buf, &buflen)); in ns_sprintrrf()
540 T(addstr(tmp, (size_t)len, &buf, &buflen)); in ns_sprintrrf()
549 T(addstr(" (", (size_t)2, &buf, &buflen)); in ns_sprintrrf()
557 T(addstr(leader, strlen(leader), &buf, &buflen)); in ns_sprintrrf()
558 T(addstr(base64_key + n, (size_t)MIN(len - n, 48), in ns_sprintrrf()
562 T(addstr(" )", (size_t)2, &buf, &buflen)); in ns_sprintrrf()
577 T(addstr(tmp, (size_t)len, &buf, &buflen)); in ns_sprintrrf()
594 T(addstr(tmp1, (size_t)len, &buf, &buflen)); in ns_sprintrrf()
598 T(addstr(str, strlen(str), &buf, &buflen)); in ns_sprintrrf()
607 T(addstr(" (", (size_t)2, &buf, &buflen)); in ns_sprintrrf()
615 T(addstr(leader, strlen(leader), in ns_sprintrrf()
617 T(addstr(base64_cert + n, (size_t)MIN(len - n, 48), in ns_sprintrrf()
621 T(addstr(" )", (size_t)2, &buf, &buflen)); in ns_sprintrrf()
633 T(addstr(" ", (size_t)1, &buf, &buflen)); in ns_sprintrrf()
638 T(addstr(tmp, (size_t)len, &buf, &buflen)); in ns_sprintrrf()
643 T(addstr(tmp, (size_t)len, &buf, &buflen)); in ns_sprintrrf()
651 T(addstr(tmp, (size_t)len, &buf, &buflen)); in ns_sprintrrf()
662 T(addstr(" ", (size_t)1, &buf, &buflen)); in ns_sprintrrf()
680 T(addstr(tmp, (size_t)len, &buf, &buflen)); in ns_sprintrrf()
700 T(addstr(" ", (size_t)1, &buf, &buflen)); in ns_sprintrrf()
708 T(addstr(tmp, (size_t)len, &buf, &buflen)); in ns_sprintrrf()
722 T(addstr(tmp, (size_t)len, &buf, &buflen)); in ns_sprintrrf()
727 T(addstr(tmp, (size_t)len, &buf, &buflen)); in ns_sprintrrf()
731 T(addstr(tmp, (size_t)len, &buf, &buflen)); in ns_sprintrrf()
736 T(addstr(tmp, (size_t)len, &buf, &buflen)); in ns_sprintrrf()
747 T(addstr(tmp, (size_t)len, &buf, &buflen)); in ns_sprintrrf()
751 T(addstr(tmp, (size_t)len, &buf, &buflen)); in ns_sprintrrf()
757 T(addstr(tmp, (size_t)len, &buf, &buflen)); in ns_sprintrrf()
761 T(addstr("-", 1, &buf, &buflen)); in ns_sprintrrf()
765 T(addstr(tmp, (size_t)len, &buf, &buflen)); in ns_sprintrrf()
771 T(addstr(" ", 1, &buf, &buflen)); in ns_sprintrrf()
828 T(addstr(tmp, 8, &buf, &buflen)); in ns_sprintrrf()
849 T(addstr(tmp, (size_t)len, &buf, &buflen)); in ns_sprintrrf()
873 T(addstr(tmp, (size_t)len, &buf, &buflen)); in ns_sprintrrf()
890 T(addstr(str, strlen(str), &buf, &buflen)); in ns_sprintrrf()
899 T(addstr(" (", 2, &buf, &buflen)); in ns_sprintrrf()
907 T(addstr(leader, strlen(leader), in ns_sprintrrf()
909 T(addstr(base64_dhcid + n, in ns_sprintrrf()
913 T(addstr(" )", 2, &buf, &buflen)); in ns_sprintrrf()
947 T(addstr(tmp, (size_t)len, &buf, &buflen)); in ns_sprintrrf()
951 T(addstr(tmp, (size_t)len, &buf, &buflen)); in ns_sprintrrf()
955 T(addstr(tmp, (size_t)len, &buf, &buflen)); in ns_sprintrrf()
960 T(addstr(".", 1, &buf, &buflen)); in ns_sprintrrf()
983 T(addstr(str, strlen(str), &buf, &buflen)); in ns_sprintrrf()
992 T(addstr(" (", 2, &buf, &buflen)); in ns_sprintrrf()
1000 T(addstr(leader, strlen(leader), in ns_sprintrrf()
1002 T(addstr(base64_key + n, in ns_sprintrrf()
1006 T(addstr(" )", 2, &buf, &buflen)); in ns_sprintrrf()
1025 T(addstr(str, strlen(str), &buf, &buflen)); in ns_sprintrrf()
1028 T(addstr(tmp, (size_t)len, &buf, &buflen)); in ns_sprintrrf()
1032 T(addstr(tmp, (size_t)len, &buf, &buflen)); in ns_sprintrrf()
1035 T(addstr(leader, strlen(leader), &buf, &buflen)); in ns_sprintrrf()
1041 T(addstr(base64_key, (size_t)len, &buf, &buflen)); in ns_sprintrrf()
1045 T(addstr(leader, strlen(leader), &buf, &buflen)); in ns_sprintrrf()
1049 T(addstr(" )", 2, &buf, &buflen)); in ns_sprintrrf()
1068 T(addstr(tmp, (size_t)len, &buf, &buflen)); in ns_sprintrrf()
1076 T(addstr(tmp, (size_t)(p - tmp), &buf, &buflen)); in ns_sprintrrf()
1078 T(addstr(")", (size_t)1, &buf, &buflen)); in ns_sprintrrf()
1087 T(addstr(tmp, (size_t)(p - tmp), &buf, &buflen)); in ns_sprintrrf()
1147 if (addstr("\"", (size_t)1, buf, buflen) < 0) in charstr()
1156 if (addstr("\\", (size_t)1, buf, buflen) < 0) in charstr()
1158 if (addstr((const char *)rdata, (size_t)1, in charstr()
1165 if (addstr("\"", (size_t)1, buf, buflen) < 0) in charstr()
1229 addstr(const char *src, size_t len, char **buf, size_t *buflen) { in addstr() function
1247 T(addstr(" ", (size_t)2, buf, buflen)); in addtab()
1251 if (addstr("\t", (size_t)1, buf, buflen) < 0) { in addtab()