Home
last modified time | relevance | path

Searched refs:suggestion (Results 1 - 20 of 20) sorted by relevance

/third_party/skia/third_party/externals/tint/src/reader/spirv/
H A Dnamer.cc185 // 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 Dsuggestions.c141 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 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() functions
207 match suggestion { in suggestion()
H A 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/
H A Dninja.cc353 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 Ddynamic.rs520 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 Dargs.cc252 // 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 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()
/third_party/rust/crates/unicode-ident/generate/src/
H A Dparse.rs31 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 Dcommand.js243 * 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 Dformat.rs48 /// 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 Dstable_abi.py692 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 Dtest_exceptions.py1772 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 DtypingsInstaller.js2049 * 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 Dtsc.js[all...]
H A Dtsserverlibrary.js2068 * 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 Dtypescript.js2059 * 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 DtypescriptServices.js2059 * 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 Dtsserver.js2069 * 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 Dtypescript.js2196 * 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...]

Completed in 202 milliseconds