| /third_party/rust/crates/clap/clap_bench/benches/ |
| D | 05_ripgrep.rs | 43 "-pqr=some", in parse_rg_with_complex() 50 "-e some", in parse_rg_with_complex() 60 "rg", "pat", "some", "some", "some", "some", "some", "some", "some", "some", in parse_rg_with_lots() 61 "some", "some", "some", "some", "some", "some", "some", "some", "some", "some", in parse_rg_with_lots() 62 "some", "some", "some", "some", "some", "some", "some", "some", "some", "some", in parse_rg_with_lots() 63 "some", "some", "some", "some", "some", "some", "some", "some", "some", "some", in parse_rg_with_lots() 64 "some", "some", "some", "some", "some", "some", "some", "some", "some", "some", in parse_rg_with_lots() 65 "some", "some", "some", "some", "some", "some", "some", "some", "some", "some", in parse_rg_with_lots() 66 "some", "some", "some", "some", "some", "some", "some", "some", "some", "some", in parse_rg_with_lots() 67 "some", "some", "some", "some", "some", "some", "some", "some", "some", "some", in parse_rg_with_lots() [all …]
|
| /third_party/rust/crates/clap/tests/builder/ |
| D | positionals.rs | 6 .args([arg!(f: -f [flag] "some opt"), arg!([arg] "some arg")]) in only_pos_follow() 44 arg!(-f --flag "some flag").action(ArgAction::SetTrue), in positional() 61 arg!(-f --flag "some flag").action(ArgAction::SetTrue), in positional() 79 .arg(arg!(<opt>... "some pos")) in lots_o_vals() 81 "", "some", "some", "some", "some", "some", "some", "some", "some", "some", "some", in lots_o_vals() 82 "some", "some", "some", "some", "some", "some", "some", "some", "some", "some", "some", in lots_o_vals() 83 "some", "some", "some", "some", "some", "some", "some", "some", "some", "some", "some", in lots_o_vals() 84 "some", "some", "some", "some", "some", "some", "some", "some", "some", "some", "some", in lots_o_vals() 85 "some", "some", "some", "some", "some", "some", "some", "some", "some", "some", "some", in lots_o_vals() 86 "some", "some", "some", "some", "some", "some", "some", "some", "some", "some", "some", in lots_o_vals() [all …]
|
| D | opts.rs | 54 assert_eq!(m.get_one::<String>("cmd").map(|v| v.as_str()), Some("cmd")); in require_equals_min_values_zero() 70 Some("--") in double_hyphen_as_value() 84 .arg(Arg::new("some")) in require_equals_no_empty_values_fail() 119 .arg(arg!(f: -f [flag] "some flag")) in stdin_char() 131 arg!(f: -f [flag] "some flag"), in opts_using_short() 132 arg!(c: -c [color] "some other flag"), in opts_using_short() 134 .try_get_matches_from(vec!["", "-f", "some", "-c", "other"]); in opts_using_short() 140 "some" in opts_using_short() 152 .arg(arg!(o: -o <opt> "some opt").num_args(1..).required(true)) in lots_o_vals() 154 "", "-o", "some", "some", "some", "some", "some", "some", "some", "some", "some", in lots_o_vals() [all …]
|
| D | tests.rs | 20 scoption present with value: some 21 An scoption: some 37 scoption present with value: some 38 An scoption: some 43 option present with value: some 44 An option: some 52 option present with value: some 53 An option: some 60 option present with value: some 61 An option: some [all …]
|
| D | flag_subcommands.rs | 9 Command::new("some").short_flag('S').long_flag("some").arg( in flag_subcommand_normal() 17 .try_get_matches_from(vec!["myprog", "some", "--test"]) in flag_subcommand_normal() 19 assert_eq!(matches.subcommand_name().unwrap(), "some"); in flag_subcommand_normal() 20 let sub_matches = matches.subcommand_matches("some").unwrap(); in flag_subcommand_normal() 30 Command::new("some") in flag_subcommand_normal_with_alias() 44 assert_eq!(matches.subcommand_name().unwrap(), "some"); in flag_subcommand_normal_with_alias() 45 let sub_matches = matches.subcommand_matches("some").unwrap(); in flag_subcommand_normal_with_alias() 55 Command::new("some").short_flag('S').arg( in flag_subcommand_short() 65 assert_eq!(matches.subcommand_name().unwrap(), "some"); in flag_subcommand_short() 66 let sub_matches = matches.subcommand_matches("some").unwrap(); in flag_subcommand_short() [all …]
|
| D | default_vals.rs | 15 .arg(arg!(o: -o <opt> "some opt").default_value("default")) in opts() 33 .arg(arg!(o: -o <opt> "some opt").default_value("default")) in default_has_index() 37 assert_eq!(m.index_of("o"), Some(1)); in default_has_index() 45 arg!(o: -o <opt> "some opt") in opt_without_value_fail() 61 .arg(arg!(--opt <FILE> "some arg").default_value("default")) in opt_user_override() 79 .arg(arg!([arg] "some opt").default_value("default")) in positionals() 97 .arg(arg!([arg] "some arg").default_value("default")) in positional_user_override() 120 .arg(arg!(o: -o <opt> "some opt").default_value(expected)) in osstr_opts() 137 .arg(arg!(--opt <FILE> "some arg").default_value(default)) in osstr_opt_user_override() 154 .arg(arg!([arg] "some opt").default_value(expected)) in osstr_positionals() [all …]
|
| D | app_settings.rs | 19 [arg1] some 20 [arg2] some 21 [arg3] some 197 .arg(Arg::new("some")) in infer_subcommands_fail_with_args() 203 m.unwrap().get_one::<String>("some").map(|v| v.as_str()), in infer_subcommands_fail_with_args() 204 Some("t") in infer_subcommands_fail_with_args() 212 .arg(Arg::new("some")) in infer_subcommands_fail_with_args2() 218 m.unwrap().get_one::<String>("some").map(|v| v.as_str()), in infer_subcommands_fail_with_args2() 219 Some("te") in infer_subcommands_fail_with_args2() 230 assert_eq!(m.subcommand_name(), Some("test")); in infer_subcommands_pass() [all …]
|
| D | conflicts.rs | 9 .arg(arg!(-f --flag "some flag").conflicts_with("other")) in flag_conflict() 10 .arg(arg!(-o --other "some flag")) in flag_conflict() 20 .arg(arg!(-f --flag "some flag").conflicts_with("other")) in flag_conflict_2() 21 .arg(arg!(-o --other "some flag")) in flag_conflict_2() 31 .arg(arg!(-f --flag "some flag").conflicts_with_all(["other"])) in flag_conflict_with_all() 32 .arg(arg!(-o --other "some flag")) in flag_conflict_with_all() 42 .arg(arg!(-f --flag "some flag").exclusive(true)) in exclusive_flag() 43 .arg(arg!(-o --other "some flag")); in exclusive_flag() 56 .arg(arg!(-f --flag <VALUE> "some flag").exclusive(true)) in exclusive_option() 57 .arg(arg!(-o --other <VALUE> "some flag")) in exclusive_option() [all …]
|
| /third_party/rust/crates/regex/tests/ |
| D | fowler.rs | 5 mat!(match_basic_3, r"abracadabra$", r"abracadabracadabra", Some((7, 18))); 6 mat!(match_basic_4, r"a...b", r"abababbb", Some((2, 7))); 7 mat!(match_basic_5, r"XXXXXX", r"..XXXXXX", Some((2, 8))); 8 mat!(match_basic_6, r"\)", r"()", Some((1, 2))); 9 mat!(match_basic_7, r"a]", r"a]a", Some((0, 2))); 10 mat!(match_basic_9, r"\}", r"}", Some((0, 1))); 11 mat!(match_basic_10, r"\]", r"]", Some((0, 1))); 12 mat!(match_basic_12, r"]", r"]", Some((0, 1))); 13 mat!(match_basic_15, r"^a", r"ax", Some((0, 1))); 14 mat!(match_basic_16, r"\^a", r"a^a", Some((1, 3))); [all …]
|
| D | unicode.rs | 1 mat!(uni_literal, r"☃", "☃", Some((0, 3))); 2 mat!(uni_literal_plus, r"☃+", "☃", Some((0, 3))); 3 mat!(uni_literal_casei_plus, r"(?i)☃+", "☃", Some((0, 3))); 4 mat!(uni_class_plus, r"[☃Ⅰ]+", "☃", Some((0, 3))); 5 mat!(uni_one, r"\pN", "Ⅰ", Some((0, 3))); 6 mat!(uni_mixed, r"\pN+", "Ⅰ1Ⅱ2", Some((0, 8))); 7 mat!(uni_not, r"\PN+", "abⅠ", Some((0, 2))); 8 mat!(uni_not_class, r"[\PN]+", "abⅠ", Some((0, 2))); 9 mat!(uni_not_class_neg, r"[^\PN]+", "abⅠ", Some((2, 5))); 10 mat!(uni_case, r"(?i)Δ", "δ", Some((0, 2))); [all …]
|
| D | bytes.rs | 14 mat!(word_boundary_unicode, r" \b", " δ", Some((0, 1))); 15 mat!(word_not_boundary, r"(?-u) \B", " δ", Some((0, 1))); 19 mat!(perl_w_ascii, r"(?-u)\w+", "aδ", Some((0, 1))); 21 mat!(perl_w_unicode, r"\w+", "aδ", Some((0, 3))); 22 mat!(perl_d_ascii, r"(?-u)\d+", "1२३9", Some((0, 1))); 24 mat!(perl_d_unicode, r"\d+", "1२३9", Some((0, 8))); 25 mat!(perl_s_ascii, r"(?-u)\s+", " \u{1680}", Some((0, 1))); 27 mat!(perl_s_unicode, r"\s+", " \u{1680}", Some((0, 4))); 36 Some((0, 5)), 37 Some((0, 4)), [all …]
|
| /third_party/typescript/tests/baselines/reference/ |
| D | moduleResolutionWithSuffixes_one_externalModule_withPaths.trace.json | 2 "======== Resolving module 'some-library' from '/test.ts'. ========", 4 …"'baseUrl' option is set to '/', using this value to resolve non-relative module name 'some-librar… 5 "'paths' option is specified, looking for a pattern to match module name 'some-library'.", 6 "Module name 'some-library', matched pattern 'some-library'.", 7 …"Trying substitution 'node_modules/some-library/lib', candidate module location: 'node_modules/som… 8 …"Loading module as file / folder, candidate module location '/node_modules/some-library/lib', targ… 9 "File '/node_modules/some-library/lib.ios.ts' does not exist.", 10 "File '/node_modules/some-library/lib.ios.tsx' does not exist.", 11 "File '/node_modules/some-library/lib.ios.d.ts' does not exist.", 12 "File '/node_modules/some-library/lib.ios.ets' does not exist.", [all …]
|
| D | moduleResolutionWithSuffixes_one_externalModule.trace.json | 2 "======== Resolving module 'some-library' from '/index.ts'. ========", 4 "Loading module 'some-library' from 'node_modules' folder, target file type 'TypeScript'.", 5 "File '/node_modules/some-library/package.json' does not exist.", 6 "File '/node_modules/some-library.ios.ts' does not exist.", 7 "File '/node_modules/some-library.ios.tsx' does not exist.", 8 "File '/node_modules/some-library.ios.d.ts' does not exist.", 9 "File '/node_modules/some-library.ios.ets' does not exist.", 10 "File '/node_modules/some-library.d.ios.ets' does not exist.", 11 "File '/node_modules/some-library/index.ios.ts' does not exist.", 12 "File '/node_modules/some-library/index.ios.tsx' does not exist.", [all …]
|
| /third_party/openssl/demos/cms/ |
| D | comp.txt | 3 Some Text To be Compressed 4 Some Text To be Compressed 5 Some Text To be Compressed 6 Some Text To be Compressed 7 Some Text To be Compressed 8 Some Text To be Compressed 9 Some Text To be Compressed 10 Some Text To be Compressed 11 Some Text To be Compressed 12 Some Text To be Compressed [all …]
|
| /third_party/node/test/parallel/ |
| D | test-eslint-avoid-prototype-pollution.js | 48 'StringPrototypeReplace("some string", "some string", "some replacement")', 49 'StringPrototypeReplaceAll("some string", "some string", "some replacement")', 50 'StringPrototypeSplit("some string", "some string")', 156 code: 'RegExpPrototypeTest(/some regex/, "some string")', 160 code: 'RegExpPrototypeSymbolMatch(/some regex/, "some string")', 164 code: 'RegExpPrototypeSymbolMatchAll(/some regex/, "some string")', 168 code: 'RegExpPrototypeSymbolSearch(/some regex/, "some string")', 172 code: 'StringPrototypeMatch("some string", /some regex/)', 176 code: 'let v = StringPrototypeMatch("some string", /some regex/)', 180 code: 'let v = StringPrototypeMatch("some string", new RegExp("some regex"))', [all …]
|
| /third_party/rust/crates/cxx/syntax/ |
| D | check.rs | 126 None | Some(Bool) | Some(Char) | Some(U8) | Some(U16) | Some(U32) | Some(U64) in check_type_rust_vec() 127 | Some(Usize) | Some(I8) | Some(I16) | Some(I32) | Some(I64) | Some(Isize) in check_type_rust_vec() 128 | Some(F32) | Some(F64) | Some(RustString) => return, in check_type_rust_vec() 129 Some(CxxString) => {} in check_type_rust_vec() 147 None | Some(CxxString) => return, in check_type_unique_ptr() 165 None | Some(Bool) | Some(U8) | Some(U16) | Some(U32) | Some(U64) | Some(Usize) in check_type_shared_ptr() 166 | Some(I8) | Some(I16) | Some(I32) | Some(I64) | Some(Isize) | Some(F32) in check_type_shared_ptr() 167 | Some(F64) | Some(CxxString) => return, in check_type_shared_ptr() 168 Some(Char) | Some(RustString) => {} in check_type_shared_ptr() 186 None | Some(Bool) | Some(U8) | Some(U16) | Some(U32) | Some(U64) | Some(Usize) in check_type_weak_ptr() [all …]
|
| /third_party/rust/crates/clap/clap_derive/src/ |
| D | attr.rs | 80 "rename_all" => Some(MagicAttrName::RenameAll), in parse() 81 "rename_all_env" => Some(MagicAttrName::RenameAllEnv), in parse() 82 "skip" => Some(MagicAttrName::Skip), in parse() 83 "next_display_order" => Some(MagicAttrName::NextDisplayOrder), in parse() 84 "next_help_heading" => Some(MagicAttrName::NextHelpHeading), in parse() 85 "default_value_t" => Some(MagicAttrName::DefaultValueT), in parse() 86 "default_values_t" => Some(MagicAttrName::DefaultValuesT), in parse() 87 "default_value_os_t" => Some(MagicAttrName::DefaultValueOsT), in parse() 88 "default_values_os_t" => Some(MagicAttrName::DefaultValuesOsT), in parse() 89 "long" => Some(MagicAttrName::Long), in parse() [all …]
|
| /third_party/rust/crates/clap/clap_complete/tests/snapshots/ |
| D | special_commands.fish | 1 complete -c my-app -n "__fish_use_subcommand" -s c -s C -l config -l conf -d 'some config file' 6 complete -c my-app -n "__fish_use_subcommand" -f -a "some-cmd-with-hyphens" 7 complete -c my-app -n "__fish_use_subcommand" -f -a "some-hidden-cmd" 15 complete -c my-app -n "__fish_seen_subcommand_from some-cmd-with-hyphens" -s h -l help -d 'Print he… 16 complete -c my-app -n "__fish_seen_subcommand_from some-cmd-with-hyphens" -s V -l version -d 'Print… 17 complete -c my-app -n "__fish_seen_subcommand_from some-hidden-cmd" -s h -l help -d 'Print help' 18 complete -c my-app -n "__fish_seen_subcommand_from some-hidden-cmd" -s V -l version -d 'Print versi… 19 …ome_cmd; and not __fish_seen_subcommand_from some-cmd-with-hyphens; and not __fish_seen_subcommand… 20 …ome_cmd; and not __fish_seen_subcommand_from some-cmd-with-hyphens; and not __fish_seen_subcommand… 21 …ommand_from some-cmd-with-hyphens; and not __fish_seen_subcommand_from some-hidden-cmd; and not __… [all …]
|
| D | special_commands.elvish | 21 cand -c 'some config file' 22 cand -C 'some config file' 23 cand --config 'some config file' 24 cand --conf 'some config file' 31 cand some-cmd-with-hyphens 'some-cmd-with-hyphens' 32 cand some-hidden-cmd 'some-hidden-cmd' 49 &'my-app;some-cmd-with-hyphens'= { 55 &'my-app;some-hidden-cmd'= { 64 cand some-cmd-with-hyphens 'some-cmd-with-hyphens' 65 cand some-hidden-cmd 'some-hidden-cmd' [all …]
|
| /third_party/libabigail/tests/data/test-abidiff/ |
| D | test-PR18791-report0.txt | 12 60 functions with some indirect sub-type change: 14 [C] 'method bool sigc::connection::block(bool)' has some indirect sub-type changes: 45 [C] 'method bool sigc::connection::blocked()' has some indirect sub-type changes: 50 …[C] 'method sigc::connection::connection(const sigc::connection&)' has some indirect sub-type chan… 57 [C] 'method sigc::connection::connection()' has some indirect sub-type changes: 61 [C] 'method sigc::connection::connection(sigc::slot_base&)' has some indirect sub-type changes: 67 [C] 'method void sigc::connection::disconnect()' has some indirect sub-type changes: 71 [C] 'method bool sigc::connection::empty()' has some indirect sub-type changes: 76 [C] 'method bool sigc::connection::operator bool()' has some indirect sub-type changes: 80 …[C] 'method sigc::connection& sigc::connection::operator=(const sigc::connection&)' has some indir… [all …]
|
| /third_party/jerryscript/tests/jerry/ |
| D | error.js | 23 e = new Error("some message"); 25 assert (e.message === "some message"); 26 assert (e.toString() === "Error: some message"); 29 assert (e.toString() === "some message"); 45 e = new TypeError("some message"); 47 assert (e.message === "some message"); 48 assert (e.toString() === "TypeError: some message"); 51 assert (e.toString() === "some message"); 83 e = new ReferenceError("some message"); 85 assert (e.message === "some message"); [all …]
|
| /third_party/rust/crates/rustix/src/backend/linux_raw/process/ |
| D | types.rs | 167 linux_raw_sys::general::SIGHUP => Some(Self::Hup), in from_raw() 168 linux_raw_sys::general::SIGINT => Some(Self::Int), in from_raw() 169 linux_raw_sys::general::SIGQUIT => Some(Self::Quit), in from_raw() 170 linux_raw_sys::general::SIGILL => Some(Self::Ill), in from_raw() 171 linux_raw_sys::general::SIGTRAP => Some(Self::Trap), in from_raw() 172 linux_raw_sys::general::SIGABRT => Some(Self::Abort), in from_raw() 173 linux_raw_sys::general::SIGBUS => Some(Self::Bus), in from_raw() 174 linux_raw_sys::general::SIGFPE => Some(Self::Fpe), in from_raw() 175 linux_raw_sys::general::SIGKILL => Some(Self::Kill), in from_raw() 176 linux_raw_sys::general::SIGUSR1 => Some(Self::Usr1), in from_raw() [all …]
|
| /third_party/rust/crates/unicode-width/src/ |
| D | tests.rs | 75 Some(1) in simple_width_if() 77 Some(0) in simple_width_if() 90 cu if cu == 0 => Some(0), in simple_width_match() 92 cu if cu < 0x7f => Some(1), in simple_width_match() 141 use core::option::Option::{Some, None}; in test_char() 143 assert_eq!(UnicodeWidthChar::width('h'), Some(2)); in test_char() 144 assert_eq!('h'.width_cjk(), Some(2)); in test_char() 145 assert_eq!(UnicodeWidthChar::width('\x00'), Some(0)); in test_char() 146 assert_eq!('\x00'.width_cjk(), Some(0)); in test_char() 149 assert_eq!(UnicodeWidthChar::width('\u{2081}'), Some(1)); in test_char() [all …]
|
| /third_party/rust/crates/clap/tests/ |
| D | macros.rs | 6 assert_eq!(arg.get_long(), Some("bar")); in name_explicit() 7 assert_eq!(arg.get_value_names(), Some(vec!["NUM".into()].as_slice())); in name_explicit() 15 assert_eq!(arg.get_long(), Some("bar")); in name_from_long() 16 assert_eq!(arg.get_value_names(), Some(vec!["NUM".into()].as_slice())); in name_from_long() 25 assert_eq!(arg.get_value_names(), Some(vec!["NUM".into()].as_slice())); in name_from_value() 45 assert_eq!(arg.get_short(), Some('b')); in short() 53 assert_eq!(arg.get_short(), Some('b')); in short() 61 assert_eq!(arg.get_short(), Some('b')); in short() 69 assert_eq!(arg.get_short(), Some('b')); in short() 75 Some("How to use it".to_owned()) in short() [all …]
|
| /third_party/rust/crates/version_check/src/ |
| D | lib.rs | 1 //! This tiny crate checks that the running or installed `rustc` meets some 29 //! Some(true) => "Yep! It's recent!", 30 //! Some(false) => "No, it's older.", 44 //! Some(true) => "Yes! It's a dev or nightly release!", 45 //! Some(false) => "No, it's stable or beta.", 55 //! if let Some(true) = rustc::supports_feature("doc_cfg") { 66 //! Some(c) if c.is_stable() => format!("Yes! It's stable."), 67 //! Some(c) => format!("No, the channel {} is not stable.", c), 112 Some("rustc") => { in version_and_date_from_rustc_verbose_version() 117 Some("release:") => version = split(line), in version_and_date_from_rustc_verbose_version() [all …]
|