/third_party/skia/third_party/externals/tint/src/reader/spirv/ |
H A D | namer.cc | 185 // Returns a name, based on the suggestion, which does not equal in ResolveMemberNamesForStruct() 188 [&used_names](const std::string& suggestion) -> std::string { in ResolveMemberNamesForStruct() 189 if (used_names.find(suggestion) == used_names.end()) { in ResolveMemberNamesForStruct() 191 return suggestion; in ResolveMemberNamesForStruct() 198 new_name_stream << suggestion << "_" << i; in ResolveMemberNamesForStruct() 223 std::stringstream suggestion; in ResolveMemberNamesForStruct() local 224 suggestion << "field" << index; in ResolveMemberNamesForStruct() 226 name = disambiguate_name(suggestion.str()); in ResolveMemberNamesForStruct()
|
/third_party/python/Python/ |
H A D | suggestions.c | 141 PyObject *suggestion = NULL; in calculate_suggestions() local 168 if (!suggestion || current_distance < suggestion_distance) { in calculate_suggestions() 169 suggestion = item; in calculate_suggestions() 173 Py_XINCREF(suggestion); in calculate_suggestions() 174 return suggestion; in calculate_suggestions() 265 // suggestions. This function returns NULL if no suggestion was found or if an exception happened,
|
/third_party/rust/crates/proc-macro-error/src/ |
H A D | diagnostic.rs | 199 pub fn span_suggestion(self, span: Span, suggestion: &str, msg: String) -> Self { in span_suggestion() 200 match suggestion { in span_suggestion() 206 pub fn suggestion(self, suggestion: &str, msg: String) -> Self { in suggestion() functions 207 match suggestion { in suggestion()
|
H A D | macros.rs | 202 $var.suggestion(stringify!($help), msg.to_string()) 226 let $var = $var.suggestion(stringify!($help), $msg.to_string()); 229 let $var = $var.suggestion(
|
/third_party/ninja/src/ |
H A D | ninja.cc | 353 Node* suggestion = state_.SpellcheckNode(path);
in CollectTarget() local 354 if (suggestion) {
in CollectTarget() 355 *err += ", did you mean '" + suggestion->path() + "'?";
in CollectTarget() 625 const char* suggestion =
in ToolTargets() local 627 if (suggestion) {
in ToolTargets() 629 mode.c_str(), suggestion);
in ToolTargets() 1168 const char* suggestion = SpellcheckStringV(tool_name, words);
in ChooseTool() local 1169 if (suggestion) {
in ChooseTool() 1171 tool_name.c_str(), suggestion);
in ChooseTool() 1208 const char* suggestion in DebugEnable() local 1247 const char* suggestion = WarningEnable() local [all...] |
/third_party/rust/crates/clap/clap_complete/src/ |
H A D | dynamic.rs | 520 let mut suggestion = pathdiff::diff_paths(&path, current_dir).unwrap_or(path); in complete_path() variables 521 suggestion.push(""); // Ensure trailing `/` in complete_path() 522 completions.push(suggestion.as_os_str().to_owned()); in complete_path() 526 let suggestion = pathdiff::diff_paths(&path, current_dir).unwrap_or(path); in complete_path() 527 completions.push(suggestion.as_os_str().to_owned()); in complete_path()
|
/third_party/gn/src/gn/ |
H A D | args.cc | 252 // Use all declare_args for a spelling suggestion. 258 std::string_view suggestion = SpellcheckString(name, candidates); 259 if (!suggestion.empty()) 260 err_help = "Did you mean \"" + suggestion + "\"?\n\n" + err_help;
|
H A D | command_help.cc | 365 std::string_view suggestion = SpellcheckString(what, all_help_topics); in RunHelp() local 366 if (suggestion.empty()) { in RunHelp() 370 OutputString("Did you mean `gn help " + std::string(suggestion) + "`?\n", in RunHelp()
|
/third_party/rust/crates/unicode-ident/generate/src/ |
H A D | parse.rs | 31 let suggestion = in parse_xid_properties() 33 let _ = writeln!(io::stderr(), "{}: {err}\n{suggestion}", ucd_dir.display()); in parse_xid_properties()
|
/third_party/node/test/fixtures/postject-copy/node_modules/commander/lib/ |
H A D | command.js | 243 * Display suggestion of similar commands for unknown commands, or options for unknown options. 1301 // skip option check, emit event for possible misspelling suggestion 1724 let suggestion = ''; 1737 suggestion = suggestSimilar(flag, candidateFlags); 1740 const message = `error: unknown option '${flag}'${suggestion}`; 1769 let suggestion = ''; 1778 suggestion = suggestSimilar(unknownName, candidateNames); 1781 const message = `error: unknown command '${unknownName}'${suggestion}`;
|
/third_party/rust/crates/clap/src/error/ |
H A D | format.rs | 48 /// This follows the [rustc diagnostic style guide](https://rustc-dev-guide.rust-lang.org/diagnostics.html#suggestion-style-guide). 99 for suggestion in suggestions { in format_error() 103 styled.extend(suggestion.iter()); in format_error()
|
/third_party/python/Tools/scripts/ |
H A D | stable_abi.py | 692 suggestion = args.file.with_suffix('.toml') 694 f'{args.file} not found. Did you mean {suggestion} ?') from err
|
/third_party/python/Lib/test/ |
H A D | test_exceptions.py | 1772 for func, suggestion in [(Substitution, "'blech'?"), 1784 self.assertIn(suggestion, err.getvalue()) 2104 for cls, suggestion in [(Substitution, "'blech'?"), 2116 self.assertIn(suggestion, err.getvalue())
|
/third_party/typescript/lib/ |
H A D | typingsInstaller.js | 2049 * Given a name and a list of names that are *not* equal to the name, return a spelling suggestion if there is one that is close enough. [all...] |
H A D | tsc.js | [all...] |
H A D | tsserverlibrary.js | 2068 * Given a name and a list of names that are *not* equal to the name, return a spelling suggestion if there is one that is close enough. [all...] |
H A D | typescript.js | 2059 * Given a name and a list of names that are *not* equal to the name, return a spelling suggestion if there is one that is close enough. [all...] |
H A D | typescriptServices.js | 2059 * Given a name and a list of names that are *not* equal to the name, return a spelling suggestion if there is one that is close enough. [all...] |
H A D | tsserver.js | 2069 * Given a name and a list of names that are *not* equal to the name, return a spelling suggestion if there is one that is close enough. [all...] |
/third_party/node/test/fixtures/snapshot/ |
H A D | typescript.js | 2196 * Given a name and a list of names that are *not* equal to the name, return a spelling suggestion if there is one that is close enough. [all...] |