/prebuilts/go/darwin-x86/src/ |
bootstrap.bash | 95 rm -rf bin/gofmt
|
/prebuilts/go/darwin-x86/src/cmd/fix/ |
typecheck.go | 42 // The strings mostly use gofmt form. 143 // typeof maps AST nodes to type information in gofmt string form. 195 t := gofmt(p.Type) 200 t := gofmt(r.Type) 229 rcvr = mkType(gofmt(fn.Recv.List[0].Type)) 241 t = gofmt(fn.Type) 274 t.Field[n.Name] = gofmt(f.Type) 278 t.Def = gofmt(st) 391 fmt.Fprintf(os.Stderr, "%s: typeof[%s] = %s\n", pos, gofmt(n), t) 422 t = mkType(gofmt(n.Type) [all...] |
main_test.go | 50 t.Errorf("%s: not gofmt-formatted.\n--- %s\n%s\n--- %s | gofmt\n%s",
|
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/go/format/ |
format.go | 22 // Node formats node in canonical gofmt style and writes the result to dst. 73 // Source formats src in canonical gofmt style and returns the result 83 // version of gofmt (for instance, such as for presubmit checks) should 84 // execute that gofmt binary instead of calling Source.
|
/prebuilts/go/darwin-x86/test/fixedbugs/ |
bug274.go | 13 // Both gccgo and gofmt correctly refuse this program as is and accept it
|
/prebuilts/go/darwin-x86/test/ |
initcomma.go | 7 // Test trailing commas. DO NOT gofmt THIS FILE.
|
/prebuilts/go/linux-x86/src/ |
bootstrap.bash | 95 rm -rf bin/gofmt
|
/prebuilts/go/linux-x86/src/cmd/fix/ |
typecheck.go | 42 // The strings mostly use gofmt form. 143 // typeof maps AST nodes to type information in gofmt string form. 195 t := gofmt(p.Type) 200 t := gofmt(r.Type) 229 rcvr = mkType(gofmt(fn.Recv.List[0].Type)) 241 t = gofmt(fn.Type) 274 t.Field[n.Name] = gofmt(f.Type) 278 t.Def = gofmt(st) 391 fmt.Fprintf(os.Stderr, "%s: typeof[%s] = %s\n", pos, gofmt(n), t) 422 t = mkType(gofmt(n.Type) [all...] |
main_test.go | 50 t.Errorf("%s: not gofmt-formatted.\n--- %s\n%s\n--- %s | gofmt\n%s",
|
/prebuilts/go/linux-x86/src/go/format/ |
format.go | 22 // Node formats node in canonical gofmt style and writes the result to dst. 73 // Source formats src in canonical gofmt style and returns the result 83 // version of gofmt (for instance, such as for presubmit checks) should 84 // execute that gofmt binary instead of calling Source.
|
/prebuilts/go/linux-x86/test/fixedbugs/ |
bug274.go | 13 // Both gccgo and gofmt correctly refuse this program as is and accept it
|
/prebuilts/go/linux-x86/test/ |
initcomma.go | 7 // Test trailing commas. DO NOT gofmt THIS FILE.
|
/prebuilts/go/darwin-x86/src/cmd/gofmt/ |
gofmt.go | 28 list = flag.Bool("l", false, "list files whose formatting differs from gofmt's") 57 fmt.Fprintf(os.Stderr, "usage: gofmt [flags] [path ...]\n") 163 // the directory changed concurrently while running gofmt). 245 f1, err := writeTempFile("", "gofmt", b1) 251 f2, err := writeTempFile("", "gofmt", b2)
|
/prebuilts/go/linux-x86/src/cmd/gofmt/ |
gofmt.go | 28 list = flag.Bool("l", false, "list files whose formatting differs from gofmt's") 57 fmt.Fprintf(os.Stderr, "usage: gofmt [flags] [path ...]\n") 163 // the directory changed concurrently while running gofmt). 245 f1, err := writeTempFile("", "gofmt", b1) 251 f2, err := writeTempFile("", "gofmt", b2)
|
/prebuilts/go/darwin-x86/src/cmd/vet/ |
bool.go | 81 efmt := f.gofmt(e) 125 xfmt := f.gofmt(x) 126 efmt := f.gofmt(e)
|
copylock.go | 52 f.Badf(x.Pos(), "assignment copies lock value to %v: %v", f.gofmt(as.Lhs[i]), path) 80 f.Badf(x.Pos(), "literal copies lock value from %v: %v", f.gofmt(x), path) 111 f.Badf(x.Pos(), "call of %s copies lock value: %v", f.gofmt(ce.Fun), path) 178 f.Badf(e.Pos(), "range var %s copies lock: %v", f.gofmt(e), path)
|
shift.go | 90 ident := f.gofmt(x)
|
/prebuilts/go/linux-x86/src/cmd/vet/ |
bool.go | 81 efmt := f.gofmt(e) 125 xfmt := f.gofmt(x) 126 efmt := f.gofmt(e)
|
copylock.go | 52 f.Badf(x.Pos(), "assignment copies lock value to %v: %v", f.gofmt(as.Lhs[i]), path) 80 f.Badf(x.Pos(), "literal copies lock value from %v: %v", f.gofmt(x), path) 111 f.Badf(x.Pos(), "call of %s copies lock value: %v", f.gofmt(ce.Fun), path) 178 f.Badf(e.Pos(), "range var %s copies lock: %v", f.gofmt(e), path)
|
shift.go | 90 ident := f.gofmt(x)
|
/prebuilts/go/darwin-x86/src/syscall/ |
mkpost.go | 58 // gofmt
|
mkall.sh | 94 sed 1q $i | sed 's;^// ;;' | sh > _$i && gofmt < _$i > $i 284 if [ -n "$mkerrors" ]; then echo "$mkerrors |gofmt >$zerrors"; fi 291 if [ -n "$mksyscall" ]; then echo "$mksyscall -tags $GOOS,$GOARCH $syscall_goos $GOOSARCH_in |gofmt >zsyscall_$GOOSARCH.go"; fi 292 if [ -n "$mksysctl" ]; then echo "$mksysctl |gofmt >$zsysctl"; fi 293 if [ -n "$mksysnum" ]; then echo "$mksysnum |gofmt >zsysnum_$GOOSARCH.go"; fi
|
/prebuilts/go/linux-x86/src/syscall/ |
mkpost.go | 58 // gofmt
|
mkall.sh | 94 sed 1q $i | sed 's;^// ;;' | sh > _$i && gofmt < _$i > $i 284 if [ -n "$mkerrors" ]; then echo "$mkerrors |gofmt >$zerrors"; fi 291 if [ -n "$mksyscall" ]; then echo "$mksyscall -tags $GOOS,$GOARCH $syscall_goos $GOOSARCH_in |gofmt >zsyscall_$GOOSARCH.go"; fi 292 if [ -n "$mksysctl" ]; then echo "$mksysctl |gofmt >$zsysctl"; fi 293 if [ -n "$mksysnum" ]; then echo "$mksysnum |gofmt >zsysnum_$GOOSARCH.go"; fi
|