Home
last modified time | relevance | path

Searched refs:executable (Results 1 – 25 of 1459) sorted by relevance

12345678910>>...59

/external/python/cpython2/Lib/distutils/
Dspawn.py64 executable = cmd[0]
68 executable = find_executable(executable) or executable
69 log.info(' '.join([executable] + cmd[1:]))
73 rc = os.spawnv(os.P_WAIT, executable, cmd)
77 cmd = executable
83 cmd = executable
88 executable = cmd[0]
91 executable = find_executable(executable) or executable
92 log.info(' '.join([executable] + cmd[1:]))
96 rc = os.spawnv(os.P_WAIT, executable, cmd)
[all …]
/external/python/cpython3/Lib/distutils/
Dspawn.py60 executable = cmd[0]
64 executable = find_executable(executable) or executable
65 log.info(' '.join([executable] + cmd[1:]))
69 rc = os.spawnv(os.P_WAIT, executable, cmd)
73 cmd = executable
79 cmd = executable
92 executable = cmd[0]
119 exec_fn(executable, cmd)
121 exec_fn(executable, cmd, env)
124 cmd = executable
[all …]
/external/autotest/client/site_tests/platform_Firewall/
Dplatform_Firewall.py32 def _iptables_rules(executable): argument
33 rule_output = utils.system_output("%s -S" % executable)
39 def _check(expected_rule, actual_rules, error_msg, executable, check): argument
42 raise error.TestFail(error_msg % executable)
46 def _check_included(expected_rule, actual_rules, error_msg, executable): argument
49 expected_rule, actual_rules, error_msg, executable,
54 def _check_not_included(expected_rule, actual_rules, error_msg, executable): argument
57 expected_rule, actual_rules, error_msg, executable,
97 for executable in ["iptables", "ip6tables"]:
98 actual_rules = self._iptables_rules(executable)
[all …]
/external/python/cpython3/Lib/test/
Dtest_subprocess.py83 p = subprocess.Popen([sys.executable, "-c", "import sys; sys.exit(0)"],
97 p = subprocess.Popen([sys.executable, "-c", "import sys; sys.exit(0)"],
112 rc = subprocess.call([sys.executable, "-c",
122 [sys.executable, "-c", "while True: pass"],
127 rc = subprocess.check_call([sys.executable, "-c",
134 subprocess.check_call([sys.executable, "-c",
141 [sys.executable, "-c", "print('BDFL')"])
148 [sys.executable, "-c", "import sys; sys.exit(5)"])
154 [sys.executable, "-c", "import sys; sys.stderr.write('BDFL')"],
165 [sys.executable, "-c",
[all …]
Dtest_platform.py28 os.path.dirname(sys.executable), os.environ["Path"])
29 os.environ["PYTHONPATH"] = os.path.dirname(sys.executable)
37 real = os.path.realpath(sys.executable)
274 if os.path.isdir(sys.executable) and \
275 os.path.exists(sys.executable+'.exe'):
277 executable = sys.executable + '.exe'
279 executable = sys.executable
280 res = platform.libc_ver(executable)
303 command = '"{}" -c "print(\'Hello\')"'.format(sys.executable)
305 command = "'{}' -c 'print(\"Hello\")'".format(sys.executable)
[all …]
/external/python/cpython2/Lib/test/
Dtest_subprocess.py71 rc = subprocess.call([sys.executable, "-c",
77 rc = subprocess.check_call([sys.executable, "-c",
84 subprocess.check_call([sys.executable, "-c",
91 [sys.executable, "-c", "print 'BDFL'"])
98 [sys.executable, "-c", "import sys; sys.exit(5)"])
104 [sys.executable, "-c", "import sys; sys.stderr.write('BDFL')"],
112 [sys.executable, "-c", "print 'will not be run'"],
121 rc = subprocess.call([sys.executable, "-c",
139 p = subprocess.Popen([sys.executable, "-c", 'print "banana"'],
161 p = subprocess.Popen([sys.executable, "-c", code],
[all …]
Dtest_platform.py20 real = os.path.realpath(sys.executable)
251 if os.path.isdir(sys.executable) and \
252 os.path.exists(sys.executable+'.exe'):
254 executable = sys.executable + '.exe'
256 executable = sys.executable
257 res = platform.libc_ver(executable)
/external/autotest/client/site_tests/security_Firewall/
Dsecurity_Firewall.py20 def get_firewall_settings(executable): argument
21 rules = utils.system_output("%s -S" % executable)
35 def dump_rules(self, rules, executable): argument
44 outf = open(os.path.join(self.resultsdir, "%s_rules" % executable), 'w')
68 for executable in ["iptables", "ip6tables"]:
69 baseline = self.load_baseline("baseline.%s" % executable)
74 current = self.get_firewall_settings(executable)
77 self.dump_rules(current, executable)
85 "Missing %s rules" % executable)
90 self.log_error_rules(extra_rules, "Extra %s rules" % executable)
/external/selinux/sandbox/
Dtest_sandbox.py30 p2 = Popen([sys.executable, 'sandbox', 'grep', 'root'], stdin=p1.stdout, stdout=PIPE)
38 p = Popen([sys.executable, 'sandbox', 'kill', '-HUP', str(pid)], stdout=PIPE, stderr=PIPE)
44 … p = Popen([sys.executable, 'sandbox', 'ping', '-c 1 ', '127.0.0.1'], stdout=PIPE, stderr=PIPE)
50 p = Popen([sys.executable, 'sandbox', 'mkdir', '~/test'], stdout=PIPE, stderr=PIPE)
56 p = Popen([sys.executable, 'sandbox', 'ls', '~'], stdout=PIPE, stderr=PIPE)
62 p = Popen([sys.executable, 'sandbox', 'mail'], stdout=PIPE, stderr=PIPE)
68 p = Popen([sys.executable, 'sandbox', 'sudo'], stdout=PIPE, stderr=PIPE)
74 p = Popen([sys.executable, 'sandbox', '-M', 'id'], stdout=PIPE, stderr=PIPE)
80 p = Popen([sys.executable, 'sandbox', '-l', 's0', 'id'], stdout=PIPE, stderr=PIPE)
87 p = Popen([sys.executable, 'sandbox', '-H', homedir, '-M', 'id'], stdout=PIPE, stderr=PIPE)
[all …]
/external/webrtc/webrtc/modules/audio_coding/neteq/
Dneteq_tests.gypi27 'type': 'executable',
63 'type': 'executable',
109 'type': 'executable',
120 'type': 'executable',
134 'type': 'executable',
146 'type': 'executable',
158 'type': 'executable',
170 'type': 'executable',
182 'type': 'executable',
214 'type': 'executable',
[all …]
/external/v8/tools/sanitizers/
Dsancov_merger.py69 keep, coverage_dir, executable, index, bucket = args
80 result_file_name = '%s.result.%d.sancov' % (executable, index)
83 result_file_name = '%s.result.sancov' % executable
89 return executable, result_file_name
103 for executable, files in file_map.iteritems():
114 inputs.extend([(keep, coverage_dir, executable, i, b)
146 for executable, f in results:
147 file_map.setdefault(executable, []).append(f)
152 inputs = [(options.keep, options.coverage_dir, executable, None, files)
153 for executable, files in file_map.iteritems()]
/external/python/cpython3/PC/
Dlauncher.c147 wchar_t executable[MAX_PATH]; member
188 if (_wcsicmp(path, ip->executable) == 0) { in find_existing_python()
241 data_size = sizeof(ip->executable) - 1; in locate_pythons_for_key()
243 (LPBYTE)ip->executable, &data_size); in locate_pythons_for_key()
252 if (ip->executable[data_size - 1] == L'\\') in locate_pythons_for_key()
257 _snwprintf_s(&ip->executable[data_size], in locate_pythons_for_key()
261 attrs = GetFileAttributesW(ip->executable); in locate_pythons_for_key()
265 ip->executable, message); in locate_pythons_for_key()
270 ip->executable, attrs); in locate_pythons_for_key()
272 else if (find_existing_python(ip->executable)) { in locate_pythons_for_key()
[all …]
/external/tensorflow/tensorflow/compiler/xla/tests/
Dhlo_metadata_test.cc50 std::unique_ptr<LocalExecutable> executable, in TEST_F()
55 auto instruction = executable->executable() in TEST_F()
76 std::unique_ptr<LocalExecutable> executable = in TEST_F() local
79 auto instruction = executable->executable() in TEST_F()
/external/llvm/test/Bindings/Go/
Dlit.local.cfg12 def find_executable(executable, path=None):
16 base, ext = os.path.splitext(executable)
19 executable = executable + '.exe'
21 if not os.path.isfile(executable):
23 f = os.path.join(p, executable)
28 return executable
/external/apache-harmony/support/src/test/java/tests/support/
DSupport_Exec.java39 String executable = System.getProperty("java.home"); in runJava() local
40 if (!executable.endsWith(File.separator)) { in runJava()
41 executable += File.separator; in runJava()
43 executable += "bin" + File.separator + "java"; in runJava()
55 return run(executable, args, envp, displayOutput); in runJava()
169 String executable = System.getProperty("java.home"); in execJavaCommon() local
170 if (!executable.endsWith(File.separator)) { in execJavaCommon()
171 executable += File.separator; in execJavaCommon()
173 executable += "bin" + File.separator + "java"; in execJavaCommon()
207 return exec(executable, execArgs, envp, displayOutput); in execJavaCommon()
/external/python/cpython3/Lib/distutils/command/
Dbuild_scripts.py34 self.executable = None
100 executable = self.executable
102 executable = os.path.join(
106 executable = os.fsencode(executable)
107 shebang = b"#!" + executable + post_interp + b"\n"
/external/selinux/python/sepolicy/sepolicy/
Dgenerate.py34 from .templates import executable
523 return re.sub("TEMPLATETYPE", self.name, executable.te_uid_rules)
529 return re.sub("TEMPLATETYPE", self.name, executable.te_syslog_rules)
535 return re.sub("TEMPLATETYPE", self.name, executable.te_resolve_rules)
541 return re.sub("TEMPLATETYPE", self.name, executable.te_kerberos_rules)
547 return re.sub("TEMPLATETYPE", self.name, executable.te_manage_krb5_rcache_rules)
554 newte = re.sub("TEMPLATETYPE", self.name, executable.te_pam_rules)
560 newte = re.sub("TEMPLATETYPE", self.name, executable.te_audit_rules)
566 newte = re.sub("TEMPLATETYPE", self.name, executable.te_etc_rules)
572 newte = re.sub("TEMPLATETYPE", self.name, executable.te_fd_rules)
[all …]
/external/autotest/client/site_tests/camera_V4L2/
Dcamera_V4L2.py64 executable = os.path.join(self.bindir, "media_v4l2_is_capture_device")
65 cmd = "%s %s" % (executable, device)
88 executable = os.path.join(self.bindir, "media_v4l2_unittest")
89 cmd = "%s %s" % (executable, " ".join(options))
97 executable = os.path.join(self.bindir, "media_v4l2_test")
98 cmd = "%s %s" % (executable, " ".join(options))
/external/webrtc/webrtc/tools/
Dtools.gyp30 'type': 'executable',
41 'type': 'executable',
52 'type': 'executable',
80 'type': 'executable',
91 'type': 'executable',
114 'type': 'executable',
129 'type': 'executable',
141 'type': 'executable',
/external/webrtc/webrtc/modules/audio_processing/
Daudio_processing_tests.gypi25 'type': 'executable',
40 'type': 'executable',
52 'type': 'executable',
64 'type': 'executable',
106 'type': 'executable',
121 'type': 'executable',
139 'type': 'executable',
/external/autotest/client/site_tests/security_mprotect/
Dsecurity_mprotect.py16 executable = 'prot_exec' variable in security_mprotect
21 utils.make(self.executable)
25 with tempfile.NamedTemporaryFile(prefix='%s-' % (self.executable),
29 r = utils.run("%s/%s %s" % (self.srcdir, self.executable,
/external/selinux/python/sepolicy/sepolicy/help/
Dtransition_to.txt4 Under SELinux, when a process running with a 'type' attempts to execute an executable, one of three…
6 1. The process can be prevented from running the executable.
7 2. The executable executes with the same label as parent.
8 3. The executable 'transitions' to a new 'type' based on policy.
/external/tensorflow/tensorflow/compiler/xla/service/
Dcompilation_cache.cc28 std::unique_ptr<Executable> executable, in Insert() argument
33 BuildKey(executable->entry_computation_handle(), module_config); in Insert()
36 cache_.emplace(key, std::move(executable)); in Insert()
45 executable.reset(); in Insert()
/external/protobuf/conformance/
Dconformance_test_runner.cc88 ForkPipeRunner(const std::string &executable) in ForkPipeRunner() argument
89 : child_pid_(-1), executable_(executable) {} in ForkPipeRunner()
186 scoped_array<char> executable(new char[executable_.size() + 1]); in SpawnTestProgram() local
187 memcpy(executable.get(), executable_.c_str(), executable_.size()); in SpawnTestProgram()
188 executable[executable_.size()] = '\0'; in SpawnTestProgram()
190 char *const argv[] = {executable.get(), NULL}; in SpawnTestProgram()
191 CHECK_SYSCALL(execv(executable.get(), argv)); // Never returns. in SpawnTestProgram()
/external/python/cpython2/Lib/plat-mac/
Dbundlebuilder.py373 executable = None variable in AppBuilder
425 if self.mainprogram is None and self.executable is None:
435 elif self.executable is not None:
436 self.name = os.path.splitext(os.path.basename(self.executable))[0]
440 if self.executable is None:
444 self.executable = self.python
446 self.executable = sys.executable
465 if self.executable is not None:
469 execname = os.path.basename(self.executable)
472 self.files.append((self.destroot + self.executable, execpath))
[all …]

12345678910>>...59