Home
last modified time | relevance | path

Searched refs:snprintf_safe (Results 1 – 1 of 1) sorted by relevance

/illumos-gate/usr/src/contrib/mDNSResponder/Clients/
H A Ddns-sd.c917 static int snprintf_safe(char *str, size_t size, const char *format, ...) in snprintf_safe() function
938 p += snprintf_safe(p, end-p, "%.*s.", **rd, *rd+1); in snprintd()
955 p += snprintf_safe(p, rdb + rdb_size - p, "%d %d %d ", in ParseDNSSECRecords()
959 p += snprintf_safe(p, rdb + rdb_size - p, "%x", ptr[i]); in ParseDNSSECRecords()
966 … p += snprintf_safe(p, rdb + rdb_size - p, "%d %d %d %u ", swap16(rrkey->flags), rrkey->proto, in ParseDNSSECRecords()
1014 p += snprintf_safe(p, rdb + rdb_size - p, " %s ", DNSTypeName(type + i)); in ParseDNSSECRecords()
1039 p += snprintf_safe(p, rdb + rdb_size - p, " %-7s %d %d %d %s %s %7d ", in ParseDNSSECRecords()
1107 snprintf_safe(rdb, sizeof(rdb), "%d.%d.%d.%d", rd[0], rd[1], rd[2], rd[3]); in qr_reply()
1119 p += snprintf_safe(p, rdb + sizeof(rdb) - p, " "); in qr_reply()
1132 … p += snprintf_safe(p, rdb + sizeof(rdb) - p, "%d %d %d ", // priority, weight, port in qr_reply()