Lines Matching refs:tmp

119 	char tmp[100];  in ns_sprintrrf()  local
152 len = snprintf(tmp, sizeof(tmp), " %s %s", p_class(class), p_type(type)); in ns_sprintrrf()
153 T(addstr(tmp, (size_t)len, &buf, &buflen)); in ns_sprintrrf()
215 len = snprintf(tmp, sizeof(tmp), "%lu", t); in ns_sprintrrf()
216 T(addstr(tmp, (size_t)len, &buf, &buflen)); in ns_sprintrrf()
272 len = snprintf(tmp, sizeof(tmp), "%u ", t); in ns_sprintrrf()
273 T(addstr(tmp, (size_t)len, &buf, &buflen)); in ns_sprintrrf()
290 len = snprintf(tmp, sizeof(tmp), "%u ", t); in ns_sprintrrf()
291 T(addstr(tmp, (size_t)len, &buf, &buflen)); in ns_sprintrrf()
429 len = snprintf(tmp, sizeof(tmp), " %u ( ", *rdata); in ns_sprintrrf()
430 T(addstr(tmp, (size_t)len, &buf, &buflen)); in ns_sprintrrf()
446 len = snprintf(tmp, sizeof(tmp), "%d ", n); in ns_sprintrrf()
447 T(addstr(tmp, (size_t)len, &buf, &buflen)); in ns_sprintrrf()
477 len = snprintf(tmp, sizeof(tmp), "0x%04x %u %u", in ns_sprintrrf()
479 T(addstr(tmp, (size_t)len, &buf, &buflen)); in ns_sprintrrf()
499 n = snprintf(tmp, sizeof(tmp), " ; key_tag= %u", key_id); in ns_sprintrrf()
500 T(addstr(tmp, (size_t)n, &buf, &buflen)); in ns_sprintrrf()
521 len = snprintf(tmp, sizeof(tmp), "%s %d %d %lu ", in ns_sprintrrf()
523 T(addstr(tmp, (size_t)len, &buf, &buflen)); in ns_sprintrrf()
529 len = snprintf(tmp, sizeof(tmp), "%s ", p_secstodate(t)); in ns_sprintrrf()
530 T(addstr(tmp, (size_t)len, &buf, &buflen)); in ns_sprintrrf()
534 len = snprintf(tmp, sizeof(tmp), "%s ", p_secstodate(t)); in ns_sprintrrf()
535 T(addstr(tmp, (size_t)len, &buf, &buflen)); in ns_sprintrrf()
539 len = snprintf(tmp, sizeof(tmp), "%u ", footprint); in ns_sprintrrf()
540 T(addstr(tmp, (size_t)len, &buf, &buflen)); in ns_sprintrrf()
576 len = snprintf(tmp, sizeof(tmp), " %s", p_type((int)c)); in ns_sprintrrf()
577 T(addstr(tmp, (size_t)len, &buf, &buflen)); in ns_sprintrrf()
637 len = snprintf(tmp, sizeof(tmp), "%s ", p_secstodate(t)); in ns_sprintrrf()
638 T(addstr(tmp, (size_t)len, &buf, &buflen)); in ns_sprintrrf()
642 len = snprintf(tmp, sizeof(tmp), "%s ", p_secstodate(t)); in ns_sprintrrf()
643 T(addstr(tmp, (size_t)len, &buf, &buflen)); in ns_sprintrrf()
650 len = snprintf(tmp, sizeof(tmp), "%u %u %u ", mode, err, keysize); in ns_sprintrrf()
651 T(addstr(tmp, (size_t)len, &buf, &buflen)); in ns_sprintrrf()
679 len = snprintf(tmp, sizeof(tmp), "%d ", *rdata); in ns_sprintrrf()
680 T(addstr(tmp, (size_t)len, &buf, &buflen)); in ns_sprintrrf()
707 len = snprintf(tmp, sizeof(tmp), "%u bytes", class); in ns_sprintrrf()
708 T(addstr(tmp, (size_t)len, &buf, &buflen)); in ns_sprintrrf()
721 len = snprintf(tmp, sizeof(tmp), "%u ", t); in ns_sprintrrf()
722 T(addstr(tmp, (size_t)len, &buf, &buflen)); in ns_sprintrrf()
726 len = snprintf(tmp, sizeof(tmp), "%u ", *rdata); in ns_sprintrrf()
727 T(addstr(tmp, (size_t)len, &buf, &buflen)); in ns_sprintrrf()
730 len = snprintf(tmp, sizeof(tmp), "%u ", *rdata); in ns_sprintrrf()
731 T(addstr(tmp, (size_t)len, &buf, &buflen)); in ns_sprintrrf()
735 len = snprintf(tmp, sizeof(tmp), "%02X", *rdata); in ns_sprintrrf()
736 T(addstr(tmp, (size_t)len, &buf, &buflen)); in ns_sprintrrf()
746 len = snprintf(tmp, sizeof(tmp), "%u ", *rdata); in ns_sprintrrf()
747 T(addstr(tmp, (size_t)len, &buf, &buflen)); in ns_sprintrrf()
750 len = snprintf(tmp, sizeof(tmp), "%u ", *rdata); in ns_sprintrrf()
751 T(addstr(tmp, (size_t)len, &buf, &buflen)); in ns_sprintrrf()
756 len = snprintf(tmp, sizeof(tmp), "%u ", t); in ns_sprintrrf()
757 T(addstr(tmp, (size_t)len, &buf, &buflen)); in ns_sprintrrf()
764 len = snprintf(tmp, sizeof(tmp), "%02X", *rdata); in ns_sprintrrf()
765 T(addstr(tmp, (size_t)len, &buf, &buflen)); in ns_sprintrrf()
777 tmp[0] = base32hex[(((uint32_t)rdata[0]>>3)&0x1f)]; in ns_sprintrrf()
778 tmp[1] = base32hex[(((uint32_t)rdata[0]<<2)&0x1c)]; in ns_sprintrrf()
779 tmp[2] = tmp[3] = tmp[4] = '='; in ns_sprintrrf()
780 tmp[5] = tmp[6] = tmp[7] = '='; in ns_sprintrrf()
783 tmp[0] = base32hex[(((uint32_t)rdata[0]>>3)&0x1f)]; in ns_sprintrrf()
784 tmp[1] = base32hex[(((uint32_t)rdata[0]<<2)&0x1c)| in ns_sprintrrf()
786 tmp[2] = base32hex[(((uint32_t)rdata[1]>>1)&0x1f)]; in ns_sprintrrf()
787 tmp[3] = base32hex[(((uint32_t)rdata[1]<<4)&0x10)]; in ns_sprintrrf()
788 tmp[4] = tmp[5] = tmp[6] = tmp[7] = '='; in ns_sprintrrf()
791 tmp[0] = base32hex[(((uint32_t)rdata[0]>>3)&0x1f)]; in ns_sprintrrf()
792 tmp[1] = base32hex[(((uint32_t)rdata[0]<<2)&0x1c)| in ns_sprintrrf()
794 tmp[2] = base32hex[(((uint32_t)rdata[1]>>1)&0x1f)]; in ns_sprintrrf()
795 tmp[3] = base32hex[(((uint32_t)rdata[1]<<4)&0x10)| in ns_sprintrrf()
797 tmp[4] = base32hex[(((uint32_t)rdata[2]<<1)&0x1e)]; in ns_sprintrrf()
798 tmp[5] = tmp[6] = tmp[7] = '='; in ns_sprintrrf()
801 tmp[0] = base32hex[(((uint32_t)rdata[0]>>3)&0x1f)]; in ns_sprintrrf()
802 tmp[1] = base32hex[(((uint32_t)rdata[0]<<2)&0x1c)| in ns_sprintrrf()
804 tmp[2] = base32hex[(((uint32_t)rdata[1]>>1)&0x1f)]; in ns_sprintrrf()
805 tmp[3] = base32hex[(((uint32_t)rdata[1]<<4)&0x10)| in ns_sprintrrf()
807 tmp[4] = base32hex[(((uint32_t)rdata[2]<<1)&0x1e)| in ns_sprintrrf()
809 tmp[5] = base32hex[(((uint32_t)rdata[3]>>2)&0x1f)]; in ns_sprintrrf()
810 tmp[6] = base32hex[((uint32_t)rdata[3]<<3)&0x18]; in ns_sprintrrf()
811 tmp[7] = '='; in ns_sprintrrf()
814 tmp[0] = base32hex[(((uint32_t)rdata[0]>>3)&0x1f)]; in ns_sprintrrf()
815 tmp[1] = base32hex[(((uint32_t)rdata[0]<<2)&0x1c)| in ns_sprintrrf()
817 tmp[2] = base32hex[(((uint32_t)rdata[1]>>1)&0x1f)]; in ns_sprintrrf()
818 tmp[3] = base32hex[(((uint32_t)rdata[1]<<4)&0x10)| in ns_sprintrrf()
820 tmp[4] = base32hex[(((uint32_t)rdata[2]<<1)&0x1e)| in ns_sprintrrf()
822 tmp[5] = base32hex[(((uint32_t)rdata[3]>>2)&0x1f)]; in ns_sprintrrf()
823 tmp[6] = base32hex[(((uint32_t)rdata[3]<<3)&0x18)| in ns_sprintrrf()
825 tmp[7] = base32hex[(rdata[4]&0x1f)]; in ns_sprintrrf()
828 T(addstr(tmp, 8, &buf, &buflen)); in ns_sprintrrf()
848 len = snprintf(tmp, sizeof(tmp), " %s", p_type((ns_type)c)); in ns_sprintrrf()
849 T(addstr(tmp, (size_t)len, &buf, &buflen)); in ns_sprintrrf()
872 len = snprintf(tmp, sizeof(tmp), " %s", p_type((ns_type)c)); in ns_sprintrrf()
873 T(addstr(tmp, (size_t)len, &buf, &buflen)); in ns_sprintrrf()
946 len = snprintf(tmp, sizeof(tmp), "%u ", *rdata); in ns_sprintrrf()
947 T(addstr(tmp, (size_t)len, &buf, &buflen)); in ns_sprintrrf()
950 len = snprintf(tmp, sizeof(tmp), "%u ", *rdata); in ns_sprintrrf()
951 T(addstr(tmp, (size_t)len, &buf, &buflen)); in ns_sprintrrf()
954 len = snprintf(tmp, sizeof(tmp), "%u ", *rdata); in ns_sprintrrf()
955 T(addstr(tmp, (size_t)len, &buf, &buflen)); in ns_sprintrrf()
1027 len = snprintf(tmp, sizeof(tmp), "( %u ", algorithm); in ns_sprintrrf()
1028 T(addstr(tmp, (size_t)len, &buf, &buflen)); in ns_sprintrrf()
1031 len = snprintf(tmp, sizeof(tmp), "%02X", *rdata); in ns_sprintrrf()
1032 T(addstr(tmp, (size_t)len, &buf, &buflen)); in ns_sprintrrf()
1066 len = snprintf(tmp, sizeof(tmp), "\\# %u%s\t; %s", (unsigned)(edata - rdata), in ns_sprintrrf()
1068 T(addstr(tmp, (size_t)len, &buf, &buflen)); in ns_sprintrrf()
1070 p = tmp; in ns_sprintrrf()
1071 p += snprintf(p, sizeof(tmp), "\n\t"); in ns_sprintrrf()
1075 p += snprintf(p, sizeof(tmp) - (p - tmp), "%02x ", rdata[m]); in ns_sprintrrf()
1076 T(addstr(tmp, (size_t)(p - tmp), &buf, &buflen)); in ns_sprintrrf()
1079 T(addtab((size_t)(p - tmp + 1), (size_t)48, spaced, &buf, &buflen)); in ns_sprintrrf()
1081 p = tmp; in ns_sprintrrf()
1082 p += snprintf(p, sizeof(tmp), "; "); in ns_sprintrrf()
1087 T(addstr(tmp, (size_t)(p - tmp), &buf, &buflen)); in ns_sprintrrf()