Home
last modified time | relevance | path

Searched refs:suggestion (Results 1 – 25 of 149) sorted by relevance

123456

/third_party/typescript/src/services/codefixes/
DfixNaNEquality.ts15 const { suggestion, expression, arg } = info; constant
17 …return [createCodeFixAction(fixId, changes, [Diagnostics.Use_0, suggestion], fixId, Diagnostics.Us…
31 suggestion: string; property
47 … return { suggestion: getSuggestion(related.messageText), expression: token.parent, arg: token };
62 …const [_, suggestion] = flattenDiagnosticMessageText(messageText, "\n", 0).match(/\'(.*)\'/) || []; constant
63 return suggestion;
DfixSpelling.ts104 const suggestion = symbolName(suggestedSymbol); constant
105 if (!isIdentifierText(suggestion, target) && isPropertyAccessExpression(node.parent)) {
108 changes.replaceNode(sourceFile, node, factory.createIdentifier(suggestion));
111 …ry.createElementAccessExpression(node.parent.expression, factory.createStringLiteral(suggestion)));
115 changes.replaceNode(sourceFile, node, factory.createIdentifier(suggestion));
/third_party/skia/third_party/externals/tint/src/reader/spirv/
Dnamer.cc188 [&used_names](const std::string& suggestion) -> std::string { in ResolveMemberNamesForStruct() argument
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/
Dsuggestions.c138 PyObject *suggestion = NULL; in calculate_suggestions() local
165 if (!suggestion || current_distance < suggestion_distance) { in calculate_suggestions()
166 suggestion = item; in calculate_suggestions()
170 Py_XINCREF(suggestion); in calculate_suggestions()
171 return suggestion; in calculate_suggestions()
/third_party/node/lib/internal/modules/esm/
Dget_format.js67 let suggestion = '';
72 suggestion = 'Loading extensionless files is not supported inside of ' +
79 throw new ERR_UNKNOWN_FILE_EXTENSION(ext, filepath, suggestion);
/third_party/rust/crates/proc-macro-error/src/
Ddiagnostic.rs199 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() method
207 match suggestion { in suggestion()
Dmacros.rs202 $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/
Dninja.cc336 Node* suggestion = state_.SpellcheckNode(path); in CollectTarget() local
337 if (suggestion) { in CollectTarget()
338 *err += ", did you mean '" + suggestion->path() + "'?"; in CollectTarget()
608 const char* suggestion = in ToolTargets() local
610 if (suggestion) { in ToolTargets()
612 mode.c_str(), suggestion); in ToolTargets()
1141 const char* suggestion = SpellcheckStringV(tool_name, words); in ChooseTool() local
1142 if (suggestion) { in ChooseTool()
1144 tool_name.c_str(), suggestion); in ChooseTool()
1181 const char* suggestion = in DebugEnable() local
[all …]
/third_party/node/deps/npm/lib/utils/
Ddid-you-mean.js34 const suggestion = constant
38 return suggestion
/third_party/rust/crates/clap/clap_complete/src/
Ddynamic.rs520 let mut suggestion = pathdiff::diff_paths(&path, current_dir).unwrap_or(path); in complete_path() localVariable
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() localVariable
527 completions.push(suggestion.as_os_str().to_owned()); in complete_path()
/third_party/gn/src/gn/
Dcommand_help.cc365 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()
Dargs.cc258 std::string_view suggestion = SpellcheckString(name, candidates); in VerifyAllOverridesUsed() local
259 if (!suggestion.empty()) in VerifyAllOverridesUsed()
260 err_help = "Did you mean \"" + suggestion + "\"?\n\n" + err_help; in VerifyAllOverridesUsed()
/third_party/rust/crates/clap/src/parser/features/
Dsuggestions.rs73 .map(|(_, suggestion)| suggestion), in did_you_mean_flag()
/third_party/typescript/.github/ISSUE_TEMPLATE/
DFeature_request.md24 …creating this issue. Write them down here so that others can find this suggestion more easily and …
33 My suggestion meets these guidelines:
/third_party/skia/third_party/externals/libjpeg-turbo/
Dchange.log13 Thank to Wolfgang Werner (W.W.) Heinz for suggestion.
32 Thank to Michele Martone for suggestion.
39 Thank to Andrew Senior, David Clunie, and Josef Schmid for suggestion.
58 Thank to Michael Koch for the initial suggestion.
61 Thank to Jeffrey Friedl for the suggestion.
77 Thank to Brett Blackham for the suggestion.
88 Thank to Roberto Boni from Italy for the suggestion.
/third_party/typescript/tests/baselines/reference/
DmoduleResolutionWithoutExtension1.types14 import { baz } from "./baz"; // should error, ask for extension, no extension suggestion
DmoduleResolutionWithoutExtension1.symbols13 import { baz } from "./baz"; // should error, ask for extension, no extension suggestion
DmoduleResolutionWithoutExtension1.errors.txt15 import { baz } from "./baz"; // should error, ask for extension, no extension suggestion
/third_party/typescript/scripts/eslint/rules/
Dno-in-operator.cjs15 type: "suggestion",
Dtype-operator-spacing.cjs15 type: "suggestion",
Donly-arrow-functions.cjs22 type: "suggestion",
/third_party/ltp/testcases/kernel/io/ltp-aiodio/
DREADME9 suggestion would be a tarred version of the gcc package.
/third_party/node/test/fixtures/postject-copy/node_modules/commander/lib/
Dcommand.js1724 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/
Dmod.rs401 let suggestion = suggestions::did_you_mean(&bad_val, good_vals.iter()).pop(); in invalid_value() localVariable
414 if let Some(suggestion) = suggestion { in invalid_value()
417 ContextValue::String(suggestion), in invalid_value()
/third_party/rust/crates/unicode-ident/generate/src/
Dparse.rs31 let suggestion = in parse_xid_properties() localVariable

123456