bprintf 47 src/cmd/dist/a.h char* bprintf(Buf *b, char *fmt, ...); bprintf 102 src/cmd/dist/build.c bprintf(&b, "%s%sbin", goroot, slash); bprintf 140 src/cmd/dist/build.c bprintf(&b, "%c", gochars[i]); bprintf 150 src/cmd/dist/build.c bprintf(&b, "%c", gochars[i]); bprintf 168 src/cmd/dist/build.c bprintf(&b, "clang"); bprintf 170 src/cmd/dist/build.c bprintf(&b, "gcc"); bprintf 182 src/cmd/dist/build.c bprintf(&b, defaultcc); bprintf 191 src/cmd/dist/build.c bprintf(&b, "clang++"); bprintf 193 src/cmd/dist/build.c bprintf(&b, "g++"); bprintf 307 src/cmd/dist/build.c bprintf(&b, "branch.%s", bstr(&branch)); bprintf 318 src/cmd/dist/build.c bprintf(&b, "%s", tag); bprintf 431 src/cmd/dist/build.c if(isfile(bprintf(&b, "%s%s%c%s", gobin, slash, gochars[i], "g"))) { bprintf 433 src/cmd/dist/build.c xremove(bprintf(&b, "%s%s%s", gobin, slash, oldtool[i])); bprintf 680 src/cmd/dist/build.c bprintf(&b, "%s %s", defaultcc, defaultcflags); bprintf 702 src/cmd/dist/build.c bprintf(&b, "%s", defaultldflags); bprintf 733 src/cmd/dist/build.c p = bprintf(&b, "%s/pkg/%s_%s/%s", goroot, goos, goarch, dir+4); bprintf 750 src/cmd/dist/build.c vadd(&link, bprintf(&b, "%sl", gohostchar)); bprintf 810 src/cmd/dist/build.c bprintf(&b, "%s", p); bprintf 940 src/cmd/dist/build.c bprintf(&b, "%s%sz%s", bstr(&path), slash, lastelem(p)); bprintf 966 src/cmd/dist/build.c vadd(&compile, bprintf(&b, "%sc", gohostchar)); bprintf 995 src/cmd/dist/build.c vadd(&compile, bprintf(&b, "GOOS=\"%s\"", goos)); bprintf 997 src/cmd/dist/build.c vadd(&compile, bprintf(&b, "GOARCH=\"%s\"", goarch)); bprintf 998 src/cmd/dist/build.c bprintf(&b1, "%s", goroot_final); bprintf 1001 src/cmd/dist/build.c vadd(&compile, bprintf(&b, "GOROOT=\"%s\"", bstr(&b1))); bprintf 1003 src/cmd/dist/build.c vadd(&compile, bprintf(&b, "GOVERSION=\"%s\"", goversion)); bprintf 1005 src/cmd/dist/build.c vadd(&compile, bprintf(&b, "GOARM=\"%s\"", goarm)); bprintf 1007 src/cmd/dist/build.c vadd(&compile, bprintf(&b, "GO386=\"%s\"", go386)); bprintf 1009 src/cmd/dist/build.c vadd(&compile, bprintf(&b, "GO_EXTLINK_ENABLED=\"%s\"", goextlinkenabled)); bprintf 1016 src/cmd/dist/build.c vadd(&compile, bprintf(&b1, "GOEXPERIMENT=\"%s\"", bstr(&b))); bprintf 1031 src/cmd/dist/build.c vadd(&compile, bprintf(&b, "%s/pkg/%s_%s", goroot, goos, goarch)); bprintf 1033 src/cmd/dist/build.c vadd(&compile, bprintf(&b, "GOOS_%s", goos)); bprintf 1035 src/cmd/dist/build.c vadd(&compile, bprintf(&b, "GOARCH_%s", goarch)); bprintf 1037 src/cmd/dist/build.c vadd(&compile, bprintf(&b, "GOOS_GOARCH_%s_%s", goos, goarch)); bprintf 1556 src/cmd/dist/build.c bprintf(&b1, "%s%s%s", gobin, sep, bstr(&b)); bprintf 1611 src/cmd/dist/build.c install(bprintf(&b, buildorder[i], gohostchar)); bprintf 1613 src/cmd/dist/build.c install(bprintf(&b, buildorder[i], oldgochar)); bprintf 1740 src/cmd/dist/build.c bprintf(&b, "/proc/%s/ns", pid); bprintf 1743 src/cmd/dist/build.c bprintf(&search, "bind -b %s /bin\n", gobin); bprintf 1752 src/cmd/dist/build.c bprintf(&b1, "%s%s%s", pathsep, bstr(&b), pathsep); bprintf 1753 src/cmd/dist/build.c bprintf(&search, "%s%s%s", pathsep, gobin, pathsep); bprintf 29 src/cmd/dist/buildgc.c bwritestr(&out, bprintf(&b, "// auto generated by go tool dist\n")); bprintf 30 src/cmd/dist/buildgc.c bwritestr(&out, bprintf(&b, "static char *opnames[] = {\n")); bprintf 32 src/cmd/dist/buildgc.c readfile(&in, bprintf(&b, "%s/go.h", dir)); bprintf 51 src/cmd/dist/buildgc.c bwritestr(&out, bprintf(&b, " [O%s] = \"%s\",\n", q, q)); bprintf 55 src/cmd/dist/buildgc.c bwritestr(&out, bprintf(&b, "};\n")); bprintf 82 src/cmd/dist/buildgc.c bprintf(&b, "%s/../cmd/%cl/%c.out.h", dir, ch, ch); bprintf 85 src/cmd/dist/buildgc.c bprintf(&out, "char* anames%c[] = {\n", ch); bprintf 95 src/cmd/dist/buildgc.c bwritestr(&out, bprintf(&b, "\t\"%s\",\n", p)); bprintf 27 src/cmd/dist/buildgo.c bprintf(&out, bprintf 27 src/cmd/dist/buildruntime.c bwritestr(&out, bprintf(&b, bprintf 57 src/cmd/dist/buildruntime.c bwritestr(&out, bprintf(&b, bprintf 84 src/cmd/dist/buildruntime.c bwritestr(&out, bprintf(&b, bprintf 112 src/cmd/dist/buildruntime.c bwritestr(&out, bprintf(&b, bprintf 190 src/cmd/dist/buildruntime.c vadd(&argv, bprintf(&b, "GOOS_%s", goos)); bprintf 192 src/cmd/dist/buildruntime.c vadd(&argv, bprintf(&b, "GOARCH_%s", goarch)); bprintf 194 src/cmd/dist/buildruntime.c vadd(&argv, bprintf(&b, "%s", workdir)); bprintf 241 src/cmd/dist/buildruntime.c bwritestr(&out, bprintf(&b, "#define %s_%s %s\n", aggr, fields.p[n-1], fields.p[n-2])); bprintf 247 src/cmd/dist/buildruntime.c bwritestr(&out, bprintf(&b, "#define const_%s %s\n", fields.p[0], p)); bprintf 253 src/cmd/dist/buildruntime.c bwritestr(&out, bprintf(&b, "#define cb_max %d\n", MAXWINCB)); bprintf 257 src/cmd/dist/buildruntime.c bwritestr(&out, bprintf(&b, "#define GOEXPERIMENT \"%s\"\n", bstr(&exp))); bprintf 261 src/cmd/dist/buildruntime.c writefile(&out, bprintf(&b, "%s/zasm_GOOS_GOARCH.h", workdir), 0); bprintf 350 src/cmd/dist/buildruntime.c vadd(&argv, bprintf(&b, "GOOS_%s", goos)); bprintf 352 src/cmd/dist/buildruntime.c vadd(&argv, bprintf(&b, "GOARCH_%s", goarch)); bprintf 354 src/cmd/dist/buildruntime.c vadd(&argv, bprintf(&b, "%s", workdir)); bprintf 825 src/cmd/dist/goc2c.c bprintf(&out, "// auto generated by go tool dist\n// goos=%s goarch=%s\n\n", goos, goarch); bprintf 443 src/cmd/dist/plan9.c bprintf(&b, "%s/%s", p, dir.p[i]); bprintf 488 src/cmd/dist/plan9.c bprintf(&b, "/tmp/go-cbuild-%06x", nrand((1<<24)-1)); bprintf 421 src/cmd/dist/unix.c bprintf(&b, "%s/%s", p, dir.p[i]); bprintf 692 src/cmd/dist/windows.c bprintf(&b, "%s/%s", p, dir.p[i]);