Home
last modified time | relevance | path

Searched refs:cmd_line (Results 1 – 25 of 30) sorted by relevance

12

/external/autotest/server/cros/
Dresource_monitor_unittest.py57 def _process_top(self, cmd_args, cmd_line): argument
76 self.called_unsupported_command(cmd_line)
84 def _process_kill(self, cmd_args, cmd_line): argument
97 self.called_unsupported_command(cmd_line)
109 def _process_rm(self, cmd_args, cmd_line): argument
122 self.called_unsupported_command(cmd_line)
137 def _run_single_cmd(self, cmd_line, *args, **kwargs): argument
144 cmd_line = cmd_line.strip()
145 cmd_line = re.sub(">", " > ", cmd_line)
147 cmd_args = re.split("\s+", cmd_line)
[all …]
/external/python/cpython3/Lib/test/support/
Dscript_helper.py59 def fail(self, cmd_line): argument
82 % (self.rc, cmd_line,
95 cmd_line = [sys.executable, '-X', 'faulthandler']
99 cmd_line.append('-I')
102 cmd_line.append('-E')
126 cmd_line.extend(args)
127 proc = subprocess.Popen(cmd_line, stdin=subprocess.PIPE,
137 return _PythonRunResult(rc, out, err), cmd_line
140 res, cmd_line = run_python_until_end(*args, **env_vars)
142 res.fail(cmd_line)
[all …]
/external/python/cpython2/Lib/test/support/
Dscript_helper.py25 cmd_line = [sys.executable]
27 cmd_line.append('-E')
28 cmd_line.extend(args)
33 p = subprocess.Popen(cmd_line, stdin=subprocess.PIPE,
65 cmd_line = [sys.executable, '-E']
66 cmd_line.extend(args)
68 return subprocess.call(cmd_line, stdout=devnull,
72 cmd_line = [sys.executable, '-E']
73 cmd_line.extend(args)
74 return subprocess.Popen(cmd_line, stdin=subprocess.PIPE,
/external/libchrome/base/test/
Dmultiprocess_test.cc46 CommandLine cmd_line = *CommandLine::ForCurrentProcess(); in GetMultiProcessTestChildBaseCommandLine() local
47 cmd_line.SetProgram(MakeAbsoluteFilePath(cmd_line.GetProgram())); in GetMultiProcessTestChildBaseCommandLine()
48 return cmd_line; in GetMultiProcessTestChildBaseCommandLine()
/external/chromium-trace/catapult/common/py_utils/py_utils/
Dwebpagereplay_go_server.py204 cmd_line = [go_binary_path]
206 cmd_line.append('record')
208 cmd_line.append('replay')
210 cmd_line.append('--disable_fuzzy_url_matching')
214 cmd_line.extend([
220 cmd_line.append(INJECT_SCRIPTS)
222 cmd_line.append('--inject_scripts=%s' % inject_script)
223 cmd_line.append(archive_path)
224 return cmd_line
Dts_proxy_server.py82 cmd_line = [sys.executable, _TSPROXY_PATH]
84 cmd_line.extend(['--port=0'])
86 cmd_line.append('--desthost=%s' % self._host_ip)
88 cmd_line.append(
90 logging.info('Tsproxy commandline: %s', cmd_line)
92 cmd_line, stdout=subprocess.PIPE, stdin=subprocess.PIPE,
/external/llvm-project/lldb/test/API/functionalities/thread/step_until/
DTestStepUntil.py58 cmd_line = "thread until"
60 cmd_line += " %d"%(line_num)
62 cmd_interp.HandleCommand(cmd_line, ret_obj)
63 self.assertTrue(ret_obj.Succeeded(), "'%s' failed: %s."%(cmd_line, ret_obj.GetError()))
/external/python/cpython3/Lib/test/
Dtest_repl.py25 cmd_line = [stdin_fname, '-E', '-i']
26 cmd_line.extend(args)
32 return subprocess.Popen(cmd_line,
/external/libchrome/base/process/
Dprocess_iterator_linux.cc49 std::string cmd_line; in GetProcCmdline() local
50 if (!ReadFileToString(cmd_line_file, &cmd_line)) in GetProcCmdline()
54 *proc_cmd_line_args = SplitString(cmd_line, delimiters, KEEP_WHITESPACE, in GetProcCmdline()
Dprocess_util_unittest.cc788 CommandLine cmd_line = MakeCmdLine("TriggerEventChildProcess"); in TEST_F() local
789 cmd_line.AppendSwitchASCII( in TEST_F()
794 ASSERT_TRUE(LaunchProcess(cmd_line, options).IsValid()); in TEST_F()
/external/libchrome/base/metrics/
Dfield_trial.cc190 CommandLine* cmd_line) { in AddFeatureAndFieldTrialFlags() argument
197 cmd_line->AppendSwitchASCII(enable_features_switch, enabled_features); in AddFeatureAndFieldTrialFlags()
199 cmd_line->AppendSwitchASCII(disable_features_switch, disabled_features); in AddFeatureAndFieldTrialFlags()
204 cmd_line->AppendSwitchASCII(switches::kForceFieldTrials, in AddFeatureAndFieldTrialFlags()
826 const CommandLine& cmd_line, in CreateTrialsFromCommandLine() argument
832 if (cmd_line.HasSwitch(field_trial_handle_switch)) { in CreateTrialsFromCommandLine()
834 cmd_line.GetSwitchValueASCII(field_trial_handle_switch); in CreateTrialsFromCommandLine()
842 if (cmd_line.HasSwitch(field_trial_handle_switch)) { in CreateTrialsFromCommandLine()
844 cmd_line.GetSwitchValueASCII(field_trial_handle_switch); in CreateTrialsFromCommandLine()
850 if (cmd_line.HasSwitch(switches::kForceFieldTrials)) { in CreateTrialsFromCommandLine()
[all …]
Dfield_trial.h569 static void CreateTrialsFromCommandLine(const base::CommandLine& cmd_line,
604 base::CommandLine* cmd_line);
/external/llvm-project/lldb/source/Commands/
DCommandObjectPlatform.cpp444 std::string cmd_line; in DoExecute() local
445 args.GetCommandString(cmd_line); in DoExecute()
454 Status error = platform_sp->MakeDirectory(FileSpec(cmd_line), mode); in DoExecute()
503 std::string cmd_line; in DoExecute() local
504 args.GetCommandString(cmd_line); in DoExecute()
514 FileSpec(cmd_line), in DoExecute()
556 std::string cmd_line; in DoExecute() local
557 args.GetCommandString(cmd_line); in DoExecute()
559 if (!llvm::to_integer(cmd_line, fd)) { in DoExecute()
561 cmd_line); in DoExecute()
[all …]
/external/python/cpython3/Tools/ccbench/
Dccbench.py289 cmd_line = [sys.executable, '-E', os.path.abspath(__file__)]
290 cmd_line.extend(['--latclient', repr(kwargs)])
291 return subprocess.Popen(cmd_line) #, stdin=subprocess.PIPE,
422 cmd_line = [sys.executable, '-E', os.path.abspath(__file__)]
423 cmd_line.extend(['--bwclient', repr(kwargs)])
424 return subprocess.Popen(cmd_line) #, stdin=subprocess.PIPE,
/external/python/cpython2/Tools/ccbench/
Dccbench.py295 cmd_line = [sys.executable, '-E', os.path.abspath(__file__)]
296 cmd_line.extend(['--latclient', repr(kwargs)])
297 return subprocess.Popen(cmd_line) #, stdin=subprocess.PIPE,
427 cmd_line = [sys.executable, '-E', os.path.abspath(__file__)]
428 cmd_line.extend(['--bwclient', repr(kwargs)])
429 return subprocess.Popen(cmd_line) #, stdin=subprocess.PIPE,
/external/python/cpython2/Lib/test/
Dtest_cmd_line.py26 def verify_valid_flag(self, cmd_line): argument
27 data = self.start_python(cmd_line)
Dtest_hash.py159 cmd_line = [sys.executable, '-c', self.get_hash_command(repr_)]
160 p = subprocess.Popen(cmd_line, stdin=subprocess.PIPE,
/external/autotest/server/
Dautoserv232 cmd_line = ' '.join(["'%s'" % arg if ' ' in arg else arg for arg in args])
233 logging.info('Run command in container: %s', cmd_line)
236 test_container.attach_run(cmd_line)
301 cmd_line = utils.run('ps -fp %s' % pid).stdout
302 if ('--board %s' % board in cmd_line and
303 '--port %s' % servo_port in cmd_line):
Dautoserv.py232 cmd_line = ' '.join(["'%s'" % arg if ' ' in arg else arg for arg in args])
233 logging.info('Run command in container: %s', cmd_line)
236 test_container.attach_run(cmd_line)
301 cmd_line = utils.run('ps -fp %s' % pid).stdout
302 if ('--board %s' % board in cmd_line and
303 '--port %s' % servo_port in cmd_line):
/external/libchrome/base/test/launcher/
Dunit_test_launcher.cc641 CommandLine cmd_line(platform_delegate->GetCommandLineForChildGTestProcess( in RunUnitTestsSerially() local
647 cmd_line, platform_delegate->GetWrapperForChildGTestProcess(), in RunUnitTestsSerially()
672 CommandLine cmd_line(platform_delegate->GetCommandLineForChildGTestProcess( in RunUnitTestsBatch() local
686 cmd_line, platform_delegate->GetWrapperForChildGTestProcess(), timeout, in RunUnitTestsBatch()
/external/webrtc/examples/peerconnection/client/
Dmain.cc76 wchar_t* cmd_line, in wWinMain() argument
/external/python/futures/
Dtest_futures.py43 cmd_line = [sys.executable]
45 cmd_line.append('-E')
54 cmd_line.extend(args)
55 p = subprocess.Popen(cmd_line, stdin=subprocess.PIPE,
/external/toolchain-utils/crosperf/
Dresults_cache_unittest.py990 cmd_line = '# cmdline : /usr/bin/perf record -e instructions -p {pid}'
993 (0, cmd_line.format(pid=exp_perf_pids[0]), ''),
994 (0, cmd_line.format(pid=exp_perf_pids[1]), ''),
1005 cmd_line = '# cmdline : /usr/bin/perf record -e instructions'
1006 mock_runcmd.return_value = (0, cmd_line, '')
1018 cmd_line = '# cmdline : /usr/bin/perf record -e instructions -a -p 1234'
1019 mock_runcmd.return_value = (0, cmd_line, '')
/external/selinux/policycoreutils/secon/
Dsecon.c152 static void cmd_line(int argc, char *argv[]) in cmd_line() function
753 cmd_line(argc, argv); in main()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_debug.c1137 char cmd_line[4096]; in si_check_vm_faults() local
1147 if (os_get_command_line(cmd_line, sizeof(cmd_line))) in si_check_vm_faults()
1148 fprintf(f, "Command: %s\n", cmd_line); in si_check_vm_faults()

12