snprint 106 include/fmt.h int snprint(char *buf, int len, char *fmt, ...); snprint 1370 src/cmd/cc/com.c snprint(xbuf, sizeof xbuf, "%lld", x.b); snprint 1372 src/cmd/cc/com.c snprint(xbuf, sizeof xbuf, "%#llux", x.b); snprint 1374 src/cmd/cc/com.c snprint(xbuf, sizeof xbuf, "%#llx", x.b); snprint 1376 src/cmd/cc/com.c snprint(cmpbuf, sizeof cmpbuf, "%s %s %T", snprint 1379 src/cmd/cc/com.c snprint(cmpbuf, sizeof cmpbuf, "%T %s %s", snprint 153 src/cmd/cc/dcl.c snprint(symb, NSYMB, "%s$%d", s->name, s->block); snprint 46 src/cmd/cc/pgen.c snprint(namebuf, sizeof(namebuf), namefmt, nsym++); snprint 150 src/cmd/gc/closure.c snprint(namebuf, sizeof namebuf, "func·%.3d", ++closgen); snprint 239 src/cmd/gc/closure.c snprint(buf, sizeof buf, "A%d", narg++); snprint 338 src/cmd/gc/closure.c snprint(namebuf, sizeof namebuf, "a%d", i++); snprint 355 src/cmd/gc/closure.c snprint(namebuf, sizeof namebuf, "r%d", i++); snprint 647 src/cmd/gc/dcl.c snprint(namebuf, sizeof(namebuf), "~r%d", gen++); snprint 666 src/cmd/gc/dcl.c snprint(namebuf, sizeof(namebuf), "~b%d", gen++); snprint 243 src/cmd/gc/esc.c snprint(buf, sizeof buf, "esc:0x%x", mask); snprint 974 src/cmd/gc/esc.c snprint(buf, sizeof buf, ".dum%d", i++); snprint 91 src/cmd/gc/gen.c snprint(buf, sizeof buf, "&%S", n->sym); snprint 944 src/cmd/gc/gen.c snprint(namebuf, sizeof(namebuf), "autotmp_%.4d", statuniqgen); snprint 21 src/cmd/gc/init.c snprint(namebuf, sizeof(namebuf), "init·%d", ++initgen); snprint 72 src/cmd/gc/init.c snprint(namebuf, sizeof(namebuf), "init·1"); snprint 113 src/cmd/gc/init.c snprint(namebuf, sizeof(namebuf), "initdone·"); snprint 119 src/cmd/gc/init.c snprint(namebuf, sizeof(namebuf), "init"); snprint 170 src/cmd/gc/init.c snprint(namebuf, sizeof(namebuf), "init·%d", i); snprint 822 src/cmd/gc/inl.c snprint(namebuf, sizeof(namebuf), "~r%d", i); snprint 839 src/cmd/gc/inl.c snprint(namebuf, sizeof(namebuf), "~arg%d", i); snprint 856 src/cmd/gc/inl.c snprint(namebuf, sizeof(namebuf), ".inlret%.6d", label); snprint 618 src/cmd/gc/lex.c snprint(namebuf, sizeof(namebuf), "%Z.a", name); snprint 621 src/cmd/gc/lex.c snprint(namebuf, sizeof(namebuf), "%Z.%c", name, thechar); snprint 640 src/cmd/gc/lex.c snprint(namebuf, sizeof(namebuf), "%s/%Z.a", p->dir, name); snprint 643 src/cmd/gc/lex.c snprint(namebuf, sizeof(namebuf), "%s/%Z.%c", p->dir, name, thechar); snprint 657 src/cmd/gc/lex.c snprint(namebuf, sizeof(namebuf), "%s/pkg/%s_%s%s%s/%Z.a", goroot, goos, goarch, suffixsep, suffix, name); snprint 660 src/cmd/gc/lex.c snprint(namebuf, sizeof(namebuf), "%s/pkg/%s_%s%s%s/%Z.%c", goroot, goos, goarch, suffixsep, suffix, name, thechar); snprint 2229 src/cmd/gc/lex.c snprint(buf, sizeof(buf), "LEX-%d", lex); snprint 2401 src/cmd/gc/lex.c snprint(namebuf, sizeof(namebuf), "%s", p); snprint 17 src/cmd/gc/mparith1.c snprint(buf, sizeof(buf), "%B", a); snprint 28 src/cmd/gc/mparith1.c snprint(buf, sizeof(buf), "%B", b); snprint 619 src/cmd/gc/mparith1.c snprint(buf, sizeof(buf), "0p+0"); snprint 634 src/cmd/gc/mparith1.c snprint(buf, sizeof(buf), "%#Bp+%d", &fv.val, fv.exp); snprint 637 src/cmd/gc/mparith1.c snprint(buf, sizeof(buf), "%#Bp-%d", &fv.val, -fv.exp); snprint 23 src/cmd/gc/obj.c snprint(arhdr, ArhdrSize, "%-16s%-12d%-6d%-6d%-8o%-10lld`", snprint 98 src/cmd/gc/obj.c snprint(namebuf, sizeof namebuf, "_go_.%c", thechar); snprint 217 src/cmd/gc/obj.c snprint(namebuf, sizeof(namebuf), ".gostring.%d", ++gen); snprint 226 src/cmd/gc/obj.c snprint(namebuf, sizeof(namebuf), "\"%Z\"", &tmp.lit); snprint 264 src/cmd/gc/obj.c snprint(namebuf, sizeof(namebuf), ".gobytes.%d", ++gen); snprint 26 src/cmd/gc/pgen.c snprint(namebuf, sizeof(namebuf), namefmt, nsym++); snprint 95 src/cmd/gc/racewalk.c snprint(s, sizeof(s), "after racewalk %S", fn->nname->sym); snprint 97 src/cmd/gc/racewalk.c snprint(s, sizeof(s), "enter %S", fn->nname->sym); snprint 99 src/cmd/gc/racewalk.c snprint(s, sizeof(s), "exit %S", fn->nname->sym); snprint 1265 src/cmd/gc/reflect.c snprint(buf, sizeof buf, "memcopy%d", (int)t->width*8); snprint 505 src/cmd/gc/sinit.c snprint(namebuf, sizeof(namebuf), "statictmp_%.4d", statuniqgen); snprint 2452 src/cmd/gc/subr.c snprint(buf, sizeof buf, ".anon%d", gen++); snprint 2882 src/cmd/gc/subr.c snprint(buf, sizeof buf, "memequal%d", (int)size*8); snprint 247 src/cmd/gc/swt.c snprint(namebuf, sizeof(namebuf), "%.6d", label); snprint 108 src/cmd/gc/typecheck.c snprint(buf, sizeof buf, "etype=%d", et); snprint 1155 src/cmd/gc/typecheck.c if(snprint(descbuf, sizeof descbuf, "argument to %N", n->left) < sizeof descbuf) snprint 43 src/cmd/gc/walk.c snprint(s, sizeof(s), "\nbefore %S", curfn->nname->sym); snprint 80 src/cmd/gc/walk.c snprint(s, sizeof(s), "after walk %S", curfn->nname->sym); snprint 85 src/cmd/gc/walk.c snprint(s, sizeof(s), "enter %S", curfn->nname->sym); snprint 2535 src/cmd/gc/walk.c snprint(namebuf, sizeof(namebuf), "concatstring%d", c); snprint 1091 src/cmd/ld/dwarf.c snprint(ptrname, sizeof ptrname, "*%s", getattr(dwtype, DW_AT_name)->data); snprint 1186 src/cmd/ld/dwarf.c snprint(buf, sizeof buf, "%s<%s>", base, arg1); snprint 1188 src/cmd/ld/dwarf.c snprint(buf, sizeof buf, "%s<%s,%s>", base, arg1, arg2); snprint 1411 src/cmd/ld/dwarf.c snprint(gdbscript, sizeof gdbscript, "%sruntime/runtime-gdb.py", f->name); snprint 1474 src/cmd/ld/dwarf.c snprint(buf, sizeof buf, "%s#%d", name, da); snprint 814 src/cmd/ld/elf.c snprint(buf, sizeof buf, "%s%s", prefix, sect->name); snprint 163 src/cmd/ld/lib.c snprint(pname, sizeof pname, "%s/%s.a", ctxt->libdir[i], name); snprint 399 src/cmd/ld/lib.c snprint(pname, sizeof pname, "%s(%.*s)", file, utfnlen(arhdr.name, l), arhdr.name); snprint 297 src/cmd/ld/macho.c snprint(buf, sizeof buf, "__%s", sect->name+1); snprint 79 src/lib9/_p9dir.c snprint(tmp, sizeof tmp, "%d", (int)st->st_uid); snprint 93 src/lib9/_p9dir.c snprint(tmp, sizeof tmp, "%d", (int)st->st_gid); snprint 20 src/lib9/ctime.c snprint(buf, sizeof buf, "%3.3s %3.3s %02d %02d:%02d:%02d %3.3s %d\n", snprint 46 src/lib9/dirfstat.c snprint(tmp, sizeof tmp, "/dev/fd/%d", fd); snprint 65 src/liblink/ld.c snprint(pname, sizeof pname, "%s", name); snprint 69 src/liblink/ld.c snprint(pname, sizeof pname, "%s/%s", ctxt->libdir[i], name); snprint 187 src/liblink/obj.c snprint(buf, sizeof buf, "%s", file); snprint 189 src/liblink/obj.c snprint(buf, sizeof buf, "%s/%s", ctxt->pathname, file); snprint 196 src/liblink/obj.c snprint(buf1, sizeof buf1, "%s", buf+strlen(ctxt->trimpath)+1); snprint 202 src/liblink/obj.c snprint(buf1, sizeof buf1, "%s%s", ctxt->goroot_final, buf+strlen(ctxt->goroot)); snprint 82 src/liblink/sym.c snprint(buf, sizeof buf, "%d", v);