bwritef 48 src/cmd/dist/a.h void bwritef(Buf *b, char *fmt, ...); bwritef 942 src/cmd/dist/build.c bwritef(&b, "_%s_%s.c", goos, goarch); bwritef 1286 src/cmd/dist/build.c bwritef(&bdst, "%-16.16s%-12d%-6d%-6d%-8o%-10d`\n", p, 0, 0, 0, 0644, b.len); bwritef 287 src/cmd/dist/buildruntime.c bwritef(&out, bwritef 297 src/cmd/dist/buildruntime.c bwritef(&out, "\tCALL\truntime·callbackasm1(SB)\n"); bwritef 299 src/cmd/dist/buildruntime.c bwritef(&out, "\tRET\n"); bwritef 470 src/cmd/dist/goc2c.c bwritef(output, "\n"); bwritef 475 src/cmd/dist/goc2c.c bwritef(output, "\n"); bwritef 477 src/cmd/dist/goc2c.c bwritef(output, "\n#line %d \"%s\"\n", lineno, file); bwritef 480 src/cmd/dist/goc2c.c bwritef(output, "%s ", token); bwritef 516 src/cmd/dist/goc2c.c bwritef(output, ", "); bwritef 517 src/cmd/dist/goc2c.c bwritef(output, "%s %s", p->type, p->name); bwritef 529 src/cmd/dist/goc2c.c bwritef(output, "void\n"); bwritef 531 src/cmd/dist/goc2c.c bwritef(output, "%s·", package); bwritef 532 src/cmd/dist/goc2c.c bwritef(output, "%s(", name); bwritef 541 src/cmd/dist/goc2c.c bwritef(output, ", uint8"); bwritef 543 src/cmd/dist/goc2c.c bwritef(output, ", uint16"); bwritef 545 src/cmd/dist/goc2c.c bwritef(output, ", uint32"); bwritef 549 src/cmd/dist/goc2c.c bwritef(output, ")\n{\n"); bwritef 555 src/cmd/dist/goc2c.c bwritef(output, "\t%s.array = 0;\n\t%s.len = 0;\n\t%s.cap = 0;\n", p->name, p->name, p->name); bwritef 557 src/cmd/dist/goc2c.c bwritef(output, "\t%s.str = 0;\n\t%s.len = 0;\n", p->name, p->name); bwritef 559 src/cmd/dist/goc2c.c bwritef(output, "\t%s.type = 0;\n\t%s.data = 0;\n", p->name, p->name); bwritef 561 src/cmd/dist/goc2c.c bwritef(output, "\t%s.tab = 0;\n\t%s.data = 0;\n", p->name, p->name); bwritef 563 src/cmd/dist/goc2c.c bwritef(output, "\t%s.real = 0;\n\t%s.imag = 0;\n", p->name, p->name); bwritef 565 src/cmd/dist/goc2c.c bwritef(output, "\t%s = 0;\n", p->name); bwritef 566 src/cmd/dist/goc2c.c bwritef(output, "\tFLUSH(&%s);\n", p->name); bwritef 578 src/cmd/dist/goc2c.c bwritef(output, "\tFLUSH(&%s);\n", p->name); bwritef 579 src/cmd/dist/goc2c.c bwritef(output, "}\n"); bwritef 590 src/cmd/dist/goc2c.c bwritef(output, "struct %s_%s_ret {\n", package, name); bwritef 592 src/cmd/dist/goc2c.c bwritef(output, " %s %s;\n", p->type, p->name); bwritef 593 src/cmd/dist/goc2c.c bwritef(output, "};\n"); bwritef 601 src/cmd/dist/goc2c.c bwritef(output, "void"); bwritef 603 src/cmd/dist/goc2c.c bwritef(output, "%s", rets->type); bwritef 605 src/cmd/dist/goc2c.c bwritef(output, "struct %s_%s_ret", package, name); bwritef 618 src/cmd/dist/goc2c.c bwritef(output, " %s_%s(", package, name); bwritef 621 src/cmd/dist/goc2c.c bwritef(output, ") asm (\"%s.%s\");\n", package, name); bwritef 623 src/cmd/dist/goc2c.c bwritef(output, " %s_%s(", package, name); bwritef 626 src/cmd/dist/goc2c.c bwritef(output, ")\n{\n"); bwritef 628 src/cmd/dist/goc2c.c bwritef(output, " %s %s;\n", p->type, p->name); bwritef 639 src/cmd/dist/goc2c.c bwritef(output, "return %s;\n", rets->name); bwritef 643 src/cmd/dist/goc2c.c bwritef(output, " {\n struct %s_%s_ret __ret;\n", package, name); bwritef 645 src/cmd/dist/goc2c.c bwritef(output, " __ret.%s = %s;\n", p->name, p->name); bwritef 646 src/cmd/dist/goc2c.c bwritef(output, " return __ret;\n }\n"); bwritef 648 src/cmd/dist/goc2c.c bwritef(output, "}\n"); bwritef 661 src/cmd/dist/goc2c.c bwritef(output, "#line %d \"%s\"\n", lineno, file);