Home
last modified time | relevance | path

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

12

/third_party/alsa-utils/axfer/
Dmain.c84 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 = i; in detect_subcmd()
247 enum subcmds subcmd; in main() local
255 if (!decide_subcmd(argc, argv, &subcmd)) in main()
256 subcmd = SUBCMD_TRANSFER; in main()
[all …]
DMakefile.am24 subcmd.h \
34 subcmd.h \
36 subcmd-list.c \
55 subcmd-transfer.c \
/third_party/node/deps/npm/lib/commands/
Daccess.js73 async exec ([cmd, subcmd, ...args]) { argument
81 if (!subcmd) {
87 if (!['read-only', 'read-write'].includes(subcmd)) {
93 return this.#grant(subcmd, args[0], args[1])
95 return this.#revoke(subcmd, args[0])
98 if (subcmd === 'packages') {
101 if (subcmd === 'collaborators') {
104 throw this.usageError(`list ${subcmd} is not a valid access command`)
106 if (subcmd !== 'status') {
107 throw this.usageError(`get ${subcmd} is not a valid access command`)
[all …]
Dprofile.js85 const [subcmd, ...opts] = args
87 switch (subcmd) {
103 throw new Error('Unknown profile command: ' + subcmd)
Ddoctor.js407 return this.constructor.subcommands.filter(subcmd => {
408 if (process.platform === 'win32' && subcmd.windows === false) {
412 return params.some(param => subcmd.groups.includes(param))
/third_party/ltp/testcases/kernel/syscalls/quotactl/
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_device->dev, test_id, in check_qlim()
/third_party/rust/crates/clap/clap_complete/src/shells/
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()
150 subcmd = sc.replace('-', "__"), in subcommand_details()
/third_party/python/Lib/distutils/tests/
Dtest_bdist.py44 subcmd = cmd.get_finalized_command(name)
45 if getattr(subcmd, '_unsupported', False):
48 self.assertTrue(subcmd.skip_build,
/third_party/rust/crates/clap/tests/derive/
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()
Dsubcommands.rs534 subcmd: SubCmd, in subcommand_name_not_literal() field
/third_party/rust/crates/clap/tests/builder/
Dtests.rs439 let cmd = cmd.mut_subcommand("subcmd", |subcmd| subcmd.disable_version_flag(true)); in mut_subcommand_all()
464 cmd = cmd.mut_subcommand(&*true_name, |subcmd| subcmd.about("modified about")); in mut_subcommand_with_alias_resolve()
Dsubcommands.rs616 let subcmd = cmd.find_subcommand_mut("foo").unwrap(); in multicall_render_help() localVariable
617 let subcmd = subcmd.find_subcommand_mut("bar").unwrap(); in multicall_render_help() localVariable
619 let help = subcmd.render_help().to_string(); in multicall_render_help()
/third_party/node/deps/npm/test/lib/commands/
Dteam.js406 for (const subcmd of ['create', 'destroy', 'add', 'rm', 'ls']) {
410 remain: ['npm', 'team', subcmd],
417 `should not autocomplete ${subcmd} subcommand`
Dprofile.js1103 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/rust/crates/clap/src/error/
Dmod.rs427 subcmd: String, in invalid_subcommand()
438 styled_suggestion.warning(&subcmd); in invalid_subcommand()
442 styled_suggestion.good(&subcmd); in invalid_subcommand()
446 (ContextKind::InvalidSubcommand, ContextValue::String(subcmd)), in invalid_subcommand()
467 subcmd: String, in unrecognized_subcommand()
476 ContextValue::String(subcmd), in unrecognized_subcommand()
/third_party/rust/crates/clap/src/builder/
Dcommand.rs287 let subcmd = if let Some(idx) = pos { in mut_subcommand() localVariable
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() localVariable
389 self.subcommand_internal(subcmd) in subcommand()
392 fn subcommand_internal(mut self, mut subcmd: Self) -> Self { in subcommand_internal()
395 subcmd.disp_ord.get_or_insert(current); in subcommand_internal()
398 self.subcommands.push(subcmd); in subcommand_internal()
418 for subcmd in subcmds { in subcommands()
419 self = self.subcommand(subcmd); in subcommands()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/drivers/
Ddriver_nl80211_event.c2142 struct wpa_driver_nl80211_data *drv, u32 subcmd, u8 *msg, int length) in qca_nl80211_dfs_offload_radar_event() argument
2202 switch (subcmd) { in qca_nl80211_dfs_offload_radar_event()
2221 subcmd); in qca_nl80211_dfs_offload_radar_event()
2387 u32 subcmd, u8 *data, size_t len) in nl80211_vendor_event_qca() argument
2389 switch (subcmd) { in nl80211_vendor_event_qca()
2408 qca_nl80211_dfs_offload_radar_event(drv, subcmd, data, len); in nl80211_vendor_event_qca()
2423 subcmd); in nl80211_vendor_event_qca()
2487 u32 subcmd, u8 *data, size_t len) in nl80211_vendor_event_brcm() argument
2489 wpa_printf(MSG_DEBUG, "nl80211: Got BRCM vendor event %u", subcmd); in nl80211_vendor_event_brcm()
2490 switch (subcmd) { in nl80211_vendor_event_brcm()
[all …]
Ddriver_nl80211.h308 u32 vendor_id, u32 subcmd,
Ddriver_nl80211_capa.c981 switch (vinfo->subcmd) { in wiphy_info_handler()
1031 switch (vinfo->subcmd) { in wiphy_info_handler()
1044 vinfo->vendor_id, vinfo->subcmd); in wiphy_info_handler()
1060 vinfo->vendor_id, vinfo->subcmd); in wiphy_info_handler()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/drivers/
Ddriver_nl80211_event.c1835 struct wpa_driver_nl80211_data *drv, u32 subcmd, u8 *msg, int length) in qca_nl80211_dfs_offload_radar_event() argument
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() argument
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()
2141 wiphy, vendor_id, subcmd); in nl80211_vendor_event()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
Dap_drv_ops.h349 int vendor_id, int subcmd, in hostapd_drv_vendor_cmd() argument
355 return hapd->driver->vendor_cmd(hapd->drv_priv, vendor_id, subcmd, data, in hostapd_drv_vendor_cmd()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
Dap_drv_ops.h354 int vendor_id, int subcmd, in hostapd_drv_vendor_cmd() argument
361 return hapd->driver->vendor_cmd(hapd->drv_priv, vendor_id, subcmd, data, in hostapd_drv_vendor_cmd()
/third_party/rust/crates/clap/src/output/
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() method
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
Ddriver_i.h693 int vendor_id, int subcmd, const u8 *data, in wpa_drv_vendor_cmd() argument
698 return wpa_s->driver->vendor_cmd(wpa_s->drv_priv, vendor_id, subcmd, in wpa_drv_vendor_cmd()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
Ddriver_i.h753 int vendor_id, int subcmd, const u8 *data, in wpa_drv_vendor_cmd() argument
760 return wpa_s->driver->vendor_cmd(wpa_s->drv_priv, vendor_id, subcmd, in wpa_drv_vendor_cmd()

12