Lines Matching full:pid
217 def mock_kill_function(pid, sig): argument
218 if pid < 0:
226 mock_child1 = mock.Mock(pid=1)
227 mock_child2 = mock.Mock(pid=2)
230 mock_proc = mock.Mock(pid=0)
248 mock_child_neg1 = mock.Mock(pid=-1)
263 def mock_kill_function(pid, sig): argument
264 if pid < 0:
270 handler.pid_fn = os.path.join('dummy', 'path', 'to', 'pid.pid')
281 os.path.join('dummy', 'path', 'to', 'pid.pid')
287 handler.pid_fn = os.path.join('dummy', 'path', 'to', 'pid.pid')
293 os.path.join('dummy', 'path', 'to', 'pid.pid')
382 def __init__(self, pid, stdout): argument
383 super().__init__(pid, stdout)
384 self.pid = mock.PropertyMock(return_value=pid)
578 __enter__=mock.Mock(return_value=mock.Mock(pid=0, returncode=0)),
649 'renode.pid')
965 (mock.Mock(pid=0, returncode=0), False),
966 (mock.Mock(pid=0, returncode=1), False),
967 (mock.Mock(pid=0, returncode=1), True)
1424 pid=1,
1529 def mock_process(pid): argument
1605 ids=['pid exists', 'pid missing']
1628 assert handler.pid_fn == sysbuild_build_dir + os.path.sep + 'qemu.pid'
1634 os.path.sep + 'qemu.pid')
1859 'content, timeout, pid, harness_statuses, cputime, capture_coverage,' \
1868 'timeout by pid=0',
1877 pid, argument
1885 def mock_cputime(pid): argument
1886 if pid > 0:
1901 contents = str(pid).encode('utf-8')
1989 mock_process = mock.Mock(pid=0, returncode=1)
2012 handler.pid_fn = os.path.join(sysbuild_build_dir, 'qemu.pid')