/external/rust/crates/structopt/tests/ |
D | argument_naming.rs | 6 enum Opt { in test_single_word_enum_variant_is_default_renamed_into_kebab_case() enum 19 enum Opt { in test_multi_word_enum_variant_is_renamed() enum 33 struct Opt { in test_standalone_long_generates_kebab_case() struct 35 FOO_OPTION: bool, in test_standalone_long_generates_kebab_case() 47 struct Opt { in test_custom_long_overwrites_default_name() struct 49 foo_option: bool, in test_custom_long_overwrites_default_name() 61 struct Opt { in test_standalone_long_uses_previous_defined_custom_name() struct 63 foo_option: bool, in test_standalone_long_uses_previous_defined_custom_name() 75 struct Opt { in test_standalone_long_ignores_afterwards_defined_custom_name() struct 77 foo_option: bool, in test_standalone_long_ignores_afterwards_defined_custom_name() [all …]
|
D | options.rs | 14 struct Opt { in required_option() struct 16 arg: i32, in required_option() 39 struct Opt { in optional_option() struct 41 arg: Option<i32>, in optional_option() 59 struct Opt { in option_with_default() struct 61 arg: i32, in option_with_default() 79 struct Opt { in option_with_raw_default() struct 81 arg: i32, in option_with_raw_default() 99 struct Opt { in options() struct 101 arg: Vec<i32>, in options() [all …]
|
D | skip.rs | 14 struct Opt { in skip_1() struct 16 x: u32, in skip_1() 18 s: u32, in skip_1() 34 struct Opt { in skip_2() struct 36 x: u32, in skip_2() 38 ss: String, in skip_2() 40 sn: u8, in skip_2() 41 y: u32, in skip_2() 43 sz: u16, in skip_2() 44 t: u32, in skip_2() [all …]
|
D | arguments.rs | 15 struct Opt { in required_argument() struct 16 arg: i32, in required_argument() 28 struct Opt { in optional_argument() struct 29 arg: Option<i32>, in optional_argument() 41 struct Opt { in argument_with_default() struct 43 arg: i32, in argument_with_default() 55 struct Opt { in arguments() struct 56 arg: Vec<i32>, in arguments() 69 struct Opt { in arguments_safe() struct 70 arg: Vec<i32>, in arguments_safe()
|
D | flags.rs | 14 struct Opt { in unique_flag() struct 16 alice: bool, in unique_flag() 46 struct Opt { in multiple_flag() struct 48 alice: u64, in multiple_flag() 50 bob: u8, in multiple_flag() 86 struct Opt { in non_bool_flags() struct 88 alice: std::sync::atomic::AtomicBool, in non_bool_flags() 90 bob: std::sync::atomic::AtomicBool, in non_bool_flags() 113 struct Opt { in combined_flags() struct 115 alice: bool, in combined_flags() [all …]
|
D | issues.rs | 14 struct Opt { in issue_151() struct 16 foo: bool, in issue_151() 18 bar: bool, in issue_151() 81 struct Opt { in issue_324() struct 83 _cmd: Option<SubCommand>, in issue_324() 98 struct Opt { in issue_359() struct 100 sub: Subcommands, in issue_359()
|
D | special_types.rs | 23 struct Opt { in special_types_bool() struct 24 arg: inner::bool, in special_types_bool() 42 struct Opt { in special_types_option() struct 44 arg: ::std::option::Option<String>, in special_types_option() 62 struct Opt { in special_types_vec() struct 64 arg: ::std::vec::Vec<String>, in special_types_vec()
|
D | subcommands.rs | 15 enum Opt { enum 173 pub enum Opt { in enum_in_enum_subsubcommand() enum 196 struct Opt { in flatten_enum() struct 198 sub_cmd: SubCmd, in flatten_enum() 218 struct Opt { in external_subcommand() struct 220 sub: Subcommands, in external_subcommand() 260 struct Opt { in external_subcommand_os_string() struct 262 sub: Subcommands, in external_subcommand_os_string() 284 struct Opt { in external_subcommand_optional() struct 286 sub: Option<Subcommands>, in external_subcommand_optional()
|
D | flatten.rs | 21 struct Opt { in flatten() struct 23 common: Common, in flatten() 46 struct Opt { in flatten_twice() struct 48 c1: Common, in flatten_twice() 51 c2: Common, in flatten_twice() 72 enum Opt { in flatten_in_subcommand() enum 117 enum Opt { in merge_subcommands_with_flatten() enum 166 struct Opt { in flatten_doc_comment() struct 170 common: Common, in flatten_doc_comment()
|
D | explicit_name_no_renaming.rs | 9 struct Opt { in explicit_short_long_no_rename() struct 11 foo: Vec<String>, in explicit_short_long_no_rename() 25 struct Opt { in explicit_name_no_rename() struct 27 foo: Vec<String>, in explicit_name_no_rename()
|
D | non_literal_attributes.rs | 17 struct Opt { struct 40 Opt { in test_slice() argument
|
D | raw_bool_literal.rs | 15 struct Opt { in raw_bool_literal() struct 17 a: String, in raw_bool_literal() 19 b: String, in raw_bool_literal()
|
D | deny-warnings.rs | 20 struct Opt { in warning_never_struct() struct 22 s: String, in warning_never_struct() 35 enum Opt { in warning_never_enum() enum
|
/external/rust/crates/structopt/examples/ |
D | example.rs | 8 struct Opt { struct 26 output: Option<String>, argument 36 log: Option<Option<String>>, argument 43 optv: Option<Vec<String>>, argument 52 let opt = Opt::from_args(); in main() argument
|
D | basic.rs | 9 struct Opt { struct 34 nb_cars: Option<i32>, argument 46 let opt = Opt::from_args(); in main() argument
|
D | group.rs | 7 struct Opt { struct 10 method: Option<String>, argument 29 let opt = Opt::from_args(); in main() argument
|
D | skip.rs | 6 pub struct Opt { struct 8 number: u32, 10 k: Kind, 12 v: Vec<u32>, 36 Opt::from_iter(&["test", "-n", "10"]), in main() argument
|
D | doc_comments.rs | 9 struct Opt { struct 13 first_flag: bool, 55 #[derive(StructOpt, Debug)] argument 72 let opt = Opt::from_args(); in main() argument
|
D | true_or_false.rs | 14 struct Opt { struct 32 Opt::from_iter(&["test", "--foo=true", "--bar=false", "true"]), in main() argument
|
D | env.rs | 9 struct Opt { struct 24 let opt = Opt::from_args(); in main() argument
|
/external/rust/cxx/gen/cmd/src/ |
D | main.rs | 44 struct Opt { struct 45 input: Option<PathBuf>, argument 47 cxx_impl_annotations: Option<String>, argument 48 include: Vec<Include>, 49 outputs: Vec<Output>,
|
/external/rust/cxx/gen/src/ |
D | mod.rs | 40 pub struct Opt { struct 50 pub cxx_impl_annotations: Option<String>, argument 66 impl Default for Opt { argument
|
/external/rust/crates/structopt/tests/ui/ |
D | skip_with_other_options.rs | 5 pub struct Opt { struct 13 let opt = Opt::from_args(); in main() argument
|
D | skip_without_default.rs | 19 pub struct Opt { struct 27 let opt = Opt::from_args(); in main() argument
|
/external/skqp/experimental/svg/model/ |
D | SkPEG.h | 49 struct Opt { struct 50 struct V { 55 using MatchT = MatchResult<V>; 57 static MatchT Match(const char* in) { in Match()
|