Searched refs:did_you_mean (Results 1 – 5 of 5) sorted by relevance
/external/rust/crates/clap/src/ |
D | suggestions.rs | 15 pub fn did_you_mean<'a, T: ?Sized, I>(v: &str, possible_values: I) -> Option<&'a str> in did_you_mean() function 35 pub fn did_you_mean<'a, T: ?Sized, I>(_: &str, _: I) -> Option<&'a str> in did_you_mean() function 55 if let Some(candidate) = did_you_mean(arg, longs) { in did_you_mean_flag_suffix() 74 let candidate = match did_you_mean(arg, opts) { in did_you_mean_flag_suffix() 103 match did_you_mean(arg, values) { in did_you_mean_value_suffix() 119 assert_eq!(did_you_mean("tst", p_vals.iter()), Some("test")); in possible_values_match() 125 assert!(did_you_mean("hahaahahah", p_vals.iter()).is_none()); in possible_values_nomatch()
|
D | errors.rs | 523 did_you_mean: D, in invalid_subcommand() 549 c.good(did_you_mean.as_ref()), in invalid_subcommand() 814 pub fn unknown_argument<A, U>(arg: A, did_you_mean: &str, usage: U, color: ColorWhen) -> Self in unknown_argument() 832 if did_you_mean.is_empty() { in unknown_argument() 835 format!("{}\n", did_you_mean) in unknown_argument()
|
/external/llvm-project/debuginfo-tests/dexter/dex/utils/ |
D | ExtArgParse.py | 25 did_you_mean = '' 27 did_you_mean = 'did you mean {}?'.format(' or '.join( 29 return did_you_mean
|
/external/tensorflow/tensorflow/compiler/xla/ |
D | parse_flags_from_env.cc | 222 string did_you_mean; in ParseFlagsFromEnvAndDieIfUnknown() local 224 did_you_mean = absl::StrFormat( in ParseFlagsFromEnvAndDieIfUnknown() 231 << did_you_mean; in ParseFlagsFromEnvAndDieIfUnknown()
|
/external/rust/crates/clap/src/app/ |
D | parser.rs | 1035 suggestions::did_you_mean(&*arg_os.to_string_lossy(), sc_names!(self)) in get_matches_with() 1075 || suggestions::did_you_mean(&n.to_string_lossy(), sc_names!(self)) in get_matches_with() 1179 suggestions::did_you_mean(&*arg_os.to_string_lossy(), sc_names!(self)) in get_matches_with()
|