Searched refs:value_names (Results 1 – 8 of 8) sorted by relevance
/third_party/protobuf/src/google/protobuf/compiler/objectivec/ |
D | objectivec_enum.cc | 57 std::set<std::string> value_names; in EnumGenerator() local 66 value_names.insert(EnumValueName(value)); in EnumGenerator() 69 if (value_names.find(value_name) != value_names.end()) { in EnumGenerator() 72 value_names.insert(value_name); in EnumGenerator()
|
/third_party/rust/crates/clap/clap_bench/benches/ |
D | 03_complex.rs | 28 … arg!(--multvals <s> "Tests multiple values not mult occs").value_names(["one", "two"]), 31 ).required(false).value_names(["one", "two"]), 110 .value_names(["one", "two"]), in build_from_builder() 117 .value_names(["one", "two"]), in build_from_builder()
|
/third_party/rust/crates/clap/tests/builder/ |
D | utils.rs | 81 .value_names(["one", "two"]), in complex_app() 83 .value_names(["one", "two"]), in complex_app()
|
D | help.rs | 1571 .value_names(["some", "val"]) in issue_1052_require_delim_help() 1603 .value_names(["some", "val"]) in custom_headers_headers() 1652 .value_names(["some", "val"]) in multiple_custom_help_headers() 2469 .value_names(["one", "two"]), in too_few_value_names_is_dotted() 2495 .value_names(["one", "two"]), in too_many_value_names_panics()
|
D | multiple_values.rs | 1453 .value_names(["who", "what", "why"]), in value_names_building_num_vals() 1472 .arg(Arg::new("pos").value_names(["who", "what", "why"])) in value_names_building_num_vals_for_positional() 1494 .value_names(["who", "what", "why"]), in num_args_preferred_over_value_names()
|
/third_party/rust/crates/clap/src/builder/ |
D | arg.rs | 1158 self.value_names([name]) in value_name() 1219 pub fn value_names(mut self, names: impl IntoIterator<Item = impl Into<Str>>) -> Self { in value_names() method 4440 .value_names(["file"]); in option_display_zero_or_more_values_with_value_name() 4452 .value_names(["file"]); in option_display_one_or_more_values_with_value_name() 4474 .value_names(["file", "name"]); in option_display_value_names() 4486 .value_names(["file", "name"]); in option_display3() 4620 let mut p = Arg::new("pos").index(1).value_names(["file1", "file2"]); in positional_display_val_names() 4630 .value_names(["file1", "file2"]) in positional_display_val_names_required() 4642 .value_names(["file1", "file2"]); in positional_display_val_names_req()
|
/third_party/rust/crates/bindgen/bindgen-cli/ |
D | options.rs | 232 #[arg(long, number_of_values = 2, value_names = ["MODULE-NAME", "RAW-LINE"])]
|
/third_party/rust/crates/clap/ |
D | CHANGELOG.md | 519 - *(assert)* Disallow more `value_names` than `num_args` (#2695) 800 - *(help)* Use `...` when not enough `value_names` are supplied 804 - Disallow more `value_names` than `number_of_values` (#2695)
|