/titanic_50/usr/src/lib/libast/common/hash/ |
H A D | hashdump.c | 39 if (flags & HASH_ALLOCATE) sfprintf(sfstderr, "allocate "); in dumpflags() 40 if (flags & HASH_BUCKET) sfprintf(sfstderr, "bucket "); in dumpflags() 41 if (flags & HASH_FIXED) sfprintf(sfstderr, "fixed "); in dumpflags() 42 if (flags & HASH_HASHED) sfprintf(sfstderr, "hashed "); in dumpflags() 43 if (flags & HASH_RESIZE) sfprintf(sfstderr, "resize "); in dumpflags() 44 if (flags & HASH_STATIC) sfprintf(sfstderr, "static "); in dumpflags() 45 if (flags & HASH_VALUE) sfprintf(sfstderr, "value "); in dumpflags() 71 sfprintf(sfstderr, "%5d %2d :", sp - tab->table, n); in dumpbucket() 77 sfprintf(sfstderr, " 0x"); in dumpbucket() 80 sfprintf(sfstderr, "%02x", *s++); in dumpbucket() [all …]
|
/titanic_50/usr/src/cmd/ast/msgcc/ |
H A D | msgcvt.c | 414 sfprintf(op, "<"); in encode() 416 sfprintf(op, ">"); in encode() 418 sfprintf(op, """); in encode() 420 sfprintf(op, "&"); in encode() 422 sfprintf(op, "["); in encode() 424 sfprintf(op, "]"); in encode() 437 …sfprintf(op, "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\"><HTML><HEAD><!-- text massaged fo… in msg2html() 438 sfprintf(op, "<OL START=\"550717\">\n"); in msg2html() 444 sfprintf(op, "<P>"); in msg2html() 450 sfprintf(op, "<P>"); in msg2html() [all …]
|
H A D | msgcpp.c | 242 sfprintf(sfstdout, "str \"%s\"\n", pp.token); in main() 249 sfprintf(sfstdout, "var %s %s\n", pp.token, s); in main() 251 sfprintf(sfstdout, "var %s\n", s); in main() 256 sfprintf(sfstdout, "cmd %s\n", s + 2); in main() 272 sfprintf(sfstdout, "def %s \"%s\"\n", s, pp.token); in main() 273 sfprintf(tmp, "#define %s \"%s\"\n", s, pp.token); in main()
|
/titanic_50/usr/src/lib/libast/common/comp/ |
H A D | fmtmsglib.c | 249 sfprintf(sp, "%*.*s:", n, n, s); 253 sfprintf(sp, "%*.*s", n, n, s); 259 sfprintf(sp, "%*.*s", n, n, s); 293 sfprintf(sp, "%s: ", lab); 295 sfprintf(sp, "%s: ", s); 298 sfprintf(sp, "%s\n", text); 303 sfprintf(sp, "%*.*s", n, n, ""); 304 sfprintf(sp, "TO FIX:"); 306 sfprintf(sp, " %s", action); 309 sfprintf(sp, " "); [all …]
|
H A D | syslog.c | 319 sfprintf(sp, " %-8s ", s); 324 sfprintf(sp, " %-8s ", s); 329 sfprintf(sp, " %s", log.host); 332 sfprintf(sp, " %s", log.ident); 336 sfprintf(sp, " "); 337 sfprintf(sp, "[%d]", getpid()); 341 sfprintf(sp, ": "); 347 sfprintf(sp, "%!", &fmt);
|
H A D | getoptl.c | 53 sfprintf(up, "[-1p%d]", flags); in golly() 58 sfprintf(up, "\n[%d:%s]", UCHAR_MAX + 1 + (o - longopts), o->name); in golly() 61 sfprintf(up, "\n[%c:%s]", o->val, o->name); in golly() 78 sfprintf(up, "[string]"); in golly() 85 sfprintf(up, "\n[%c]", c); in golly()
|
H A D | catopen.c | 81 sfprintf(sfstderr, "AHA#%d:%s %s\n", __LINE__, __FILE__, name); in _ast_catopen() 86 sfprintf(sfstderr, "AHA#%d:%s %s\n", __LINE__, __FILE__, s); in _ast_catopen() 122 sfprintf(sfstderr, "AHA#%d:%s %s %s native %p\n", __LINE__, __FILE__, s, name, cc->cat); in _ast_catopen()
|
/titanic_50/usr/src/lib/libcmd/common/ |
H A D | id.c | 155 if (flags > 0) sfprintf(sp, "%s", s); in getfsids() 162 if (flags < 0) sfprintf(sp, "%u", fs->fs_id); in getfsids() 163 else sfprintf(sp, "%u(%s)", fs->fs_id, s); in getfsids() 180 sfprintf(sp, "%s=", label); in putid() 184 else sfprintf(sp, "%lu", number); in putid() 188 sfprintf(sp, "%u", number); in putid() 189 if (name) sfprintf(sp, "(%s)", name); in putid() 318 sfprintf(sp, "%s", grp->gr_name); in getids() 319 else sfprintf(sp, "%u(%s)", grp->gr_gid, grp->gr_name); in getids() 345 if (flags & O_FLAG) sfprintf(sp, "%s", grp->gr_name); in getids() [all …]
|
H A D | stty.c | 448 sfprintf(sfstdout,":%x",sp->c_iflag); in gout() 449 sfprintf(sfstdout,":%x",sp->c_oflag); in gout() 450 sfprintf(sfstdout,":%x",sp->c_cflag); in gout() 451 sfprintf(sfstdout,":%x",sp->c_lflag); in gout() 453 sfprintf(sfstdout,":%x",sp->c_cc[i]); in gout() 455 sfprintf(sfstdout,":%x", sp->c_line); in gout() 457 sfprintf(sfstdout,":%x", 0); in gout() 459 sfprintf(sfstdout,":%x",cfgetispeed(sp)); in gout() 460 sfprintf(sfstdout,":%x",cfgetospeed(sp)); in gout() 461 sfprintf(sfstdout,":\n"); in gout() [all …]
|
H A D | wc.c | 77 sfprintf(sfstdout," %7I*d",sizeof(wp->lines),wp->lines); in printout() 79 sfprintf(sfstdout," %7I*d",sizeof(wp->words),wp->words); in printout() 81 sfprintf(sfstdout," %7I*d",sizeof(wp->chars),wp->chars); in printout() 83 sfprintf(sfstdout," %7I*d",sizeof(wp->chars),wp->longest); in printout() 85 sfprintf(sfstdout," %s",name); in printout()
|
H A D | grep.c | 334 sfprintf(sfstdout, "%s:", error_info.file); in record() 336 sfprintf(sfstdout, "%s:", item->string); in record() 401 sfprintf(sfstdout, "%s:", name); in execute() 403 sfprintf(sfstdout, "%d:", error_info.line); in execute() 404 sfprintf(sfstdout, "%s:", x->string); in execute() 422 sfprintf(sfstdout, "%s:", name); in execute() 424 sfprintf(sfstdout, "%d:", error_info.line); in execute() 553 sfprintf(sfstdout, "%s:", name); in execute() 554 sfprintf(sfstdout, "%I*u\n", sizeof(hits), hits); in execute() 562 sfprintf(sfstdout, "%s\n", name); in execute() [all …]
|
H A D | date.c | 374 …sfprintf(sfstdout, "%3s %4s %4s %4d %4d\n", s, *listzones->standard ? listzones->standard : "-", l… in b_date() 406 sfprintf(sfstdout, "%lu\n", u); in b_date() 435 sfprintf(sfstdout, "%s: %s\n", s, buf); in b_date() 437 sfprintf(sfstdout, "%s\n", buf); in b_date() 463 sfprintf(sfstdout, "%s\n", buf); in b_date() 474 sfprintf(sfstdout, "%s\n", buf); in b_date()
|
H A D | fds.c | 228 sfprintf(sp, "%d\n", i); in b_fds() 252 sfprintf(sp, "%02d %s%s %s %s\n", i, m, x, fmtmode(st.st_mode, 0), s); in b_fds() 346 sfprintf(sp, "%02d %s%s %s /dev/%s/%s/%d\n", i, m, x, fmtmode(st.st_mode, 0), s, a, port); in b_fds() 348 sfprintf(sp, "%02d %s%s %s /dev/%s/%s\n", i, m, x, fmtmode(st.st_mode, 0), s, a); in b_fds() 352 …sfprintf(sp, "%02d %s%s %s /dev/inode/%u/%u\n", i, m, x, fmtmode(st.st_mode, 0), st.st_dev, st.st_… in b_fds()
|
/titanic_50/usr/src/lib/libast/common/misc/ |
H A D | error.c | 315 sfprintf(sp, ": \"%s\", %s %d", cp->file, ERROR_translate(NiL, NiL, ast.id, "line"), cp->line); in context() 317 sfprintf(sp, "[%d]", cp->line); in context() 334 sfprintf(error_state.tty, "error breakpoint: "); in error_break() 439 sfprintf(stkstd, "%s: ", error_state.prefix); in errorv() 443 sfprintf(stkstd, " "); in errorv() 445 sfprintf(stkstd, "%s: ", ERROR_translate(NiL, NiL, ast.id, "Usage")); in errorv() 459 sfprintf(stkstd, "["); in errorv() 461 sfprintf(stkstd, "%s %s%s", in errorv() 466 sfprintf(stkstd, "%s %s", in errorv() 469 sfprintf(stkstd, "]: "); in errorv() [all …]
|
H A D | translate.c | 120 sfprintf(sfstderr, "AHA#%d:%s set %d seq %d msg `%s'\n", __LINE__, __FILE__, set, seq, msg); in entry() 140 sfprintf(sfstderr, "AHA#%d:%s %s %s %s\n", __LINE__, __FILE__, locale, ocatalog, catalog); in find() 346 sfprintf(sfstderr, "AHA#%d:%s cmd %s cat %s:%s id %s msg `%s'\n", __LINE__, __FILE__, cmd, cat, err… in translate() 356 sfprintf(sfstderr, "AHA#%d:%s cp->locale `%s' %p loc `%s' %p\n", __LINE__, __FILE__, cp->locale, cp… in translate() 368 sfprintf(sfstderr, "AHA#%d:%s cp->cat %p cp->debug %d NOCAT %p\n", __LINE__, __FILE__, cp->cat, cp-… in translate() 376 sfprintf(state.tmp, "(%s,%d,%d)", cp->name, mp->set, mp->seq); in translate() 382 sfprintf(state.tmp, "(%s,%d,%d)%s", cp->name, mp->set, mp->seq, r); in translate() 394 …sfprintf(sfstderr, "translate locale=%s catalog=%s set=%d seq=%d \"%s\" => \"%s\"\n", cp->locale, … in translate() 401 …sfprintf(sfstderr, "locale %s catalog %s message %d.%d \"%s\" does not match \"%s\"\n", cp->locale… in translate() 408 sfprintf(state.tmp, "(%s,%d,%d)%s", cp->name, mp->set, mp->seq, r); in translate() [all …]
|
/titanic_50/usr/src/lib/libast/common/port/ |
H A D | astconf.c | 1209 …sfprintf(sp, "%*s %*s %d %2s %4d %6s ", sizeof(p->name), p->name, sizeof(prefix[p->standard].name)… 1213 …sfprintf(sp, "L[%s] ", (listflags & ASTCONF_quote) ? fmtquote(p->limit.string, "\"", "\"", strlen(… 1215 sfprintf(sp, "L[%I*d] ", sizeof(p->limit.number), p->limit.number); 1220 …sfprintf(sp, "M[%s] ", (listflags & ASTCONF_quote) ? fmtquote(p->minmax.string, "\"", "\"", strlen… 1222 sfprintf(sp, "M[%I*d] ", sizeof(p->minmax.number), p->minmax.number); 1225 sfprintf(sp, "error"); 1229 …sfprintf(sp, "%s", (listflags & ASTCONF_quote) ? fmtquote(s, "\"", "\"", strlen(s), FMT_SHELL) : s… 1231 sfprintf(sp, "%I*d", sizeof(v), v); 1233 sfprintf(sp, "%I*u", sizeof(v), v); 1235 sfprintf(sp, "\n"); [all …]
|
/titanic_50/usr/src/lib/libast/common/preroot/ |
H A D | setpreroot.c | 58 sfprintf(sfstderr, "+"); in setpreroot() 61 sfprintf(sfstderr, " %s", s); in setpreroot() 62 sfprintf(sfstderr, "\n"); in setpreroot()
|
/titanic_50/usr/src/lib/libpp/common/ |
H A D | pptrace.c | 231 sfprintf(sfstderr, "\n%s during io stack trace\n", s); in pptrace() 239 sfprintf(sfstderr, "\n%s - io stack trace\n", s); in pptrace() 242 sfprintf(sfstderr, "\n[%s]\n", ppinstr(p)); in pptrace() 252 if (*s) sfprintf(sfstderr, " ..."); in pptrace() 255 sfprintf(sfstderr, "\n"); in pptrace()
|
H A D | ppop.c | 284 sfprintf(sp, " %s", ppstatestr(pp.state)); in context() 818 sfprintf(sp, in ppop() 852 sfprintf(sp, "#%s #%s\n", dirname(DEFINE), pp.firstop->value); in ppop() 856 sfprintf(sp, "#%s %s\n", dirname(DEFINE), pp.firstop->value); in ppop() 860 … sfprintf(sp, "#%s %-.*s %s\n", dirname(DEFINE), s - pp.firstop->value, pp.firstop->value, s + 1); in ppop() 862 sfprintf(sp, "#%s %s 1\n", dirname(DEFINE), pp.firstop->value); in ppop() 866 sfprintf(sp, "#%s\n", pp.firstop->value); in ppop() 870 …sfprintf(sp, "#%s %s:%-.*s %s\n", dirname(PRAGMA), pp.pass, s - pp.firstop->value, pp.firstop->val… in ppop() 872 sfprintf(sp, "#%s %s:%s\n", dirname(PRAGMA), pp.pass, pp.firstop->value); in ppop() 875 sfprintf(sp, "#%s \"%s\"\n", dirname(INCLUDE), pp.firstop->value); in ppop() [all …]
|
/titanic_50/usr/src/lib/libsum/common/ |
H A D | sumlib.c | 126 sfprintf(sp, "%.*I*u", (flags & SUM_LEGACY) ? 5 : 1, sizeof(c), c); in long_print() 132 sfprintf(sp, " %*I*u", (flags & SUM_LEGACY) ? 6 : 0, sizeof(z), z); in long_print() 135 sfprintf(sp, " %*I*u", (flags & SUM_LEGACY) ? 6 : 0, sizeof(x->total_count), x->total_count); in long_print() 369 n += sfprintf(sp, "[+%s?%s]", methods[i].match, methods[i].description); in sumusage() 371 n += sfprintf(sp, "{\n%s\n}", methods[i].options); in sumusage() 374 …n += sfprintf(sp, "[+%s?%s Shorthand for \b%s\b.]", maps[i].match, maps[i].description, maps[i].ma… in sumusage()
|
/titanic_50/usr/src/lib/libshell/common/bltins/ |
H A D | ulimit.c | 57 sfprintf(sp, "[%c=%d:%s?The %s", tp->option, tp - shtab_limits + 1, tp->name, tp->description); in infof() 59 sfprintf(sp, " in %ss", e_units[tp->type]); in infof() 60 sfprintf(sp, ".]"); in infof() 191 sfprintf(sfstdout,"%-30s (-%c) ",tmp,tp->option); in b_ulimit() 202 sfprintf(sfstdout,"%I*d\n",sizeof(i),i/unit); in b_ulimit()
|
H A D | whence.c | 161 sfprintf(sfstdout,"%s%s\n",name,(flags&V_FLAG)?sh_translate(is_reserved):""); in whence() 177 sfprintf(sfstdout,msg,name); in whence() 209 sfprintf(sfstdout,"%s%s\n",name,cp); in whence() 245 sfprintf(sfstdout,"%s %s %s/%s\n",name,sh_translate(is_talias),path_pwd(0),cp); in whence() 247 sfprintf(sfstdout,"%s%s\n",name,sh_translate(is_ufunction)); in whence()
|
H A D | enum.c | 107 sfprintf(out,"\b%s\b%c",ep->values[0],0); in enuminfo() 109 sfprintf(out,"\b%s\b",ep->values[0]); in enuminfo() 114 sfprintf(out,"not "); in enuminfo() 118 sfprintf(out,", \b%s\b",v); in enuminfo() 228 sfprintf(stkstd,"%s.%s%c",NV_CLASS,np->nvname,0); in enum_create()
|
/titanic_50/usr/src/lib/libast/common/regex/ |
H A D | regdecomp.c | 101 sfprintf(sp, "\\%d", e->lo); in decomp() 118 sfprintf(sp, "\\w"); in decomp() 135 sfprintf(sp, "{%d,}", e->lo); in decomp() 138 sfprintf(sp, "{%d,%d}", e->lo, e->hi); in decomp() 282 sfprintf(sp, "%d,", e->lo); in decomp() 289 sfprintf(sp, "%d,%d", e->lo, e->hi); in decomp() 323 sfprintf(sp, "!("); in decomp() 382 sfprintf(sp, "<ERROR:REX_%d>", e->type); in decomp()
|
H A D | regnexec.c | 317 …sfprintf(sfstdout, " %-*.*sold ", (level + 3) * 4, (level + 3) * 4, "");for (oe = os; oe < oend;… in better() 374 sfprintf(sfstdout, "%d", p->rm_so); in showmatch() 379 sfprintf(sfstdout, "%d", p->rm_eo); in showmatch() 388 …sfprintf(sfstdout, "AHA better old ");for (i = 0; i <= env->nsub; i++)showmatch(&env->best[i]);sfp… in _better() 390 DEBUG_TEST(0x0040,(sfprintf(sfstdout, " %s\n", i <= 0 ? "OLD" : "NEW")),(0)); in _better() 409 …DEBUG_TEST(0x0010,(sfprintf(sfstdout, "AHA#%04d 0x%04x parserep %s %d %d %d %d `%-.*s'\n", __LINE_… in parserep() 445 DEBUG_TEST(0x0004,(sfprintf(sfstdout,"AHA#%04d 0x%04x PUSH %d (%d,%d)(%d,%d)(%d,%d) (%d,%d)(%d,%d… in parserep() 448 …DEBUG_TEST(0x0010,(sfprintf(sfstdout, "AHA#%04d 0x%04x parserep parse %d %d `%-.*s'\n", __LINE__, … in parserep() 453 DEBUG_TEST(0x0004,(sfprintf(sfstdout,"AHA#%04d 0x%04x POP %d %d (%d,%d)(%d,%d)(%d,%d) (%d,%d)(%d,%… in parserep() 820 DEBUG_TEST(0x0008,(sfprintf(sfstdout, "AHA#%04d 0x%04x parse %s `%-.*s'\n", __LINE__, debug_flag, r… in parse() [all …]
|