/freebsd/contrib/tcsh/ |
H A D | sh.time.c | 368 xprintf("es->tms_utime %lu bs->tms_utime %lu\n", in prusage() 370 xprintf("es->tms_stime %lu bs->tms_stime %lu\n", in prusage() 372 xprintf("ms %llu e %p b %p\n", (unsigned long long)ms, e, b); in prusage() 373 xprintf("t %llu\n", (unsigned long long)t); in prusage() 438 xprintf("%ld.%01ld%%", i / 10, i % 10); /* nn.n% */ in prusage() 448 xprintf("%ld", i); in prusage() 456 xprintf("%lu", (unsigned long)memtmp); in prusage() 465 xprintf("%lu", (unsigned long)memtmp); in prusage() 476 xprintf("%lu", (unsigned long)memtmp); in prusage() 481 xprintf("0",0); in prusage() [all …]
|
H A D | tc.bind.c | 126 xprintf(CGETS(20, 1, "Invalid key name `%S'\n"), v[no]); in dobindkey() 190 xprintf(CGETS(20, 2, "Bad key name: %S\n"), in.buf); in dobindkey() 237 xprintf("%s\t->\t%s\n", unparsed, fp->name); in printkey() 256 xprintf(CGETS(20, 3, "Bad command name: %S\n"), str); in parsecmd() 264 xprintf(CGETS(20, 4, "Bad key spec %S\n"), str); in bad_spec() 381 xprintf("%s", CGETS(20, 5, "Null string specification\n")); in parsestring() 414 xprintf("%s", CGETS(20, 6, "Standard key bindings\n")); in print_all_keys() 424 xprintf("%s", CGETS(20, 7, "Alternative key bindings\n")); in print_all_keys() 433 xprintf("%s", CGETS(20, 8, "Multi-character bindings\n")); in print_all_keys() 435 xprintf("%s", CGETS(20, 9, "Arrow key bindings\n")); in print_all_keys() [all …]
|
H A D | tw.comp.c | 73 xprintf("tw_find(%s) \n", short2str(strip(p))); in docomplete() 117 xprintf("%s\t", short2str(p->v_name)); in tw_prlist() 252 xprintf("G%smatch(%s, ", exact ? "" : "n", short2str(str)); in tw_match() 253 xprintf("%s, ", short2str(pat)); in tw_match() 254 xprintf("%s) = %d [%" TCSH_PTRDIFF_T_FMT "d]\n", short2str(estr), rv, in tw_match() 496 xprintf("'%s' ", short2str(wl[i])); in tw_complete() 497 xprintf("\n"); in tw_complete() 510 xprintf("\r\n"); in tw_complete() 511 xprintf(" w#: %lu\n", (unsigned long)wordno); in tw_complete() 512 xprintf("line: %s\n", short2str(line)); in tw_complete() [all …]
|
H A D | tc.alloc.c | 163 xprintf(str, p); \ 164 xprintf(" (memtop = %p membot = %p)\n", memtop, membot); \ 170 xprintf(str, p); \ 171 xprintf(" (memtop = %p membot = %p)\n", memtop, membot); \ 219 xprintf(CGETS(19, 1, "nbytes=%zu: Out of memory\n"), nbytes); in malloc() 615 xprintf(CGETS(19, 8, "%s current memory allocation:\nfree:\t"), progname); in showall() 619 xprintf(" %4zd", j); in showall() 622 xprintf("\n%s:\t", CGETS(19, 9, "used")); in showall() 624 xprintf(" %4d", nmalloc[i]); in showall() 627 xprintf(CGETS(19, 10, "\n\tTotal in use: %d, total free: %d\n"), in showall() [all …]
|
H A D | sh.print.c | 53 xprintf("%d:", i); in psecs() 59 xprintf("%d", i / 60); in psecs() 62 xprintf(":"); in psecs() 83 xprintf("%d:", i); in pcsecs() 89 xprintf("%d", i / 60); in pcsecs() 92 xprintf(":"); in pcsecs() 94 xprintf("."); in pcsecs() 102 xprintf("%u%u", i / 10, i % 10); in p2dig()
|
H A D | ed.xmap.c | 215 xprintf("%s", CGETS(9, 1, "AddXkey: Null extended-key not allowed.\n")); in AddXkey() 220 xprintf("%s", in AddXkey() 318 xprintf("%s", in DeleteXkey() 452 xprintf(CGETS(9, 4, "Unbound extended key \"%S\"\n"), cs.buf); in PrintXkey() 512 xprintf(CGETS(9, 6, "Enumerate: BUG!! Null ptr passed\n!")); in Enumerate() 546 xprintf("%-15S-> ", key); in printOne() 555 xprintf(fmt, p); in printOne() 562 xprintf(fmt, fp->name); in printOne() 569 xprintf(fmt, CGETS(9, 7, "no input")); in printOne() 616 xprintf(CGETS(9, 8, "Something must follow: %c\n"), (char)*p); in parseescape() [all …]
|
H A D | ed.screen.c | 382 xprintf("%s", CGETS(7, 1, "\n\tTcsh thinks your terminal has the\n")); in TellTC() 383 xprintf("%s", CGETS(7, 2, "\tfollowing characteristics:\n\n")); in TellTC() 384 xprintf(CGETS(7, 3, "\tIt has %d columns and %d lines\n"), in TellTC() 389 xprintf(CGETS(7, 4, "\tIt has %s meta key\n"), s); in TellTC() 392 xprintf(CGETS(7, 7, "\tIt can%s use tabs\n"), s); in TellTC() 396 xprintf(CGETS(7, 9, "\tIt %s automatic margins\n"), s); in TellTC() 401 xprintf(CGETS(7, 12, "\tIt %s magic margins\n"), s); in TellTC() 406 xprintf("\t%36s (%s) == %s\n", t->long_name, t->name, s); in TellTC() 556 xprintf(fmts, T_Tabs ? CGETS(7, 14, "yes") : in EchoTC() 561 xprintf(fmts, Val(T_km) ? CGETS(7, 14, "yes") : in EchoTC() [all …]
|
H A D | ed.inputl.c | 158 xprintf("Cursor > LastChar\r\n"); in Inputl() 160 xprintf("Cursor < InputBuf\r\n"); in Inputl() 162 xprintf("Cursor > InputLim\r\n"); in Inputl() 164 xprintf("LastChar > InputLim\r\n"); in Inputl() 166 xprintf("InputLim != &InputBuf[INBUFSIZE-2]\r\n"); in Inputl() 168 xprintf("(!DoingArg) && (Argument != 1)\r\n"); in Inputl() 170 xprintf("CcKeyMap[0] == 0 (maybe not inited)\r\n"); in Inputl() 180 xprintf(CGETS(6, 1, "ERROR: illegal command from key 0%o\r\n"), ch); in Inputl() 263 xprintf("%s", CGETS(6, 2, "yes\n")); in Inputl() 269 xprintf("%s", CGETS(6, 3, "edit\n")); in Inputl() [all …]
|
H A D | sh.proc.c | 80 # define jobdebug_xprintf(s) xprintf s 495 xprintf("%s", CGETS(17, 1, "BUG: waiting for background job!\n")); in pjwait() 576 xprintf(CGETS(17, 2, "Exit %d\n"), reason); in pjwait() 672 xprintf("%s", CGETS(17, 3, "BUG: process flushed twice")); in pflush() 961 xprintf("[%d]", pp->p_index); in pendjob() 964 xprintf(" %d", pp->p_procid); in pendjob() 1050 xprintf("[%d]%s %c ", pp->p_index, in pprint() 1055 xprintf(" "); in pprint() 1058 xprintf("%5d ", pp->p_procid); in pprint() 1060 xprintf("%11s ", sitename(pp->p_procid)); in pprint() [all …]
|
H A D | tc.who.c | 250 xprintf(CGETS(26, 1, 266 xprintf(CGETS(26, 2, 463 xprintf("%s/%s -> ", a->who_name, a->who_tty); 466 xprintf("TAIL\n"); 468 xprintf(CGETS(26, 3, "BUG! last element is not whotail!\n")); 472 xprintf(CGETS(26, 4, "backward: ")); 474 xprintf("%s/%s -> ", a->who_name, a->who_tty); 477 xprintf("HEAD\n"); 479 xprintf(CGETS(26, 5, "BUG! first element is not whohead!\n")); 483 xprintf(CGETS(26, 6, "new: %s/%s\n"), new->who_name, new->who_tty); [all …]
|
H A D | ma.setp.c | 121 if (eflag) xprintf(CGETS(10, 1, \ 128 if (eflag) xprintf(CGETS(10, 2, \ 242 xprintf(CGETS(10, 3, in initpaths() 421 xprintf(CGETS(10, 4, "setpath: %s not found in %s\n"), in iacmd() 437 xprintf(CGETS(10, 4, "setpath: %s not found in %s\n"), in ibcmd() 488 xprintf(CGETS(10, 4, "setpath: %s not found in %s\n"), in dcmd() 502 xprintf(CGETS(10, 5, in dncmd() 534 xprintf(CGETS(10, 4, "setpath: %s not found in %s\n"), in ccmd() 548 xprintf(CGETS(10, 5, in cncmd()
|
H A D | tc.os.c | 200 xprintf("%s\n", xvers); in dogetxvers() 295 xprintf(local); in dogetspath() 297 xprintf("%s ", st->sf_ctype); in dogetspath() 302 xprintf("%s ", xc); in dogetspath() 304 xprintf("*cpu %d* ", (int) (p[i] & SPATH_MASK)); in dogetspath() 314 xprintf(local); in dogetspath() 316 xprintf("%s ", st->sf_sname); in dogetspath() 318 xprintf("*site %d* ", (int) (p[i] & SPATH_MASK)); in dogetspath() 391 xprintf("%d: %s\n", pid, strerror(errno)); in migratepid() 397 xprintf(CGETS(23, 4, "site: %s\n"), strerror(errno)); in migratepid() [all …]
|
H A D | tw.parse.c | 237 xprintf(CGETS(30, 1, "starting_a_command %d\n"), looking); in tenematch() 238 xprintf("\ncmd_start:%S:\n", qline.s + cmd_start); in tenematch() 239 xprintf("qline:%S:\n", qline.s); in tenematch() 240 xprintf("qline:"); in tenematch() 242 xprintf("%c", *p & QUOTE ? '-' : ' '); in tenematch() 243 xprintf(":\n"); in tenematch() 244 xprintf("word:%S:\n", qline.s + word); in tenematch() 245 xprintf("word:"); in tenematch() 247 xprintf("%c", *p & QUOTE ? '-' : ' '); in tenematch() 248 xprintf(":\n"); in tenematch() [all …]
|
H A D | sh.exec.c | 750 xprintf(CGETS(13, 1, "hash=%-4d dir=%-2d prog=%s\n"), in dohash() 784 xprintf(CGETS(13, 2, "%d hash buckets of %d bits each\n"), in hashstat() 787 xprintf(CGETS(13, 3, "debug mask = 0x%08x\n"), hashdebug); in hashstat() 791 xprintf(CGETS(13, 4, "%d hits, %d misses, %d%%\n"), in hashstat() 975 xprintf(CGETS(13, 5, "%S: shell built-in command.\n"), in tellmewhat() 991 xprintf(CGETS(13, 5, "%S: shell built-in command.\n"), in tellmewhat() 1045 xprintf(CGETS(13, 6, "%S: Command not found.\n"), sp->word); in tellmewhat() 1090 xprintf("%s", CGETS(13, 7, "where: / in command makes no sense\n")); in find_cmd() 1098 xprintf(CGETS(13, 8, "%S is aliased to "), cmd); in find_cmd() 1112 xprintf(CGETS(13, 9, "%S is a shell built-in\n"), cmd); in find_cmd() [all …]
|
H A D | tc.func.c | 339 xprintf("%S: %s.\n", tmp, strerror(err)); in dolist() 354 xprintf("%S:\n", tmp); in dolist() 456 xprintf(CGETS(22, 1, "%S: \t aliased to "), cmd); in cmd_expand() 656 xprintf("%s", prm); flush(); in xgetpass() 791 xprintf(CGETS(22, 2, "\nIncorrect passwd for %s\n"), pw->pw_name); in auto_lock() 801 xprintf("auto-logout\n"); in auto_logout() 838 xprintf("%s", CGETS(22, 3, "Faulty alias 'precmd' removed.\n")); in precmd() 856 xprintf("%s", CGETS(22, 3, "Faulty alias 'postcmd' removed.\n")); in postcmd() 880 xprintf("%s", CGETS(22, 4, "Faulty alias 'cwdcmd' removed.\n")); in cwd_cmd() 902 xprintf("%s", CGETS(22, 5, "Faulty alias 'beepcmd' removed.\n")); in beep_cmd() [all …]
|
H A D | ed.init.c | 132 xprintf("ed_set_tty_eight_bit: tty_getty: %s\n", strerror(errno)); in ed_set_tty_eight_bit() 186 xprintf("ed_Setup: tty_getty: %s\n", strerror(errno)); in ed_Setup() 251 xprintf("ed_Setup: tty_setty: %s\n", strerror(errno)); in ed_Setup() 271 xprintf("rst received in ed_Setup() %d\n", rst); in ed_Setup() 376 xprintf("Rawmode: tty_getty: %s\n", strerror(errno)); in Rawmode() 536 xprintf("Rawmode: tty_setty: %s\n", strerror(errno)); in Rawmode() 571 xprintf("Cookedmode: tty_setty: %s\n", strerror(errno)); in Cookedmode() 682 xprintf("QuoteModeOn: tty_setty: %s\n", strerror(errno)); in QuoteModeOn() 699 xprintf("QuoteModeOff: tty_setty: %s\n", strerror(errno)); in QuoteModeOff()
|
H A D | sh.hist.c | 503 xprintf("Hash %d (%d Char %u words) with %s: %d nsec/hash, %d mcps\n", in generateHashes() 551 xprintf("Occupancy of %d buckets by %d hashes %d Chars %d word with %s\n", in testHash() 554 xprintf(" %d buckets (%d%%) with %d hits\n", in testHash() 588 xprintf("Rehash collision figure of merit %u (ideal=100), run lengths:\n", in testHash() 592 xprintf(" %d runs of length %d buckets\n", bins[i], i); in testHash() 661 xprintf(" found len %u occupied %u deleted %u\n", in checkHistHashTable() 674 xprintf("%s history hash table len %u count %u (deleted %d)\n", reason, in displayHistStats() 676 xprintf(" inserts %u rehashes %u%% each\n", in displayHistStats() 680 xprintf(" removes %u net %u\n", in displayHistStats() 792 xprintf("Growing history hash table from %d ...", in insertHistHashTable() [all …]
|
H A D | sh.lex.c | 230 xprintf("%S", sp->word); in prlex() 1364 xprintf("readc\n"); in readc() 1376 xprintf("alvecp %c\n", *alvecp & 0xff); in readc() 1494 xprintf(CGETS(16, 1, "Reset tty pgrp from %d to %d\n"), in readc() 1520 xprintf("%s", CGETS(16, 2, in readc() 1523 xprintf(CGETS(16, 3, in readc() 1748 xprintf(CGETS(16, 4, "seek to eval %x %x\n"), evalvec, evalp); in bseek() 1755 xprintf(CGETS(16, 5, "seek to alias %x %x\n"), alvec, alvecp); in bseek() 1760 xprintf(CGETS(16, 6, "seek to file %x\n"), fseekp); in bseek() 1787 xprintf(CGETS(16, 7, "Bad seek type %d\n"), aret); in bseek() [all …]
|
H A D | sh.c | 889 xprintf("%S\n", varval(STRversion)); in main() 893 xprintf("%S\n\n", varval(STRversion)); in main() 894 xprintf("%s", CGETS(11, 8, HELP_STRING)); in main() 1236 xprintf("setpgid:"); in main() 1240 xprintf("tcsetpgrp:"); in main() 1253 xprintf("setpgid:"); in main() 1273 xprintf(CGETS(11, 1, "Warning: no access to tty (%s).\n"), in main() 1275 xprintf("%s", in main() 1440 xprintf("logout\n"); in main() 1449 xprintf("exit\n"); in main() [all …]
|
H A D | glob.c | 263 xprintf("%s", pre); in qprintf() 265 xprintf("%c", *p & 0xff); in qprintf() 266 xprintf("\n%s", pre); in qprintf() 268 xprintf("%c", *p & M_PROTECT ? '"' : ' '); in qprintf() 269 xprintf("\n%s", pre); in qprintf() 271 xprintf("%c", *p & M_META ? '_' : ' '); in qprintf() 272 xprintf("\n"); in qprintf()
|
H A D | tc.disc.c | 110 xprintf(CGETS(21, 1, "Couldn't get local chars.\n")); 119 xprintf(CGETS(21, 2, "Couldn't set local chars.\n"));
|
H A D | sh.dir.c | 91 xprintf(CGETS(12, 1, "%s: Trying to start from \"%s\"\n"), progname, from); in dstart() 106 xprintf("%s: %s\n", progname, strerror(errno)); in dinit() 270 xprintf("%d\t", idx++); in printdirs() 286 xprintf("~%S", user); in printdirs() 287 xprintf("%-S%c", s, (dflag & DIR_VERT) ? '\n' : ' '); in printdirs() 298 xprintf("~%-S%S", user, dir); in dtildepr() 300 xprintf("%S", dir); in dtildepr() 911 xprintf("%s: %s\n", progname, strerror(errno)); in dcanon_internal() 1408 xprintf("cd %S\n", quote_meta(&qname, dp->di_name)); in recdirs() 1411 xprintf("pushd %S\n", quote_meta(&qname, dp->di_name)); in recdirs()
|
/freebsd/contrib/ntp/ntpq/ |
H A D | ntpq-subs.c | 361 static int xprintf(FILE *, char const *, ...) NTP_PRINTF(2, 3); 393 xprintf( in xprintf() function 440 xprintf(stderr, in checkassocid() 493 xprintf(stderr, "Variable list full\n"); in doaddvlist() 529 (void) xprintf(stderr, "Variable `%s' not found\n", in dormvlist() 593 xprintf(stderr, in makequerydata() 650 xprintf(fp, "No variables on list\n"); in doprintvlist() 655 xprintf(fp, "%s\n", vlist[n].name); in doprintvlist() 657 xprintf(fp, "%s=%s\n", vlist[n].name, in doprintvlist() 751 xprintf(f in dolist() [all...] |
/freebsd/usr.bin/sockstat/ |
H A D | sockstat.c | 197 xprintf(const char *fmt, ...) in xprintf() function 964 return (xprintf("%.*s", sun->sun_len - off, sun->sun_path)); in printaddr() 973 return xprintf("%s:*", addrstr); in printaddr() 975 return xprintf("%s:%d", addrstr, port); in printaddr() 1117 pos += xprintf(" "); in displaysock() 1118 pos += xprintf("%s", s->protoname); in displaysock() 1120 pos += xprintf("4"); in displaysock() 1122 pos += xprintf("6"); in displaysock() 1124 pos += xprintf(" "); in displaysock() 1131 pos += xprintf(" "); in displaysock() [all …]
|
/freebsd/sbin/pfctl/ |
H A D | pfctl_table.c | 67 static void xprintf(int, const char *, ...); 100 xprintf(opts, "%d table created", nadd); \ 162 xprintf(opts, "%d tables deleted", ndel); in pfctl_table() 197 xprintf(opts, "%d table deleted", ndel); in pfctl_table() 202 xprintf(opts, "%d addresses deleted", ndel); in pfctl_table() 212 xprintf(opts, "%d/%d addresses added", nadd, b.pfrb_size); in pfctl_table() 226 xprintf(opts, "%d/%d addresses deleted", ndel, b.pfrb_size); in pfctl_table() 251 xprintf(opts, "%d addresses added", nadd); in pfctl_table() 253 xprintf(opts, "%d addresses deleted", ndel); in pfctl_table() 255 xprintf(opts, "%d addresses changed", nchange); in pfctl_table() [all …]
|