Home
last modified time | relevance | path

Searched refs:get_name (Results 1 – 25 of 203) sorted by relevance

123456789

/third_party/rust/crates/clap/src/builder/
Ddebug_asserts.rs26 cmd.get_name(), in assert_app()
37 ,cmd.get_name() in assert_app()
43 short_flags.push(Flag::Command(format!("-{}", s), sc.get_name())); in assert_app()
47 short_flags.push(Flag::Command(format!("-{}", short_alias), sc.get_name())); in assert_app()
51 …: long_flag {:?} must not start with a `-`, that will be handled by the parser", sc.get_name(), l); in assert_app()
52 long_flags.push(Flag::Command(format!("--{}", l), sc.get_name())); in assert_app()
56 long_flags.push(Flag::Command(format!("--{}", long_alias), sc.get_name())); in assert_app()
66 cmd.get_name(), in assert_app()
97 cmd.get_name(), in assert_app()
109 cmd.get_name(), in assert_app()
[all …]
Dpossible_value.rs149 pub fn get_name(&self) -> &str { in get_name() method
201 std::iter::once(self.get_name()).chain(self.aliases.iter().map(|s| s.as_str())) in get_name_and_aliases()
/third_party/rust/crates/clap/clap_complete/src/generator/
Dutils.rs37 debug!("subcommands: name={}", p.get_name()); in subcommands()
47 sc.get_name(), in subcommands()
51 subcmds.push((sc.get_name().to_string(), sc_bin_name.to_string())); in subcommands()
60 debug!("shorts: name={}", p.get_name()); in shorts_and_visible_aliases()
85 debug!("longs: name={}", p.get_name()); in longs_and_visible_aliases()
115 debug!("flags: name={}", p.get_name()); in flags()
211 assert_eq!(sc_app.get_name(), "config"); in test_find_subcommand_with_path()
/third_party/cef/tools/
Dmake_ctocpp_impl.py58 if clsname == func.parent.get_name():
73 invalid.append(arg.get_name())
121 arg_name = arg.get_type().get_name()
183 arg_name = arg.get_type().get_name()
368 arg_name = arg.get_type().get_name()
505 name = func.get_name()
518 impl = make_ctocpp_function_impl(cls.get_name(),
531 impl += make_ctocpp_function_impl(cls.get_name(),
542 clsname = cls.get_name()
545 if cur_cls.get_name() == clsname:
[all …]
Dmake_cpptoc_impl.py55 invalid.append(arg.get_name())
93 arg_name = arg.get_type().get_name()
165 arg_name = arg.get_type().get_name()
328 if cls.get_name() == func.parent.get_name():
330 result += func.parent.get_name() + 'CppToC::Get(self)->'
333 result += cls.get_name(
336 result += func.parent.get_name() + '::'
337 result += func.get_name() + '('
349 arg_name = arg.get_type().get_name()
534 cur_clsname = cls.get_name()
[all …]
Dcef_parser.py721 if cls.get_name() == classname:
731 result.append(cls.get_name())
793 map[func.get_name() + '()'] = func.get_capi_name() + '()'
797 map[cls.get_name()] = cls.get_capi_name()
801 map[func.get_name() + '()'] = func.get_capi_name() + '()'
805 map[func.get_name() + '()'] = func.get_capi_name() + '()'
918 def get_name(self): member in obj_class
1120 "for the '"+argument.get_name()+ \
1142 def get_name(self): member in obj_function
1153 return self.parent.get_name() + '::' + self.name
[all …]
Dmake_views_stub_impl.py11 name = func.get_name()
41 clsname = cls.get_name()
/third_party/mesa3d/src/intel/genxml/
Dgen_sort_tags.py14 def get_name(element): function
111 enums = sorted(genxml.findall('enum'), key=get_name)
121 structs = sorted(xml.findall('./struct'), key=get_name)
136 instructions = sorted(xml.findall('./instruction'), key=get_name)
140 registers = sorted(xml.findall('./register'), key=get_name)
/third_party/rust/crates/clap/clap_complete/src/shells/
Dbash.rs86 cmd_name = cmd.get_name().to_string().replace('-', "__") in all_subcommands()
90 cmd.get_name().to_string(), in all_subcommands()
105 let fn_name = cmd.get_name().replace('-', "__"); in all_subcommands()
208 .map(|n| n.get_name()) in vals_for()
232 write!(&mut opts, "{} ", value.get_name()).unwrap(); in all_options_for_path()
Dzsh.rs164 debug!("subcommands_of:iter: subcommand={}", command.get_name()); in subcommands_of()
166 add_subcommands(command, command.get_name(), &mut segments); in subcommands_of()
229 parent.get_name(),
270 name = parent.get_name(),
282 debug!("parser_of: p={}, bin_name={}", parent.get_name(), bin_name);
347 let subcommand_text = format!("\"*::: :->{name}\" \\", name = parent.get_name());
372 name = escape_value(value.get_name()),
387 .map(|n| n.get_name())
Dfish.rs139 template.push_str(format!(" -a \"{}\"", &subcommand.get_name()).as_str());
152 parent_commands.push(subcommand.get_name());
173 escape_string(value.get_name(), true).as_str(), in value_completion()
/third_party/libabigail/src/
Dabg-suppression.cc1197 if (!suppression_matches_type_name(*this, get_name(type))) in suppresses_type()
1350 if ((fn_call->get_name() == "offset_of" in eval_boundary()
1351 || fn_call->get_name() == "offset_after") in eval_boundary()
1362 if ((*it)->get_name() == member_name) in eval_boundary()
1364 if (fn_call->get_name() == "offset_of") in eval_boundary()
1366 else if (fn_call->get_name() == "offset_after") in eval_boundary()
1600 if (section.get_name() != "suppress_type") in read_type_suppression()
2163 function_suppression::get_name() const in get_name() function in abigail::suppr::function_suppression
2521 if (!get_name().empty()) in suppresses_function()
2523 if (get_name() != fn->get_qualified_name()) in suppresses_function()
[all …]
Dabg-ir.cc1899 bool equals = (l.get_name() == r.get_name() in textually_equals()
1944 elf_symbol::get_name() const in get_name() function in abigail::ir::elf_symbol
2278 if (!has_aliases() || get_name() == name) in update_main_symbol()
2286 if (a->get_name() == name) in update_main_symbol()
2399 string s = get_name (); in get_id_string()
2424 if (name == get_name()) in get_alias_from_name()
2430 if (a->get_name() == name) in get_alias_from_name()
3274 return f->get_name() < s->get_name(); in operator ()()
4732 || t->get_name() == get_name()); in set_naming_typedef()
4738 set_name(t->get_name()); in set_naming_typedef()
[all …]
/third_party/rust/crates/clap/clap_mangen/src/
Drender.rs13 Some(about) => format!("{} - {}", cmd.get_name(), about), in about()
14 None => cmd.get_name().to_string(), in about()
32 let mut line = vec![bold(cmd.get_name()), roman(" ")]; in synopsis()
228 cmd.get_display_name().unwrap_or_else(|| cmd.get_name()), in subcommands()
229 sub.get_name(), in subcommands()
344 let val_name = value.get_name(); in format_possible_values()
351 lines.append(&mut possibles.iter().map(|p| p.get_name().to_string()).collect()); in format_possible_values()
/third_party/python/Lib/test/
Dtest_symtable.py48 if ch.get_name() == name:
198 self.assertEqual(self.top.get_name(), "top")
199 self.assertEqual(self.spam.get_name(), "spam")
200 self.assertEqual(self.spam.lookup("x").get_name(), "x")
201 self.assertEqual(self.Mine.get_name(), "Mine")
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/PDB/DIA/
DDIATable.cpp23 return invokeBstrMethod(*Table, &IDiaTable::get_name); in getName()
28 if (S_OK != Table->get_name(&Name16)) in getTableType()
/third_party/elfio/
DREADME-OH.md50 2. 调用section_impl的get_name\(\)接口获取section名称。
54 if (section->get_name() == "xxx")
65 if (section->get_name() == "xxx") {
/third_party/mesa3d/src/gallium/frontends/wgl/
Dstw_device.c98 stw_dev->zink = !memcmp(screen->get_name(screen), "zink", 4); in init_screen()
112 const char *driver_name = stw_dev->stw_winsys->get_name ? stw_dev->stw_winsys->get_name() : NULL; in init_options()
/third_party/rust/crates/clap/clap_complete_fig/src/
Dfig.rs61 aliases.insert(0, subcommand.get_name()); in gen_fig_inner()
87 escape_string(subcommand.get_name()), in gen_fig_inner()
109 parent_commands.push(subcommand.get_name()); in gen_fig_inner()
408 escape_string(value.get_name()), in gen_args()
428 escape_string(value.get_name()), in gen_args()
/third_party/cef/libcef_dll/ctocpp/
Dweb_plugin_info_ctocpp.cc24 if (CEF_MEMBER_MISSING(_struct, get_name)) in GetName()
30 cef_string_userfree_t _retval = _struct->get_name(_struct); in GetName()
Dprocess_message_ctocpp.cc94 if (CEF_MEMBER_MISSING(_struct, get_name)) in GetName()
100 cef_string_userfree_t _retval = _struct->get_name(_struct); in GetName()
/third_party/mesa3d/src/gallium/targets/libgl-d3d12/
Dlibgl_d3d12.c104 get_name(void) in get_name() function
118 &get_name,
/third_party/skia/third_party/externals/harfbuzz/src/
Dhb-debug.hh398 (&c->debug_depth, c->get_name (), this, HB_FUNC, \
411 (&c->debug_depth, c->get_name (), this, HB_FUNC, \
435 (&c->debug_depth, c->get_name (), this, HB_FUNC, \
456 (&c->debug_depth, c->get_name (), this, HB_FUNC, \
/third_party/rust/crates/clap/src/output/
Dhelp_template.rs94 cmd.get_name(), in new()
229 .unwrap_or_else(|| self.cmd.get_name()) in write_display_name()
245 wrap(&self.cmd.get_name().replace("{n}", "\n"), self.term_w) in write_bin_name()
248 wrap(&self.cmd.get_name().replace("{n}", "\n"), self.term_w) in write_bin_name()
645 self.literal(pv.get_name()); in help()
655 self.spaces(longest - display_width(pv.get_name())); in help()
835 styled.literal(subcommand.get_name()); in write_subcommands()
900 debug!("HelpTemplate::sc_spec_vals: a={}", a.get_name()); in sc_spec_vals()
/third_party/libabigail/tools/
Dabisym.cc149 if (n != sym->get_name()) in main()
150 cout << " (" << sym->get_name() << ")"; in main()

123456789