Home
last modified time | relevance | path

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

12

/external/autotest/server/cros/
Dresource_monitor_unittest.py49 def _process_top(self, cmd_args, cmd_line): argument
68 self.called_unsupported_command(cmd_line)
76 def _process_kill(self, cmd_args, cmd_line): argument
89 self.called_unsupported_command(cmd_line)
101 def _process_rm(self, cmd_args, cmd_line): argument
114 self.called_unsupported_command(cmd_line)
129 def _run_single_cmd(self, cmd_line, *args, **kwargs): argument
136 cmd_line = cmd_line.strip()
137 cmd_line = re.sub(">", " > ", cmd_line)
139 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,
138 return _PythonRunResult(rc, out, err), cmd_line
141 res, cmd_line = run_python_until_end(*args, **env_vars)
143 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/autotest/client/site_tests/video_VDAPerf/
Dvideo_VDAPerf.py224 def _append_freon_switch_if_needed(self, cmd_line): argument
225 return cmd_line + ' --ozone-platform=gbm'
240 cmd_line = ' '.join(cmd_line_list)
241 self.run_chrome_test_binary(BINARY, cmd_line)
261 cmd_line = ' '.join(cmd_line_list)
264 self.run_chrome_test_binary(BINARY, cmd_line, prefix=time_cmd)
279 cmd_line = ' '.join(cmd_line_list)
280 self.run_chrome_test_binary(BINARY, cmd_line)
/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, executable=sys.executable,
/external/u-boot/arch/x86/lib/
Dzimage.c239 int setup_zimage(struct boot_params *setup_base, char *cmd_line, int auto_boot, in setup_zimage() argument
270 if (cmd_line) { in setup_zimage()
272 hdr->cmd_line_ptr = (uintptr_t)cmd_line; in setup_zimage()
276 (uintptr_t)cmd_line - (uintptr_t)setup_base; in setup_zimage()
282 build_command_line(cmd_line, auto_boot); in setup_zimage()
/external/autotest/client/site_tests/video_HangoutHardwarePerf/
Dvideo_HangoutHardwarePerf.py207 cmd_line = [
215 cmd_line.append('--ozone-platform=gbm')
216 return cmd_line
231 cmd_line = [
239 cmd_line.append('--ozone-platform=gbm')
240 return cmd_line
/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 …]
/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()
/external/autotest/client/site_tests/video_JpegDecodeAccelerator/
Dvideo_JpegDecodeAccelerator.py41 cmd_line = helper_logger.chrome_vmodule_flag()
42 self.run_chrome_test_binary(self.binary, cmd_line)
/external/u-boot/common/
Davb_verify.c156 char *cmd_line; in append_cmd_line() local
162 cmd_line = cmdline_orig; in append_cmd_line()
164 cmd_line = " "; in append_cmd_line()
166 cmd_line = avb_strdupv(cmd_line, " ", cmdline_new, NULL); in append_cmd_line()
168 return cmd_line; in append_cmd_line()
/external/autotest/client/site_tests/video_JpegEncodeAccelerator/
Dvideo_JpegEncodeAccelerator.py43 cmd_line = helper_logger.chrome_vmodule_flag()
44 self.run_chrome_test_binary(self.binary, cmd_line)
/external/autotest/client/site_tests/video_VideoEncodeAccelerator/
Dvideo_VideoEncodeAccelerator.py243 cmd_line = ' '.join(cmd_line_list)
244 logging.debug('Executing with argument: %s', cmd_line)
246 self.run_chrome_test_binary(BINARY, cmd_line, as_chronos=False)
/external/autotest/client/site_tests/video_VideoDecodeAccelerator/
Dvideo_VideoDecodeAccelerator.py59 cmd_line = ' '.join(cmd_line_list)
61 self.run_chrome_test_binary(self.binary, cmd_line)
/external/autotest/client/site_tests/video_VDASanity/
Dvideo_VDASanity.py52 cmd_line = ' '.join(cmd_line_list)
53 self.run_chrome_test_binary(BINARY, cmd_line)
/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/cpython3/Tools/ccbench/
Dccbench.py296 cmd_line = [sys.executable, '-E', os.path.abspath(__file__)]
297 cmd_line.extend(['--latclient', repr(kwargs)])
298 return subprocess.Popen(cmd_line) #, stdin=subprocess.PIPE,
429 cmd_line = [sys.executable, '-E', os.path.abspath(__file__)]
430 cmd_line.extend(['--bwclient', repr(kwargs)])
431 return subprocess.Popen(cmd_line) #, stdin=subprocess.PIPE,
/external/autotest/server/
Dautoserv.py225 cmd_line = ' '.join(["'%s'" % arg if ' ' in arg else arg for arg in args])
226 logging.info('Run command in container: %s', cmd_line)
229 test_container.attach_run(cmd_line)
294 cmd_line = utils.run('ps -fp %s' % pid).stdout
295 if ('--board %s' % board in cmd_line and
296 '--port %s' % servo_port in cmd_line):
Dautoserv225 cmd_line = ' '.join(["'%s'" % arg if ' ' in arg else arg for arg in args])
226 logging.info('Run command in container: %s', cmd_line)
229 test_container.attach_run(cmd_line)
294 cmd_line = utils.run('ps -fp %s' % pid).stdout
295 if ('--board %s' % board in cmd_line and
296 '--port %s' % servo_port in cmd_line):
/external/python/cpython2/Lib/test/
Dtest_cmd_line.py26 def verify_valid_flag(self, cmd_line): argument
27 data = self.start_python(cmd_line)
/external/v8/tools/gcmole/
Dgcmole.lua156 local cmd_line = MakeClangCommandLine(cfg.plugin,
165 local action = cmd_line .. " " .. filename .. " 2>&1"
175 .. cmd_line .. "\" " .. table.concat(filenames, " ")
/external/autotest/client/site_tests/video_JEAPerf/
Dvideo_JEAPerf.py115 cmd_line = ' '.join(cmd_line_list)
117 self.run_chrome_test_binary(self.binary, cmd_line)
/external/autotest/client/site_tests/video_JDAPerf/
Dvideo_JDAPerf.py156 cmd_line = ' '.join(cmd_line_list)
157 self.run_chrome_test_binary(self.binary, cmd_line)
/external/u-boot/arch/x86/include/asm/
Dzimage.h35 int setup_zimage(struct boot_params *setup_base, char *cmd_line, int auto_boot,

12