Searched refs:ValueSource (Results 1 - 18 of 18) sorted by relevance
/third_party/rust/crates/clap/tests/builder/ |
H A D | default_missing_vals.rs | 24 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 D | env.rs | 25 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 D | default_vals.rs | 22 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 D | value_source.rs | 4 pub enum ValueSource { enum 13 impl ValueSource { impls
|
H A D | matched_arg.rs | 11 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 D | mod.rs | 12 pub use value_source::ValueSource;
|
H A D | arg_matches.rs | 15 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 D | parser.rs | 20 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 D | arg_matcher.rs | 11 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 D | mod.rs | 26 pub use self::matches::{ArgMatches, Indices, ValueSource};
|
/third_party/skia/third_party/externals/abseil-cpp/absl/flags/internal/ |
H A D | commandlineflag.h | 47 enum ValueSource { enum
|
H A D | private_handle_accessor.h | 54 flags_internal::ValueSource source, std::string& error);
|
H A D | private_handle_accessor.cc | 57 flags_internal::ValueSource source, in ParseFrom()
|
H A D | flag.cc | 525 ValueSource source, std::string& err) { in ParseFrom()
|
H A D | flag.h | 575 ValueSource source, std::string& error) override
|
/third_party/rust/crates/clap/examples/ |
H A D | find.rs | 44 if value_source != clap::parser::ValueSource::CommandLine { in from_matches()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/flags/ |
H A D | commandlineflag.h | 171 flags_internal::ValueSource source,
|
H A D | reflection.cc | 260 flags_internal::ValueSource, std::string&) override {
|
Completed in 12 milliseconds