Home
last modified time | relevance | path

Searched refs:bin_name (Results 1 – 15 of 15) sorted by relevance

/external/rust/crates/clap/src/completions/
Dzsh.rs55 name = self.p.meta.bin_name.as_ref().unwrap(), in generate_to()
104 bin_name_underscore = p.meta.bin_name.as_ref().unwrap().replace(" ", "__"), in subcommand_details()
105 bin_name = p.meta.bin_name.as_ref().unwrap(), in subcommand_details()
113 for &(_, ref bin_name) in &all_subcommands { in subcommand_details()
114 debugln!("ZshGen::subcommand_details:iter: bin_name={}", bin_name); in subcommand_details()
124 bin_name_underscore = bin_name.replace(" ", "__"), in subcommand_details()
125 bin_name = bin_name, in subcommand_details()
126 subcommands_and_args = subcommands_of(parser_of(p, bin_name)) in subcommand_details()
221 for &(ref name, ref bin_name) in &sc_names {
223 let subcommand_args = get_args_of(parser_of(p, &*bin_name));
[all …]
Dmod.rs90 p.meta.bin_name.as_ref().unwrap() in subcommands_of()
105 p.meta.bin_name.as_ref().unwrap().split(' ').collect(); in subcommands_of()
118 sc.p.meta.bin_name.as_ref().unwrap() in subcommands_of()
126 p.meta.bin_name.as_ref().unwrap().split(' ').collect(); in subcommands_of()
135 sc.p.meta.bin_name.as_ref().unwrap().clone(), in subcommands_of()
147 let path = p.meta.bin_name.as_ref().unwrap().clone().replace(" ", "__"); in get_all_subcommand_paths()
162 .bin_name in get_all_subcommand_paths()
Delvish.rs21 let bin_name = self.p.meta.bin_name.as_ref().unwrap(); in generate_to() localVariable
47 bin_name = bin_name, in generate_to()
74 p.meta.bin_name.as_ref().expect(INTERNAL_ERROR_MSG).clone() in generate_inner()
Dpowershell.rs21 let bin_name = self.p.meta.bin_name.as_ref().unwrap(); in generate_to() localVariable
54 bin_name = bin_name, in generate_to()
81 p.meta.bin_name.as_ref().expect(INTERNAL_ERROR_MSG).clone() in generate_inner()
Dbash.rs67 name = self.p.meta.bin_name.as_ref().unwrap(), in generate_to()
68 name_opts = self.all_options_for_path(self.p.meta.bin_name.as_ref().unwrap()), in generate_to()
70 self.option_details_for_path(self.p.meta.bin_name.as_ref().unwrap()), in generate_to()
Dfish.rs20 let command = self.p.meta.bin_name.as_ref().unwrap(); in generate_to()
/external/rust/crates/clap/src/app/
Dmod.rs93 self.p.meta.bin_name.as_ref().map(|s| s.as_str()) in get_bin_name()
210 pub fn bin_name<S: Into<String>>(mut self, name: S) -> Self { in bin_name() method
211 self.p.meta.bin_name = Some(name.into()); in bin_name()
1395 bin_name: S, in gen_completions()
1399 self.p.meta.bin_name = Some(bin_name.into()); in gen_completions()
1437 bin_name: S, in gen_completions_to()
1441 self.p.meta.bin_name = Some(bin_name.into()); in gen_completions_to()
1630 if self.p.meta.bin_name.is_none() { in get_matches_from_safe_borrow()
1631 self.p.meta.bin_name = Some(s.to_owned()); in get_matches_from_safe_borrow()
1682 yaml_str!(a, yaml, bin_name); in from()
Dparser.rs128 let name = &*self.meta.bin_name.as_ref().unwrap().clone(); in gen_completions()
753 let mut bin_name = self in parse_help_subcommand() localVariable
755 .bin_name in parse_help_subcommand()
795 self.meta.bin_name.as_ref().unwrap_or(&self.meta.name), in parse_help_subcommand()
799 bin_name = format!("{} {}", bin_name, &*sc.meta.name); in parse_help_subcommand()
812 if sc.meta.bin_name != self.meta.bin_name { in parse_help_subcommand()
813 sc.meta.bin_name = Some(format!("{} {}", bin_name, sc.meta.name)); in parse_help_subcommand()
1040 self.meta.bin_name.as_ref().unwrap_or(&self.meta.name), in get_matches_with()
1184 self.meta.bin_name.as_ref().unwrap_or(&self.meta.name), in get_matches_with()
1191 self.meta.bin_name.as_ref().unwrap_or(&self.meta.name), in get_matches_with()
[all …]
Dmeta.rs6 pub bin_name: Option<String>, field
Dusage.rs66 .unwrap_or_else(|| p.meta.bin_name.as_ref().unwrap_or(&p.meta.name)); in create_help_usage()
184 .unwrap_or_else(|| p.meta.bin_name.as_ref().unwrap_or(&p.meta.name))[..], in create_smart_usage()
Dhelp.rs705 if let Some(bn) = parser.meta.bin_name.as_ref() { in write_bin_name()
/external/perfetto/tools/busy_threads/
Dbusy_threads.cc53 void PrintUsage(const char* bin_name) { in PrintUsage() argument
58 bin_name); in PrintUsage()
62 bin_name); in PrintUsage()
/external/llvm-project/llvm/utils/
Dbugpoint_gisel_reducer.py41 def check_bin(build_dir, bin_name): argument
42 file_name = '{}/bin/{}'.format(build_dir, bin_name)
/external/perfetto/tools/ftrace_proto_gen/
Dmain.cc46 void PrintUsage(const char* bin_name) { in PrintUsage() argument
50 bin_name); in PrintUsage()
/external/python/cpython3/Lib/venv/
D__init__.py142 context.bin_name = binname
339 text = text.replace('__VENV_BIN_NAME__', context.bin_name)