/prebuilts/go/linux-x86/src/cmd/fix/ |
main.go | 178 // redundant, but it is necessary to generate gofmt-compatible 179 // source code in a few cases. The official gofmt style is the 208 func gofmt(n interface{}) string { func
|
/prebuilts/go/darwin-x86/src/cmd/compile/internal/gc/testdata/gen/ |
copyGen.go | 115 // gofmt result
|
zeroGen.go | 138 // gofmt result
|
arithBoundaryGen.go | 202 // gofmt result
|
arithConstGen.go | 318 // gofmt result
|
cmpConstGen.go | 235 // gofmt result
|
constFoldGen.go | 294 // gofmt result
|
/prebuilts/go/darwin-x86/src/cmd/go/internal/work/ |
buildid.go | 66 // binaries. For a binary, like cmd/gofmt, there are two steps: compile 67 // cmd/gofmt/*.go into main.a, and then link main.a into the gofmt binary. 68 // We do not install gofmt's main.a, only the gofmt binary. Being able to 69 // decide that the gofmt binary is up-to-date means computing the action ID 70 // for the final link of the gofmt binary and comparing it against the 71 // already-installed gofmt binary. But computing the action ID for the link 85 // During the build, when it's time to build main.a, the gofmt binary has the
|
/prebuilts/go/darwin-x86/src/sort/ |
genzfunc.go | 78 // Final gofmt.
|
/prebuilts/go/darwin-x86/src/unicode/ |
maketables.go | 81 var output *bufio.Writer // points to os.Stdout or to "gofmt > outputFile" 87 // startGofmt connects output to a gofmt process if -output is set. 96 // Pipe output to gofmt. 97 gofmt := exec.Command("gofmt") 98 fd, err := gofmt.StdinPipe() 102 gofmt.Stdout = stdout 103 gofmt.Stderr = os.Stderr 104 err = gofmt.Start() [all...] |
/prebuilts/go/linux-x86/src/cmd/compile/internal/gc/testdata/gen/ |
copyGen.go | 115 // gofmt result
|
zeroGen.go | 138 // gofmt result
|
arithBoundaryGen.go | 202 // gofmt result
|
/prebuilts/go/linux-x86/src/cmd/go/internal/work/ |
buildid.go | 66 // binaries. For a binary, like cmd/gofmt, there are two steps: compile 67 // cmd/gofmt/*.go into main.a, and then link main.a into the gofmt binary. 68 // We do not install gofmt's main.a, only the gofmt binary. Being able to 69 // decide that the gofmt binary is up-to-date means computing the action ID 70 // for the final link of the gofmt binary and comparing it against the 71 // already-installed gofmt binary. But computing the action ID for the link 85 // During the build, when it's time to build main.a, the gofmt binary has the
|
/prebuilts/go/linux-x86/src/sort/ |
genzfunc.go | 78 // Final gofmt.
|
/prebuilts/go/linux-x86/src/unicode/ |
maketables.go | 81 var output *bufio.Writer // points to os.Stdout or to "gofmt > outputFile" 87 // startGofmt connects output to a gofmt process if -output is set. 96 // Pipe output to gofmt. 97 gofmt := exec.Command("gofmt") 98 fd, err := gofmt.StdinPipe() 102 gofmt.Stdout = stdout 103 gofmt.Stderr = os.Stderr 104 err = gofmt.Start() [all...] |
/tools/repohooks/rh/ |
hooks.py | 443 """Checks that Go files are formatted with gofmt.""" 448 gofmt = options.tool_path('gofmt') 449 cmd = [gofmt, '-l'] + options.args((), filtered) 456 'gofmt', project, commit, error=result.output, 549 'gofmt': check_gofmt, 562 'gofmt': 'gofmt',
|
/prebuilts/go/darwin-x86/src/cmd/vet/ |
print.go | 609 f.Badf(call.Pos(), "%s format %s uses non-int %s as argument of *", state.name, state.format, f.gofmt(arg)) 622 f.Badf(call.Pos(), "%s format %s arg %s is a func value, not called", state.name, state.format, f.gofmt(arg)) 630 f.Badf(call.Pos(), "%s format %s has arg %s of wrong type %s", state.name, state.format, f.gofmt(arg), typeString) 634 f.Badf(call.Pos(), "%s format %s with arg %s causes recursive String method call", state.name, state.format, f.gofmt(arg)) 763 f.Badf(call.Pos(), "%s does not take io.Writer but has first arg %s", name, f.gofmt(call.Args[0])) 793 f.Badf(call.Pos(), "%s arg %s is a func value, not called", name, f.gofmt(arg)) 796 f.Badf(call.Pos(), "%s arg %s causes recursive call to String method", name, f.gofmt(arg))
|
types.go | 192 f.Warnf(arg.Pos(), "printf argument %v is pointer to invalid or unknown type", f.gofmt(arg)) 261 f.Warnf(arg.Pos(), "printf argument %v has invalid or unknown type", f.gofmt(arg))
|
/prebuilts/go/linux-x86/src/cmd/vet/ |
print.go | 609 f.Badf(call.Pos(), "%s format %s uses non-int %s as argument of *", state.name, state.format, f.gofmt(arg)) 622 f.Badf(call.Pos(), "%s format %s arg %s is a func value, not called", state.name, state.format, f.gofmt(arg)) 630 f.Badf(call.Pos(), "%s format %s has arg %s of wrong type %s", state.name, state.format, f.gofmt(arg), typeString) 634 f.Badf(call.Pos(), "%s format %s with arg %s causes recursive String method call", state.name, state.format, f.gofmt(arg)) 763 f.Badf(call.Pos(), "%s does not take io.Writer but has first arg %s", name, f.gofmt(call.Args[0])) 793 f.Badf(call.Pos(), "%s arg %s is a func value, not called", name, f.gofmt(arg)) 796 f.Badf(call.Pos(), "%s arg %s causes recursive call to String method", name, f.gofmt(arg))
|
types.go | 192 f.Warnf(arg.Pos(), "printf argument %v is pointer to invalid or unknown type", f.gofmt(arg)) 261 f.Warnf(arg.Pos(), "printf argument %v has invalid or unknown type", f.gofmt(arg))
|
/build/blueprint/bpfmt/ |
bpfmt.go | 1 // Mostly copied from Go's src/cmd/gofmt:
|
/build/blueprint/bpmodify/ |
bpmodify.go | 1 // Mostly copied from Go's src/cmd/gofmt:
|
/prebuilts/go/darwin-x86/src/go/format/ |
internal.go | 5 // TODO(gri): This file and the file src/cmd/gofmt/internal.go are 47 // Gofmt has turned the ';' into a '\n'. 75 // Gofmt has turned the ';' into a '\n'. 82 // Gofmt has also indented the function body one level.
|
/prebuilts/go/darwin-x86/src/go/parser/ |
error_test.go | 8 // .src rather than .go so that they are not disturbed by gofmt runs.
|