Searched refs:SNPRINTF1 (Results 1 – 7 of 7) sorted by relevance
/freebsd/contrib/less/ |
H A D | charset.c | 543 SNPRINTF1(buf, sizeof(buf), "%c", (int) c); in prchar() 548 SNPRINTF1(buf, sizeof(buf), "^%c", in prchar() 560 SNPRINTF1(buf, sizeof(buf), "^%c", (int) (c ^ 0100)); in prchar() 563 SNPRINTF1(buf, sizeof(buf), binfmt, c); in prchar() 579 SNPRINTF1(buf, sizeof(buf), "^%c", ((char) ch) ^ 0100); in prutfchar() 581 SNPRINTF1(buf, sizeof(buf), binfmt, (char) ch); in prutfchar() 584 SNPRINTF1(buf, sizeof(buf), utfbinfmt, ch); in prutfchar()
|
H A D | filename.c | 415 SNPRINTF1(fpat, len, "%s*.*", s); in fcomplete() 417 SNPRINTF1(fpat, len, "%s*", s); in fcomplete() 423 SNPRINTF1(fpat, len, "%s*", s); in fcomplete() 880 SNPRINTF1(cmd, len, lessopen, qfilename); in open_altfile()
|
H A D | less.h | 203 #define SNPRINTF1(str, size, fmt, v1) snprintf((str), (size), (fmt), (v1)) macro 209 #define SNPRINTF1(str, size, fmt, v1) sprintf((str), (fmt), (v1)) macro
|
H A D | optfunc.c | 200 SNPRINTF1(buf, sizeof(buf), ".%06ld", jump_sline_fraction); in opt_j() 260 SNPRINTF1(buf, sizeof(buf), ".%06ld", shift_count_fraction); in opt_shift()
|
H A D | option.c | 42 SNPRINTF1(buf, sizeof(buf), "--%s", o->onames->oname); in opt_desc()
|
H A D | screen.c | 744 SNPRINTF1(name, sizeof(name), "LESS_TERMCAP_%s", capname); in ltget_env() 1871 SNPRINTF1(dump_cmd, sizeof(dump_cmd), ESCS"0;0;%dR", sc_width * sc_height); in dump_screen() 2556 SNPRINTF1(buf, sizeof(buf), fmt, color); in tput_fmt() 2620 int len = SNPRINTF1(buf, sizeof(buf), fmt, color); in WIN32put_fmt()
|
H A D | command.c | 185 SNPRINTF1(buf, sizeof(buf), "Sub-%d ", i); in mca_search1() 576 SNPRINTF1(buf, sizeof(buf), "Sub-pattern (1-%d):", NUM_SEARCH_COLORS); in mca_search_char()
|