/third_party/rust/crates/codespan/codespan-reporting/tests/ |
D | term.rs | 1 use codespan_reporting::diagnostic::{Diagnostic, Label}; 94 Diagnostic::bug(), 95 Diagnostic::error(), 96 Diagnostic::warning(), 97 Diagnostic::note(), 98 Diagnostic::help(), 99 Diagnostic::bug(), 134 Diagnostic::error() 145 Diagnostic::error() 242 Diagnostic::error() [all …]
|
/third_party/rust/crates/codespan/codespan-reporting/src/ |
D | diagnostic.rs | 119 pub struct Diagnostic<FileId> { struct 139 impl<FileId> Diagnostic<FileId> { implementation 141 pub fn new(severity: Severity) -> Diagnostic<FileId> { in new() 142 Diagnostic { in new() 154 pub fn bug() -> Diagnostic<FileId> { in bug() 155 Diagnostic::new(Severity::Bug) in bug() 161 pub fn error() -> Diagnostic<FileId> { in error() 162 Diagnostic::new(Severity::Error) in error() 168 pub fn warning() -> Diagnostic<FileId> { in warning() 169 Diagnostic::new(Severity::Warning) in warning() [all …]
|
/third_party/typescript/src/compiler/ |
D | builderPublic.ts | 59 getOptionsDiagnostics(cancellationToken?: CancellationToken): readonly Diagnostic[]; 63 getGlobalDiagnostics(cancellationToken?: CancellationToken): readonly Diagnostic[]; 67 getConfigFileParsingDiagnostics(): readonly Diagnostic[]; 71 …Diagnostics(sourceFile?: SourceFile, cancellationToken?: CancellationToken): readonly Diagnostic[]; 89 …Diagnostics(sourceFile?: SourceFile, cancellationToken?: CancellationToken): readonly Diagnostic[]; 120 …ignoreSourceFile?: (sourceFile: SourceFile) => boolean): AffectedFileResult<readonly Diagnostic[]>; 139 …nticDiagnosticsBuilderProgram, configFileParsingDiagnostics?: readonly Diagnostic[]): SemanticDiag… 140 …nticDiagnosticsBuilderProgram, configFileParsingDiagnostics?: readonly Diagnostic[], projectRefere… 141 …csOrOldProgram?: readonly Diagnostic[] | SemanticDiagnosticsBuilderProgram, configFileParsingDiagn… 149 …nticDiagnosticsBuilderProgram, configFileParsingDiagnostics?: readonly Diagnostic[]): EmitAndSeman… [all …]
|
D | commandLineParser.ts | 1255 …tion createCompilerDiagnosticForInvalidCustomType(opt: CommandLineOptionOfCustomType): Diagnostic { 1259 …teDiagnostic: (message: DiagnosticMessage, arg0: string, arg1: string) => Diagnostic): Diagnostic { 1265 …arseCustomTypeOption(opt: CommandLineOptionOfCustomType, value: string, errors: Push<Diagnostic>) { 1270 …tTypeOption(opt: CommandLineOptionOfListType, value = "", errors: Push<Diagnostic>): (string | num… 1307 createDiagnostics: (message: DiagnosticMessage, arg0: string, arg1?: string) => Diagnostic, 1324 const errors: Diagnostic[] = []; 1403 errors: Diagnostic[] 1508 errors: Diagnostic[]; 1560 export type DiagnosticReporter = (diagnostic: Diagnostic) => void; 1617 …me: string, readFile: (path: string) => string | undefined): { config?: any; error?: Diagnostic } { [all …]
|
/third_party/python/Lib/test/test_email/data/ |
D | msg_43.txt | 48 Diagnostic-Code: smtp; 550 5.7.1 Message content rejected, id=01956-02-2 - BANNED: auto__mail.pytho… 54 Diagnostic-Code: smtp; 550 5.7.1 Message content rejected, id=01956-02-2 - BANNED: auto__mail.pytho… 60 Diagnostic-Code: smtp; 550 5.7.1 Message content rejected, id=01956-02-2 - BANNED: auto__mail.pytho… 66 Diagnostic-Code: smtp; 550 5.7.1 Message content rejected, id=01956-02-2 - BANNED: auto__mail.pytho… 72 Diagnostic-Code: smtp; 550 5.7.1 Message content rejected, id=01956-02-2 - BANNED: auto__mail.pytho… 78 Diagnostic-Code: smtp; 550 5.7.1 Message content rejected, id=01956-02-2 - BANNED: auto__mail.pytho… 84 Diagnostic-Code: smtp; 550 5.7.1 Message content rejected, id=01956-02-2 - BANNED: auto__mail.pytho… 90 Diagnostic-Code: smtp; 550 5.7.1 Message content rejected, id=01956-02-2 - BANNED: auto__mail.pytho… 96 Diagnostic-Code: smtp; 550 5.7.1 Message content rejected, id=01956-02-2 - BANNED: auto__mail.pytho… 102 Diagnostic-Code: smtp; 550 5.7.1 Message content rejected, id=01956-02-2 - BANNED: auto__mail.pytho… [all …]
|
/third_party/skia/third_party/externals/tint/src/diagnostic/ |
D | diagnostic.h | 55 class Diagnostic { 74 using iterator = std::vector<Diagnostic>::const_iterator; 81 List(std::initializer_list<Diagnostic> list); 105 void add(Diagnostic&& diag) { in add() 127 diag::Diagnostic note{}; in add_note() 142 diag::Diagnostic warning{}; in add_warning() 154 diag::Diagnostic error{}; in add_error() 166 diag::Diagnostic error{}; in add_error() 184 diag::Diagnostic error{}; in add_error() 200 diag::Diagnostic ice{}; in add_ice() [all …]
|
D | formatter_test.cc | 34 Diagnostic diag_note{Severity::Note, 37 Diagnostic diag_warn{Severity::Warning, 40 Diagnostic diag_err{Severity::Error, 43 Diagnostic diag_ice{Severity::InternalCompilerError, 46 Diagnostic diag_fatal{Severity::Fatal, 72 Diagnostic diag{Severity::Note, Source{}, "no source!", System::Test}; in TEST_F() 133 Diagnostic multiline{Severity::Warning, in TEST_F() 168 Diagnostic multiline{Severity::Warning, in TEST_F()
|
/third_party/typescript/src/testRunner/unittests/config/ |
D | convertTypeAcquisitionFromJson.ts | 2 interface ExpectedResult { typeAcquisition: TypeAcquisition; errors: Diagnostic[]; } 15 …function verifyErrors(actualErrors: Diagnostic[], expectedResult: ExpectedResult, hasLocation?: bo… 70 errors: <Diagnostic[]>[] 93 errors: <Diagnostic[]>[] 134 errors: <Diagnostic[]>[] 153 errors: <Diagnostic[]>[] 175 errors: <Diagnostic[]>[] 188 errors: <Diagnostic[]>[] 235 errors: <Diagnostic[]>[]
|
/third_party/typescript/src/testRunner/unittests/tscWatch/ |
D | helpers.ts | 50 Diagnostic, enumerator 61 kind: HostOutputKind.Diagnostic; 62 diagnostic: Diagnostic | string; 67 diagnostic: Diagnostic | string; 85 case HostOutputKind.Diagnostic: 96 function isDiagnostic(diagnostic: Diagnostic | string): diagnostic is Diagnostic { 97 return !!(diagnostic as Diagnostic).messageText; 135 function getWatchDiagnosticWithoutDate(diagnostic: Diagnostic) { 146 export function hostOutputDiagnostic(diagnostic: Diagnostic | string): HostOutputDiagnostic { 147 return { kind: HostOutputKind.Diagnostic, diagnostic }; [all …]
|
/third_party/typescript/src/testRunner/unittests/tsserver/ |
D | skipLibCheck.ts | 28 … let errorResult = <protocol.Diagnostic[]>session.executeCommand(file2GetErrRequest).response; 33 … errorResult = <protocol.Diagnostic[]>session.executeCommand(file2GetErrRequest).response; 37 … errorResult = <protocol.Diagnostic[]>session.executeCommand(file2GetErrRequest).response; 73 … const errorResult = <protocol.Diagnostic[]>session.executeCommand(dTsFileGetErrRequest).response; 109 … const errorResult = <protocol.Diagnostic[]>session.executeCommand(dTsFileGetErrRequest).response; 140 …const error1Result = <protocol.Diagnostic[]>session.executeCommand(dTsFile1GetErrRequest).response; 147 …const error2Result = <protocol.Diagnostic[]>session.executeCommand(dTsFile2GetErrRequest).response; 168 … const errorResult = <protocol.Diagnostic[]>session.executeCommand(getErrRequest).response; 195 … const errorResult = <protocol.Diagnostic[]>session.executeCommand(getErrRequest).response; 224 … const errorResult = <protocol.Diagnostic[]>session.executeCommand(getErrRequest).response;
|
/third_party/rust/crates/proc-macro-error/src/ |
D | diagnostic.rs | 22 pub struct Diagnostic { struct 69 impl DiagnosticExt for Diagnostic { implementation 71 Diagnostic { in spanned_range() 98 impl Diagnostic { implementation 101 Diagnostic::spanned(Span::call_site(), level, message) in new() 106 Diagnostic::spanned_range( in spanned() 198 impl Diagnostic { implementation 214 impl ToTokens for Diagnostic { implementation 291 impl From<syn::Error> for Diagnostic { implementation 341 let mut res = Diagnostic::spanned_range(span_range, Level::Error, msg); in from()
|
/third_party/typescript/src/linter/ |
D | LinterRunner.ts | 18 …, code: number, file: SourceFile, start: number, length: number, messageText: string): Diagnostic { 22 export function translateDiag(srcFile: SourceFile, problemInfo: ProblemInfo): Diagnostic { 28 …nction runArkTSLinter(tsProgram: Program, host: CompilerHost, srcFile?: SourceFile): Diagnostic[] { 31 let diagnostics: Diagnostic[] = []; 81 ): Map<Diagnostic[]> { 82 const strictDiagnostics = new Map<string, Diagnostic[]>();
|
D | TSDiagnostics.ts | 38 public getStrictDiagnostics(fileName: string): Diagnostic[] { 112 public getStrictDiagnostics(fileName: string): Diagnostic[] { 133 function getAllDiagnostics(program: Program, fileName: string): Diagnostic[] { 140 function hashDiagnostic(diagnostic: Diagnostic): string | undefined {
|
/third_party/rust/crates/codespan/codespan-reporting/examples/ |
D | term.rs | 8 use codespan_reporting::diagnostic::{Diagnostic, Label}; 96 Diagnostic::error() in main() 105 Diagnostic::warning() in main() 112 Diagnostic::error() in main() 127 Diagnostic::error() in main() 144 Diagnostic::error() in main()
|
D | reusable_diagnostic.rs | 1 use codespan_reporting::diagnostic::{Diagnostic, Label}; 58 fn report(&self) -> Diagnostic<()> { in report() argument 60 Error::MismatchType(left, right) => Diagnostic::error() in report() 70 Error::MutatingImmutable(original, mutating) => Diagnostic::error() in report()
|
/third_party/flutter/skia/third_party/externals/spirv-tools/test/ |
D | diagnostic_test.cpp | 29 TEST(Diagnostic, DestroyNull) { spvDiagnosticDestroy(nullptr); } in TEST() argument 31 TEST(Diagnostic, DestroyValidDiagnostic) { in TEST() argument 38 TEST(Diagnostic, DestroyValidDiagnosticAfterReassignment) { in TEST() argument 47 TEST(Diagnostic, PrintDefault) { in TEST() argument 56 TEST(Diagnostic, PrintInvalidDiagnostic) { in TEST() argument
|
/third_party/rust/crates/proc-macro-error/src/imp/ |
D | delegate.rs | 5 use proc_macro::{Diagnostic as PDiag, Level as PLevel}; 9 diagnostic::{Diagnostic, Level, SuggestionKind}, 19 pub(crate) fn cleanup() -> Vec<Diagnostic> { in cleanup() 24 pub(crate) fn emit_diagnostic(diag: Diagnostic) { in emit_diagnostic() argument 25 let Diagnostic { in emit_diagnostic() localVariable
|
D | fallback.rs | 5 diagnostic::{Diagnostic, Level}, 18 pub(crate) fn cleanup() -> Vec<Diagnostic> { in cleanup() 22 pub(crate) fn emit_diagnostic(diag: Diagnostic) { in emit_diagnostic() argument 29 static ERR_STORAGE: RefCell<Vec<Diagnostic>> = RefCell::new(Vec::new());
|
/third_party/skia/third_party/externals/spirv-tools/test/ |
D | diagnostic_test.cpp | 35 TEST(Diagnostic, DestroyNull) { spvDiagnosticDestroy(nullptr); } in TEST() argument 37 TEST(Diagnostic, DestroyValidDiagnostic) { in TEST() argument 44 TEST(Diagnostic, DestroyValidDiagnosticAfterReassignment) { in TEST() argument 53 TEST(Diagnostic, PrintDefault) { in TEST() argument 62 TEST(Diagnostic, PrintInvalidDiagnostic) { in TEST() argument
|
/third_party/spirv-tools/test/ |
D | diagnostic_test.cpp | 35 TEST(Diagnostic, DestroyNull) { spvDiagnosticDestroy(nullptr); } in TEST() argument 37 TEST(Diagnostic, DestroyValidDiagnostic) { in TEST() argument 44 TEST(Diagnostic, DestroyValidDiagnosticAfterReassignment) { in TEST() argument 53 TEST(Diagnostic, PrintDefault) { in TEST() argument 62 TEST(Diagnostic, PrintInvalidDiagnostic) { in TEST() argument
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/ |
D | diagnostic_test.cpp | 35 TEST(Diagnostic, DestroyNull) { spvDiagnosticDestroy(nullptr); } in TEST() argument 37 TEST(Diagnostic, DestroyValidDiagnostic) { in TEST() argument 44 TEST(Diagnostic, DestroyValidDiagnosticAfterReassignment) { in TEST() argument 53 TEST(Diagnostic, PrintDefault) { in TEST() argument 62 TEST(Diagnostic, PrintInvalidDiagnostic) { in TEST() argument
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
D | Verifier.h | 40 VerifierSupport *Diagnostic = nullptr; variable 75 TBAAVerifier(VerifierSupport *Diagnostic = nullptr) 76 : Diagnostic(Diagnostic) {} in Diagnostic() function
|
/third_party/rust/crates/proc-macro-error/test-crate/ |
D | lib.rs | 8 proc_macro_error, set_dummy, Diagnostic, Level, OptionExt, ResultExt, SpanRange, 49 Diagnostic::spanned(span.into(), Level::Error, "Diagnostic::abort() test".into()).abort() in direct_abort() 66 Diagnostic::spanned( in emit() 149 let none: Option<Diagnostic> = None; in option_ext() 158 let err = Diagnostic::spanned( in result_unwrap_or_abort() 172 let err = Diagnostic::spanned( in result_expect_or_abort() 274 Diagnostic::from(main).abort() in children_messages()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AVR/MCTargetDesc/ |
D | AVRAsmBackend.cpp | 40 std::string Diagnostic = "out of range " + Description; in signed_width() local 45 Diagnostic += " (expected an integer in the range " + std::to_string(Min) + in signed_width() 49 Ctx->reportFatalError(Fixup.getLoc(), Diagnostic); in signed_width() 51 llvm_unreachable(Diagnostic.c_str()); in signed_width() 59 std::string Diagnostic = "out of range " + Description; in unsigned_width() local 63 Diagnostic += " (expected an integer in the range 0 to " + in unsigned_width() 67 Ctx->reportFatalError(Fixup.getLoc(), Diagnostic); in unsigned_width() 69 llvm_unreachable(Diagnostic.c_str()); in unsigned_width()
|
/third_party/typescript/src/services/ |
D | transpile.ts | 13 diagnostics?: Diagnostic[]; 27 const diagnostics: Diagnostic[] = []; 108 …g, compilerOptions?: CompilerOptions, fileName?: string, diagnostics?: Diagnostic[], moduleName?: … 119 …export function fixupCompilerOptions(options: CompilerOptions, diagnostics: Diagnostic[]): Compile…
|