Home
last modified time | relevance | path

Searched refs:subcmd (Results 1 - 25 of 31) sorted by relevance

12

/third_party/alsa-utils/axfer/
H A Dmain.c10 #include "subcmd.h"
84 static bool decide_subcmd(int argc, char *const *argv, enum subcmds *subcmd) in decide_subcmd() argument
88 enum subcmds subcmd; in decide_subcmd() member
97 enum subcmds subcmd; in decide_subcmd() member
113 *subcmd = long_opts[i].subcmd; in decide_subcmd()
128 *subcmd = short_opts[j].subcmd; in decide_subcmd()
202 static bool detect_subcmd(int argc, char *const *argv, enum subcmds *subcmd) in detect_subcmd() argument
217 *subcmd in detect_subcmd()
247 enum subcmds subcmd; main() local
[all...]
/third_party/ltp/testcases/kernel/syscalls/quotactl/
H A Dquotactl02.h50 static void check_qoff(int subcmd, char *desp, int flag) in check_qoff() argument
54 TST_EXP_PASS_SILENT(do_quotactl(fd, subcmd, tst_device->dev, test_id, in check_qoff()
67 static void check_qon(int subcmd, char *desp, int flag) in check_qon() argument
71 TST_EXP_PASS_SILENT(do_quotactl(fd, subcmd, tst_device->dev, test_id, in check_qon()
84 static void check_qoffv(int subcmd, char *desp, int flag) in check_qoffv() argument
90 TST_EXP_PASS_SILENT(do_quotactl(fd, subcmd, tst_device->dev, test_id, in check_qoffv()
103 static void check_qonv(int subcmd, char *desp, int flag) in check_qonv() argument
109 TST_EXP_PASS_SILENT(do_quotactl(fd, subcmd, tst_device->dev, test_id, in check_qonv()
122 static void check_qlim(int subcmd, char *desp) in check_qlim() argument
128 TST_EXP_PASS_SILENT(do_quotactl(fd, subcmd, tst_devic in check_qlim()
[all...]
/third_party/rust/crates/clap/clap_complete/src/shells/
H A Dbash.rs100 for subcmd in cmd.get_subcommands() { in all_subcommands()
101 add_command(&fn_name, subcmd, subcmds); in all_subcommands()
106 for subcmd in cmd.get_subcommands() { in all_subcommands()
107 add_command(&fn_name, subcmd, &mut subcmds); in all_subcommands()
136 "{subcmd}) in subcommand_details()
150 subcmd = sc.replace('-', "__"), in subcommand_details()
/third_party/python/Lib/distutils/tests/
H A Dtest_bdist.py39 subcmd = cmd.get_finalized_command(name)
40 if getattr(subcmd, '_unsupported', False):
43 self.assertTrue(subcmd.skip_build,
/third_party/rust/crates/clap/tests/derive/
H A Dutils.rs37 pub fn get_subcommand_long_help<T: CommandFactory>(subcmd: &str) -> String { in get_subcommand_long_help()
40 .find(|s| s.get_name() == subcmd) in get_subcommand_long_help()
45 eprintln!("\n%%% SUBCOMMAND `{subcmd}` HELP %%%:=====\n{output}\n=====\n",); in get_subcommand_long_help()
46 eprintln!("\n%%% SUBCOMMAND `{subcmd}` HELP (DEBUG) %%%:=====\n{output:?}\n=====\n",); in get_subcommand_long_help()
/third_party/rust/crates/clap/tests/builder/
H A Dtests.rs18 subcmd present
35 subcmd present
56 subcmd NOT present
71 subcmd NOT present
86 subcmd NOT present
202 if let Some("subcmd") = matches.subcommand_name() { in check_complex_output()
203 writeln!(w, "subcmd present").unwrap(); in check_complex_output()
204 if let Some(matches) = matches.subcommand_matches("subcmd") { in check_complex_output()
235 writeln!(w, "subcmd NOT present").unwrap(); in check_complex_output()
275 subcmd NO in flag_x2_opt()
[all...]
H A Dsubcommands.rs103 note: subcommand 'subcmd' exists in subcmd_did_you_mean_output()
111 let cmd = Command::new("dym").subcommand(Command::new("subcmd")); in subcmd_did_you_mean_output()
144 note: 'subcmd --subcmdarg' exists in subcmd_did_you_mean_output_arg()
152 .subcommand(Command::new("subcmd").arg(arg!(-s --subcmdarg <subcmdarg> "tests"))); in subcmd_did_you_mean_output_arg()
154 utils::assert_output(cmd, "dym --subcmarg subcmd", EXPECTED, true); in subcmd_did_you_mean_output_arg()
170 .subcommand(Command::new("subcmd").arg(arg!(-s --subcmdarg <subcmdarg> "tests"))); in subcmd_did_you_mean_output_arg_false_positives()
354 error: unexpected argument 'subcmd' found in subcommand_used_after_double_dash()
356 note: subcommand 'subcmd' exists; to use it, remove the '--' before it in subcommand_used_after_double_dash()
363 let cmd = Command::new("cmd").subcommand(Command::new("subcmd")); in subcommand_used_after_double_dash()
365 utils::assert_output(cmd, "cmd -- subcmd", SUBCMD_AFTER_DOUBLE_DAS in subcommand_used_after_double_dash()
[all...]
H A Dhelp.rs60 Command::new("subcmd").subcommand( in help_multi_subcommand_error()
79 .try_get_matches_from(["ctest", "help", "subcmd", "multi", "foo"]) in help_multi_subcommand_error()
84 Usage: ctest subcmd multi [OPTIONS] in help_multi_subcommand_error()
176 let m = utils::complex_app().try_get_matches_from(vec!["clap-test", "subcmd", "-h"]); in subcommand_short_help()
184 let m = utils::complex_app().try_get_matches_from(vec!["clap-test", "subcmd", "--help"]); in subcommand_long_help()
192 let m = utils::complex_app().try_get_matches_from(vec!["clap-test", "help", "subcmd"]); in subcommand_help_rev()
208 subcmd tests subcommands in complex_help_output()
304 Usage: ctest subcmd multi [OPTIONS]
316 Command::new("subcmd").subcommand( in multi_level_sc_help()
334 utils::assert_output(cmd, "ctest help subcmd mult in multi_level_sc_help()
[all...]
/third_party/node/deps/npm/lib/commands/
H A Dprofile.js85 const [subcmd, ...opts] = args
87 switch (subcmd) {
103 throw new Error('Unknown profile command: ' + subcmd)
/third_party/rust/crates/clap/src/builder/
H A Dcommand.rs268 /// .mut_subcommand("bar", |subcmd| subcmd.disable_help_flag(true));
287 let subcmd = if let Some(idx) = pos { in mut_subcommand()
293 self.subcommands.push(f(subcmd)); in mut_subcommand()
387 pub fn subcommand(self, subcmd: impl Into<Command>) -> Self { in subcommand()
388 let subcmd = subcmd.into(); in subcommand()
389 self.subcommand_internal(subcmd) in subcommand()
392 fn subcommand_internal(mut self, mut subcmd: Self) -> Self { in subcommand_internal()
395 subcmd in subcommand_internal()
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/drivers/
H A Ddriver_nl80211_event.c2503 struct wpa_driver_nl80211_data *drv, u32 subcmd, u8 *msg, int length)
2563 switch (subcmd) {
2582 subcmd);
2748 u32 subcmd, u8 *data, size_t len)
2750 switch (subcmd) {
2769 qca_nl80211_dfs_offload_radar_event(drv, subcmd, data, len);
2784 subcmd);
2848 u32 subcmd, u8 *data, size_t len)
2850 wpa_printf(MSG_DEBUG, "nl80211: Got BRCM vendor event %u", subcmd);
2851 switch (subcmd) {
2502 qca_nl80211_dfs_offload_radar_event( struct wpa_driver_nl80211_data *drv, u32 subcmd, u8 *msg, int length) global() argument
2747 nl80211_vendor_event_qca(struct wpa_driver_nl80211_data *drv, u32 subcmd, u8 *data, size_t len) global() argument
2847 nl80211_vendor_event_brcm(struct wpa_driver_nl80211_data *drv, u32 subcmd, u8 *data, size_t len) global() argument
2874 u32 vendor_id, subcmd, wiphy = 0; global() local
[all...]
H A Ddriver_nl80211.h344 u32 vendor_id, u32 subcmd,
H A Ddriver_nl80211_capa.c984 switch (vinfo->subcmd) { in wiphy_info_handler()
1034 switch (vinfo->subcmd) { in wiphy_info_handler()
1046 wpa_printf(MSG_EXCESSIVE, "nl80211: Supported vendor command: vendor_id=0x%x subcmd=%u", in wiphy_info_handler()
1047 vinfo->vendor_id, vinfo->subcmd); in wiphy_info_handler()
1062 wpa_printf(MSG_EXCESSIVE, "nl80211: Supported vendor event: vendor_id=0x%x subcmd=%u", in wiphy_info_handler()
1063 vinfo->vendor_id, vinfo->subcmd); in wiphy_info_handler()
H A Dnl80211_copy.h6371 * @subcmd: sub-command ID for the command
6375 __u32 subcmd; member
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/drivers/
H A Ddriver_nl80211_event.c1835 struct wpa_driver_nl80211_data *drv, u32 subcmd, u8 *msg, int length) in qca_nl80211_dfs_offload_radar_event()
1895 switch (subcmd) { in qca_nl80211_dfs_offload_radar_event()
1914 subcmd); in qca_nl80211_dfs_offload_radar_event()
2080 u32 subcmd, u8 *data, size_t len) in nl80211_vendor_event_qca()
2082 switch (subcmd) { in nl80211_vendor_event_qca()
2101 qca_nl80211_dfs_offload_radar_event(drv, subcmd, data, len); in nl80211_vendor_event_qca()
2116 subcmd); in nl80211_vendor_event_qca()
2125 u32 vendor_id, subcmd, wiphy = 0; in nl80211_vendor_event() local
2135 subcmd = nla_get_u32(tb[NL80211_ATTR_VENDOR_SUBCMD]); in nl80211_vendor_event()
2140 wpa_printf(MSG_DEBUG, "nl80211: Vendor event: wiphy=%u vendor_id=0x%x subcmd in nl80211_vendor_event()
1834 qca_nl80211_dfs_offload_radar_event( struct wpa_driver_nl80211_data *drv, u32 subcmd, u8 *msg, int length) qca_nl80211_dfs_offload_radar_event() argument
2079 nl80211_vendor_event_qca(struct wpa_driver_nl80211_data *drv, u32 subcmd, u8 *data, size_t len) nl80211_vendor_event_qca() argument
[all...]
H A Ddriver_nl80211_capa.c748 switch (vinfo->subcmd) { in wiphy_info_handler()
794 wpa_printf(MSG_DEBUG, "nl80211: Supported vendor command: vendor_id=0x%x subcmd=%u", in wiphy_info_handler()
795 vinfo->vendor_id, vinfo->subcmd); in wiphy_info_handler()
810 wpa_printf(MSG_DEBUG, "nl80211: Supported vendor event: vendor_id=0x%x subcmd=%u", in wiphy_info_handler()
811 vinfo->vendor_id, vinfo->subcmd); in wiphy_info_handler()
H A Dnl80211_copy.h5743 * @subcmd: sub-command ID for the command
5747 __u32 subcmd; member
/third_party/node/deps/npm/test/lib/commands/
H A Dprofile.js1101 t.test('npm profile <subcmd> no autocomplete', async t => {
1103 for (const subcmd of noAutocompleteCmds) {
1104 await t.test(subcmd, t => testComp(t, {
1105 argv: ['npm', 'profile', subcmd],
1107 title: `${subcmd} should have no autocomplete`,
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
H A Dap_drv_ops.h349 int vendor_id, int subcmd, in hostapd_drv_vendor_cmd()
355 return hapd->driver->vendor_cmd(hapd->drv_priv, vendor_id, subcmd, data, in hostapd_drv_vendor_cmd()
348 hostapd_drv_vendor_cmd(struct hostapd_data *hapd, int vendor_id, int subcmd, const u8 *data, size_t data_len, struct wpabuf *buf) hostapd_drv_vendor_cmd() argument
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
H A Dap_drv_ops.h354 int vendor_id, int subcmd, in hostapd_drv_vendor_cmd()
361 return hapd->driver->vendor_cmd(hapd->drv_priv, vendor_id, subcmd, data, in hostapd_drv_vendor_cmd()
353 hostapd_drv_vendor_cmd(struct hostapd_data *hapd, int vendor_id, int subcmd, const u8 *data, size_t data_len, enum nested_attr nested_attr_flag, struct wpabuf *buf) hostapd_drv_vendor_cmd() argument
/third_party/rust/crates/clap/src/output/
H A Dhelp_template.rs900 self.subcmd(sc_str, next_line_help, longest); in write_subcommand()
946 fn subcmd(&mut self, sc_str: StyledStr, next_line_help: bool, longest: usize) { in subcmd() functions
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
H A Ddriver_i.h693 int vendor_id, int subcmd, const u8 *data, in wpa_drv_vendor_cmd()
698 return wpa_s->driver->vendor_cmd(wpa_s->drv_priv, vendor_id, subcmd, in wpa_drv_vendor_cmd()
692 wpa_drv_vendor_cmd(struct wpa_supplicant *wpa_s, int vendor_id, int subcmd, const u8 *data, size_t data_len, struct wpabuf *buf) wpa_drv_vendor_cmd() argument
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
H A Ddriver_i.h769 int vendor_id, int subcmd, const u8 *data, in wpa_drv_vendor_cmd()
776 return wpa_s->driver->vendor_cmd(wpa_s->drv_priv, vendor_id, subcmd, in wpa_drv_vendor_cmd()
768 wpa_drv_vendor_cmd(struct wpa_supplicant *wpa_s, int vendor_id, int subcmd, const u8 *data, size_t data_len, enum nested_attr nested_attr_flag, struct wpabuf *buf) wpa_drv_vendor_cmd() argument
/third_party/wpa_supplicant/wpa_supplicant-2.9/hostapd/
H A Dap_ctrl_iface.c2394 unsigned int vendor_id, subcmd; in hostapd_ctrl_iface_vendor() local
2403 subcmd = strtoul(pos, &pos, 10); in hostapd_ctrl_iface_vendor()
2431 ret = hostapd_drv_vendor_cmd(hapd, vendor_id, subcmd, data, data_len, in hostapd_ctrl_iface_vendor()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/hostapd/
H A Dap_ctrl_iface.c2878 unsigned int vendor_id, subcmd; in hostapd_ctrl_iface_vendor() local
2891 subcmd = strtoul(pos, &pos, 10); in hostapd_ctrl_iface_vendor()
2926 ret = hostapd_drv_vendor_cmd(hapd, vendor_id, subcmd, data, data_len, in hostapd_ctrl_iface_vendor()

Completed in 84 milliseconds

12