Home
last modified time | relevance | path

Searched refs:subcommand (Results 1 – 25 of 52) sorted by relevance

123

/external/autotest/server/
Dsubcommand_unittest.py9 from autotest_lib.server import subcommand
14 class wrapper(subcommand.subcommand):
34 subcommand.subcommand.fork_hooks = []
35 subcommand.subcommand.join_hooks = []
54 cmd = subcommand.subcommand(func, (2, 3))
58 self.god.stub_function(subcommand.os.path, 'abspath')
59 self.god.stub_function(subcommand.os.path, 'exists')
60 self.god.stub_function(subcommand.os, 'mkdir')
62 subcommand.os.path.abspath.expect_call('dir').and_return('/foo/dir')
63 subcommand.os.path.exists.expect_call('/foo/dir').and_return(False)
[all …]
Dbase_utils.py14 from autotest_lib.server import subcommand
135 subcommand.subcommand.register_join_hook(lambda _: __clean_tmp_dirs())
Dsubcommand.py105 subcommands.append(subcommand(function, args, subdir))
109 class subcommand(object): class
Dserver_job.py41 from autotest_lib.server import subcommand
318 subcommand.logging_manager_object = self.logging
443 subcommand.subcommand.register_fork_hook(on_fork)
444 subcommand.subcommand.register_join_hook(on_join)
616 return subcommand.parallel_simple(
/external/autotest/client/site_tests/hardware_TPMCheck/
Dhardware_TPMCheck.py41 def __run_tpmc_cmd(subcommand): argument
47 cmd = 'tpmc %s' % subcommand
51 def check_tpmc(subcommand, expected): argument
62 error_msg = 'invalid response to tpmc %s' % subcommand
64 out = __run_tpmc_cmd(subcommand)
68 result_set = utils.set_from_keyval_output(__run_tpmc_cmd(subcommand))
126 for subcommand in ['getvf', 'getpf']:
127 check_tpmc(subcommand, tpmc_expected[subcommand])
/external/adhd/cras/client/cras_tests/src/
Daudio_options.rs38 fn show_subcommand_usage<T: AsRef<str>>(program_name: T, subcommand: &Subcommand, opts: &Options) { in show_subcommand_usage()
42 subcommand in show_subcommand_usage()
48 pub subcommand: Subcommand, field
72 let subcommand = match args.next() { in parse_from_args() localVariable
100 show_subcommand_usage(&program_name, &subcommand, &opts); in parse_from_args()
105 show_subcommand_usage(&program_name, &subcommand, &opts); in parse_from_args()
111 show_subcommand_usage(&program_name, &subcommand, &opts); in parse_from_args()
124 subcommand, in parse_from_args()
143 assert_eq!(opts.subcommand, Subcommand::Playback); in parse_from_args()
152 assert_eq!(opts.subcommand, Subcommand::Capture); in parse_from_args()
[all …]
Dmain.rs126 match opts.subcommand { in main()
/external/autotest/server/tests/netpipe/
Dnetpipe.py1 from autotest_lib.server import autotest, hosts, subcommand, test
49 server_command = subcommand.subcommand(server_at.run,
52 client_command = subcommand.subcommand(client_at.run,
56 subcommand.parallel([server_command, client_command])
/external/autotest/server/tests/netperf2/
Dnetperf2.py1 from autotest_lib.server import autotest, hosts, subcommand, test
48 server_command = subcommand.subcommand(server_at.run,
51 client_command = subcommand.subcommand(client_at.run,
55 subcommand.parallel([server_command, client_command])
/external/autotest/client/site_tests/firmware_Cr50VirtualNVRam/
Dfirmware_Cr50VirtualNVRam.py14 def run_tpmc_cmd(subcommand): argument
22 cmd = 'tpmc %s 2>&1 | awk 1 ORS=""' % subcommand
25 def check_tpmc(subcommand, expected): argument
32 error_msg = 'invalid response to tpmc %s' % subcommand
33 out = run_tpmc_cmd(subcommand)
39 def expect_tpmc_error(subcommand, expected_error): argument
40 check_tpmc(subcommand, '.*failed.*%s.*' % expected_error)
/external/python/cpython3/Lib/test/
Dtest_dtrace.py57 def generate_trace_command(self, script_file, subcommand=None): argument
59 if subcommand:
60 command += ["-c", subcommand]
63 def trace(self, script_file, subcommand=None): argument
64 command = self.generate_trace_command(script_file, subcommand)
75 subcommand = " ".join([sys.executable] + python_flags + [python_file])
76 return self.trace(script_file, subcommand)
/external/u-boot/cmd/
Dspl.c52 static int call_bootm(int argc, char * const argv[], const char *subcommand[]) in call_bootm() argument
77 while (subcommand[i] != NULL) { in call_bootm()
78 bootm_argv[1] = (char *)subcommand[i]; in call_bootm()
/external/autotest/server/samples/
Dprofilertest.srv24 return subcommand(at.run, params, name)
61 tests = [subcommand(server_sleep_test, [20], "server_sleep_test")]
/external/oss-fuzz/infra/base-images/base-builder/
Dbisect_clang_test.py236 subcommand = 'subcommand'
238 self.git.do_bisect_command(subcommand)
239 self.assertEqual([get_git_command('bisect', subcommand)],
Dbisect_clang.py93 def do_bisect_command(self, subcommand): argument
95 return self.do_command(['bisect', subcommand])
/external/iptables/iptables/
Dxshared.h139 struct subcommand { struct
154 extern int subcmd_main(int, char **, const struct subcommand *); argument
Dxtables-legacy-multi.c21 static const struct subcommand multi_subcommands[] = {
Dxtables-nft-multi.c8 static const struct subcommand multi_subcommands[] = {
/external/autotest/client/common_lib/
Dpackages.py358 from autotest_lib.server import subcommand
376 subcommand.parallel_simple(trim_custom_directories, custom_repos,
505 from autotest_lib.server import subcommand
522 commands.append(subcommand.subcommand(self.upload_pkg_parallel,
526 results = subcommand.parallel(commands, timeout, return_results=True)
/external/swiftshader/third_party/llvm-7.0/llvm/docs/CommandGuide/
Dllvm-pdbutil.rst10 :program:`llvm-pdbutil` [*subcommand*] [*options*]
50 The **pretty** subcommand is built on the Windows DIA SDK, and as such is not
58 The *pretty* subcommand displays a very high level representation of your
254 The **dump** subcommand displays low level information about the structure of a
260 The **dump** subcommand exposes internal details of the file format. As
428 Like the **dump** subcommand, the **bytes** subcommand displays low level
430 forensics. The **bytes** subcommand finds various structures in a PDB file
/external/autotest/server/site_tests/tast/
Dtast.py274 def _run_tast(self, subcommand, extra_subcommand_args, timeout_sec, argument
293 subcommand,
300 if subcommand == 'run':
/external/fonttools/Lib/fontTools/ttLib/
Dwoff2.py1482 subcommand=compress,
1485 parser_decompress.set_defaults(subcommand=decompress)
1489 subcommand = options.pop("subcommand", None)
1490 if not subcommand:
1501 if subcommand is compress:
1503 elif subcommand is decompress:
1511 raise AssertionError(subcommand)
1517 subcommand(**options)
/external/u-boot/board/technexion/pico-imx6ul/
DREADME114 subcommand not supported
115 subcommand not supported
/external/u-boot/board/technexion/pico-imx7d/
DREADME115 subcommand not supported
116 subcommand not supported
/external/autotest/server/tests/barriertest_2client/
Dcontrol.srv63 subcommand_list.append(subcommand(host_at.run,

123