| /netbsd/src/external/bsd/am-utils/dist/amd/ |
| D | amfs_toplvl.c | 99 xsnprintf(preopts, l, ",%s", MNTTAB_OPT_NOAC); in set_auto_attrcache_timeout() 111 xsnprintf(preopts, l, ",%s=%d", MNTTAB_OPT_ACTIMEO, gopt.auto_attrcache); in set_auto_attrcache_timeout() 115 xsnprintf(preopts, l, ",%s=%d", MNTTAB_OPT_ACTDIRMIN, gopt.auto_attrcache); in set_auto_attrcache_timeout() 119 xsnprintf(preopts, l, ",%s=%d", MNTTAB_OPT_ACTDIRMAX, gopt.auto_attrcache); in set_auto_attrcache_timeout() 123 xsnprintf(preopts, l, ",%s=%d", MNTTAB_OPT_ACTREGMIN, gopt.auto_attrcache); in set_auto_attrcache_timeout() 127 xsnprintf(preopts, l, ",%s=%d", MNTTAB_OPT_ACTREGMAX, gopt.auto_attrcache); in set_auto_attrcache_timeout() 210 xsnprintf(opts, sizeof(opts), "%s%s,%s=%d,%s,map=%s", in amfs_toplvl_mount() 218 xsnprintf(toplvl_opts, sizeof(toplvl_opts), ",%s=%d", in amfs_toplvl_mount() 223 xsnprintf(toplvl_opts, sizeof(toplvl_opts), ",%s=%d", in amfs_toplvl_mount()
|
| D | get_args.c | 84 xsnprintf(vers, len, "%s\n%s\n%s\n%s\n", in get_version_string() 89 xsnprintf(tmpbuf, sizeof(tmpbuf), "%s version %s (build %d).\n", in get_version_string() 92 xsnprintf(tmpbuf, sizeof(tmpbuf), "Report bugs to %s.\n", PACKAGE_BUGREPORT); in get_version_string() 94 xsnprintf(tmpbuf, sizeof(tmpbuf), "Configured by %s@%s on date %s.\n", in get_version_string() 97 xsnprintf(tmpbuf, sizeof(tmpbuf), "Built by %s@%s on date %s.\n", in get_version_string() 100 xsnprintf(tmpbuf, sizeof(tmpbuf), "cpu=%s (%s-endian), arch=%s, karch=%s.\n", in get_version_string() 103 xsnprintf(tmpbuf, sizeof(tmpbuf), "full_os=%s, os=%s, osver=%s, vendor=%s, distro=%s.\n", in get_version_string() 106 xsnprintf(tmpbuf, sizeof(tmpbuf), "domain=%s, host=%s, hostd=%s.\n", in get_version_string() 327 xsnprintf(buf, sizeof(buf), "Amd configuration file (%s)", in get_args()
|
| D | info_union.c | 86 xsnprintf(*pval, l, "fs:=%s", *p); in union_search() 127 xsnprintf(val, l, "%s%s", fseq, *dir); in union_reload() 140 xsnprintf(val, l, "%s%s", fseq, *(dir-1)); in union_reload()
|
| D | info_nisplus.c | 110 xsnprintf(map_name, l, "%s%s", map, org); in nisplus_reload() 187 xsnprintf(index, l, "[%s%s],%s%s", NISPLUS_KEY, key, map, org); in nisplus_search() 282 xsnprintf(map_name, l, "%s%s", map, org); in nisplus_init()
|
| D | ops_cachefs.c | 181 xsnprintf(ca.cfs_cacheid, sizeof(ca.cfs_cacheid), in mount_cachefs() 253 xsnprintf(cmd, sizeof(cmd), "fsck -F cachefs %s", cachedir); in cachefs_umount()
|
| /netbsd/src/external/bsd/tmux/dist/ |
| D | style.c | 256 off += xsnprintf(s + off, sizeof s - off, "%slist=%s", comma, in style_tostring() 279 off += xsnprintf(s + off, sizeof s - off, "%srange=%s", comma, in style_tostring() 292 off += xsnprintf(s + off, sizeof s - off, "%salign=%s", comma, in style_tostring() 301 off += xsnprintf(s + off, sizeof s - off, "%s%s", comma, tmp); in style_tostring() 305 off += xsnprintf(s + off, sizeof s - off, "%sfill=%s", comma, in style_tostring() 310 off += xsnprintf(s + off, sizeof s - off, "%sfg=%s", comma, in style_tostring() 315 off += xsnprintf(s + off, sizeof s - off, "%sbg=%s", comma, in style_tostring() 320 off += xsnprintf(s + off, sizeof s - off, "%sus=%s", comma, in style_tostring() 325 xsnprintf(s + off, sizeof s - off, "%s%s", comma, in style_tostring()
|
| D | input-keys.c | 462 xsnprintf(tmp, sizeof tmp, "\033[27;%c;%llu~", modifier, key); in input_key_extended() 464 xsnprintf(tmp, sizeof tmp, "\033[%llu;%cu", key, modifier); in input_key_extended() 736 len = xsnprintf(buf, sizeof buf, "\033[<%u;%u;%u%c", in input_key_get_mouse() 743 len = xsnprintf(buf, sizeof buf, "\033[M"); in input_key_get_mouse() 751 len = xsnprintf(buf, sizeof buf, "\033[M"); in input_key_get_mouse()
|
| D | cmd-queue.c | 103 xsnprintf(s, sizeof s, "<%s>", c->name); in cmdq_name() 105 xsnprintf(s, sizeof s, "<%p>", c); in cmdq_name() 402 xsnprintf(tmp, sizeof tmp, "hook_argument_%d", i); in cmdq_insert_hook() 409 xsnprintf(tmp, sizeof tmp, "hook_flag_%c", flag); in cmdq_insert_hook() 412 xsnprintf(tmp, sizeof tmp, "hook_flag_%c", flag); in cmdq_insert_hook() 419 xsnprintf(tmp, sizeof tmp, "hook_flag_%c_%d", flag, i); in cmdq_insert_hook()
|
| D | cmd-display-panes.c | 123 len = xsnprintf(buf, sizeof buf, "%u", pane); in cmd_display_panes_draw_pane() 140 rlen = xsnprintf(rbuf, sizeof rbuf, "%ux%u", wp->sx, wp->sy); in cmd_display_panes_draw_pane() 142 llen = xsnprintf(lbuf, sizeof lbuf, "%c", 'a' + (pane - 10)); in cmd_display_panes_draw_pane()
|
| D | spawn.c | 63 xsnprintf(tmp, sizeof tmp, "wl=%d wp0=%%%u", wl->idx, wp0->id); in spawn_log() 65 xsnprintf(tmp, sizeof tmp, "wl=%d wp0=none", wl->idx); in spawn_log() 67 xsnprintf(tmp, sizeof tmp, "wl=none wp0=%%%u", wp0->id); in spawn_log() 69 xsnprintf(tmp, sizeof tmp, "wl=none wp0=none"); in spawn_log()
|
| D | image-sixel.c | 472 tmplen = xsnprintf(tmp, sizeof tmp, "!%u%c", count, ch); in sixel_print_repeat() 502 tmplen = xsnprintf(tmp, sizeof tmp, "\"1;1;%u;%u", si->x, si->y); in sixel_print() 507 tmplen = xsnprintf(tmp, sizeof tmp, "#%u;%u;%u;%u;%u", in sixel_print() 527 tmplen = xsnprintf(tmp, sizeof tmp, "#%u", c); in sixel_print()
|
| D | tty-term.c | 724 xsnprintf(tmp, sizeof tmp, "%d", n); in tty_term_read_list() 902 xsnprintf(s, sizeof s, "%4u: %s: [missing]", in tty_term_describe() 908 xsnprintf(s, sizeof s, "%4u: %s: (string) %s", in tty_term_describe() 913 xsnprintf(s, sizeof s, "%4u: %s: (number) %d", in tty_term_describe() 918 xsnprintf(s, sizeof s, "%4u: %s: (flag) %s", in tty_term_describe()
|
| /netbsd/src/external/bsd/am-utils/dist/mk-amd-map/ |
| D | mk-amd-map.c | 306 xsnprintf(maptdb, sizeof(maptdb), "%s.db", maptmp); in main() 313 xsnprintf(maptpag, sizeof(maptpag), "%s.pag", maptmp); in main() 314 xsnprintf(maptdir, sizeof(maptdir), "%s.dir", maptmp); in main() 350 xsnprintf(map_name_db, l, "%s.db", mapsrc); in main() 360 xsnprintf(map_name_pag, l, "%s.pag", mapsrc); in main() 361 xsnprintf(map_name_dir, l, "%s.dir", mapsrc); in main()
|
| /netbsd/src/external/bsd/am-utils/dist/libamu/ |
| D | wire.c | 113 xsnprintf(buf, buf_size, in print_wires() 120 xsnprintf(s, sizeof(s), "Network %d: wire=\"%s\" (netnumber=%s).\n", in print_wires() 212 xsnprintf(netNumberBuf, sizeof(netNumberBuf), "%lu", C(subnet >> 24)); in getwire_lookup() 214 xsnprintf(netNumberBuf, sizeof(netNumberBuf), "%lu.%lu", in getwire_lookup() 217 xsnprintf(netNumberBuf, sizeof(netNumberBuf), "%lu.%lu.%lu", in getwire_lookup() 221 xsnprintf(netNumberBuf, sizeof(netNumberBuf), "%lu.%lu.%lu.%lu", in getwire_lookup() 264 xsnprintf(buf, l, "%ld.%ld.%ld.%ld", in inet_dquad()
|
| D | mount_fs.c | 196 xsnprintf(optsbuf, sizeof(optsbuf), in addvers() 291 xsnprintf(optsbuf, sizeof(optsbuf), "%s=%04lx", in mount_fs() 294 xsnprintf(optsbuf, sizeof(optsbuf), "%s=%08lx", in mount_fs() 318 xsnprintf(optsbuf, sizeof(optsbuf), "%s=%s", MNTTAB_OPT_PROTO, nfs_proto); in mount_fs() 343 xsnprintf(str, l, "%ld", time((time_t *) NULL)); in mount_fs() 708 xsnprintf(str, sizeof(str), "%04x", ntohs(arr[i])); in get_hex_string() 1165 xsnprintf(buf, sizeof(buf), ",clientaddr=%s,addr=%s", nap->client_addr.data, in add_nfs4_mntopts() 1208 xsnprintf(num, sizeof(num), "*%d*", nap->auth_flavours[i]); in print_nfs4_security()
|
| D | strerror.c | 59 xsnprintf(errstr, sizeof(errstr), "Unknown error #%d", errnum); in strerror()
|
| /netbsd/src/external/gpl3/gdb/dist/gdb/ |
| D | nto-tdep.c | 132 xsnprintf (arch_path, arch_len, "%s/%s%s", nto_root, arch, endian); in nto_find_and_open_solib() 136 xsnprintf (buf, len, PATH_FMT, arch_path, arch_path, arch_path, arch_path, in nto_find_and_open_solib() 144 xsnprintf (arch_path, arch_len, "/%s", solib); in nto_find_and_open_solib() 187 xsnprintf (arch_path, sizeof (arch_path), "%s/%s%s", nto_root, arch, endian); in nto_init_solib_absolute_prefix() 189 xsnprintf (buf, sizeof (buf), "set solib-absolute-prefix %s", arch_path); in nto_init_solib_absolute_prefix()
|
| D | remote.c | 1748 xsnprintf (buf, rs->buf.size (), "qRelocInsn:%x", adjusted_size); in remote_get_noisy_reply() 2779 xsnprintf (rs->buf.data (), size, "qAttached:%x", pid); in remote_query_attached() 2781 xsnprintf (rs->buf.data (), size, "qAttached"); in remote_query_attached() 3229 xsnprintf (buf, endbuf - buf, "0"); in set_thread() 3231 xsnprintf (buf, endbuf - buf, "0"); in set_thread() 3233 xsnprintf (buf, endbuf - buf, "-1"); in set_thread() 3428 buf += xsnprintf (buf, endbuf - buf, "p-%x.", -pid); in write_ptid() 3430 buf += xsnprintf (buf, endbuf - buf, "p%x.", pid); in write_ptid() 3434 buf += xsnprintf (buf, endbuf - buf, "-%x", -tid); in write_ptid() 3436 buf += xsnprintf (buf, endbuf - buf, "%x", tid); in write_ptid() [all …]
|
| /netbsd/src/libexec/ld.elf_so/ |
| D | rtldenv.h | 47 void xsnprintf(char *, size_t, const char *, ...) 76 # define xsnprintf snprintf macro
|
| D | xprintf.c | 237 xsnprintf(char *buf, size_t buflen, const char *fmt, ...) in xsnprintf() function 256 xsnprintf(buf, sizeof(buf), "Unknown error: %d", error); in xstrerror()
|
| /netbsd/src/external/bsd/am-utils/dist/hlfsd/ |
| D | homedir.c | 100 xsnprintf(linkval, sizeof(linkval), "%s/%s", root_home, home_subdir); in homedir() 102 xsnprintf(linkval, sizeof(linkval), "%s/%s", homename, home_subdir); in homedir() 229 xsnprintf(buf, sizeof(buf), "%s/._hlfstmp_%lu", path, (long) getpid()); in hlfsd_diskspace() 398 xsnprintf(mboxfile, sizeof(mboxfile), 401 xsnprintf(mboxfile, sizeof(mboxfile),
|
| /netbsd/src/sys/arch/x68k/stand/common/ |
| D | xprintf.c | 201 xsnprintf(char *buf, size_t len, const char *fmt, ...) in xsnprintf() function 204 xsnprintf(buf, len, fmt, va_alist) in xsnprintf()
|
| D | xprintf.h | 16 size_t xsnprintf(char *buf, size_t len, const char *fmt, ...);
|
| /netbsd/src/external/bsd/am-utils/dist/include/ |
| D | am_utils.h | 350 #define xsnprintf(str,size,fmt,...) _xsnprintf(__FILE__,__LINE__,(str),(size),(fmt),__VA_ARGS__) macro 353 #define xsnprintf(str,size,fmt,args...) _xsnprintf(__FILE__,__LINE__,(str),(size),(fmt),a… macro 359 extern int xsnprintf(char *str, size_t size, const char *format, ...);
|
| /netbsd/src/external/bsd/am-utils/dist/fsinfo/ |
| D | fsi_util.c | 77 xsnprintf(n, sizeof(n), "%d", total_shown); in show_total() 276 xsnprintf(p, sizeof(p), "%s%s", pref, hn); in pref_open() 303 xsnprintf(buf, l, "%s/%s%s", autodir, hp->h_lochost, vn); in compute_automount_point()
|