Home
last modified time | relevance | path

Searched refs:ValueSource (Results 1 - 18 of 18) sorted by relevance

/third_party/rust/crates/clap/tests/builder/
H A Ddefault_missing_vals.rs24 clap::parser::ValueSource::DefaultValue in opt_missing()
50 clap::parser::ValueSource::CommandLine in opt_present_with_missing_value()
76 clap::parser::ValueSource::CommandLine in opt_present_with_value()
101 clap::parser::ValueSource::CommandLine in opt_present_with_empty_value()
187 clap::parser::ValueSource::DefaultValue in default_missing_value_flag_value()
201 clap::parser::ValueSource::CommandLine in default_missing_value_flag_value()
215 clap::parser::ValueSource::CommandLine in default_missing_value_flag_value()
226 clap::parser::ValueSource::CommandLine in default_missing_value_flag_value()
314 clap::parser::ValueSource::CommandLine in valid_index()
H A Denv.rs25 clap::parser::ValueSource::EnvVariable in env()
146 clap::parser::ValueSource::EnvVariable in with_default()
171 clap::parser::ValueSource::CommandLine in opt_user_override()
204 clap::parser::ValueSource::EnvVariable in positionals()
229 clap::parser::ValueSource::CommandLine in positionals_user_override()
H A Ddefault_vals.rs22 clap::parser::ValueSource::DefaultValue in opts()
68 clap::parser::ValueSource::CommandLine in opt_user_override()
86 clap::parser::ValueSource::DefaultValue in positionals()
104 clap::parser::ValueSource::CommandLine in positional_user_override()
/third_party/rust/crates/clap/src/parser/matches/
H A Dvalue_source.rs4 pub enum ValueSource { enum
13 impl ValueSource { impls
H A Dmatched_arg.rs11 use crate::parser::ValueSource;
17 source: Option<ValueSource>,
157 pub(crate) fn source(&self) -> Option<ValueSource> {
161 pub(crate) fn set_source(&mut self, source: ValueSource) {
H A Dmod.rs12 pub use value_source::ValueSource;
H A Darg_matches.rs15 use crate::parser::ValueSource;
30 /// # use clap::parser::ValueSource;
57 /// if matches.value_source("out").expect("checked contains_id") == ValueSource::CommandLine {
616 /// # use clap::parser::ValueSource;
625 /// assert_eq!(m.value_source("debug"), Some(ValueSource::CommandLine));
630 pub fn value_source(&self, id: &str) -> Option<ValueSource> { in value_source()
/third_party/rust/crates/clap/src/parser/
H A Dparser.rs20 use crate::parser::{Validator, ValueSource};
817 ValueSource::CommandLine, in parse_long_arg()
927 ValueSource::CommandLine, in parse_short_arg()
1016 ValueSource::CommandLine, in parse_opt_value()
1039 ValueSource::CommandLine, in parse_opt_value()
1108 ValueSource::CommandLine, in resolve_pending()
1121 source: ValueSource, in react()
1138 if source == ValueSource::CommandLine { in react()
1178 if source == ValueSource::CommandLine in react()
1205 if source == ValueSource in react()
[all...]
H A Darg_matcher.rs11 use crate::parser::{ArgMatches, MatchedArg, SubCommand, ValueSource};
136 pub(crate) fn start_custom_arg(&mut self, arg: &Arg, source: ValueSource) {
148 pub(crate) fn start_custom_group(&mut self, id: Id, source: ValueSource) {
171 ma.set_source(ValueSource::CommandLine);
H A Dmod.rs26 pub use self::matches::{ArgMatches, Indices, ValueSource};
/third_party/skia/third_party/externals/abseil-cpp/absl/flags/internal/
H A Dcommandlineflag.h47 enum ValueSource { enum
H A Dprivate_handle_accessor.h54 flags_internal::ValueSource source, std::string& error);
H A Dprivate_handle_accessor.cc57 flags_internal::ValueSource source, in ParseFrom()
H A Dflag.cc525 ValueSource source, std::string& err) { in ParseFrom()
H A Dflag.h575 ValueSource source, std::string& error) override
/third_party/rust/crates/clap/examples/
H A Dfind.rs44 if value_source != clap::parser::ValueSource::CommandLine { in from_matches()
/third_party/skia/third_party/externals/abseil-cpp/absl/flags/
H A Dcommandlineflag.h171 flags_internal::ValueSource source,
H A Dreflection.cc260 flags_internal::ValueSource, std::string&) override {

Completed in 12 milliseconds