Home
last modified time | relevance | path

Searched refs:cmd (Results 1 – 25 of 29) sorted by relevance

12

/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/libcxx/
Dcompiler.py42 cmd = []
44 cmd += ['ccache']
45 cmd += [self.path]
47 cmd += ['-o', out]
49 cmd += ['-x', 'c++']
51 cmd += source_files
53 cmd += [source_files]
56 return cmd
59 cmd = self._basicCmd(source_files, out, input_is_cxx=True) + ['-E']
60 cmd += self.flags + self.compile_flags + flags
[all …]
Dutil.py38 def makeReport(cmd, out, err, rc): argument
39 report = "Command: %s\n" % cmd
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/libcxx/test/
Dexecutor.py9 def run(self, exe_path, cmd, local_cwd, file_deps=None, env=None): argument
29 def run(self, exe_path, cmd=None, work_dir='.', file_deps=None, env=None): argument
30 cmd = cmd or [exe_path]
37 out, err, rc = executeCommand(env_cmd + cmd, cwd=work_dir)
38 return (env_cmd + cmd, out, err, rc)
53 def run(self, exe_path, cmd=None, work_dir='.', file_deps=None, env=None): argument
54 cmd = cmd or [exe_path]
55 return self.chain.run(exe_path, self.commandPrefix + cmd, work_dir,
67 def run(self, exe_path, cmd=None, work_dir='.', file_deps=None, env=None): argument
68 cmd = cmd or [exe_path]
[all …]
Dformat.py109 cmd, out, err, rc = self.cxx.compileLinkTwoSteps(
112 compile_cmd = cmd
114 report = libcxx.util.makeReport(cmd, out, err, rc)
128 cmd, out, err, rc = self.executor.run(exec_path, [exec_path],
131 report = libcxx.util.makeReport(cmd, out, err, rc)
154 cmd, out, err, rc = self.cxx.compile(source_path, out=os.devnull,
160 report = libcxx.util.makeReport(cmd, out, err, rc)
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/libcxx/android/
Dadb.py5 def __init__(self, cmd, out, err, exit_code): argument
7 self.cmd = cmd
14 cmd = ['adb', 'shell', 'mkdir', path]
15 out, err, exit_code = lit.util.executeCommand(cmd)
17 raise AdbError(cmd, out, err, exit_code)
21 cmd = ['adb', 'push', src, dst]
22 out, err, exit_code = lit.util.executeCommand(cmd)
24 raise AdbError(cmd, out, err, exit_code)
Dexecutors.py19 cmd = 'mktemp -q {} /data/local/tmp/libcxx.XXXXXXXXXX'.format(dir_arg)
20 _, temp_path, err, exitCode = self._execute_command_remote([cmd])
29 def _execute_command_remote(self, cmd, remote_work_dir='.', env=None): argument
35 probe_cmd = ' '.join(cmd) + '; echo {}$?'.format(delimiter)
Dbuild.py9 cmd = [
13 return not subprocess.Popen(cmd, stdout=None, stderr=None, env=env).wait()
/ndk/tests/build/standalone-toolchain/
Dtest.py32 cmd = [make_standalone_toolchain_path, '--install-dir=' + install_dir]
35 cmd.append('--arch=' + arch)
37 cmd.append('--platform=' + platform)
42 cmd.append('--toolchain=' + name)
44 subprocess.check_call(cmd)
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/libcxx/android/test/
Dformat.py60 cmd, report, rc = libcxx.test.format.LibcxxTestFormat._build(
63 return cmd, report, rc
79 return cmd, report, rc
81 return self._make_report(ex.cmd, ex.out, ex.err, ex.exit_code)
85 cmd = ['adb', 'shell', 'rm', '-rf', self._working_directory(exec_file)]
86 lit.util.executeCommand(cmd)
/ndk/sources/host-tools/make-3.81/
Dvmsjobs.c306 char *cmd = alloca (strlen (argv) + 512), *p, *q; in child_execute_job() local
334 for (p = argv, q = cmd; *p; p++, q++) in child_execute_job()
401 if (strncmp (cmd, "builtin_", 8) == 0) in child_execute_job()
407 DB (DB_JOBS, (_("BUILTIN [%s][%s]\n"), cmd, cmd+8)); in child_execute_job()
409 p = cmd + 8; in child_execute_job()
457 printf(_("Unknown builtin command '%s'\n"), cmd); in child_execute_job()
468 if (strlen (cmd) > MAXCMDLEN in child_execute_job()
477 if (strlen (cmd) == 0) in child_execute_job()
509 p = sep = q = cmd; in child_execute_job()
566 sprintf (cmd, "$ @%s", comname); in child_execute_job()
[all …]
DREADME.OS211 Makefiles while others might want to use OS/2's native shell cmd.exe,
34 - At compile time you can turn off that cmd is used as default shell
36 will not use cmd unless you cause it to do so by setting MAKESHELL to
37 cmd or by specifying SHELL=cmd in your Makefile.
/ndk/tests/
Dprepare-buildbot-emulators.py78 cmd = [
82 subprocess.check_call(cmd)
93 cmd = [
97 proc = subprocess.Popen(cmd, stdin=subprocess.PIPE)
Dutil.py41 def call_output(cmd, *args, **kwargs): argument
52 proc = subprocess.Popen(cmd, stdout=subprocess.PIPE,
Dtests.py656 cmd = 'cd {} && LD_LIBRARY_PATH={} ./{}'.format(
659 result, out = adb.shell(cmd)
/ndk/build/core/
Ddefault-build-commands.mk72 define cmd-build-shared-library
87 define cmd-build-executable
100 define cmd-build-static-library
107 cmd-strip = $(PRIVATE_STRIP) --strip-unneeded $(call host-path,$1)
110 cmd-add-gnu-debuglink = $(PRIVATE_OBJCOPY) --add-gnu-debuglink=$(strip $(call host-path,$2)) $(call…
Dbuild-binary.mk562 $(LOCAL_BUILT_MODULE): PRIVATE_BUILD_STATIC_LIB := $(cmd-build-static-library)
662 $(LOCAL_BUILT_MODULE): PRIVATE_BUILD_SHARED_LIB := $(cmd-build-shared-library)
675 $(LOCAL_BUILT_MODULE): PRIVATE_BUILD_EXECUTABLE := $(cmd-build-executable)
702 $(LOCAL_INSTALLED): PRIVATE_STRIP_CMD := $(call cmd-strip, $(PRIVATE_DST))
704 $(LOCAL_INSTALLED): PRIVATE_OBJCOPY_CMD := $(call cmd-add-gnu-debuglink, $(PRIVATE_DST), $(PRIVATE_…
Ddefinitions.mk1418 cmd-convert-deps = && $(NDK_DEPENDENCIES_CONVERTER) $1
1421 cmd-convert-deps =
1452 $$(call cmd-convert-deps,$$(PRIVATE_DEPS))
1512 $$(call cmd-convert-deps,$$(PRIVATE_DEPS))
1520 $$(call cmd-convert-deps,$$(PRIVATE_DEPS))
/ndk/sources/host-tools/ndk-depends/
DGNUmakefile34 strip-cmd =
38 strip-cmd = $(STRIP) $1
72 $(call strip-cmd,$@)
/ndk/sources/host-tools/ndk-stack/
DGNUmakefile34 strip-cmd =
38 strip-cmd = $(STRIP) $1
82 $(call strip-cmd,$@)
/ndk/build/lib/
Dbuild_support.py141 def build(cmd, args, intermediate_package=False): argument
151 subprocess.check_call(cmd + common_args, env=build_env)
199 cmd = [
203 subprocess.check_call(cmd, stdout=prop_file)
/ndk/
Dndk-gdb.cmd4 set SHELL=cmd
Dndk-gdb.py393 cmd = ["/system/bin/sh", "-c", "pwd", "2>/dev/null"]
394 cmd = gdbrunner.get_run_as_cmd(package_name, cmd)
395 (rc, stdout, _) = args.device.shell_nocheck(cmd)
415 cmd = ["ls", app_gdbserver_path, "2>/dev/null"]
416 cmd = gdbrunner.get_run_as_cmd(package_name, cmd)
417 (rc, _, _) = args.device.shell_nocheck(cmd)
434 cmd = ["cat", remote_path, "|", "run-as", package_name,
436 (rc, _, _) = args.device.shell_nocheck(cmd)
Dcheckbuild.py161 cmd = [
165 print('Running tests: {}'.format(' '.join(cmd)))
166 result = subprocess.call(cmd, env=test_env)
/ndk/build/
Dndk-build.cmd7 "%PREBUILT_PATH%\bin\make.exe" -f "%NDK_ROOT%\build\core\build-local.mk" SHELL=cmd %*
/ndk/sources/host-tools/make-3.81/tests/scripts/targets/
DINTERMEDIATE78 # TEST #6 -- added for PR/1669: don't remove files mentioned on the cmd line.

12