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

1 2 3 4 5 6 7 8 91011>>

  /prebuilts/go/darwin-x86/src/cmd/compile/internal/gc/testdata/gen/
copyGen.go 25 fmt.Fprintf(w, "// run\n")
26 fmt.Fprintf(w, "// autogenerated from gen/copyGen.go - do not edit!\n")
27 fmt.Fprintf(w, "package main\n")
28 fmt.Fprintf(w, "import \"fmt\"\n")
32 fmt.Fprintf(w, "type T%d struct {\n", s)
33 fmt.Fprintf(w, " pre [8]byte\n")
34 fmt.Fprintf(w, " mid [%d]byte\n", s)
35 fmt.Fprintf(w, " post [8]byte\n")
36 fmt.Fprintf(w, "}\n")
39 fmt.Fprintf(w, "func t%dcopy_ssa(y, x *[%d]byte) {\n", s, s
    [all...]
zeroGen.go 25 fmt.Fprintf(w, "// run\n")
26 fmt.Fprintf(w, "// autogenerated from gen/zeroGen.go - do not edit!\n")
27 fmt.Fprintf(w, "package main\n")
28 fmt.Fprintf(w, "import \"fmt\"\n")
32 fmt.Fprintf(w, "type T%d struct {\n", s)
33 fmt.Fprintf(w, " pre [8]byte\n")
34 fmt.Fprintf(w, " mid [%d]byte\n", s)
35 fmt.Fprintf(w, " post [8]byte\n")
36 fmt.Fprintf(w, "}\n")
39 fmt.Fprintf(w, "func zero%d_ssa(x *[%d]byte) {\n", s, s
    [all...]
constFoldGen.go 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)
147 fmt.Fprintf(w, "\t\tt.Errorf(\"%d %%s %d = %%d, want %s\", %q, r)\n", c, d, want, o.symbol)
148 fmt.Fprintf(w, "\t}\n"
    [all...]
arithBoundaryGen.go 95 fmt.Fprintf(w, "package main;\n")
96 fmt.Fprintf(w, "import \"fmt\"\n")
99 fmt.Fprintf(w, "type utd%d struct {\n", sz)
100 fmt.Fprintf(w, " a,b uint%d\n", sz)
101 fmt.Fprintf(w, " add,sub,mul,div,mod uint%d\n", sz)
102 fmt.Fprintf(w, "}\n")
104 fmt.Fprintf(w, "type itd%d struct {\n", sz)
105 fmt.Fprintf(w, " a,b int%d\n", sz)
106 fmt.Fprintf(w, " add,sub,mul,div,mod int%d\n", sz)
107 fmt.Fprintf(w, "}\n"
    [all...]
  /prebuilts/go/linux-x86/src/cmd/compile/internal/gc/testdata/gen/
copyGen.go 25 fmt.Fprintf(w, "// run\n")
26 fmt.Fprintf(w, "// autogenerated from gen/copyGen.go - do not edit!\n")
27 fmt.Fprintf(w, "package main\n")
28 fmt.Fprintf(w, "import \"fmt\"\n")
32 fmt.Fprintf(w, "type T%d struct {\n", s)
33 fmt.Fprintf(w, " pre [8]byte\n")
34 fmt.Fprintf(w, " mid [%d]byte\n", s)
35 fmt.Fprintf(w, " post [8]byte\n")
36 fmt.Fprintf(w, "}\n")
39 fmt.Fprintf(w, "func t%dcopy_ssa(y, x *[%d]byte) {\n", s, s
    [all...]
zeroGen.go 25 fmt.Fprintf(w, "// run\n")
26 fmt.Fprintf(w, "// autogenerated from gen/zeroGen.go - do not edit!\n")
27 fmt.Fprintf(w, "package main\n")
28 fmt.Fprintf(w, "import \"fmt\"\n")
32 fmt.Fprintf(w, "type T%d struct {\n", s)
33 fmt.Fprintf(w, " pre [8]byte\n")
34 fmt.Fprintf(w, " mid [%d]byte\n", s)
35 fmt.Fprintf(w, " post [8]byte\n")
36 fmt.Fprintf(w, "}\n")
39 fmt.Fprintf(w, "func zero%d_ssa(x *[%d]byte) {\n", s, s
    [all...]
constFoldGen.go 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)
147 fmt.Fprintf(w, "\t\tt.Errorf(\"%d %%s %d = %%d, want %s\", %q, r)\n", c, d, want, o.symbol)
148 fmt.Fprintf(w, "\t}\n"
    [all...]
arithBoundaryGen.go 95 fmt.Fprintf(w, "package main;\n")
96 fmt.Fprintf(w, "import \"fmt\"\n")
99 fmt.Fprintf(w, "type utd%d struct {\n", sz)
100 fmt.Fprintf(w, " a,b uint%d\n", sz)
101 fmt.Fprintf(w, " add,sub,mul,div,mod uint%d\n", sz)
102 fmt.Fprintf(w, "}\n")
104 fmt.Fprintf(w, "type itd%d struct {\n", sz)
105 fmt.Fprintf(w, " a,b int%d\n", sz)
106 fmt.Fprintf(w, " add,sub,mul,div,mod int%d\n", sz)
107 fmt.Fprintf(w, "}\n"
    [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/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/cmd/cgo/
out.go 44 fmt.Fprintf(fflg, "_CGO_%s=%s\n", k, strings.Join(v, " "))
47 fmt.Fprintf(fgo2, "//go:cgo_ldflag %q\n", arg)
54 fmt.Fprintf(fm, "int main() { return 0; }\n")
56 fmt.Fprintf(fm, "void crosscall2(void(*fn)(void*, int, __SIZE_TYPE__), void *a, int c, __SIZE_TYPE__ ctxt) { }\n")
57 fmt.Fprintf(fm, "__SIZE_TYPE__ _cgo_wait_runtime_init_done() { return 0; }\n")
58 fmt.Fprintf(fm, "void _cgo_release_context(__SIZE_TYPE__ ctxt) { }\n")
59 fmt.Fprintf(fm, "char* _cgo_topofstack(void) { return (char*)0; }\n")
63 fmt.Fprintf(fm, "void crosscall2(void(*fn)(void*, int, __SIZE_TYPE__), void *a, int c, __SIZE_TYPE__ ctxt);\n")
64 fmt.Fprintf(fm, "__SIZE_TYPE__ _cgo_wait_runtime_init_done();\n")
65 fmt.Fprintf(fm, "void _cgo_release_context(__SIZE_TYPE__);\n"
    [all...]
  /prebuilts/go/linux-x86/src/cmd/cgo/
out.go 44 fmt.Fprintf(fflg, "_CGO_%s=%s\n", k, strings.Join(v, " "))
47 fmt.Fprintf(fgo2, "//go:cgo_ldflag %q\n", arg)
54 fmt.Fprintf(fm, "int main() { return 0; }\n")
56 fmt.Fprintf(fm, "void crosscall2(void(*fn)(void*, int, __SIZE_TYPE__), void *a, int c, __SIZE_TYPE__ ctxt) { }\n")
57 fmt.Fprintf(fm, "__SIZE_TYPE__ _cgo_wait_runtime_init_done() { return 0; }\n")
58 fmt.Fprintf(fm, "void _cgo_release_context(__SIZE_TYPE__ ctxt) { }\n")
59 fmt.Fprintf(fm, "char* _cgo_topofstack(void) { return (char*)0; }\n")
63 fmt.Fprintf(fm, "void crosscall2(void(*fn)(void*, int, __SIZE_TYPE__), void *a, int c, __SIZE_TYPE__ ctxt);\n")
64 fmt.Fprintf(fm, "__SIZE_TYPE__ _cgo_wait_runtime_init_done();\n")
65 fmt.Fprintf(fm, "void _cgo_release_context(__SIZE_TYPE__);\n"
    [all...]
  /prebuilts/go/darwin-x86/doc/articles/wiki/
http-sample.go 9 fmt.Fprintf(w, "Hi there, I love %s!", r.URL.Path[1:])
  /prebuilts/go/linux-x86/doc/articles/wiki/
http-sample.go 9 fmt.Fprintf(w, "Hi there, I love %s!", r.URL.Path[1:])
  /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/cmd/compile/internal/gc/
fmt.go 227 fmt.Fprintf(s, "%%!%c(Op=%d)", verb, int(o))
244 fmt.Fprintf(s, "O-%d", int(o))
266 fmt.Fprintf(s, "%%!%c(*Node=%p)", verb, n)
275 fmt.Fprintf(s, " u(%d)", n.Ullman)
279 fmt.Fprintf(s, " a(%v)", n.Addable)
283 fmt.Fprintf(s, " g(%d)", n.Name.Vargen)
287 fmt.Fprintf(s, " l(%d)", n.Lineno)
291 fmt.Fprintf(s, " x(%d)", n.Xoffset)
296 fmt.Fprintf(s, " class(%s)", classnames[n.Class])
298 fmt.Fprintf(s, " class(%d?)", n.Class
    [all...]
  /prebuilts/go/linux-x86/src/cmd/compile/internal/gc/
fmt.go 227 fmt.Fprintf(s, "%%!%c(Op=%d)", verb, int(o))
244 fmt.Fprintf(s, "O-%d", int(o))
266 fmt.Fprintf(s, "%%!%c(*Node=%p)", verb, n)
275 fmt.Fprintf(s, " u(%d)", n.Ullman)
279 fmt.Fprintf(s, " a(%v)", n.Addable)
283 fmt.Fprintf(s, " g(%d)", n.Name.Vargen)
287 fmt.Fprintf(s, " l(%d)", n.Lineno)
291 fmt.Fprintf(s, " x(%d)", n.Xoffset)
296 fmt.Fprintf(s, " class(%s)", classnames[n.Class])
298 fmt.Fprintf(s, " class(%d?)", n.Class
    [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...]
  /prebuilts/go/darwin-x86/src/cmd/nm/
nm.go 19 fmt.Fprintf(os.Stderr, "usage: go tool nm [-n] [-size] [-sort order] [-type] file...\n")
64 fmt.Fprintf(os.Stderr, "nm: unknown sort order %q\n", *sortOrder)
116 fmt.Fprintf(w, "%s:\t", file)
119 fmt.Fprintf(w, "%8s", "")
121 fmt.Fprintf(w, "%8x", sym.Addr)
124 fmt.Fprintf(w, " %10d", sym.Size)
126 fmt.Fprintf(w, " %c %s", sym.Code, sym.Name)
128 fmt.Fprintf(w, " %s", sym.Type)
130 fmt.Fprintf(w, "\n")
  /prebuilts/go/darwin-x86/src/runtime/internal/sys/
gengoos.go 48 fmt.Fprintf(&buf, "// generated by gengoos.go using 'go generate'\n\n")
50 fmt.Fprintf(&buf, "// +build !android\n\n") // must explicitly exclude android for linux
52 fmt.Fprintf(&buf, "package sys\n\n")
53 fmt.Fprintf(&buf, "const GOOS = `%s`\n\n", target)
59 fmt.Fprintf(&buf, "const Goos%s = %d\n", strings.Title(goos), value)
69 fmt.Fprintf(&buf, "// generated by gengoos.go using 'go generate'\n\n")
70 fmt.Fprintf(&buf, "package sys\n\n")
71 fmt.Fprintf(&buf, "const GOARCH = `%s`\n\n", target)
77 fmt.Fprintf(&buf, "const Goarch%s = %d\n", strings.Title(goarch), value)
  /prebuilts/go/linux-x86/src/cmd/nm/
nm.go 19 fmt.Fprintf(os.Stderr, "usage: go tool nm [-n] [-size] [-sort order] [-type] file...\n")
64 fmt.Fprintf(os.Stderr, "nm: unknown sort order %q\n", *sortOrder)
116 fmt.Fprintf(w, "%s:\t", file)
119 fmt.Fprintf(w, "%8s", "")
121 fmt.Fprintf(w, "%8x", sym.Addr)
124 fmt.Fprintf(w, " %10d", sym.Size)
126 fmt.Fprintf(w, " %c %s", sym.Code, sym.Name)
128 fmt.Fprintf(w, " %s", sym.Type)
130 fmt.Fprintf(w, "\n")
  /prebuilts/go/linux-x86/src/runtime/internal/sys/
gengoos.go 48 fmt.Fprintf(&buf, "// generated by gengoos.go using 'go generate'\n\n")
50 fmt.Fprintf(&buf, "// +build !android\n\n") // must explicitly exclude android for linux
52 fmt.Fprintf(&buf, "package sys\n\n")
53 fmt.Fprintf(&buf, "const GOOS = `%s`\n\n", target)
59 fmt.Fprintf(&buf, "const Goos%s = %d\n", strings.Title(goos), value)
69 fmt.Fprintf(&buf, "// generated by gengoos.go using 'go generate'\n\n")
70 fmt.Fprintf(&buf, "package sys\n\n")
71 fmt.Fprintf(&buf, "const GOARCH = `%s`\n\n", target)
77 fmt.Fprintf(&buf, "const Goarch%s = %d\n", strings.Title(goarch), value)

Completed in 867 milliseconds

1 2 3 4 5 6 7 8 91011>>