HomeSort by relevance Sort by last modified time
    Searched refs:Fprintf (Results 1 - 25 of 596) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /prebuilts/go/darwin-x86/src/cmd/compile/internal/gc/testdata/gen/
zeroGen.go 26 fmt.Fprintf(w, "// run\n")
27 fmt.Fprintf(w, "// Code generated by gen/zeroGen.go. DO NOT EDIT.\n\n")
28 fmt.Fprintf(w, "package main\n")
29 fmt.Fprintf(w, "import \"fmt\"\n")
33 fmt.Fprintf(w, "type T%d struct {\n", s)
34 fmt.Fprintf(w, " pre [8]byte\n")
35 fmt.Fprintf(w, " mid [%d]byte\n", s)
36 fmt.Fprintf(w, " post [8]byte\n")
37 fmt.Fprintf(w, "}\n")
40 fmt.Fprintf(w, "//go:noinline\n"
    [all...]
copyGen.go 27 fmt.Fprintf(w, "// run\n")
28 fmt.Fprintf(w, "// Code generated by gen/copyGen.go. DO NOT EDIT.\n\n")
29 fmt.Fprintf(w, "package main\n")
30 fmt.Fprintf(w, "import \"fmt\"\n")
34 fmt.Fprintf(w, "type T%d struct {\n", s)
35 fmt.Fprintf(w, " pre [8]byte\n")
36 fmt.Fprintf(w, " mid [%d]byte\n", s)
37 fmt.Fprintf(w, " post [8]byte\n")
38 fmt.Fprintf(w, "}\n")
41 fmt.Fprintf(w, "//go:noinline\n"
    [all...]
constFoldGen.go 122 fmt.Fprintf(w, "// run\n")
123 fmt.Fprintf(w, "// Code generated by gen/constFoldGen.go. DO NOT EDIT.\n\n")
124 fmt.Fprintf(w, "package gc\n")
125 fmt.Fprintf(w, "import \"testing\"\n")
134 fmt.Fprintf(w, "func TestConstFold%s%s(t *testing.T) {\n", s.name, o.name)
135 fmt.Fprintf(w, "\tvar x, y, r %s\n", s.name)
138 fmt.Fprintf(w, "\tx = %d\n", c)
143 fmt.Fprintf(w, "\ty = %d\n", d)
144 fmt.Fprintf(w, "\tr = x %s y\n", o.symbol)
146 fmt.Fprintf(w, "\tif r != %s {\n", want
    [all...]
cmpConstGen.go 156 fmt.Fprintf(w, "// run\n")
157 fmt.Fprintf(w, "// Code generated by gen/cmpConstGen.go. DO NOT EDIT.\n\n")
158 fmt.Fprintf(w, "package main;\n")
159 fmt.Fprintf(w, "import (\"fmt\"; \"reflect\"; \"runtime\";)\n")
160 fmt.Fprintf(w, "// results show the expected result for the elements left of, equal to and right of the index.\n")
161 fmt.Fprintf(w, "type result struct{l, e, r bool}\n")
162 fmt.Fprintf(w, "var (\n")
163 fmt.Fprintf(w, " eq = result{l: false, e: true, r: false}\n")
164 fmt.Fprintf(w, " ne = result{l: true, e: false, r: true}\n")
165 fmt.Fprintf(w, " lt = result{l: true, e: false, r: false}\n"
    [all...]
arithBoundaryGen.go 94 fmt.Fprintf(w, "// run\n")
95 fmt.Fprintf(w, "// Code generated by gen/arithBoundaryGen.go. DO NOT EDIT.\n\n")
96 fmt.Fprintf(w, "package main;\n")
97 fmt.Fprintf(w, "import \"fmt\"\n")
100 fmt.Fprintf(w, "type utd%d struct {\n", sz)
101 fmt.Fprintf(w, " a,b uint%d\n", sz)
102 fmt.Fprintf(w, " add,sub,mul,div,mod uint%d\n", sz)
103 fmt.Fprintf(w, "}\n")
105 fmt.Fprintf(w, "type itd%d struct {\n", sz)
106 fmt.Fprintf(w, " a,b int%d\n", sz
    [all...]
  /prebuilts/go/linux-x86/src/cmd/compile/internal/gc/testdata/gen/
zeroGen.go 26 fmt.Fprintf(w, "// run\n")
27 fmt.Fprintf(w, "// Code generated by gen/zeroGen.go. DO NOT EDIT.\n\n")
28 fmt.Fprintf(w, "package main\n")
29 fmt.Fprintf(w, "import \"fmt\"\n")
33 fmt.Fprintf(w, "type T%d struct {\n", s)
34 fmt.Fprintf(w, " pre [8]byte\n")
35 fmt.Fprintf(w, " mid [%d]byte\n", s)
36 fmt.Fprintf(w, " post [8]byte\n")
37 fmt.Fprintf(w, "}\n")
40 fmt.Fprintf(w, "//go:noinline\n"
    [all...]
copyGen.go 27 fmt.Fprintf(w, "// run\n")
28 fmt.Fprintf(w, "// Code generated by gen/copyGen.go. DO NOT EDIT.\n\n")
29 fmt.Fprintf(w, "package main\n")
30 fmt.Fprintf(w, "import \"fmt\"\n")
34 fmt.Fprintf(w, "type T%d struct {\n", s)
35 fmt.Fprintf(w, " pre [8]byte\n")
36 fmt.Fprintf(w, " mid [%d]byte\n", s)
37 fmt.Fprintf(w, " post [8]byte\n")
38 fmt.Fprintf(w, "}\n")
41 fmt.Fprintf(w, "//go:noinline\n"
    [all...]
constFoldGen.go 122 fmt.Fprintf(w, "// run\n")
123 fmt.Fprintf(w, "// Code generated by gen/constFoldGen.go. DO NOT EDIT.\n\n")
124 fmt.Fprintf(w, "package gc\n")
125 fmt.Fprintf(w, "import \"testing\"\n")
134 fmt.Fprintf(w, "func TestConstFold%s%s(t *testing.T) {\n", s.name, o.name)
135 fmt.Fprintf(w, "\tvar x, y, r %s\n", s.name)
138 fmt.Fprintf(w, "\tx = %d\n", c)
143 fmt.Fprintf(w, "\ty = %d\n", d)
144 fmt.Fprintf(w, "\tr = x %s y\n", o.symbol)
146 fmt.Fprintf(w, "\tif r != %s {\n", want
    [all...]
cmpConstGen.go 156 fmt.Fprintf(w, "// run\n")
157 fmt.Fprintf(w, "// Code generated by gen/cmpConstGen.go. DO NOT EDIT.\n\n")
158 fmt.Fprintf(w, "package main;\n")
159 fmt.Fprintf(w, "import (\"fmt\"; \"reflect\"; \"runtime\";)\n")
160 fmt.Fprintf(w, "// results show the expected result for the elements left of, equal to and right of the index.\n")
161 fmt.Fprintf(w, "type result struct{l, e, r bool}\n")
162 fmt.Fprintf(w, "var (\n")
163 fmt.Fprintf(w, " eq = result{l: false, e: true, r: false}\n")
164 fmt.Fprintf(w, " ne = result{l: true, e: false, r: true}\n")
165 fmt.Fprintf(w, " lt = result{l: true, e: false, r: false}\n"
    [all...]
arithBoundaryGen.go 94 fmt.Fprintf(w, "// run\n")
95 fmt.Fprintf(w, "// Code generated by gen/arithBoundaryGen.go. DO NOT EDIT.\n\n")
96 fmt.Fprintf(w, "package main;\n")
97 fmt.Fprintf(w, "import \"fmt\"\n")
100 fmt.Fprintf(w, "type utd%d struct {\n", sz)
101 fmt.Fprintf(w, " a,b uint%d\n", sz)
102 fmt.Fprintf(w, " add,sub,mul,div,mod uint%d\n", sz)
103 fmt.Fprintf(w, "}\n")
105 fmt.Fprintf(w, "type itd%d struct {\n", sz)
106 fmt.Fprintf(w, " a,b int%d\n", sz
    [all...]
  /build/kati/
query.go 28 fmt.Fprintf(w, "%*c%s (%d)\n", indent, ' ', n.Output, id)
36 fmt.Fprintf(w, "%*corder_onlys:\n", indent, ' ')
44 fmt.Fprintf(w, "%s:", n.Output)
46 fmt.Fprintf(w, " %s", i)
48 fmt.Fprintf(w, "\n")
50 fmt.Fprintf(w, "\t%s\n", c)
53 fmt.Fprintf(w, "%s: %s=%s\n", n.Output, k, v.String())
56 fmt.Fprintf(w, "\n")
57 fmt.Fprintf(w, "location: %s:%d\n", n.Filename, n.Lineno)
59 fmt.Fprintf(w, "phony: true\n"
    [all...]
  /prebuilts/go/darwin-x86/src/cmd/dist/
buildgo.go 32 fmt.Fprintf(&buf, "// Code generated by go tool dist; DO NOT EDIT.\n")
34 fmt.Fprintf(&buf, "package cfg\n")
36 fmt.Fprintf(&buf, "const DefaultPkgConfig = `%s`\n", defaultpkgconfig)
44 fmt.Fprintf(&buf, "// Code generated by go tool dist; DO NOT EDIT.\n")
46 fmt.Fprintf(&buf, "package main\n")
48 fmt.Fprintf(&buf, "const defaultPkgConfig = `%s`\n", defaultpkgconfig)
57 fmt.Fprintf(&buf, "func %s(goos, goarch string) string {\n", name)
58 fmt.Fprintf(&buf, "\tswitch goos+`/`+goarch {\n")
67 fmt.Fprintf(&buf, "\tcase %q:\n\t\treturn %q\n", k, defaultcc[k])
69 fmt.Fprintf(&buf, "\t}\n"
    [all...]
buildruntime.go 28 fmt.Fprintf(&buf, "// Code generated by go tool dist; DO NOT EDIT.\n")
30 fmt.Fprintf(&buf, "package sys\n")
32 fmt.Fprintf(&buf, "const TheVersion = `%s`\n", findgoversion())
33 fmt.Fprintf(&buf, "const Goexperiment = `%s`\n", os.Getenv("GOEXPERIMENT"))
34 fmt.Fprintf(&buf, "const StackGuardMultiplier = %d\n", stackGuardMultiplier())
65 fmt.Fprintf(&buf, "// Code generated by go tool dist; DO NOT EDIT.\n")
67 fmt.Fprintf(&buf, "package objabi\n")
69 fmt.Fprintf(&buf, "import \"runtime\"\n")
71 fmt.Fprintf(&buf, "const defaultGO386 = `%s`\n", go386)
72 fmt.Fprintf(&buf, "const defaultGOARM = `%s`\n", goarm
    [all...]
  /prebuilts/go/linux-x86/src/cmd/dist/
buildgo.go 32 fmt.Fprintf(&buf, "// Code generated by go tool dist; DO NOT EDIT.\n")
34 fmt.Fprintf(&buf, "package cfg\n")
36 fmt.Fprintf(&buf, "const DefaultPkgConfig = `%s`\n", defaultpkgconfig)
44 fmt.Fprintf(&buf, "// Code generated by go tool dist; DO NOT EDIT.\n")
46 fmt.Fprintf(&buf, "package main\n")
48 fmt.Fprintf(&buf, "const defaultPkgConfig = `%s`\n", defaultpkgconfig)
57 fmt.Fprintf(&buf, "func %s(goos, goarch string) string {\n", name)
58 fmt.Fprintf(&buf, "\tswitch goos+`/`+goarch {\n")
67 fmt.Fprintf(&buf, "\tcase %q:\n\t\treturn %q\n", k, defaultcc[k])
69 fmt.Fprintf(&buf, "\t}\n"
    [all...]
buildruntime.go 28 fmt.Fprintf(&buf, "// Code generated by go tool dist; DO NOT EDIT.\n")
30 fmt.Fprintf(&buf, "package sys\n")
32 fmt.Fprintf(&buf, "const TheVersion = `%s`\n", findgoversion())
33 fmt.Fprintf(&buf, "const Goexperiment = `%s`\n", os.Getenv("GOEXPERIMENT"))
34 fmt.Fprintf(&buf, "const StackGuardMultiplier = %d\n", stackGuardMultiplier())
65 fmt.Fprintf(&buf, "// Code generated by go tool dist; DO NOT EDIT.\n")
67 fmt.Fprintf(&buf, "package objabi\n")
69 fmt.Fprintf(&buf, "import \"runtime\"\n")
71 fmt.Fprintf(&buf, "const defaultGO386 = `%s`\n", go386)
72 fmt.Fprintf(&buf, "const defaultGOARM = `%s`\n", goarm
    [all...]
  /prebuilts/go/darwin-x86/test/bench/go1/
fmt_test.go 18 fmt.Fprintf(&buf, "")
26 fmt.Fprintf(&buf, "%s", "hello")
34 fmt.Fprintf(&buf, "%d", 5)
42 fmt.Fprintf(&buf, "%d %d", 5, 6)
50 fmt.Fprintf(&buf, "This is some meaningless prefix text that needs to be scanned %d", 6)
58 fmt.Fprintf(&buf, "%g", 5.23184)
66 fmt.Fprintf(&buf, "%2d/%2d/%2d %d:%d:%d %s %s\n", 3, 4, 5, 11, 12, 13, "hello", "world")
  /prebuilts/go/linux-x86/test/bench/go1/
fmt_test.go 18 fmt.Fprintf(&buf, "")
26 fmt.Fprintf(&buf, "%s", "hello")
34 fmt.Fprintf(&buf, "%d", 5)
42 fmt.Fprintf(&buf, "%d %d", 5, 6)
50 fmt.Fprintf(&buf, "This is some meaningless prefix text that needs to be scanned %d", 6)
58 fmt.Fprintf(&buf, "%g", 5.23184)
66 fmt.Fprintf(&buf, "%2d/%2d/%2d %d:%d:%d %s %s\n", 3, 4, 5, 11, 12, 13, "hello", "world")
  /prebuilts/go/darwin-x86/src/math/bits/
make_examples.go 84 fmt.Fprintf(w, "\nfunc Example%s() {\n", f)
87 fmt.Fprintf(w, "\tfmt.Printf(\"%%0%db\\n\", %d)\n", size, e.in)
89 fmt.Fprintf(w, "\tfmt.Printf(\"%%0%db\\n\", bits.%s(%d, 2))\n", size, f, e.in)
90 fmt.Fprintf(w, "\tfmt.Printf(\"%%0%db\\n\", bits.%s(%d, -2))\n", size, f, e.in)
92 fmt.Fprintf(w, "\tfmt.Printf(\"%%0%db\\n\", bits.%s(%d))\n", size, f, e.in)
94 fmt.Fprintf(w, "\t// Output:\n")
95 fmt.Fprintf(w, "\t// %0*b\n", size, e.in)
96 fmt.Fprintf(w, "\t// %0*b\n", size, e.out[i])
98 fmt.Fprintf(w, "\t// %0*b\n", size, e.out2[i])
101 fmt.Fprintf(w, "\tfmt.Printf(\"%s(%%0%db) = %%d\\n\", %d, bits.%s(%d))\n", f, size, e.in, f, e.in
    [all...]
  /prebuilts/go/linux-x86/src/math/bits/
make_examples.go 84 fmt.Fprintf(w, "\nfunc Example%s() {\n", f)
87 fmt.Fprintf(w, "\tfmt.Printf(\"%%0%db\\n\", %d)\n", size, e.in)
89 fmt.Fprintf(w, "\tfmt.Printf(\"%%0%db\\n\", bits.%s(%d, 2))\n", size, f, e.in)
90 fmt.Fprintf(w, "\tfmt.Printf(\"%%0%db\\n\", bits.%s(%d, -2))\n", size, f, e.in)
92 fmt.Fprintf(w, "\tfmt.Printf(\"%%0%db\\n\", bits.%s(%d))\n", size, f, e.in)
94 fmt.Fprintf(w, "\t// Output:\n")
95 fmt.Fprintf(w, "\t// %0*b\n", size, e.in)
96 fmt.Fprintf(w, "\t// %0*b\n", size, e.out[i])
98 fmt.Fprintf(w, "\t// %0*b\n", size, e.out2[i])
101 fmt.Fprintf(w, "\tfmt.Printf(\"%s(%%0%db) = %%d\\n\", %d, bits.%s(%d))\n", f, size, e.in, f, e.in
    [all...]
  /prebuilts/go/darwin-x86/src/cmd/link/
linkbig_test.go 47 fmt.Fprintf(&w, "TEXT ·%s(SB),$0\n", testname)
49 fmt.Fprintf(&w, inst)
51 fmt.Fprintf(&w, "\tRET\n")
58 fmt.Fprintf(&w, "package main\n")
59 fmt.Fprintf(&w, "\nimport (\n")
60 fmt.Fprintf(&w, "\t\"os\"\n")
61 fmt.Fprintf(&w, "\t\"fmt\"\n")
62 fmt.Fprintf(&w, ")\n\n")
65 fmt.Fprintf(&w, "func bigfn%d()\n", i)
67 fmt.Fprintf(&w, "\nfunc main() {\n"
    [all...]
  /prebuilts/go/linux-x86/src/cmd/link/
linkbig_test.go 47 fmt.Fprintf(&w, "TEXT ·%s(SB),$0\n", testname)
49 fmt.Fprintf(&w, inst)
51 fmt.Fprintf(&w, "\tRET\n")
58 fmt.Fprintf(&w, "package main\n")
59 fmt.Fprintf(&w, "\nimport (\n")
60 fmt.Fprintf(&w, "\t\"os\"\n")
61 fmt.Fprintf(&w, "\t\"fmt\"\n")
62 fmt.Fprintf(&w, ")\n\n")
65 fmt.Fprintf(&w, "func bigfn%d()\n", i)
67 fmt.Fprintf(&w, "\nfunc main() {\n"
    [all...]
  /prebuilts/go/darwin-x86/src/runtime/internal/sys/
gengoos.go 48 fmt.Fprintf(&buf, "// Code generated by gengoos.go using 'go generate'. DO NOT EDIT.\n\n")
50 fmt.Fprintf(&buf, "// +build !android\n") // must explicitly exclude android for linux
52 fmt.Fprintf(&buf, "// +build %s\n\n", target) // must explicitly include target for bootstrapping purposes
53 fmt.Fprintf(&buf, "package sys\n\n")
54 fmt.Fprintf(&buf, "const GOOS = `%s`\n\n", target)
60 fmt.Fprintf(&buf, "const Goos%s = %d\n", strings.Title(goos), value)
70 fmt.Fprintf(&buf, "// Code generated by gengoos.go using 'go generate'. DO NOT EDIT.\n\n")
71 fmt.Fprintf(&buf, "// +build %s\n\n", target) // must explicitly include target for bootstrapping purposes
72 fmt.Fprintf(&buf, "package sys\n\n")
73 fmt.Fprintf(&buf, "const GOARCH = `%s`\n\n", target
    [all...]
  /prebuilts/go/linux-x86/src/runtime/internal/sys/
gengoos.go 48 fmt.Fprintf(&buf, "// Code generated by gengoos.go using 'go generate'. DO NOT EDIT.\n\n")
50 fmt.Fprintf(&buf, "// +build !android\n") // must explicitly exclude android for linux
52 fmt.Fprintf(&buf, "// +build %s\n\n", target) // must explicitly include target for bootstrapping purposes
53 fmt.Fprintf(&buf, "package sys\n\n")
54 fmt.Fprintf(&buf, "const GOOS = `%s`\n\n", target)
60 fmt.Fprintf(&buf, "const Goos%s = %d\n", strings.Title(goos), value)
70 fmt.Fprintf(&buf, "// Code generated by gengoos.go using 'go generate'. DO NOT EDIT.\n\n")
71 fmt.Fprintf(&buf, "// +build %s\n\n", target) // must explicitly include target for bootstrapping purposes
72 fmt.Fprintf(&buf, "package sys\n\n")
73 fmt.Fprintf(&buf, "const GOARCH = `%s`\n\n", target
    [all...]
  /prebuilts/go/darwin-x86/src/strconv/
makeisprint.go 139 fmt.Fprintf(&buf, `// Copyright 2013 The Go Authors. All rights reserved.
142 fmt.Fprintf(&buf, "// DO NOT EDIT. GENERATED BY\n")
143 fmt.Fprintf(&buf, "// go run makeisprint.go -output isprint.go\n\n")
144 fmt.Fprintf(&buf, "package strconv\n\n")
146 fmt.Fprintf(&buf, "// (%d+%d+%d)*2 + (%d)*4 = %d bytes\n\n",
152 fmt.Fprintf(&buf, "var isPrint16 = []uint16{\n")
154 fmt.Fprintf(&buf, "\t%#04x, %#04x,\n", range16[i], range16[i+1])
156 fmt.Fprintf(&buf, "}\n\n")
158 fmt.Fprintf(&buf, "var isNotPrint16 = []uint16{\n")
160 fmt.Fprintf(&buf, "\t%#04x,\n", r
    [all...]
  /prebuilts/go/linux-x86/src/strconv/
makeisprint.go 139 fmt.Fprintf(&buf, `// Copyright 2013 The Go Authors. All rights reserved.
142 fmt.Fprintf(&buf, "// DO NOT EDIT. GENERATED BY\n")
143 fmt.Fprintf(&buf, "// go run makeisprint.go -output isprint.go\n\n")
144 fmt.Fprintf(&buf, "package strconv\n\n")
146 fmt.Fprintf(&buf, "// (%d+%d+%d)*2 + (%d)*4 = %d bytes\n\n",
152 fmt.Fprintf(&buf, "var isPrint16 = []uint16{\n")
154 fmt.Fprintf(&buf, "\t%#04x, %#04x,\n", range16[i], range16[i+1])
156 fmt.Fprintf(&buf, "}\n\n")
158 fmt.Fprintf(&buf, "var isNotPrint16 = []uint16{\n")
160 fmt.Fprintf(&buf, "\t%#04x,\n", r
    [all...]

Completed in 311 milliseconds

1 2 3 4 5 6 7 8 91011>>