| /netbsd-src/lib/libc/inet/ |
| H A D | inet_net_ntop.c | 47 # define SPRINTF(x) strlen(sprintf/**/x) macro 49 # define SPRINTF(x) sprintf x 120 dst += SPRINTF((dst, "%u", *src++)); in inet_net_ntop_ipv4() 137 dst += SPRINTF((dst, "%u", *src & m)); in inet_net_ntop_ipv4() 144 dst += SPRINTF((dst, "/%u", bits)); in inet_net_ntop_ipv4() 254 cp += SPRINTF((cp, "%u", *s++)); in inet_net_ntop_ipv6() 258 cp += SPRINTF((cp, "%u", *s++)); in inet_net_ntop_ipv6() 263 cp += SPRINTF((cp, "%x", *s * 256 + s[1])); in inet_net_ntop_ipv6() 269 (void)SPRINTF((cp, "/%u", bits)); in inet_net_ntop_ipv6()
|
| H A D | inet_cidr_ntop.c | 51 # define SPRINTF(x) strlen(sprintf/**/x) macro 53 # define SPRINTF(x) ((size_t)sprintf x) 98 dst += SPRINTF((dst, "%u", *src++)); in decoct() 156 dst += SPRINTF((dst, "/%u", bits)); in inet_cidr_ntop_ipv4() 254 tp += SPRINTF((tp, "%x", words[i])); in inet_cidr_ntop_ipv6() 264 tp += SPRINTF((tp, "/%u", bits)); in inet_cidr_ntop_ipv6()
|
| /netbsd-src/lib/libc/nameser/ |
| H A D | ns_print.c | 52 # define SPRINTF(x) ((int)strlen(sprintf/**/x)) macro 54 # define SPRINTF(x) (sprintf x) macro 155 len = SPRINTF((tmp, " %s %s", p_class(class), p_type(type))); in ns_sprintrrf() 218 len = SPRINTF((tmp, "%lu", t)); in ns_sprintrrf() 275 len = SPRINTF((tmp, "%u ", t)); in ns_sprintrrf() 293 len = SPRINTF((tmp, "%u ", t)); in ns_sprintrrf() 359 len = SPRINTF((t, "%u %u ", order, preference)); in ns_sprintrrf() 401 len = SPRINTF((t, "%u %u %u ", priority, weight, port)); in ns_sprintrrf() 432 len = SPRINTF((tmp, " %u ( ", *rdata)); in ns_sprintrrf() 449 len = SPRINTF((tmp, "%d ", n)); in ns_sprintrrf() [all …]
|
| H A D | ns_ttl.c | 44 # define SPRINTF(x) strlen(sprintf/**/x) macro 46 # define SPRINTF(x) ((size_t)sprintf x) macro 164 len = SPRINTF((tmp, "%d%c", t, s)); in fmt1()
|
| H A D | ns_name.c | 47 # define SPRINTF(x) ((int)strlen(sprintf/**/x)) macro 49 # define SPRINTF(x) (sprintf x) macro 1013 i = SPRINTF((dn, "\\[x")); in decode_bitstring() 1018 i = SPRINTF((dn, "%02x", *cp & 0xff)); in decode_bitstring() 1025 i = SPRINTF((dn, "%02x", tc & (0xff << (8 - b)))); in decode_bitstring() 1031 i = SPRINTF((dn, "%1x", in decode_bitstring() 1037 i = SPRINTF((dn, "/%d]", blen)); in decode_bitstring()
|
| /netbsd-src/external/bsd/libbind/dist/nameser/ |
| H A D | ns_print.c | 45 # define SPRINTF(x) strlen(sprintf/**/x) macro 47 # define SPRINTF(x) ((size_t)sprintf x) macro 148 len = SPRINTF((tmp, " %s %s", p_class(class), p_type(type))); in ns_sprintrrf() 211 len = SPRINTF((tmp, "%lu", t)); in ns_sprintrrf() 268 len = SPRINTF((tmp, "%u ", t)); in ns_sprintrrf() 286 len = SPRINTF((tmp, "%u ", t)); in ns_sprintrrf() 352 len = SPRINTF((t, "%u %u ", order, preference)); in ns_sprintrrf() 394 len = SPRINTF((t, "%u %u %u ", priority, weight, port)); in ns_sprintrrf() 425 len = SPRINTF((tmp, " %u ( ", *rdata)); in ns_sprintrrf() 442 len = SPRINTF((tmp, "%d ", n)); in ns_sprintrrf() [all …]
|
| H A D | ns_ttl.c | 38 # define SPRINTF(x) strlen(sprintf/**/x) macro 40 # define SPRINTF(x) ((size_t)sprintf x) macro 155 len = SPRINTF((tmp, "%d%c", t, s)); in fmt1()
|
| H A D | ns_name.c | 41 # define SPRINTF(x) strlen(sprintf/**/x) macro 43 # define SPRINTF(x) ((size_t)sprintf x) macro 996 i = SPRINTF((dn, "\\[x")); in decode_bitstring() 1001 i = SPRINTF((dn, "%02x", *cp & 0xff)); in decode_bitstring() 1008 i = SPRINTF((dn, "%02x", tc & (0xff << (8 - b)))); in decode_bitstring() 1014 i = SPRINTF((dn, "%1x", in decode_bitstring() 1020 i = SPRINTF((dn, "/%d]", blen)); in decode_bitstring()
|
| H A D | ns_date.c | 39 # define SPRINTF(x) strlen(sprintf/**/x) macro 41 # define SPRINTF(x) ((size_t)sprintf x) macro
|
| /netbsd-src/external/bsd/libbind/dist/inet/ |
| H A D | inet_net_ntop.c | 39 # define SPRINTF(x) strlen(sprintf/**/x) macro 41 # define SPRINTF(x) ((size_t)sprintf x) macro 121 dst += SPRINTF((dst, "%u", *src++)); 138 dst += SPRINTF((dst, "%u", *src & m)); 145 dst += SPRINTF((dst, "/%u", bits)); 254 cp += SPRINTF((cp, "%u", *s++)); in inet_net_ntop_ipv6() 258 cp += SPRINTF((cp, "%u", *s++)); in inet_net_ntop_ipv6() 263 cp += SPRINTF((cp, "%x", *s * 256 + s[1])); in inet_net_ntop_ipv6()
|
| H A D | inet_cidr_ntop.c | 40 # define SPRINTF(x) strlen(sprintf/**/x) macro 42 # define SPRINTF(x) ((size_t)sprintf x) macro 87 dst += SPRINTF((dst, "%u", *src++)); in decoct() 144 dst += SPRINTF((dst, "/%u", bits)); in inet_cidr_ntop_ipv4() 242 tp += SPRINTF((tp, "%x", words[i])); in inet_cidr_ntop_ipv6() 252 tp += SPRINTF((tp, "/%u", bits)); in inet_cidr_ntop_ipv6()
|
| H A D | inet_neta.c | 38 # define SPRINTF(x) strlen(sprintf/**/x) macro 40 # define SPRINTF(x) ((size_t)sprintf x) macro 71 dst += SPRINTF((dst, "%u", b));
|
| H A D | inet_ntop.c | 41 # define SPRINTF(x) strlen(sprintf/**/x) macro 43 # define SPRINTF(x) ((size_t)sprintf x) macro 101 if (SPRINTF((tmp, fmt, src[0], src[1], src[2], src[3])) >= size) { 190 tp += SPRINTF((tp, "%x", words[i]));
|
| H A D | inet_cidr_pton.c | 42 # define SPRINTF(x) strlen(sprintf/**/x) macro 44 # define SPRINTF(x) ((size_t)sprintf x) macro
|
| H A D | inet_net_pton.c | 42 # define SPRINTF(x) strlen(sprintf/**/x) macro 44 # define SPRINTF(x) ((size_t)sprintf x) macro
|
| /netbsd-src/external/bsd/libbind/dist/irs/ |
| H A D | util.c | 45 # define SPRINTF(x) strlen(sprintf/**/x) macro 47 # define SPRINTF(x) sprintf x macro
|
| H A D | dns_nw.c | 52 # define SPRINTF(x) strlen(sprintf/**/x) macro 54 # define SPRINTF(x) sprintf x macro 535 m = SPRINTF((name, "0.")); in make1101inaddr() 543 m = SPRINTF((name, "%u.", in make1101inaddr() 552 m = SPRINTF((name, "%u.", net[n - 1])); in make1101inaddr() 559 (void) SPRINTF((name, "in-addr.arpa")); in make1101inaddr()
|
| H A D | lcl_sv.c | 86 # define SPRINTF(x) strlen(sprintf/**/x) macro 88 # define SPRINTF(x) ((size_t)sprintf x) macro 190 key.size = SPRINTF((pvt->sv.line, "%s/%s", name, in sv_byname()
|
| H A D | dns_ho.c | 90 # define SPRINTF(x) strlen(sprintf/**/x) macro 92 # define SPRINTF(x) sprintf x macro 418 i = SPRINTF((qp, "%x.%x.", in ho_byaddr() 438 i = SPRINTF((qp, "%x.%x.", in ho_byaddr()
|
| H A D | lcl_ho.c | 91 # define SPRINTF(x) strlen(sprintf/**/x) macro 93 # define SPRINTF(x) sprintf x macro
|
| /netbsd-src/external/bsd/nvi/dist/common/ |
| H A D | options.c | 384 (void)SPRINTF(b2, SIZE(b2), in opts_init() 395 (void)SPRINTF(b2, SIZE(b2), in opts_init() 402 (void)SPRINTF(b2, SIZE(b2), L("msgcat=%s"), _PATH_MSGCAT); in opts_init() 406 (void)SPRINTF(b2, SIZE(b2), L("path=%s"), ""); in opts_init() 408 (void)SPRINTF(b2, SIZE(b2), L("recdir=%s"), _PATH_PRESERVE); in opts_init() 411 (void)SPRINTF(b2, SIZE(b2), in opts_init() 418 (void)SPRINTF(b2, SIZE(b2), L("tags=%s"), _PATH_TAGS); in opts_init() 431 (void)SPRINTF(b2, SIZE(b2), L("scroll=%ld"), v); in opts_init() 452 (void)SPRINTF(b2, SIZE(b2), L("window=%lu"), v); in opts_init()
|
| H A D | multibyte.h | 47 #define SPRINTF swprintf macro 80 #define SPRINTF snprintf macro
|
| H A D | api.c | 478 a.len = SPRINTF(bp, 64, L("%s"WS), bool_value ? "" : "no", name); in api_opts_set() 482 a.len = SPRINTF(bp, 64, L(""WS"=%lu"), name, num_value); in api_opts_set() 486 a.len = SPRINTF(bp, 1024, L(""WS"=%s"), name, str_value); in api_opts_set()
|
| /netbsd-src/external/bsd/nvi/dist/vi/ |
| H A D | v_increment.c | 210 nlen = SPRINTF(nbuf, SIZE(nbuf), ntype, lval); in v_increment() 232 nlen = SPRINTF(nbuf, SIZE(nbuf), ntype, wlen, ulval); in v_increment()
|
| /netbsd-src/external/bsd/libbind/dist/isc/ |
| H A D | ctl_srvr.c | 61 # define SPRINTF(x) strlen(sprintf/**/x) macro 63 # define SPRINTF(x) ((size_t)sprintf x) macro 334 sess->outbuf.used = SPRINTF((sess->outbuf.text, "%03d%c%s\r\n", in ctl_response()
|