Home
last modified time | relevance | path

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

12345678910>>...75

/third_party/skia/third_party/externals/dawn/src/dawn_native/
DCommands.cpp31 Command type; in FreeCommands()
34 case Command::BeginComputePass: { in FreeCommands()
39 case Command::BeginOcclusionQuery: { in FreeCommands()
44 case Command::BeginRenderPass: { in FreeCommands()
49 case Command::CopyBufferToBuffer: { in FreeCommands()
54 case Command::CopyBufferToTexture: { in FreeCommands()
59 case Command::CopyTextureToBuffer: { in FreeCommands()
64 case Command::CopyTextureToTexture: { in FreeCommands()
70 case Command::Dispatch: { in FreeCommands()
75 case Command::DispatchIndirect: { in FreeCommands()
[all …]
/third_party/rust/crates/clap/tests/builder/
Dsubcommands.rs1 use clap::{arg, error::ErrorKind, Arg, ArgAction, Command};
7 let m = Command::new("test") in subcommand()
9 Command::new("some").arg( in subcommand()
32 let m = Command::new("test") in subcommand_none_given()
34 Command::new("some").arg( in subcommand_none_given()
51 let m = Command::new("test") in subcommand_multiple()
53 Command::new("some").arg( in subcommand_multiple()
60 Command::new("add").arg(Arg::new("roster").short('r')), in subcommand_multiple()
79 let m = Command::new("myprog") in single_alias()
80 .subcommand(Command::new("test").alias("do-stuff")) in single_alias()
[all …]
Dflag_subcommands.rs3 use clap::{arg, error::ErrorKind, Arg, ArgAction, Command};
7 let matches = Command::new("test") in flag_subcommand_normal()
9 Command::new("some").short_flag('S').long_flag("some").arg( in flag_subcommand_normal()
28 let matches = Command::new("test") in flag_subcommand_normal_with_alias()
30 Command::new("some") in flag_subcommand_normal_with_alias()
53 let matches = Command::new("test") in flag_subcommand_short()
55 Command::new("some").short_flag('S').arg( in flag_subcommand_short()
74 let matches = Command::new("test") in flag_subcommand_short_with_args()
76 Command::new("some").short_flag('S').arg( in flag_subcommand_short_with_args()
95 let matches = Command::new("test") in flag_subcommand_short_with_alias()
[all …]
Dhelp.rs3 use clap::{arg, builder::PossibleValue, error::ErrorKind, Arg, ArgAction, ArgGroup, Command};
7 fn setup() -> Command { in setup()
8 Command::new("test") in setup()
46 Command::new("test") in help_subcommand()
59 let cmd = Command::new("ctest").subcommand( in help_multi_subcommand_error()
60 Command::new("subcmd").subcommand( in help_multi_subcommand_error()
61 Command::new("multi") in help_multi_subcommand_error()
105 let cmd = Command::new("example") in req_last_arg_usage()
135 let cmd = Command::new("flamegraph") in args_with_last_usage()
250 let cmd = Command::new("clap-test") in after_and_before_help_output()
[all …]
Dapp_settings.rs5 use clap::{arg, error::ErrorKind, Arg, ArgAction, Command};
30 Command::new("sub_command_negate") in sub_command_negate_required()
33 .subcommand(Command::new("sub1")) in sub_command_negate_required()
40 let result = Command::new("sub_command_negate") in sub_command_negate_required_2()
43 .subcommand(Command::new("sub1")) in sub_command_negate_required_2()
52 let result = Command::new("sc_required") in sub_command_required()
54 .subcommand(Command::new("sub1")) in sub_command_required()
73 let cmd = Command::new("sc_required") in sub_command_required_error()
75 .subcommand(Command::new("sub1")); in sub_command_required_error()
81 let result = Command::new("arg_required") in arg_required_else_help()
[all …]
Dglobal_args.rs1 use clap::{arg, Arg, ArgAction, Command};
5 let mut cmd = Command::new("myprog") in issue_1076()
21 .subcommand(Command::new("outer").subcommand(Command::new("inner"))); in issue_1076()
29 let m1 = Command::new("foo") in propagate_global_arg_in_subcommand_to_subsubcommand_1385()
31 Command::new("sub1") in propagate_global_arg_in_subcommand_to_subsubcommand_1385()
38 .subcommand(Command::new("sub1a")), in propagate_global_arg_in_subcommand_to_subsubcommand_1385()
56 let m = Command::new("opts") in propagate_global_arg_to_subcommand_in_subsubcommand_2053()
60 Command::new("test") in propagate_global_arg_to_subcommand_in_subsubcommand_2053()
63 .subcommand(Command::new("test")), in propagate_global_arg_to_subcommand_in_subsubcommand_2053()
88 let m = Command::new("opt") in global_arg_available_in_subcommand()
[all …]
Dpositionals.rs1 use clap::{arg, error::ErrorKind, Arg, ArgAction, Command};
5 let r = Command::new("onlypos") in only_pos_follow()
20 let r = Command::new("compiletest") in issue_946()
42 let r = Command::new("positional") in positional()
59 let m = Command::new("positional") in positional()
78 let r = Command::new("opts") in lots_o_vals()
118 let r = Command::new("positional_multiple") in positional_multiple()
142 let r = Command::new("positional_multiple") in positional_multiple_3()
166 let result = Command::new("positional_multiple") in positional_multiple_2()
176 let r = Command::new("positional_possible_values") in positional_possible_values()
[all …]
Drequire.rs2 use clap::{arg, error::ErrorKind, Arg, ArgAction, ArgGroup, Command};
9 let result = Command::new("flag_required") in flag_required()
20 let m = Command::new("flag_required") in flag_required_2()
35 let result = Command::new("option_required") in option_required()
46 let m = Command::new("option_required") in option_required_2()
62 let result = Command::new("positional_required") in positional_required()
72 let m = Command::new("positional_required") in positional_required_2()
96 let cmd = Command::new("positional_required") in positional_required_with_requires()
116 let cmd = Command::new("positional_required") in positional_required_with_requires_if_no_value()
137 let cmd = Command::new("positional_required") in positional_required_with_requires_if_value()
[all …]
Ddefault_vals.rs7 use clap::{arg, value_parser, Arg, ArgAction, Command};
14 let r = Command::new("df") in opts()
32 let r = Command::new("df") in default_has_index()
43 let r = Command::new("df") in opt_without_value_fail()
60 let r = Command::new("df") in opt_user_override()
78 let r = Command::new("df") in positionals()
96 let r = Command::new("df") in positional_user_override()
119 let r = Command::new("df") in osstr_opts()
136 let r = Command::new("df") in osstr_opt_user_override()
153 let r = Command::new("df") in osstr_positionals()
[all …]
Dmultiple_values.rs1 use clap::{error::ErrorKind, Arg, ArgAction, Command};
5 let m = Command::new("multiple_values") in option_long()
33 let m = Command::new("multiple_values") in option_short()
59 let m = Command::new("multiple_values") in option_mixed()
88 let m = Command::new("multiple_values") in option_exact_exact()
115 let m = Command::new("multiple_values") in option_exact_exact_not_mult()
139 let m = Command::new("multiple_values") in option_exact_exact_mult()
166 let m = Command::new("multiple_values") in option_exact_less()
182 let m = Command::new("multiple_values") in option_exact_more()
200 let m = Command::new("multiple_values") in option_min_exact()
[all …]
Dconflicts.rs1 use clap::{arg, error::ErrorKind, Arg, ArgAction, ArgGroup, Command};
8 let result = Command::new("flag_conflict") in flag_conflict()
19 let result = Command::new("flag_conflict") in flag_conflict_2()
30 let result = Command::new("flag_conflict") in flag_conflict_with_all()
41 let cmd = Command::new("flag_conflict") in exclusive_flag()
55 let result = Command::new("flag_conflict") in exclusive_option()
66 let result = Command::new("flag_conflict") in not_exclusive_with_defaults()
79 let cmd = Command::new("test") in not_exclusive_with_group()
93 let result = Command::new("flag_conflict") in default_doesnt_activate_exclusive()
106 let mut cmd = Command::new("group_conflict") in arg_conflicts_with_group()
[all …]
Dderive_order.rs5 use clap::{Arg, ArgAction, Command};
21 let cmd = Command::new("test") in no_derive_order()
60 let cmd = Command::new("test").version("1.2").args([ in derive_order()
96 let cmd = Command::new("test") in derive_order_next_order()
142 let cmd = Command::new("test") in derive_order_no_next_order()
187 let cmd = Command::new("test").subcommand( in derive_order_subcommand_propagate()
188 Command::new("sub").version("1.2").args([ in derive_order_subcommand_propagate()
225 let cmd = Command::new("test").subcommand( in derive_order_subcommand_propagate_with_explicit_display_order()
226 Command::new("sub").version("1.2").args([ in derive_order_subcommand_propagate_with_explicit_display_order()
270 let app_subcmd_alpha_order = Command::new("test") in subcommand_sorted_display_order()
[all …]
Dutf8.rs3 use clap::{arg, error::ErrorKind, value_parser, Arg, ArgAction, Command};
9 let m = Command::new("bad_utf8") in invalid_utf8_strict_positional()
18 let m = Command::new("bad_utf8") in invalid_utf8_strict_option_short_space()
36 let m = Command::new("bad_utf8") in invalid_utf8_strict_option_short_equals()
53 let m = Command::new("bad_utf8") in invalid_utf8_strict_option_short_no_space()
70 let m = Command::new("bad_utf8") in invalid_utf8_strict_option_long_space()
88 let m = Command::new("bad_utf8") in invalid_utf8_strict_option_long_equals()
105 let m = Command::new("bad_utf8").try_get_matches_from(vec![ in invalid_utf8_strict_invalid_short()
116 let m = Command::new("bad_utf8").try_get_matches_from(vec![ in invalid_utf8_strict_invalid_long()
127 let r = Command::new("bad_utf8") in invalid_utf8_positional()
[all …]
/third_party/rust/crates/clap/clap_bench/benches/
D06_rustup.rs5 use clap::{Arg, ArgAction, ArgGroup, Command};
24 fn build_cli() -> Command { in build_cli()
25 Command::new("rustup") in build_cli()
37 Command::new("show") in build_cli()
42 Command::new("install") in build_cli()
49 Command::new("update") in build_cli()
62 Command::new("default") in build_cli()
68 Command::new("toolchain") in build_cli()
71 .subcommand(Command::new("list").about("List installed toolchains")) in build_cli()
73 Command::new("install") in build_cli()
[all …]
D04_new_help.rs1 use clap::Command;
5 fn build_help(cmd: &mut Command) -> String { in build_help()
10 fn app_example1() -> Command { in app_example1()
11 Command::new("MyApp") in app_example1()
24 Command::new("test") in app_example1()
30 fn app_example2() -> Command { in app_example2()
31 Command::new("MyApp") in app_example2()
37 fn app_example3() -> Command { in app_example3()
38 Command::new("MyApp") in app_example3()
65 fn app_example4() -> Command { in app_example4()
[all …]
/third_party/vk-gl-cts/external/amber/src/src/
Dcommand.cc21 Command::Command(Type type) : command_type_(type) {} in Command() function in amber::Command
23 Command::~Command() = default;
25 ClearCommand* Command::AsClear() { in AsClear()
29 ClearColorCommand* Command::AsClearColor() { in AsClearColor()
33 ClearDepthCommand* Command::AsClearDepth() { in AsClearDepth()
37 ClearStencilCommand* Command::AsClearStencil() { in AsClearStencil()
41 CompareBufferCommand* Command::AsCompareBuffer() { in AsCompareBuffer()
45 ComputeCommand* Command::AsCompute() { in AsCompute()
49 CopyCommand* Command::AsCopy() { in AsCopy()
53 DrawArraysCommand* Command::AsDrawArrays() { in AsDrawArrays()
[all …]
/third_party/rust/crates/clap/clap_mangen/tests/
Dcommon.rs3 pub fn basic_command(name: &'static str) -> clap::Command { in basic_command() argument
4 clap::Command::new(name) in basic_command()
18 clap::Command::new("test").about("Subcommand").arg( in basic_command()
26 pub fn feature_sample_command(name: &'static str) -> clap::Command { in feature_sample_command() argument
27 clap::Command::new(name) in feature_sample_command()
47 clap::Command::new("test").about("tests things").arg( in feature_sample_command()
56 pub fn special_commands_command(name: &'static str) -> clap::Command { in special_commands_command() argument
59 clap::Command::new("some_cmd") in special_commands_command()
68 .subcommand(clap::Command::new("some-cmd-with-hyphens").alias("hyphen")) in special_commands_command()
71 pub fn quoting_command(name: &'static str) -> clap::Command { in quoting_command() argument
[all …]
/third_party/rust/crates/clap/clap_complete/tests/
Dcommon.rs3 pub fn basic_command(name: &'static str) -> clap::Command { in basic_command() argument
4 clap::Command::new(name) in basic_command()
18 clap::Command::new("test").about("Subcommand").arg( in basic_command()
26 pub fn feature_sample_command(name: &'static str) -> clap::Command { in feature_sample_command() argument
27 clap::Command::new(name) in feature_sample_command()
47 clap::Command::new("test").about("tests things").arg( in feature_sample_command()
56 pub fn special_commands_command(name: &'static str) -> clap::Command { in special_commands_command() argument
59 clap::Command::new("some_cmd") in special_commands_command()
71 .subcommand(clap::Command::new("some-cmd-with-hyphens").alias("hyphen")) in special_commands_command()
72 .subcommand(clap::Command::new("some-hidden-cmd").hide(true)) in special_commands_command()
[all …]
/third_party/rust/crates/clap/clap_complete_fig/tests/
Dcommon.rs1 pub fn basic_command(name: &'static str) -> clap::Command { in basic_command() argument
2 clap::Command::new(name) in basic_command()
16 clap::Command::new("test").about("Subcommand").arg( in basic_command()
24 pub fn feature_sample_command(name: &'static str) -> clap::Command { in feature_sample_command() argument
25 clap::Command::new(name) in feature_sample_command()
45 clap::Command::new("test").about("tests things").arg( in feature_sample_command()
54 pub fn special_commands_command(name: &'static str) -> clap::Command { in special_commands_command() argument
57 clap::Command::new("some_cmd") in special_commands_command()
69 .subcommand(clap::Command::new("some-cmd-with-hyphens").alias("hyphen")) in special_commands_command()
70 .subcommand(clap::Command::new("some-hidden-cmd").hide(true)) in special_commands_command()
[all …]
/third_party/node/test/fixtures/postject-copy/node_modules/commander/typings/
Dindex.d.ts207 subcommandTerm(cmd: Command): string;
209 subcommandDescription(cmd: Command): string;
220 commandUsage(cmd: Command): string;
222 commandDescription(cmd: Command): string;
225 visibleCommands(cmd: Command): Command[];
227 visibleOptions(cmd: Command): Option[];
229 visibleGlobalOptions(cmd: Command): Option[];
231 visibleArguments(cmd: Command): Argument[];
234 longestSubcommandTermLength(cmd: Command, helper: Help): number;
236 longestOptionTermLength(cmd: Command, helper: Help): number;
[all …]
/third_party/skia/third_party/externals/dawn/src/tests/unittests/native/
DCommandBufferEncodingTests.cpp25 std::vector<std::pair<dawn_native::Command, in ExpectCommands() argument
28 dawn_native::Command commandId; in ExpectCommands()
217 {Command::BeginComputePass, in TEST_F()
218 [&](CommandIterator* commands) { SkipCommand(commands, Command::BeginComputePass); }}, in TEST_F()
220 {Command::SetComputePipeline, ExpectSetPipeline(pipeline0)}, in TEST_F()
221 {Command::SetBindGroup, ExpectSetBindGroup(0, staticBG)}, in TEST_F()
222 {Command::SetBindGroup, ExpectSetBindGroup(1, dynamicBG, {dynamicOffset})}, in TEST_F()
225 {Command::SetComputePipeline, ExpectSetValidationPipeline}, in TEST_F()
226 {Command::SetBindGroup, ExpectSetValidationBindGroup}, in TEST_F()
227 {Command::Dispatch, ExpectSetValidationDispatch}, in TEST_F()
[all …]
/third_party/rust/crates/clap/src/
Dderive.rs5 use crate::{ArgMatches, Command, Error};
166 fn command() -> Command; in command()
170 fn command_for_update() -> Command; in command_for_update()
292 fn augment_args(cmd: Command) -> Command; in augment_args() argument
298 fn augment_args_for_update(cmd: Command) -> Command; in augment_args_for_update() argument
334 fn augment_subcommands(cmd: Command) -> Command; in augment_subcommands() argument
340 fn augment_subcommands_for_update(cmd: Command) -> Command; in augment_subcommands_for_update() argument
424 fn command<'help>() -> Command { in command() argument
427 fn command_for_update<'help>() -> Command { in command_for_update() argument
448 fn augment_args(cmd: Command) -> Command { in augment_args() argument
[all …]
/third_party/skia/tools/sk_app/
DCommandSet.cpp39 for (Command& cmd : fCommands) { in onKey()
40 if (Command::kKey_CommandType == cmd.fType && key == cmd.fKey) { in onKey()
51 for (Command& cmd : fCommands) { in onChar()
52 if (Command::kChar_CommandType == cmd.fType && c == cmd.fChar) { in onChar()
62 for (const Command& cmd : fCommands) { in onSoftkey()
73 fCommands.push_back(Command(c, group, description, function)); in addCommand()
78 fCommands.push_back(Command(k, keyName, group, description, function)); in addCommand()
87 bool CommandSet::compareCommandKey(const Command& first, const Command& second) { in compareCommandKey()
91 bool CommandSet::compareCommandGroup(const Command& first, const Command& second) { in compareCommandGroup()
127 for (Command& cmd : fCommands) { in drawHelp()
[all …]
/third_party/skia/third_party/externals/tint/src/utils/io/
Dcommand_other.cc20 Command::Command(const std::string&) {} in Command() function in tint::utils::Command
22 Command Command::LookPath(const std::string&) { in LookPath()
23 return Command(""); in LookPath()
26 bool Command::Found() const { in Found()
30 Command::Output Command::Exec(std::initializer_list<std::string>) const { in Exec()
/third_party/python/Lib/idlelib/
Dconfig-keys.def191 copy=<Command-Key-c>
192 cut=<Command-Key-x>
193 paste=<Command-Key-v>
196 close-all-windows=<Command-Key-q>
197 close-window=<Command-Key-w>
207 open-class-browser=<Command-Key-b>
208 open-module=<Command-Key-m>
209 open-new-window=<Command-Key-n>
210 open-window-from-file=<Command-Key-o>
212 print-window=<Command-Key-p>
[all …]

12345678910>>...75