Home
last modified time | relevance | path

Searched refs:runcmd (Results 1 – 8 of 8) sorted by relevance

/external/toolchain-utils/go/patch/go-1.10.3/
Dgo2.patch19 func compileFile(runcmd runCmd, longname string, flags []string) (out []byte, err error) {
27 return runcmd(cmd...)
30 …func compileInDir(runcmd runCmd, dir string, flags []string, names ...string) (out []byte, err err…
40 @@ -217,15 +211,24 @@ func compileInDir(runcmd runCmd, dir string, flags []string, names ...string)…
42 func linkFile(runcmd runCmd, goname string) (err error) {
49 - _, err = runcmd(cmd...)
51 + _, err = runcmd(findGoCmd(), "tool", "link", "-w", "-o", "a.exe", "-L", ".", pfile)
56 +func goRun(runcmd runCmd, flags []string, goname string, args ...string) (out []byte, err error) {
65 + return runcmd(cmd...)
84 - _, err := runcmd("go", "build", goGcflags(), "-o", "a.exe", long)
[all …]
Dgo3.patch652 @@ -229,6 +229,16 @@ func goRun(runcmd runCmd, flags []string, goname string, args ...string) (out …
653 return runcmd(cmd...)
656 +func goRunTarget(runcmd runCmd, goname string, args ...string) (out []byte, err error) {
663 + return runcmd(cmd...)
684 + out, err := goRunTarget(runcmd, t.goFileName(), args...)
/external/toolchain-utils/go/patch/go-1.10.2/
Dgo2.patch34 func compileFile(runcmd runCmd, longname string, flags []string) (out []byte, err error) {
42 return runcmd(cmd...)
45 …func compileInDir(runcmd runCmd, dir string, flags []string, names ...string) (out []byte, err err…
55 return runcmd(cmd...)
58 func linkFile(runcmd runCmd, goname string) (err error) {
65 - _, err = runcmd(cmd...)
66 + _, err = runcmd(findGoCmd(), "tool", "link", "-w", "-o", "a.exe", "-L", ".", pfile)
70 +func goRun(runcmd runCmd, flags []string, goname string, args ...string) (out []byte, err error) {
79 + return runcmd(cmd...)
104 out, err := runcmd(cmdline...)
[all …]
Dgo3.patch863 @@ -222,16 +222,26 @@ func goRun(runcmd runCmd, flags []string, goname string, args ...string) (out…
869 return runcmd(cmd...)
872 +func goRunTarget(runcmd runCmd, goname string, args ...string) (out []byte, err error) {
879 + return runcmd(cmd...)
920 + out, err := goRunTarget(runcmd, t.goFileName(), args...)
935 out, err := goRun(runcmd, nil, t.goFileName(), args...)
/external/toolchain-utils/go/patch/go-1.11.2/
Dgo2.patch23 func compileFile(runcmd runCmd, longname string, flags []string) (out []byte, err error) {
31 return runcmd(cmd...)
34 …func compileInDir(runcmd runCmd, dir string, flags []string, localImports bool, names ...string) (…
48 @@ -234,15 +228,28 @@ func compileInDir(runcmd runCmd, dir string, flags []string, localImports boo…
50 func linkFile(runcmd runCmd, goname string) (err error) {
58 - _, err = runcmd(cmd...)
59 + _, err = runcmd(findGoCmd(), "tool", "link", "-w", "-o", "a.exe", "-L", ".", pfile)
64 +func goRun(runcmd runCmd, flags []string, goname string, args ...string) (out []byte, err error) {
73 + return runcmd(cmd...)
92 - _, err := runcmd(goTool(), "build", goGcflags(), "-o", "a.exe", long)
[all …]
Dgo3.patch654 @@ -246,6 +246,16 @@ func goRun(runcmd runCmd, flags []string, goname string, args ...string) (out …
658 +func goRunTarget(runcmd runCmd, goname string, args ...string) (out []byte, err error) {
665 + return runcmd(cmd...)
686 + out, err := goRunTarget(runcmd, t.goFileName(), args...)
/external/iptables/iptables/
Diptables-apply76 $PROGNAME [-hV] [-t timeout] [-w savefile] {[rulesfile]|-c [runcmd]}
101 -c runcmd, --command runcmd
102 Run command runcmd to configure iptables instead of applying a rulesfile
/external/icu/icu4c/as_is/os400/
Diculd.c41 static int runcmd(const char *cmd) { in runcmd() function
224 if(runcmd(buf)) { in main()