Home
last modified time | relevance | path

Searched refs:with_name (Results 1 – 24 of 24) sorted by relevance

/external/rust/crates/bindgen/src/
Doptions.rs30 Arg::with_name("header") in builder_from_flags()
33 Arg::with_name("default-enum-style") in builder_from_flags()
47 Arg::with_name("bitfield-enum") in builder_from_flags()
57 Arg::with_name("newtype-enum") in builder_from_flags()
64 Arg::with_name("rustified-enum") in builder_from_flags()
71 Arg::with_name("constified-enum") in builder_from_flags()
81 Arg::with_name("constified-enum-module") in builder_from_flags()
91 Arg::with_name("default-macro-constant-type") in builder_from_flags()
98 Arg::with_name("default-alias-style") in builder_from_flags()
109 Arg::with_name("normal-alias") in builder_from_flags()
[all …]
/external/rust/crates/criterion/src/
Dlib.rs740 .arg(Arg::with_name("FILTER") in configure_from_args()
743 .arg(Arg::with_name("color") in configure_from_args()
751 .arg(Arg::with_name("verbose") in configure_from_args()
755 .arg(Arg::with_name("noplot") in configure_from_args()
759 .arg(Arg::with_name("save-baseline") in configure_from_args()
764 .arg(Arg::with_name("baseline") in configure_from_args()
770 .arg(Arg::with_name("list") in configure_from_args()
774 .arg(Arg::with_name("profile-time") in configure_from_args()
779 .arg(Arg::with_name("load-baseline") in configure_from_args()
785 .arg(Arg::with_name("sample-size") in configure_from_args()
[all …]
/external/rust/cxx/gen/cmd/src/
Dapp.rs113 Arg::with_name(INPUT) in arg_input()
126 Arg::with_name(CXX_IMPL_ANNOTATIONS) in arg_cxx_impl_annotations()
139 Arg::with_name(HEADER).long(HEADER).help(HELP) in arg_header()
148 Arg::with_name(INCLUDE) in arg_include()
163 Arg::with_name(OUTPUT) in arg_output()
/external/rust/crates/clap/src/args/
Dgroup.rs107 pub fn with_name(n: &'a str) -> Self { in with_name() method
518 let g = ArgGroup::with_name("test") in groups()
541 let g = ArgGroup::with_name("test") in test_debug()
575 let g = ArgGroup::with_name("test") in test_from()
Dsubcommand.rs51 pub fn with_name<'b>(name: &str) -> App<'a, 'b> { in with_name() method
Darg.rs77 pub fn with_name(n: &'a str) -> Self { in with_name() method
103 let mut a = Arg::with_name(name_str); in from_yaml()
/external/rust/crates/clap/src/
Dmacros.rs671 clap_app!{ @arg ($crate::Arg::with_name($name)) (-) $($tail)* }))
678 clap_app!{ @arg ($crate::Arg::with_name(stringify!($name))) (-) $($tail)* }))
694 … (clap_app!{ @group ($builder, $crate::ArgGroup::with_name(stringify!($name))) $($tail)* })
700 …(clap_app!{ @group ($builder, $crate::ArgGroup::with_name(stringify!($name)).$ident(false)) $($tai…
706 …(clap_app!{ @group ($builder, $crate::ArgGroup::with_name(stringify!($name)).$ident(true)) $($tail…
714 clap_app!{ @app ($crate::SubCommand::with_name(stringify!($name))) $($tail)* }
806 clap_app!{ @app ($crate::SubCommand::with_name(stringify!($name))) $($tail)* }
/external/rust/crates/structopt/examples/
Dgroup.rs6 #[structopt(group = ArgGroup::with_name("verb").required(true))]
/external/python/cpython3/Lib/test/
Dtest_pathlib.py548 self.assertEqual(P('a/b').with_name('d.xml'), P('a/d.xml'))
549 self.assertEqual(P('/a/b').with_name('d.xml'), P('/a/d.xml'))
550 self.assertEqual(P('a/b.py').with_name('d.xml'), P('a/d.xml'))
551 self.assertEqual(P('/a/b.py').with_name('d.xml'), P('/a/d.xml'))
552 self.assertEqual(P('a/Dot ending.').with_name('d.xml'), P('a/d.xml'))
553 self.assertEqual(P('/a/Dot ending.').with_name('d.xml'), P('/a/d.xml'))
554 self.assertRaises(ValueError, P('').with_name, 'd.xml')
555 self.assertRaises(ValueError, P('.').with_name, 'd.xml')
556 self.assertRaises(ValueError, P('/').with_name, 'd.xml')
557 self.assertRaises(ValueError, P('a/b').with_name, '')
[all …]
/external/rust/crates/clap/src/app/
Dmeta.rs28 pub fn with_name(s: String) -> Self { in with_name() method
Dmod.rs82 p: Parser::with_name(n.into()), in new()
116 p: Parser::with_name(n.into()), in with_defaults()
Dparser.rs85 pub fn with_name(n: String) -> Self { in with_name() function
87 meta: AppMeta::with_name(n), in with_name()
254 let mut ag = ArgGroup::with_name(g); in add_arg_groups()
/external/rust/crates/structopt/tests/
Dissues.rs13 #[structopt(group = ArgGroup::with_name("verb").required(true).multiple(true))] in issue_151()
/external/rust/crates/clap/
Dclap-test.rs78 .subcommand(SubCommand::with_name("subcmd") in complex_app()
DREADME.md157 .arg(Arg::with_name("config")
163 .arg(Arg::with_name("INPUT")
167 .arg(Arg::with_name("v")
171 .subcommand(SubCommand::with_name("test")
175 .arg(Arg::with_name("debug")
DCHANGELOG.md2207 * **README.md** use with_name for subcommands ([28b7e316](https://github.com/kbknapp/clap-rs/commi…
/external/rust/crates/rusqlite/src/
Dtransaction.rs262 pub fn with_name<T: Into<String>>(conn: &mut Connection, name: T) -> Result<Savepoint<'_>> { in with_name() method
463 Savepoint::with_name(self, name) in savepoint_with_name()
/external/python/cpython3/Doc/library/
Dpathlib.rst559 .. method:: PurePath.with_name(name)
565 >>> p.with_name('setup.py')
568 >>> p.with_name('setup.py')
571 File "/home/antoine/cpython/default/Lib/pathlib.py", line 751, in with_name
592 return self.with_name(stem + self.suffix)
593 File "/home/antoine/cpython/default/Lib/pathlib.py", line 851, in with_name
/external/rust/crates/structopt-derive/src/
Dlib.rs225 ::structopt::clap::Arg::with_name(#name) in gen_augmentation()
540 let #app_var = ::structopt::clap::SubCommand::with_name(#name); in gen_augment_clap_enum()
/external/python/cpython3/Lib/
Dpathlib.py865 def with_name(self, name): member in PurePath
878 return self.with_name(stem + self.suffix)
/external/python/pyfakefs/pyfakefs/tests/
Dfake_pathlib_test.py237 self.path('c:/Downloads/pathlib.tar.gz').with_name('setup.py'),
239 self.assertRaises(ValueError, self.path('c:/').with_name,
/external/python/parse_type/tasks/_vendor/
Dpathlib.py773 def with_name(self, name): member in PurePath
/external/python/cpython3/Misc/NEWS.d/
D3.5.0a1.rst3097 Disallow the construction of invalid paths using Path.with_name(). Original
5274 Add missing documentation for PurePath.with_name() and
/external/python/cpython3/Misc/
DHISTORY1567 Path.with_name(). Original patch by Antony Lee.
2139 - Issue #20765: Add missing documentation for PurePath.with_name() and