Home
last modified time | relevance | path

Searched full:runcmd (Results 1 – 25 of 41) sorted by relevance

12

/external/toolchain-utils/go/patch/go-1.11.2/
Dgo2.patch21 type runCmd func(...string) ([]byte, error)
23 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...)
[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/toolchain-utils/go/patch/go-1.10.2/
Dgo2.patch32 type runCmd func(...string) ([]byte, error)
34 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...)
[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.10.3/
Dgo2.patch17 type runCmd func(...string) ([]byte, error)
19 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...)
[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/iptables/iptables/
Diptables-apply5 # iptables-apply [-hV] [-t timeout] [-w savefile] {[rulesfile]|-c [runcmd]}
76 $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
179 # Treat parameter as runcmd (run command mode)
180 RUNCMD="${1:-$DEF_RUNCMD}"
181 if [ ! -x "$RUNCMD" ]; then
182 echo "Error: runcmd not executable: $RUNCMD" >&2
187 COMMANDS=(mktemp "$SAVE" "$RESTORE" "$RUNCMD")
230 echo -n "Running command '$RUNCMD'... "
[all …]
Diptables-apply.8.in11 …\fP [\-\fBhV\fP] [\fB-t\fP \fItimeout\fP] [\fB-w\fP \fIsavefile\fP] {[\fIrulesfile]|-c [runcmd]}\fP
39 \fB\-c\fP \fIruncmd\fR, \fB\-\-command\fP \fIruncmd\fR
40 Run command runcmd to configure iptables instead of applying a rulesfile
/external/chromium-trace/catapult/devil/devil/android/
Ddevice_utils_devicetest.py98 cmd_helper.RunCmd(['rm', host_file_path])
114 cmd_helper.RunCmd(['rm', host_file_path])
125 cmd_helper.RunCmd(['rm', host_file_path])
131 cmd_helper.RunCmd(['rm', '-rf', host_tmp_dir])
148 cmd_helper.RunCmd(['rm', host_file_path2])
160 cmd_helper.RunCmd(['rm', '-rf', host_tmp_dir])
167 cmd_helper.RunCmd(['mkdir', '-p', host_sub_dir1])
168 cmd_helper.RunCmd(['mkdir', '-p', host_sub_dir2])
192 cmd_helper.RunCmd(['rm', host_file_path2])
193 cmd_helper.RunCmd(['rm', host_file_path4])
[all …]
/external/skia/infra/bots/task_drivers/codesize/
Dcodesize.go361 runCmd := &exec.Command{
368 _, err := exec.RunCommand(ctx, runCmd)
372 runCmd = &exec.Command{
379 _, err = exec.RunCommand(ctx, runCmd)
383 runCmd = &exec.Command{
390 _, err = exec.RunCommand(ctx, runCmd)
401 runCmd := &exec.Command{
420 bloatyOutput, err = exec.RunCommand(ctx, runCmd)
426 return bloatyOutput, runCmd.Args, nil
440 runCmd := &exec.Command{
[all …]
/external/skia/infra/bots/task_drivers/check_generated_files/
Dcheck_generated_files.go152 runCmd := &sk_exec.Command{
160 _, err := sk_exec.RunCommand(ctx, runCmd)
218 runCmd := &sk_exec.Command{
226 if _, err := sk_exec.RunCommand(ctx, runCmd); err != nil {
236 runCmd := &sk_exec.Command{
244 if _, err := sk_exec.RunCommand(ctx, runCmd); err != nil {
254 runCmd := &sk_exec.Command{
262 if _, err := sk_exec.RunCommand(ctx, runCmd); err != nil {
273 runCmd := &sk_exec.Command{
281 rv, err := sk_exec.RunCommand(ctx, runCmd)
/external/skia/infra/bots/task_drivers/toolchain_layering_check/
Dtoolchain_layering_check.go92 runCmd := &sk_exec.Command{
103 _, err := sk_exec.RunCommand(ctx, runCmd)
119 runCmd := &sk_exec.Command{
131 _, err := sk_exec.RunCommand(ctx, runCmd)
/external/skia/infra/bots/task_drivers/go_linters/
Dgo_linters.go102 runCmd := &sk_exec.Command{
110 _, err := sk_exec.RunCommand(ctx, runCmd)
166 runCmd := &sk_exec.Command{
174 rv, err := sk_exec.RunCommand(ctx, runCmd)
/external/skia/infra/bots/task_drivers/push_apps_from_skia_image/
Dpush_apps_from_skia_image.go75 runCmd := &sk_exec.Command{
87 _, err := sk_exec.RunCommand(ctx, runCmd)
138 runCmd := &sk_exec.Command{
150 _, err := sk_exec.RunCommand(ctx, runCmd)
/external/skia/infra/bots/task_drivers/canvaskit_gold/
Dcanvaskit_gold.go121 runCmd := &sk_exec.Command{
132 _, err := sk_exec.RunCommand(ctx, runCmd)
186 runCmd := &sk_exec.Command{
192 _, err := sk_exec.RunCommand(ctx, runCmd)
/external/skia/infra/bots/task_drivers/external_client/
Dexternal_client.go64 runCmd := &sk_exec.Command{
78 _, err := sk_exec.RunCommand(ctx, runCmd)
/external/bazelbuild-rules_android/src/tools/ak/
Dak.go59 runCmd(cmd)
66 func runCmd(cmd string) { func
/external/cronet/build/android/
Dgenerate_jacoco_report.py247 device_exit_code = cmd_helper.RunCmd(device_cmd)
248 host_exit_code = cmd_helper.RunCmd(host_cmd)
253 exit_code = cmd_helper.RunCmd(cmd)
/external/angle/build/android/
Dgenerate_jacoco_report.py247 device_exit_code = cmd_helper.RunCmd(device_cmd)
248 host_exit_code = cmd_helper.RunCmd(host_cmd)
253 exit_code = cmd_helper.RunCmd(cmd)
/external/skia/infra/bots/task_drivers/cpu_tests/
Dcpu_tests.go81 runCmd := &sk_exec.Command{
93 _, err := sk_exec.RunCommand(ctx, runCmd)
/external/bazelbuild-rules_android/src/tools/ak/dex/
Ddex.go187 return runCmd(desugar, args)
203 return runCmd(d8, args)
206 func runCmd(cmd string, args []string) error { func
/external/cronet/build/android/pylib/utils/
Dgoogle_storage_helper.py63 cmd_helper.RunCmd(cmd)
83 return_code = cmd_helper.RunCmd(cmd)
/external/angle/build/android/pylib/utils/
Dgoogle_storage_helper.py63 cmd_helper.RunCmd(cmd)
83 return_code = cmd_helper.RunCmd(cmd)
/external/chromium-trace/catapult/devil/devil/utils/
Dupdate_dependencies.py94 ec = cmd_helper.RunCmd(cmd)
98 ec = cmd_helper.RunCmd(['autoninja', '-C', output_dir] + targets)
/external/skia/infra/bots/task_drivers/bazel_test_gm/
Dbazel_test_gm.go129 runCmd := &sk_exec.Command{
143 _, err := sk_exec.RunCommand(ctx, runCmd)

12