/third_party/rust/crates/clap/clap_complete/src/generator/ |
D | utils.rs | 90 if a.get_visible_aliases().is_some() && a.get_long().is_some() { in longs_and_visible_aliases() 97 visible_aliases.push(a.get_long().unwrap().to_string()); in longs_and_visible_aliases() 99 } else if a.get_visible_aliases().is_none() && a.get_long().is_some() { in longs_and_visible_aliases() 100 Some(vec![a.get_long().unwrap().to_string()]) in longs_and_visible_aliases() 220 assert_eq!(actual_flags[0].get_long(), Some("help")); in test_flags() 221 assert_eq!(actual_flags[1].get_long(), Some("version")); in test_flags() 226 assert_eq!(sc_flags[0].get_long(), Some("file")); in test_flags() 227 assert_eq!(sc_flags[1].get_long(), Some("help")); in test_flags() 236 assert_eq!(actual_flags[0].get_long(), Some("help")); in test_flag_subcommand() 241 assert_eq!(sc_flags[0].get_long(), Some("file")); in test_flag_subcommand() [all …]
|
/third_party/rust/crates/clap/src/ |
D | macros.rs | 253 debug_assert_eq!($arg.get_long(), None, "Short flags should precede long flags"); 272 debug_assert_eq!($arg.get_long(), None, "Short flags should precede long flags"); 296 if arg.get_long().is_none() && arg.get_short().is_none() { 323 if arg.get_long().is_none() && arg.get_short().is_none() { 350 if arg.get_long().is_none() && arg.get_short().is_none() { 379 if arg.get_long().is_none() && arg.get_short().is_none() { 405 if $arg.get_long().is_none() && $arg.get_short().is_none() {
|
/third_party/rust/crates/clap/tests/ |
D | macros.rs | 6 assert_eq!(arg.get_long(), Some("bar")); in name_explicit() 15 assert_eq!(arg.get_long(), Some("bar")); in name_from_long() 24 assert_eq!(arg.get_long(), None); in name_from_value() 83 assert_eq!(arg.get_long(), Some("hello")); in short_and_long() 92 assert_eq!(arg.get_long(), Some("hello")); in short_and_long() 101 assert_eq!(arg.get_long(), Some("hello")); in short_and_long() 110 assert_eq!(arg.get_long(), Some("hello")); in short_and_long()
|
/third_party/python/Modules/_ctypes/ |
D | cfield.c | 353 get_long(PyObject *v, long *p) in get_long() function 478 if (get_long(value, &val) < 0) in b_set() 517 if (get_long(value, &val) < 0) in h_set() 531 if (get_long(value, &val) < 0) { in h_set_sw() 615 if (get_long(value, &val) < 0) in i_set() 628 if (get_long(value, &val) < 0) { in i_set_sw() 761 if (get_long(value, &val) < 0) in l_set() 774 if (get_long(value, &val) < 0) { in l_set_sw()
|
/third_party/rust/crates/clap/src/builder/ |
D | debug_asserts.rs | 81 if let Some(l) = arg.get_long() { in assert_app() 104 if let Some(l) = arg.get_long() { in assert_app() 105 if let Some((first, second)) = cmd.two_args_of(|x| x.get_long() == Some(l)) { in assert_app() 245 arg.get_long().is_none(), in assert_app()
|
D | arg.rs | 3779 pub fn get_long(&self) -> Option<&str> { in get_long() method 3811 let mut longs = match self.get_long() { in get_long_and_visible_aliases() 3931 self.get_long().is_none() && self.get_short().is_none() in is_positional() 4144 if let Some(l) = self.get_long() { in stylized()
|
/third_party/rust/crates/clap/src/output/ |
D | help_template.rs | 489 } else if arg.get_long().is_some() { in short() 497 if let Some(long) = arg.get_long() { in long() 520 let padding = if arg.get_long().is_some() { in align_to_about() 973 } else if let Some(x) = arg.get_long() { in option_sort_key() 1025 arg.is_takes_value_set() || arg.get_long().is_some() || arg.get_short().is_none() in longest_filter()
|
D | usage.rs | 160 if f.get_long() == Some("help") || f.get_long() == Some("version") { in needs_options_tag()
|
/third_party/python/Modules/ |
D | _struct.c | 155 get_long(_structmodulestate *state, PyObject *v, long *p) in get_long() function 546 if (get_long(state, v, &x) < 0) in np_byte() 561 if (get_long(state, v, &x) < 0) in np_ubyte() 589 if (get_long(state, v, &x) < 0) in np_short() 607 if (get_long(state, v, &x) < 0) in np_ushort() 625 if (get_long(state, v, &x) < 0) in np_int() 656 if (get_long(state, v, &x) < 0) in np_long() 890 if (get_long(state, v, &x) < 0) in bp_int() 1105 if (get_long(state, v, &x) < 0) in lp_int()
|
/third_party/rust/crates/clap/clap_mangen/src/ |
D | render.rs | 36 match (opt.get_short(), opt.get_long()) { in synopsis() 93 let mut header = match (opt.get_short(), opt.get_long()) { in options()
|
/third_party/rust/crates/clap/clap_complete/src/shells/ |
D | zsh.rs | 508 if let Some(l) = conflict.get_long() { 586 if let Some(long) = f.get_long() {
|
/third_party/cef/include/capi/test/ |
D | cef_translator_test_capi.h | 97 long(CEF_CALLBACK* get_long)(struct _cef_translator_test_t* self);
|
/third_party/rust/crates/clap/clap_complete_fig/src/ |
D | fig.rs | 483 if let Some(l) = conflict.get_long() { in arg_conflicts()
|
/third_party/cef/libcef_dll/ctocpp/test/ |
D | translator_test_ctocpp.cc | 110 if (CEF_MEMBER_MISSING(_struct, get_long)) in GetLong() 116 long _retval = _struct->get_long(_struct); in GetLong()
|
/third_party/alsa-lib/modules/mixer/simple/ |
D | python.c | 68 static inline int get_long(PyObject *o, long *val) in get_long() function 102 if (get_long(o, &val)) { in get_C_ptr()
|
/third_party/rust/crates/clap/clap_complete/src/ |
D | dynamic.rs | 375 if let Some(arg) = cmd.get_arguments().find(|a| a.get_long() == Some(flag)) in complete_arg()
|
/third_party/cef/libcef_dll/cpptoc/test/ |
D | translator_test_cpptoc.cc | 1554 GetStruct()->get_long = translator_test_get_long; in CefTranslatorTestCppToC()
|
/third_party/rust/crates/clap/src/parser/ |
D | parser.rs | 764 if let Some(long) = a.get_long() { in parse_long_arg()
|