Home
last modified time | relevance | path

Searched refs:_process (Results 1 – 25 of 26) sorted by relevance

12

/external/python/cpython3/Lib/test/
Dtest_file_eintr.py27 self._process = None
30 if self._process and self._process.poll() is None:
32 self._process.kill()
59 if self._process.poll() is None:
62 self._process.terminate() # Ensure it dies.
66 stdout_end, stderr_end = self._process.communicate()
91 self._process = subprocess.Popen(
105 worm_sign = self._process.stderr.read(len(b'Worm Sign!\n'))
109 self._process.stdin.write(data_to_write)
119 rlist, _, _ = select.select([self._process.stderr], (), (), 0.05)
[all …]
/external/python/cpython2/Lib/test/
Dtest_file_eintr.py30 self._process = None
33 if self._process and self._process.poll() is None:
35 self._process.kill()
61 if self._process.poll() is None:
64 self._process.terminate() # Ensure it dies.
68 stdout_end, stderr_end = self._process.communicate()
93 self._process = subprocess.Popen(
107 worm_sign = self._process.stderr.read(len(b'Worm Sign!\n'))
111 self._process.stdin.write(data_to_write)
121 rlist, _, _ = select.select([self._process.stderr], (), (), 0.05)
[all …]
/external/autotest/client/profilers/custom_perf/
Dcustom_perf.py31 self._process = subprocess.Popen(cmd, shell=True,
36 ret_code = self._process.poll()
41 os.killpg(os.getpgid(self._process.pid), signal.SIGINT)
42 self._process.wait()
/external/llvm-project/debuginfo-tests/dexter/dex/debugger/lldb/
DLLDB.py27 self._process = None
44 self._process.Kill()
151 self._process = self._target.LaunchSimple(None, None, os.getcwd())
152 if not self._process or self._process.GetNumThreads() == 0:
154 if self._process.GetNumThreads() != 1:
156 self._thread = self._process.GetThreadAtIndex(0)
157 assert self._thread, (self._process, self._thread)
163 self._process.Continue()
/external/fonttools/Lib/fontTools/misc/
DclassifyTools.py68 def _process(self): member in Classifier
89 self._process()
98 self._process()
107 self._process()
/external/rust/crates/grpcio-sys/grpc/tools/run_tests/python_utils/
Djobset.py300 self._process = try_start()
309 self._process = try_start()
320 if self._state == _RUNNING and self._process.poll() is not None:
323 if self._process.returncode != 0:
327 (self._spec.shortname, self._process.returncode,
328 self._process.pid),
341 (self._spec.shortname, self._process.returncode,
342 self._process.pid, elapsed),
347 self.result.returncode = self._process.returncode
381 (self._spec.shortname, self._process.pid),
[all …]
/external/grpc-grpc/tools/run_tests/python_utils/
Djobset.py287 self._process = try_start()
296 self._process = try_start()
307 if self._state == _RUNNING and self._process.poll() is not None:
310 if self._process.returncode != 0:
315 (self._spec.shortname, self._process.returncode,
316 self._process.pid),
330 (self._spec.shortname, self._process.returncode,
331 self._process.pid, elapsed),
336 self.result.returncode = self._process.returncode
371 '%s [pid=%d]' % (self._spec.shortname, self._process.pid),
[all …]
/external/autotest/client/common_lib/cros/fake_device_server/
Dfake_gcd_helper.py25 self._process = process_watcher.ProcessWatcher(
39 self._process.start()
52 self._process.close()
/external/autotest/client/profilers/top/
Dtop.py27 self._process = subprocess.Popen(
41 os.killpg(self._process.pid, signal.SIGTERM)
43 self._process.wait()
/external/autotest/client/profilers/turbostat/
Dturbostat.py29 self._process = subprocess.Popen(
38 os.kill(self._process.pid, signal.SIGTERM)
40 self._process.wait()
/external/chromium-trace/catapult/devil/devil/android/sdk/
Dadb_wrapper.py194 self._process = None
206 if self._process is not None:
209 self._process = subprocess.Popen(
221 self._process.stdin.write('echo\n')
222 output_line = self._process.stdout.readline()
224 output_line = self._process.stdout.readline()
244 (output, _) = self._process.communicate(send_cmd)
245 self._process = None
253 self._process.stdin.write(send_cmd)
255 output_line = self._process.stdout.readline().rstrip()
[all …]
/external/selinux/python/sepolicy/sepolicy/
Dtransition.py44 self._process(self.source)
46 def _process(self, source): member in setrans
60 self._process(s)
/external/autotest/client/profilers/perf/
Dperf.py46 self._process = subprocess.Popen(cmd, shell=True,
51 os.kill(self._process.pid, signal.SIGINT)
52 self._process.wait()
/external/python/cpython3/Doc/tools/extensions/
Descape4chm.py14 def _process(string): function
34 context['body'] = _process(body)
/external/grpc-grpc/src/python/grpcio_testing/grpc_testing/
D_time.py60 def _process(state, now): function
140 delta = _process(self._state, now)
221 delta = _process(self._state, self._time)
228 delta = _process(self._state, self._time)
/external/grpc-grpc/src/python/grpcio_tests/tests/fork/
Dmethods.py127 self._process = multiprocessing.Process(target=record_exceptions)
130 self._process.start()
133 self._process.join()
134 if self._process.exitcode != 0:
136 self._process.exitcode)
/external/bazelbuild-rules_android/rules/
Dproguard.bzl47 def _process(
104 process = _process,
Didl.bzl122 def _process(
258 process = _process,
Ddata_binding.bzl154 def _process(
285 process = _process,
Dresources.bzl1549 def _process(
1618 process = _process,
/external/python/cpython3/Lib/multiprocessing/
Dmanagers.py546 self._process = self._ctx.Process(
551 ident = ':'.join(str(i) for i in self._process._identity)
552 self._process.name = type(self).__name__ + '-' + ident
553 self._process.start()
564 args=(self._process, self._address, self._authkey,
608 if self._process is not None:
609 self._process.join(timeout)
610 if not self._process.is_alive():
611 self._process = None
/external/igt-gpu-tools/benchmarks/ezbench.d/
Dgem_prw.test16 eval "gem:p$j:${i}_process() { bc -l <<< \" 4*1000000 / \${@: -1} \" ; }"
/external/python/cpython2/Lib/multiprocessing/
Dmanagers.py517 self._process = Process(
522 ident = ':'.join(str(i) for i in self._process._identity)
523 self._process.name = type(self).__name__ + '-' + ident
524 self._process.start()
535 args=(self._process, self._address, self._authkey,
576 self._process.join(timeout)
/external/python/cpython2/Lib/plat-mac/
Dfindertools.py215 class _process: class
229 p = _process()
/external/tensorflow/tensorflow/python/data/ops/
Ddataset_ops.py4836 def _process(op_queue, seen_ops): function
4868 reads, writes = _process(op_queue, seen_ops)

12