/freebsd/lib/libc/nameser/ |
H A D | ns_print.c | 46 # define SPRINTF(x) strlen(sprintf/**/x) macro 48 # define SPRINTF(x) ((size_t)sprintf x) macro 149 len = SPRINTF((tmp, " %s %s", p_class(class), p_type(type))); in ns_sprintrrf() 212 len = SPRINTF((tmp, "%lu", t)); in ns_sprintrrf() 269 len = SPRINTF((tmp, "%u ", t)); in ns_sprintrrf() 287 len = SPRINTF((tmp, "%u ", t)); in ns_sprintrrf() 353 len = SPRINTF((t, "%u %u ", order, preference)); in ns_sprintrrf() 395 len = SPRINTF((t, "%u %u %u ", priority, weight, port)); in ns_sprintrrf() 426 len = SPRINTF((tmp, " %u ( ", *rdata)); in ns_sprintrrf() 443 len = SPRINTF((tmp, "%d ", n)); in ns_sprintrrf() [all …]
|
H A D | ns_ttl.c | 34 # define SPRINTF(x) strlen(sprintf/**/x) macro 36 # define SPRINTF(x) ((size_t)sprintf x) macro 151 len = SPRINTF((tmp, "%d%c", t, s)); in fmt1()
|
H A D | ns_name.c | 37 # define SPRINTF(x) strlen(sprintf/**/x) macro 39 # define SPRINTF(x) ((size_t)sprintf x) macro 991 i = SPRINTF((dn, "\\[x")); in decode_bitstring() 996 i = SPRINTF((dn, "%02x", *cp & 0xff)); in decode_bitstring() 1003 i = SPRINTF((dn, "%02x", tc & (0xff << (8 - b)))); in decode_bitstring() 1009 i = SPRINTF((dn, "%1x", in decode_bitstring() 1015 i = SPRINTF((dn, "/%d]", blen)); in decode_bitstring()
|
/freebsd/lib/libc/inet/ |
H A D | inet_net_ntop.c | 35 # define SPRINTF(x) strlen(sprintf/**/x) macro 37 # define SPRINTF(x) ((size_t)sprintf x) macro 108 dst += SPRINTF((dst, "%u", *src++)); in inet_net_ntop_ipv4() 125 dst += SPRINTF((dst, "%u", *src & m)); in inet_net_ntop_ipv4() 132 dst += SPRINTF((dst, "/%u", bits)); in inet_net_ntop_ipv4() 241 cp += SPRINTF((cp, "%u", *s++)); in inet_net_ntop_ipv6() 245 cp += SPRINTF((cp, "%u", *s++)); in inet_net_ntop_ipv6() 250 cp += SPRINTF((cp, "%x", *s * 256 + s[1])); in inet_net_ntop_ipv6()
|
H A D | inet_cidr_ntop.c | 36 # define SPRINTF(x) strlen(sprintf/**/x) macro 38 # define SPRINTF(x) ((size_t)sprintf x) macro 83 dst += SPRINTF((dst, "%u", *src++)); in decoct() 140 dst += SPRINTF((dst, "/%u", bits)); in inet_cidr_ntop_ipv4() 238 tp += SPRINTF((tp, "%x", words[i])); in inet_cidr_ntop_ipv6() 248 tp += SPRINTF((tp, "/%u", bits)); in inet_cidr_ntop_ipv6()
|
H A D | inet_neta.c | 34 # define SPRINTF(x) strlen(sprintf/**/x) macro 36 # define SPRINTF(x) ((size_t)sprintf x) macro 64 dst += SPRINTF((dst, "%u", b)); in inet_neta()
|
H A D | inet_cidr_pton.c | 38 # define SPRINTF(x) strlen(sprintf/**/x) macro 40 # define SPRINTF(x) ((size_t)sprintf x) macro
|
H A D | inet_net_pton.c | 38 # define SPRINTF(x) strlen(sprintf/**/x) macro 40 # define SPRINTF(x) ((size_t)sprintf x) macro
|
/freebsd/contrib/nvi/common/ |
H A D | options.c | 346 (void)SPRINTF(b2, SIZE(b2), in opts_init() 358 (void)SPRINTF(b2, SIZE(b2), in opts_init() 366 (void)SPRINTF(b2, SIZE(b2), L("msgcat=%s"), _PATH_MSGCAT); in opts_init() 370 (void)SPRINTF(b2, SIZE(b2), L("path=%s"), ""); in opts_init() 372 (void)SPRINTF(b2, SIZE(b2), L("recdir=%s"), NVI_PATH_PRESERVE); in opts_init() 375 (void)SPRINTF(b2, SIZE(b2), in opts_init() 382 (void)SPRINTF(b2, SIZE(b2), L("tags=%s"), _PATH_TAGS); in opts_init() 392 (void)SPRINTF(b2, SIZE(b2), L("scroll=%ld"), v); in opts_init() 413 (void)SPRINTF(b2, SIZE(b2), L("window=%lu"), v); in opts_init()
|
H A D | multibyte.h | 40 #define SPRINTF swprintf macro 74 #define SPRINTF snprintf macro
|
H A D | main.c | 245 (void)SPRINTF(path, SIZE(path), L("window=%s"), wsizearg); in editor()
|
/freebsd/contrib/nvi/vi/ |
H A D | v_increment.c | 201 nlen = SPRINTF(nbuf, SIZE(nbuf), ntype, lval); in v_increment() 223 nlen = SPRINTF(nbuf, SIZE(nbuf), ntype, wlen, ulval); in v_increment()
|
/freebsd/contrib/nvi/cl/ |
H A D | cl_read.c | 320 a.len = SPRINTF(b1, SIZE(b1), L("lines=%lu"), (u_long)lines); in cl_resize() 323 a.len = SPRINTF(b1, SIZE(b1), L("columns=%lu"), (u_long)columns); in cl_resize()
|
H A D | cl_term.c | 245 nlen = SPRINTF(keyname, in cl_pfmap()
|
/freebsd/contrib/one-true-awk/ |
H A D | maketab.c | 58 { SPRINTF, "awksprintf", "sprintf " },
|
H A D | awkgram.y | 59 %token <i> PRINT PRINTF SPRINTF 85 %left PRINT PRINTF RETURN SPLIT SPRINTF STRING SUB SUBSTR 423 | SPRINTF '(' patlist ')' { $$ = op1($1, $3); }
|
H A D | lex.c | 87 { "sprintf", SPRINTF, SPRINTF },
|
/freebsd/contrib/nvi/ex/ |
H A D | ex_print.c | 109 SPRINTF(buf, SIZE(buf), L("%6u "), from); in ex_print()
|
/freebsd/lib/libc/net/ |
H A D | gethostbydns.c | 75 #define SPRINTF(x) ((size_t)sprintf x) macro 606 qp += SPRINTF((qp, "%x.%x.", in _dns_gethostbyaddr()
|
/freebsd/lib/libc/resolv/ |
H A D | res_debug.c | 117 # define SPRINTF(x) strlen(sprintf/**/x) macro 119 # define SPRINTF(x) sprintf x macro
|
/freebsd/contrib/tnftp/ |
H A D | ChangeLog | 147 * Use snprintf() instead of SPRINTF()
|