/openbsd-src/usr.sbin/smtpd/ |
H A D | aliases.c | 98 if (!bsnprintf(user, sizeof(user), "%s", maddr->user)) in aliases_virtual_get() 100 if (!bsnprintf(domain, sizeof(domain), "%s", maddr->domain)) in aliases_virtual_get() 108 if (!bsnprintf(tag, sizeof(tag), "%s", pbuf + 1)) in aliases_virtual_get() 116 if (!bsnprintf(buf, sizeof(buf), "%s%c%s@%s", in aliases_virtual_get() 127 if (!bsnprintf(buf, sizeof(buf), "%s@%s", user, domain)) in aliases_virtual_get() 137 if (!bsnprintf(buf, sizeof(buf), "%s%c%s", in aliases_virtual_get() 148 if (!bsnprintf(buf, sizeof(buf), "%s", user)) in aliases_virtual_get() 160 if (!bsnprintf(buf, sizeof(buf), "@%s", domain)) in aliases_virtual_get()
|
H A D | envelope.c | 488 return bsnprintf(dest, len, "%d", src); in ascii_dump_uint8() 494 return bsnprintf(dest, len, "%d", src); in ascii_dump_uint16() 500 return bsnprintf(dest, len, "%d", src); in ascii_dump_uint32() 506 return bsnprintf(dest, len, "%lld", (long long) src); in ascii_dump_time() 512 return bsnprintf(dest, len, "%s", src); in ascii_dump_string() 534 return bsnprintf(dest, len, "%s", p); in ascii_dump_type() 540 return bsnprintf(dest, len, "%s@%s", in ascii_dump_mailaddr() 586 return bsnprintf(dest, len, "%s", p); in ascii_dump_bounce_type()
|
H A D | queue_fs.c | 318 if (!bsnprintf(path, sizeof path, "%s/%02x/%08x", in queue_fs_message_walk() 454 if (!bsnprintf(buf, len, "%s/%02x/%08x/%016" PRIx64, in fsqueue_envelope_path() 465 if (!bsnprintf(buf, len, "%s/%08x/%016" PRIx64, in fsqueue_envelope_incoming_path() 531 if (!bsnprintf(buf, len, "%s/%02x/%08x", in fsqueue_message_path() 541 if (!bsnprintf(buf, len, "%s/%08x", in fsqueue_message_incoming_path()
|
H A D | makemap.c | 150 if (!bsnprintf(dbname, sizeof dbname, "%s.db", in makemap() 189 if (!bsnprintf(dbname, sizeof(dbname), "%s.XXXXXXXXXXX", oflag)) in makemap()
|
H A D | queue_backend.c | 98 return bsnprintf(buf, len, "%s/%08"PRIx32, PATH_TEMPORARY, msgid); in queue_message_path() 221 bsnprintf(tmppath, sizeof tmppath, "%s.comp", msgpath); in queue_message_commit() 243 bsnprintf(tmppath, sizeof tmppath, "%s.enc", msgpath); in queue_message_commit()
|
H A D | to.c | 122 (void)bsnprintf(p, NI_MAXHOST, "%d.%d.%d.%d", in sa_to_text() 127 (void)bsnprintf(p, NI_MAXHOST, "[%s]", sockaddr_to_text(sa)); in sa_to_text() 158 if (!bsnprintf(buf, sizeof(buf), in time_to_text()
|
H A D | smtpctl.c | 141 if (!bsnprintf(path, sizeof(path), "%s%s/%lld.XXXXXXXXXX", PATH_SPOOL, in offline_file() 698 if (!bsnprintf(buf, sizeof(buf), "%s%s/%02x/%08x/%016" PRIx64, in do_show_envelope() 730 if (!bsnprintf(buf, sizeof(buf), "%s%s/%02x/%08x/message", in do_show_message() 1247 if (!bsnprintf(pathname, sizeof pathname, in show_offline_envelope()
|
H A D | util.c | 155 bsnprintf(char *str, size_t size, const char *format, ...) in bsnprintf() function 321 if (!bsnprintf(path, sizeof(path), "%s/smtpd.XXXXXXXXXX", in mktmpfile()
|
H A D | table.c | 611 if (!bsnprintf(buffer, sizeof(buffer), "%s:%s", key, line)) in table_parse_lookup()
|
H A D | smtpd.c | 1770 if (!bsnprintf(pathname, sizeof (pathname), "%s/.forward", in parent_forward_open() 1851 if (!bsnprintf(key, sizeof key, in imsg_dispatch()
|
H A D | lka.c | 736 if (!bsnprintf(offloadkey, sizeof(offloadkey), "%s:%s", in lka_authenticate()
|
H A D | smtpd.h | 1690 int bsnprintf(char *, size_t, const char *, ...)
|
/openbsd-src/usr.sbin/ldapd/ |
H A D | util.c | 39 bsnprintf(char *str, size_t size, const char *format, ...) in bsnprintf() function
|
H A D | parse.y | 1281 if (!bsnprintf(certfile, sizeof(certfile), "%s.crt", name)) { in load_certfile() 1286 if (!bsnprintf(certfile, sizeof(certfile), in load_certfile() 1305 if (!bsnprintf(certfile, sizeof(certfile), "%s.key", name)) { in load_certfile() 1310 if (!bsnprintf(certfile, sizeof(certfile), in load_certfile()
|
H A D | ldapd.h | 471 int bsnprintf(char *str, size_t size,
|