Home
last modified time | relevance | path

Searched refs:is_positional (Results 1 – 10 of 10) sorted by relevance

/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/str_format/
Dchecker.h203 int arg_position, bool is_positional) in ConvParser() argument
208 is_positional_(is_positional) {} in ConvParser()
211 constexpr ConvParser(string_view format, ConvList args, bool is_positional) in ConvParser() argument
216 is_positional_(is_positional) {} in ConvParser()
233 constexpr bool is_positional() const { return is_positional_; } in is_positional() function
285 constexpr bool RunImpl(bool is_positional) const { in RunImpl() argument
289 return (format_.empty() && (is_positional || args_.count == 0)) || in RunImpl()
292 ConvParser(ConsumeFront(format_), args_, is_positional).Run())); in RunImpl()
297 .RunImpl(conv.is_positional()); in ValidateArg()
Dparser.cc100 template <bool is_positional>
130 if (is_positional) { in ConsumeConversion()
160 if (!is_positional && c == '$') { in ConsumeConversion()
171 if (is_positional) { in ConsumeConversion()
189 if (is_positional) { in ConsumeConversion()
229 if (!is_positional) conv->arg_position = ++*next_arg; in ConsumeConversion()
/third_party/rust/crates/clap/clap_complete/src/generator/
Dutils.rs64 if !a.is_positional() { in shorts_and_visible_aliases()
89 if !a.is_positional() { in longs_and_visible_aliases()
117 .filter(|a| !a.get_num_args().expect("built").takes_values() && !a.is_positional()) in flags()
/third_party/rust/crates/clap/src/builder/
Darg.rs3930 pub fn is_positional(&self) -> bool { in is_positional() method
4069 if self.is_positional() && self.num_vals.unwrap_or_default().is_unbounded() { in _build()
4159 if self.is_takes_value_set() && !self.is_positional() { in stylize_arg_suffix()
4175 if self.is_takes_value_set() || self.is_positional() { in stylize_arg_suffix()
4208 let arg_name = if self.is_positional() && (num_vals.min_values() == 0 || !required) { in render_arg_val()
4222 if self.is_positional() && matches!(*self.get_action(), ArgAction::Append) { in render_arg_val()
Ddebug_asserts.rs136 cmd.two_args_of(|x| x.is_positional() && x.get_index() == Some(idx)) in assert_app()
267 arg.is_positional(), in assert_app()
743 arg.is_positional(), in assert_arg()
Dcommand.rs173 if !arg.is_positional() { in arg_internal()
3461 self.get_arguments().filter(|a| a.is_positional()) in get_positionals()
3467 .filter(|a| a.is_takes_value_set() && !a.is_positional()) in get_opts()
3880 if a.is_positional() && a.index.is_none() { in _build_self()
4346 if x.is_positional() { in format_group()
4374 self.get_arguments().filter(|a| !a.is_positional()) in get_non_positionals()
/third_party/rust/crates/clap/clap_mangen/src/
Drender.rs92 for opt in items.iter().filter(|a| !a.is_positional()) { in options()
159 for pos in items.iter().filter(|a| a.is_positional()) { in options()
/third_party/rust/crates/clap/src/output/
Dhelp_template.rs516 } else if !arg.is_positional() { in align_to_about()
568 } else if let Some(true) = arg.map(|a| a.is_positional()) { in help()
693 let taken = if arg.is_positional() { in arg_next_line_help()
/third_party/rust/crates/clap/clap_derive/src/
Ditem.rs50 is_positional: bool, field
274 is_positional: true, in new()
326 self.is_positional = false; in push_method()
1044 pub fn is_positional(&self) -> bool { in is_positional() method
1045 self.is_positional in is_positional()
/third_party/rust/crates/clap/clap_derive/src/derives/
Dargs.rs268 if item.is_positional() { in gen_augment()
285 if item.is_positional() { in gen_augment()