/openbsd/usr.bin/tmux/ |
H A D | style.c | 268 off += xsnprintf(s + off, sizeof s - off, "%slist=%s", comma, in style_tostring() 291 off += xsnprintf(s + off, sizeof s - off, "%srange=%s", comma, in style_tostring() 304 off += xsnprintf(s + off, sizeof s - off, "%salign=%s", comma, in style_tostring() 313 off += xsnprintf(s + off, sizeof s - off, "%s%s", comma, tmp); in style_tostring() 317 off += xsnprintf(s + off, sizeof s - off, "%sfill=%s", comma, in style_tostring() 322 off += xsnprintf(s + off, sizeof s - off, "%sfg=%s", comma, in style_tostring() 327 off += xsnprintf(s + off, sizeof s - off, "%sbg=%s", comma, in style_tostring() 332 off += xsnprintf(s + off, sizeof s - off, "%sus=%s", comma, in style_tostring() 337 xsnprintf(s + off, sizeof s - off, "%s%s", comma, in style_tostring() 342 xsnprintf(s + off, sizeof s - off, "%swidth=%u", comma, in style_tostring() [all …]
|
H A D | cmd-queue.c | 104 xsnprintf(s, sizeof s, "<%s>", c->name); in cmdq_name() 106 xsnprintf(s, sizeof s, "<%p>", c); in cmdq_name() 403 xsnprintf(tmp, sizeof tmp, "hook_argument_%d", i); in cmdq_insert_hook() 410 xsnprintf(tmp, sizeof tmp, "hook_flag_%c", flag); in cmdq_insert_hook() 413 xsnprintf(tmp, sizeof tmp, "hook_flag_%c", flag); in cmdq_insert_hook() 420 xsnprintf(tmp, sizeof tmp, "hook_flag_%c_%d", flag, i); in cmdq_insert_hook()
|
H A D | input-keys.c | 463 xsnprintf(tmp, sizeof tmp, "\033[27;%c;%llu~", modifier, key); in input_key_extended() 465 xsnprintf(tmp, sizeof tmp, "\033[%llu;%cu", key, modifier); in input_key_extended() 751 len = xsnprintf(buf, sizeof buf, "\033[<%u;%u;%u%c", in input_key_get_mouse() 758 len = xsnprintf(buf, sizeof buf, "\033[M"); in input_key_get_mouse() 766 len = xsnprintf(buf, sizeof buf, "\033[M"); in input_key_get_mouse()
|
H A D | spawn.c | 65 xsnprintf(tmp, sizeof tmp, "wl=%d wp0=%%%u", wl->idx, wp0->id); in spawn_log() 67 xsnprintf(tmp, sizeof tmp, "wl=%d wp0=none", wl->idx); in spawn_log() 69 xsnprintf(tmp, sizeof tmp, "wl=none wp0=%%%u", wp0->id); in spawn_log() 71 xsnprintf(tmp, sizeof tmp, "wl=none wp0=none"); in spawn_log()
|
H A 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()
|
H A D | xmalloc.h | 35 int xsnprintf(char *, size_t, const char *, ...)
|
H A D | tty-term.c | 715 xsnprintf(tmp, sizeof tmp, "%d", n); in tty_term_read_list() 860 xsnprintf(s, sizeof s, "%4u: %s: [missing]", in tty_term_describe() 866 xsnprintf(s, sizeof s, "%4u: %s: (string) %s", in tty_term_describe() 871 xsnprintf(s, sizeof s, "%4u: %s: (number) %d", in tty_term_describe() 876 xsnprintf(s, sizeof s, "%4u: %s: (flag) %s", in tty_term_describe()
|
H A D | attributes.c | 34 len = xsnprintf(buf, sizeof buf, "%s%s%s%s%s%s%s%s%s%s%s%s%s%s", in attributes_tostring()
|
/openbsd/usr.bin/cvs/ |
H A D | add.c | 75 (void)xsnprintf(kbuf, sizeof(kbuf), "-k%s", optarg); in cvs_add() 247 (void)xsnprintf(attic, PATH_MAX, "%s/%s", in cvs_add_tobranch() 253 (void)xsnprintf(attic, PATH_MAX, "%s/%s/%s%s", repo, in cvs_add_tobranch() 312 (void)xsnprintf(entry, PATH_MAX, "%s%s", in add_directory() 325 (void)xsnprintf(entry, PATH_MAX, "%s/%s", in add_directory() 351 (void)xsnprintf(entry, PATH_MAX, "%s/%s", in add_directory() 368 (void)xsnprintf(msg, sizeof(msg), in add_directory() 518 (void)xsnprintf(sticky, sizeof(sticky), "T%s", in add_entry() 527 (void)xsnprintf(path, PATH_MAX, "%s/%s/%s%s", in add_entry() 544 (void)xsnprintf(sticky, sizeof(sticky), "T%s", in add_entry() [all …]
|
H A D | repository.c | 37 (void)xsnprintf(fpath, sizeof(fpath), "%s/%s", repo, CVS_LOCK); in cvs_repository_unlock() 57 (void)xsnprintf(fpath, sizeof(fpath), "%s/%s", repo, CVS_LOCK); in cvs_repository_lock() 116 (void)xsnprintf(fpath, PATH_MAX, "%s/%s", wdir, dp->d_name); in cvs_repository_getdir() 117 (void)xsnprintf(rpath, PATH_MAX, "%s/%s", dir, dp->d_name); in cvs_repository_getdir()
|
H A D | status.c | 162 (void)xsnprintf(buf, sizeof(buf), "no file %s\t", in cvs_status_local() 171 (void)xsnprintf(buf, sizeof(buf), in cvs_status_local() 214 (void)xsnprintf(buf, sizeof(buf), "%s\t%s", revbuf, in cvs_status_local() 239 xsnprintf(buf, sizeof(buf), in cvs_status_local() 242 xsnprintf(buf, sizeof(buf), in cvs_status_local()
|
H A D | server.c | 249 (void)xsnprintf(fpath, PATH_MAX, "%s/%s", in cvs_server_static_directory() 268 (void)xsnprintf(tagpath, PATH_MAX, "%s/%s", in cvs_server_sticky() 418 (void)xsnprintf(fpath, PATH_MAX, "%s/%s", server_currentdir, data); in cvs_server_modified() 451 (void)xsnprintf(fpath, PATH_MAX, "%s/%s", server_currentdir, data); in cvs_server_unchanged() 460 (void)xsnprintf(sticky, sizeof(sticky), "T%s", ent->ce_tag); in cvs_server_unchanged() 463 (void)xsnprintf(entry, sizeof(entry), "/%s/%s/%s/%s/%s", in cvs_server_unchanged() 480 (void)xsnprintf(entry, sizeof(entry), "/%s/%c///", data, in cvs_server_questionable() 784 (void)xsnprintf(fpath, PATH_MAX, "%s/%s", repo, cf->file_name); in cvs_server_update_entry() 800 (void)xsnprintf(fpath, PATH_MAX, "%s/", repo); in cvs_server_set_sticky() 814 (void)xsnprintf(fpath, PATH_MAX, "%s/", repo); in cvs_server_clear_sticky()
|
H A D | checkout.c | 310 (void)xsnprintf(repo, sizeof(repo), "%s/%s", in checkout_check_repository() 343 (void)xsnprintf(fpath, sizeof(fpath), in checkout_check_repository() 417 (void)xsnprintf(fpath, sizeof(fpath), "%s/%s%s", d, f, RCS_FILE_EXT); in checkout_classify() 426 (void)xsnprintf(fpath, sizeof(fpath), "%s/%s/%s%s", in checkout_classify() 562 (void)xsnprintf(timebuf, sizeof(timebuf), "Result of merge+%s", in cvs_checkout_file() 572 (void)xsnprintf(sticky, sizeof(sticky), "T%s", tag); in cvs_checkout_file() 582 (void)xsnprintf(sticky, sizeof(sticky), "T%s", rev); in cvs_checkout_file() 584 (void)xsnprintf(sticky, sizeof(sticky), "T%s", in cvs_checkout_file() 593 (void)xsnprintf(kbuf, sizeof(kbuf), in cvs_checkout_file()
|
H A D | client.c | 420 (void)xsnprintf(fpath, PATH_MAX, "%s/%s", in cvs_client_senddir() 501 (void)xsnprintf(sticky, sizeof(sticky), "T%s", in cvs_client_sendfile() 666 (void)xsnprintf(sticky, sizeof(sticky), "T%s", in cvs_client_checkedin() 726 (void)xsnprintf(fpath, sizeof(fpath), "%s/%s", data, p); in cvs_client_updated() 747 (void)xsnprintf(sticky, sizeof(sticky), "T%s", e->ce_tag); in cvs_client_updated() 888 (void)xsnprintf(fpath, PATH_MAX, "%s/%s", data, filename); in cvs_client_removed() 931 (void)xsnprintf(fpath, PATH_MAX, "%s/%s", in cvs_client_set_static_directory() 957 (void)xsnprintf(fpath, PATH_MAX, "%s/%s", in cvs_client_clear_static_directory() 1077 (void)xsnprintf(fpath, sizeof(fpath), "%d", getpid()); in cvs_client_initlog() 1105 (void)xsnprintf(fpath, sizeof(fpath), "%s-%d.in", rpath, i); in cvs_client_initlog() [all …]
|
H A D | init.c | 112 (void)xsnprintf(path, PATH_MAX, "%s/%s", in cvs_init_local() 119 (void)xsnprintf(path, PATH_MAX, "%s/%s", in cvs_init_local() 175 (void)xsnprintf(rpath, PATH_MAX, "%s%s", path, RCS_FILE_EXT); in init_mkfile()
|
H A D | entries.c | 45 (void)xsnprintf(buf, sizeof(buf), "%s/%s", dir, CVS_PATH_ENTRIES); in cvs_ent_open() 58 (void)xsnprintf(buf, sizeof(buf), "%s/%s", in cvs_ent_open() 63 (void)xsnprintf(buf, sizeof(buf), "%s/%s", dir, CVS_PATH_LOGENTRIES); in cvs_ent_open() 377 (void)xsnprintf(buf, len, "D/%s////", name); in cvs_ent_line_str() 381 (void)xsnprintf(buf, len, "/%s/%s%s/%s/%s/%s", in cvs_ent_line_str() 533 (void)xsnprintf(sticky, sizeof(sticky), in cvs_write_tagfile() 537 (void)xsnprintf(sticky, sizeof(sticky), in cvs_write_tagfile()
|
H A D | util.c | 386 (void)xsnprintf(fpath, sizeof(fpath), "%s/%s", in cvs_rmdir() 449 (void)xsnprintf(dst, len, "%s/%s", current_cvsroot->cr_dir, buf); in cvs_get_repository_path() 484 (void)xsnprintf(fpath, sizeof(fpath), "%s/%s", in cvs_get_repository_name() 519 (void)xsnprintf(buf, sizeof(buf), "%s/%s", path, CVS_PATH_CVSDIR); in cvs_mkadmin() 526 (void)xsnprintf(buf, sizeof(buf), "%s/%s", in cvs_mkadmin() 536 (void)xsnprintf(buf, sizeof(buf), "%s/%s", path, CVS_PATH_REPOSITORY); in cvs_mkadmin() 546 (void)xsnprintf(buf, sizeof(buf), "%s/%s", path, CVS_PATH_ENTRIES); in cvs_mkadmin()
|
H A D | file.c | 108 (void)xsnprintf(path, PATH_MAX, "%s/.cvsignore", cvs_homedir); in cvs_file_init() 322 (void)xsnprintf(fpath, PATH_MAX, "%s/%s", in cvs_file_walklist() 438 (void)xsnprintf(fpath, PATH_MAX, "%s/%s", cf->file_path, in cvs_file_walkdir() 452 (void)xsnprintf(fpath, PATH_MAX, "%s/.cvsignore", cf->file_path); in cvs_file_walkdir() 493 (void)xsnprintf(fpath, PATH_MAX, "%s/%s", in cvs_file_walkdir() 581 (void)xsnprintf(fpath, PATH_MAX, "%s/%s", cf->file_path, in cvs_file_walkdir() 602 xsnprintf(fpath, sizeof(fpath), "%s/%s", cf->file_path, in cvs_file_walkdir() 665 (void)xsnprintf(rcsfile, PATH_MAX, "%s/%s", in cvs_file_classify() 756 (void)xsnprintf(rcsfile, PATH_MAX, "%s/%s/%s%s", in cvs_file_classify()
|
H A D | remove.c | 173 (void)xsnprintf(buf, sizeof(buf), "%s/%s/%s%s", in cvs_remove_local() 199 (void)xsnprintf(sticky, sizeof(sticky), "T%s", in cvs_remove_local()
|
H A D | history.c | 163 (void)xsnprintf(fpath, sizeof(fpath), "%s/%s", in cvs_history_add() 214 (void)xsnprintf(p, strlen(p) + 1, "*%zx", q - repo); in history_compress()
|
H A D | update.c | 227 (void)xsnprintf(fpath, PATH_MAX, "%s/%s", in cvs_update_enterdir() 509 (void)xsnprintf(sticky, sizeof(sticky), "T%s", in update_clear_conflict() 722 (void)xsnprintf(revstr, sizeof(revstr), "0"); in cvs_backup_file() 726 (void)xsnprintf(backup_name, PATH_MAX, "%s/.#%s.%s", in cvs_backup_file() 731 (void)xsnprintf(backup_name, PATH_MAX, ".#%s.%s", in cvs_backup_file()
|
H A D | modules.c | 190 (void)xsnprintf(fpath, sizeof(fpath), "%s/%s", in modules_parse_line() 195 (void)xsnprintf(fpath, sizeof(fpath), "%s/%s", in modules_parse_line()
|
H A D | xmalloc.h | 29 int xsnprintf(char *, size_t, const char *, ...)
|
H A D | edit.c | 306 (void)xsnprintf(bfpath, PATH_MAX, "%s/%s", in cvs_edit_local() 342 (void)xsnprintf(bfpath, PATH_MAX, "%s/%s", in cvs_unedit_local() 402 (void)xsnprintf(sticky, sizeof(sticky), "T%s", in cvs_unedit_local()
|
H A D | remote.c | 191 (void)xsnprintf(buf, sizeof(buf), "%lld", st.st_size); in cvs_remote_send_file() 232 (void)xsnprintf(buf, sizeof(buf), "%ld", len); in cvs_remote_send_file_buf()
|