Home
last modified time | relevance | path

Searched refs:SNPRINTF1 (Results 1 – 7 of 7) sorted by relevance

/freebsd/contrib/less/
H A Dcharset.c518 SNPRINTF1(buf, sizeof(buf), "%c", (int) c); in binary_char()
523 SNPRINTF1(buf, sizeof(buf), "^%c",
535 SNPRINTF1(buf, sizeof(buf), "^%c", (int) (c ^ 0100));
538 SNPRINTF1(buf, sizeof(buf), binfmt, c); in prchar()
554 SNPRINTF1(buf, sizeof(buf), "^%c", ((char) ch) ^ 0100); in prchar()
556 SNPRINTF1(buf, sizeof(buf), binfmt, (char) ch); in prchar()
559 SNPRINTF1(buf, sizeof(buf), utfbinfmt, ch); in prchar()
H A Dfilename.c437 SNPRINTF1(fpat, len, "%s*.*", s); in fcomplete()
439 SNPRINTF1(fpat, len, "%s*", s); in fcomplete()
445 SNPRINTF1(fpat, len, "%s*", s);
901 SNPRINTF1(cmd, len, lessopen, qfilename); in open_altfile()
H A Dless.h185 #define SNPRINTF1(str, size, fmt, v1) snprintf((str), (size), (fmt), (v1))
191 #define SNPRINTF1(str, size, fmt, v1) sprintf((str), (fmt), (v1))
203 #define SNPRINTF1( global() macro
209 #define SNPRINTF1( global() macro
H A Doptfunc.c211 SNPRINTF1(buf, sizeof(buf), ".%06ld", fraction);
H A Doption.c41 SNPRINTF1(buf, sizeof(buf), "--%s", o->onames->oname); in opt_desc()
H A Dscreen.c734 SNPRINTF1(name, sizeof(name), "LESS_TERMCAP_%s", capname); in ltget_env()
1881 SNPRINTF1(dump_cmd, sizeof(dump_cmd), ESCS"0;0;%dR", sc_width * sc_height); in add_line()
2605 SNPRINTF1(buf, sizeof(buf), fmt, color); in tput_inmode()
2684 int len = (size_t) SNPRINTF1(buf, sizeof(buf), fmt, color); in at_enter()
H A Dcommand.c183 SNPRINTF1(buf, sizeof(buf), "Sub-%d ", i); in mca_search1()
585 SNPRINTF1(buf, sizeof(buf), "Sub-pattern (1-%d):", NUM_SEARCH_COLORS); in mca_search_char()