Home
last modified time | relevance | path

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

/freebsd/lib/libc/nameser/
H A Dns_print.c46 # 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 Dns_ttl.c34 # 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 Dns_name.c37 # 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 Dinet_net_ntop.c35 # 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 Dinet_cidr_ntop.c36 # 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 Dinet_neta.c34 # 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 Dinet_cidr_pton.c38 # define SPRINTF(x) strlen(sprintf/**/x) macro
40 # define SPRINTF(x) ((size_t)sprintf x) macro
H A Dinet_net_pton.c38 # define SPRINTF(x) strlen(sprintf/**/x) macro
40 # define SPRINTF(x) ((size_t)sprintf x) macro
/freebsd/contrib/nvi/common/
H A Doptions.c346 (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 Dmultibyte.h40 #define SPRINTF swprintf macro
74 #define SPRINTF snprintf macro
H A Dmain.c245 (void)SPRINTF(path, SIZE(path), L("window=%s"), wsizearg); in editor()
/freebsd/contrib/nvi/vi/
H A Dv_increment.c201 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 Dcl_read.c320 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 Dcl_term.c245 nlen = SPRINTF(keyname, in cl_pfmap()
/freebsd/contrib/one-true-awk/
H A Dmaketab.c58 { SPRINTF, "awksprintf", "sprintf " },
H A Dawkgram.y59 %token <i> PRINT PRINTF SPRINTF
85 %left PRINT PRINTF RETURN SPLIT SPRINTF STRING SUB SUBSTR
423 | SPRINTF '(' patlist ')' { $$ = op1($1, $3); }
H A Dlex.c87 { "sprintf", SPRINTF, SPRINTF },
/freebsd/contrib/nvi/ex/
H A Dex_print.c109 SPRINTF(buf, SIZE(buf), L("%6u "), from); in ex_print()
/freebsd/lib/libc/net/
H A Dgethostbydns.c75 #define SPRINTF(x) ((size_t)sprintf x) macro
606 qp += SPRINTF((qp, "%x.%x.", in _dns_gethostbyaddr()
/freebsd/lib/libc/resolv/
H A Dres_debug.c117 # define SPRINTF(x) strlen(sprintf/**/x) macro
119 # define SPRINTF(x) sprintf x macro
/freebsd/contrib/tnftp/
H A DChangeLog147 * Use snprintf() instead of SPRINTF()