Home
last modified time | relevance | path

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

/external/ltp/tools/apicmds/
Dltpapicmd.c74 static char cmd_name[1024]; /* name by which this program is invoked tst_brk etc */ variable
128 cmd_name); in apicmd_brk()
150 cmd_name); in apicmd_res()
169 cmd_name); in apicmd_brkm()
186 cmd_name); in apicmd_resm()
290 strcpy(cmd_name, SAFE_BASENAME(NULL, (argv++)[0])); in main()
296 if(!strcmp(cmd_name, "tst_fs_has_free") && in main()
297 !strcmp(cmd_name, "tst_get_unused_port")) { in main()
325 if (strcmp(cmd_name, "tst_brk") == 0) { in main()
327 } else if (strcmp(cmd_name, "tst_res") == 0) { in main()
[all …]
/external/ltp/testcases/kernel/hotplug/memory_hotplug/
Dcommands.c100 gcp->program_name, gcp->cmd_name, arg_name); in required_arg()
101 help_me(gcp->cmd_name); in required_arg()
479 gcp->program_name, gcp->cmd_name);
1014 char *cmd_name; member
1020 .cmd_name = "quit",.cmd_func = quit,.cmd_help =
1023 .cmd_name = "help",.cmd_func = help_me,.cmd_help =
1026 .cmd_name = "pid",.cmd_func = show_pid,.cmd_help =
1028 .cmd_name = "pause",.cmd_func = pause_me,.cmd_help =
1031 .cmd_name = "numa",.cmd_func = numa_info,.cmd_help =
1035 .cmd_name = "migrate",.cmd_func = migrate_process,.cmd_help =
[all …]
Dmemtoy.h59 char *cmd_name; /* currently executing command */ member
/external/syslinux/com32/elflink/
Dtest_com32.c152 char *cmd_name; in process_command() local
154 cmd_name = strtok(cmd, COMMAND_DELIM); in process_command()
156 if (strcmp(cmd_name, "exit") == 0) { in process_command()
159 } else if (strcmp(cmd_name, "help") == 0) { in process_command()
161 } else if (strcmp(cmd_name, "load") == 0) { in process_command()
163 } else if (strcmp(cmd_name, "spawn") == 0) { in process_command()
165 } else if (strcmp(cmd_name, "unload") == 0) { in process_command()
167 } else if (strcmp(cmd_name, "list") == 0) { in process_command()
/external/python/cpython2/Lib/distutils/command/
Dbdist.py132 cmd_name = commands[i]
133 sub_cmd = self.reinitialize_command(cmd_name)
134 if cmd_name not in self.no_format_option:
138 if cmd_name == 'bdist_dumb':
144 if cmd_name in commands[i+1:]:
146 self.run_command(cmd_name)
Dinstall.py574 for cmd_name in self.get_sub_commands():
575 self.run_command(cmd_name)
621 for cmd_name in self.get_sub_commands():
622 cmd = self.get_finalized_command(cmd_name)
638 for cmd_name in self.get_sub_commands():
639 cmd = self.get_finalized_command(cmd_name)
Dbuild.py126 for cmd_name in self.get_sub_commands():
127 self.run_command(cmd_name)
Dregister.py49 for cmd_name in self.get_sub_commands():
50 self.run_command(cmd_name)
Dsdist.py154 for cmd_name in self.get_sub_commands():
155 self.run_command(cmd_name)
/external/ltp/testcases/network/stress/interface/
Dif-updown32 if_cmd) local cmd_name='ifconfig' ;;
33 ip_cmd) local cmd_name='ip' ;;
39 tst_resm TINFO "'$cmd_name ups/downs $iface $IF_UPDOWN_TIMES times"
Dif-route-adddel40 rt_cmd) local cmd_name='route' ;;
41 ip_cmd) local cmd_name='ip' ;;
60 tst_resm TINFO "'$cmd_name' add/del ${new_rt}${opt_rt} $NS_TIMES times"
Dif-mtu-change53 if_cmd) local cmd_name='ifconfig' ;;
54 ip_cmd) local cmd_name='ip' ;;
62 tst_resm TINFO "'$cmd_name changes MTU $MTU_CHANGE_TIMES times " \
Dif-route-addlarge40 rt_cmd) local cmd_name='route' ;;
41 ip_cmd) local cmd_name='ip' ;;
57 tst_resm TINFO "'$cmd_name' add IPv$ipver $ROUTE_TOTAL routes"
Dif-addr-adddel41 if_cmd) local cmd_name='ifconfig' ;;
42 ip_cmd) local cmd_name='ip' ;;
56 tst_resm TINFO "'$cmd_name' add/del IPv$ipver '$new_ip' $NS_TIMES times"
Dif-addr-addlarge41 if_cmd) local cmd_name='ifconfig' ;;
42 ip_cmd) local cmd_name='ip' ;;
49 tst_resm TINFO "'$cmd_name' add $IP_TOTAL IPv$ipver addresses"
/external/toolchain-utils/automation/clients/report/dejagnu/
Dmain.py125 cmd_name = argv[1]
127 cmd_name = None
130 cmd_map.get(cmd_name, HelpCommand)(argv)
/external/e2fsprogs/misc/
De4crypt.c622 const char *cmd_name; member
837 for (p = cmd_list; p->cmd_name; p++) { in do_help()
840 if (strcmp(p->cmd_name, argv[1]) == 0) { in do_help()
851 for (p = cmd_list; p->cmd_name; p++) { in do_help()
854 printf(" %-20s %s\n", p->cmd_name, p->cmd_desc); in do_help()
869 for (cmd = cmd_list; cmd->cmd_name; cmd++) { in main()
870 if (strcmp(cmd->cmd_name, argv[1]) == 0) { in main()
/external/f2fs-tools/tools/
Df2fscrypt.c662 const char *cmd_name; member
875 for (p = cmd_list; p->cmd_name; p++) { in do_help()
878 if (strcmp(p->cmd_name, argv[1]) == 0) { in do_help()
889 for (p = cmd_list; p->cmd_name; p++) { in do_help()
892 printf(" %-20s %s\n", p->cmd_name, p->cmd_desc); in do_help()
907 for (cmd = cmd_list; cmd->cmd_name; cmd++) { in main()
908 if (strcmp(cmd->cmd_name, argv[1]) == 0) { in main()
/external/libcxx/test/support/
Dfilesystem_test_helper.hpp219 fs_make_cmd(std::string const& cmd_name, T const& arg) { in fs_make_cmd()
220 return cmd_name + "(" + make_arg(arg) + ")"; in fs_make_cmd()
225 fs_make_cmd(std::string const& cmd_name, T const& arg1, U const& arg2) { in fs_make_cmd()
226 return cmd_name + "(" + make_arg(arg1) + ", " + make_arg(arg2) + ")"; in fs_make_cmd()
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_rast_debug.c59 static const char *cmd_name(unsigned cmd) in cmd_name() function
118 cmd_name(head->cmd[i]), in debug_bin()
266 debug_printf("%c: %15s", val, cmd_name(block->cmd[k])); in do_debug_bin()
/external/python/cpython2/Lib/distutils/
Dcmd.py336 for (cmd_name, method) in self.sub_commands:
338 commands.append(cmd_name)
Ddist.py315 for cmd_name in commands:
316 opt_dict = self.command_options.get(cmd_name)
319 "no option dict for '%s' command" % cmd_name)
322 "option dict for '%s' command:" % cmd_name)
/external/curl/lib/vtls/
Dopenssl.c387 const char *cmd_name = "LOAD_CERT_CTRL"; in cert_stuff() local
398 0, (void *)cmd_name, NULL)) { in cert_stuff()
404 if(!ENGINE_ctrl_cmd(data->state.engine, cmd_name, in cert_stuff()
/external/wpa_supplicant_8/src/crypto/
Dtls_openssl.c1183 const char *cmd_name = "LOAD_CERT_CTRL"; in tls_engine_init() local
1187 0, (void *)cmd_name, NULL)) { in tls_engine_init()
/external/vulkan-validation-layers/layers/
Dcore_validation.cpp10329 …CommandBuffer(const layer_data *dev_data, const GLOBAL_CB_NODE *pCB, const std::string &cmd_name) { in validatePrimaryCommandBuffer() argument
10334 cmd_name.c_str()); in validatePrimaryCommandBuffer()