Home
last modified time | relevance | path

Searched full:diagnostic (Results 1 – 25 of 4319) sorted by relevance

12345678910>>...173

/external/pytorch/test/onnx/internal/
Dtest_diagnostics.py45 f"Expected diagnostic results of rule id and level pair {unseen_pairs} not found. "
46 f"Actual diagnostic results: {actual_results}"
103 """Context manager to assert that a diagnostic is emitted.
124 AssertionError: If the diagnostic is not emitted.
150 diagnostic = fx_diagnostics.Diagnostic(
153 additional_messages_count = len(diagnostic.additional_messages)
155 diagnostic.log(level=log_level, message="log message")
158 len(diagnostic.additional_messages),
165 len(diagnostic.additional_messages),
176 diagnostic = fx_diagnostics.Diagnostic(
[all …]
/external/clang/test/Preprocessor/
Dpragma_diagnostic_output.c2 // CHECK: #pragma GCC diagnostic warning "-Wall"
3 #pragma GCC diagnostic warning "-Wall"
4 // CHECK: #pragma GCC diagnostic ignored "-Wall"
5 #pragma GCC diagnostic ignored "-Wall"
6 // CHECK: #pragma GCC diagnostic error "-Wall"
7 #pragma GCC diagnostic error "-Wall"
8 // CHECK: #pragma GCC diagnostic fatal "-Wall"
9 #pragma GCC diagnostic fatal "-Wall"
10 // CHECK: #pragma GCC diagnostic push
11 #pragma GCC diagnostic push
[all …]
Dpragma_diagnostic.c7 #pragma GCC diagnostic warning "-Wundef"
12 #pragma GCC diagnostic ignored "-Wun" "def"
17 #pragma GCC diagnostic error "-Wundef"
24 #pragma GCC diagnostic foo "-Wundef" // expected-warning {{pragma diagnostic expected 'error', 'wa…
26 #pragma GCC diagnostic error 42 // expected-error {{expected string literal in pragma diagnostic}}
28 #pragma GCC diagnostic error "-Wundef" 42 // expected-warning {{unexpected token in pragma diagnos…
29 #pragma GCC diagnostic error "invalid-name" // expected-warning {{pragma diagnostic expected optio…
31 #pragma GCC diagnostic error "-Winvalid-name" // expected-warning {{unknown warning group '-Winval…
34 // Testing pragma clang diagnostic with -Weverything
37 #pragma clang diagnostic warning "-Weverything"
[all …]
Dpushable-diagnostics.c3 #pragma clang diagnostic pop // expected-warning{{pragma diagnostic pop could not pop, no matching …
5 #pragma clang diagnostic puhs // expected-warning {{pragma diagnostic expected 'error', 'warning', …
9 #pragma clang diagnostic push
10 #pragma clang diagnostic ignored "-Wmultichar"
13 #pragma clang diagnostic pop
17 #pragma clang diagnostic pop // expected-warning{{pragma diagnostic pop could not pop, no matching …
22 #pragma clang diagnostic push // now push
24 #pragma clang diagnostic warning "-Weverything"
27 #pragma clang diagnostic push // push again
28 #pragma clang diagnostic ignored "-Weverything" // Set to ignore in this level.
[all …]
/external/pytorch/torch/onnx/_internal/diagnostics/infra/
Dcontext.py2 """A diagnostic context based on SARIF."""
19 _Diagnostic = TypeVar("_Diagnostic", bound="Diagnostic")
24 class Diagnostic: class
37 """The exception that caused this diagnostic to be created."""
39 """The logger for this diagnostic. Defaults to 'diagnostic_logger' which has the same
47 """Returns the SARIF Result representation of this diagnostic."""
85 """Adds a location to the diagnostic."""
92 """Adds a thread flow location to the diagnostic."""
97 """Adds a stack to the diagnostic."""
102 """Adds a graph to the diagnostic."""
[all …]
/external/nullaway/nullaway/src/test/resources/com/uber/nullaway/testdata/
DNullAwayPositiveCases.java31 // BUG: Diagnostic contains: returning @Nullable expression from method with @NonNull return in returnsNull()
38 // BUG: Diagnostic contains: returning @Nullable expression from method with @NonNull return in sometimesReturnsNull()
47 // BUG: Diagnostic contains: returning @Nullable expression from method with @NonNull return in assignmentExpression()
57 // BUG: Diagnostic contains: returning @Nullable expression from method with @NonNull return in sometimesReturnsNull2()
65 // BUG: Diagnostic contains: returning @Nullable expression from method with @NonNull return in returnsNullStaticField()
83 // BUG: Diagnostic contains: returning @Nullable expression from method with @NonNull return in testCond()
90 // BUG: Diagnostic contains: dereferenced expression in testCond2()
97 // BUG: Diagnostic contains: dereferenced expression in testCond3()
106 // BUG: Diagnostic contains: dereferenced expression in checkCondOnThis4()
112 // BUG: Diagnostic contains: dereferenced expression in checkCondOnThis5()
[all …]
/external/rust/android-crates-io/crates/codespan-reporting/src/
Ddiagnostic.rs1 //! Diagnostic data structures.
7 /// A severity level for diagnostic messages.
12 /// use codespan_reporting::diagnostic::Severity;
56 /// Labels that describe the primary cause of a diagnostic.
58 /// Labels that provide additional context for a diagnostic.
62 /// A label describing an underlined region of code associated with a diagnostic.
106 /// Add a message to the diagnostic.
113 /// Represents a diagnostic message that can provide information like errors and
116Diagnostic is considered to be the position of the [`Label`] that has the earliest starting positi…
119 pub struct Diagnostic<FileId> { struct
[all …]
/external/swiftshader/third_party/SPIRV-Tools/source/
Ddiagnostic.cpp15 #include "source/diagnostic.h"
25 // Diagnostic API
29 spv_diagnostic diagnostic = new spv_diagnostic_t; in spvDiagnosticCreate() local
30 if (!diagnostic) return nullptr; in spvDiagnosticCreate()
32 diagnostic->error = new char[length]; in spvDiagnosticCreate()
33 if (!diagnostic->error) { in spvDiagnosticCreate()
34 delete diagnostic; in spvDiagnosticCreate()
37 diagnostic->position = *position; in spvDiagnosticCreate()
38 diagnostic->isTextSource = false; in spvDiagnosticCreate()
39 memset(diagnostic->error, 0, length); in spvDiagnosticCreate()
[all …]
/external/angle/third_party/spirv-tools/src/source/
Ddiagnostic.cpp15 #include "source/diagnostic.h"
25 // Diagnostic API
29 spv_diagnostic diagnostic = new spv_diagnostic_t; in spvDiagnosticCreate() local
30 if (!diagnostic) return nullptr; in spvDiagnosticCreate()
32 diagnostic->error = new char[length]; in spvDiagnosticCreate()
33 if (!diagnostic->error) { in spvDiagnosticCreate()
34 delete diagnostic; in spvDiagnosticCreate()
37 diagnostic->position = *position; in spvDiagnosticCreate()
38 diagnostic->isTextSource = false; in spvDiagnosticCreate()
39 memset(diagnostic->error, 0, length); in spvDiagnosticCreate()
[all …]
/external/deqp-deps/SPIRV-Tools/source/
Ddiagnostic.cpp15 #include "source/diagnostic.h"
25 // Diagnostic API
29 spv_diagnostic diagnostic = new spv_diagnostic_t; in spvDiagnosticCreate() local
30 if (!diagnostic) return nullptr; in spvDiagnosticCreate()
32 diagnostic->error = new char[length]; in spvDiagnosticCreate()
33 if (!diagnostic->error) { in spvDiagnosticCreate()
34 delete diagnostic; in spvDiagnosticCreate()
37 diagnostic->position = *position; in spvDiagnosticCreate()
38 diagnostic->isTextSource = false; in spvDiagnosticCreate()
39 memset(diagnostic->error, 0, length); in spvDiagnosticCreate()
[all …]
/external/llvm/include/llvm/IR/
DDiagnosticInfo.h1 //===- llvm/IR/DiagnosticInfo.h - Diagnostic Declaration --------*- C++ -*-===//
36 /// \brief Defines the different supported severity of a diagnostic.
41 // A note attaches additional information to one of the previous diagnostic
46 /// \brief Defines the different supported kind of a diagnostic.
71 /// \brief Get the next available kind ID for a plugin diagnostic.
81 /// \brief This is the base abstract class for diagnostic reporting in
90 /// Severity gives the severity of the diagnostic.
113 /// Diagnostic information for inline asm reporting.
127 /// for the whole life time of the Diagnostic.
136 /// for the whole life time of the Diagnostic.
[all …]
/external/clang/include/clang/Basic/
DDiagnosticIDs.h1 //===--- DiagnosticIDs.h - Diagnostic IDs Handling --------------*- C++ -*-===//
11 /// \brief Defines the Diagnostic IDs-related interfaces.
26 // Import the diagnostic enums themselves.
64 Ignored = 1, ///< Do not present this diagnostic, ignore it.
65 Remark = 2, ///< Present this diagnostic as a remark.
66 Warning = 3, ///< Present this diagnostic as a warning.
67 Error = 4, ///< Present this diagnostic as an error.
68 Fatal = 5 ///< Present this diagnostic as a fatal error.
72 /// kind of diagnostic (for instance, for -W/-R flags).
74 WarningOrError, ///< A diagnostic that indicates a problem or potential
[all …]
DDiagnostic.h1 //===--- Diagnostic.h - C Language Family Diagnostic Handling ---*- C++ -*-===//
11 /// \brief Defines the Diagnostic-related interfaces.
43 /// \brief Annotates a diagnostic with some code that should be
50 /// suppressing the diagnostic output can still result in successful
140 /// \brief The level of the diagnostic, after it has been through mapping.
197 /// Mapping info is packed into four bits per diagnostic. The low three
203 /// A new DiagState is created and kept around when diagnostic pragmas modify
204 /// the state so that we know what is the diagnostic state at any given
227 /// \brief Represents a point in source where the diagnostic state was
230 /// 'Loc' can be null if the point represents the diagnostic state
[all …]
/external/harfbuzz_ng/src/
Dhb.hh50 #pragma GCC diagnostic warning "-Wall"
51 #pragma GCC diagnostic warning "-Wextra"
54 #pragma GCC diagnostic ignored "-Wpragmas"
55 #pragma GCC diagnostic ignored "-Wunknown-pragmas"
56 #pragma GCC diagnostic ignored "-Wunknown-warning-option"
59 //#pragma GCC diagnostic warning "-Weverything"
64 #pragma GCC diagnostic error "-Wbitwise-instead-of-logical"
65 #pragma GCC diagnostic error "-Wcast-align"
66 #pragma GCC diagnostic error "-Wcast-function-type"
67 #pragma GCC diagnostic error "-Wcast-function-type-strict"
[all …]
/external/rust/android-crates-io/crates/codespan-reporting/src/term/
Dviews.rs3 use crate::diagnostic::{Diagnostic, LabelStyle};
18 /// Output a richly formatted diagnostic, with source code previews.
19 pub struct RichDiagnostic<'diagnostic, 'config, FileId> {
20 diagnostic: &'diagnostic Diagnostic<FileId>, field
24 impl<'diagnostic, 'config, FileId> RichDiagnostic<'diagnostic, 'config, FileId>
29 diagnostic: &'diagnostic Diagnostic<FileId>, in new()
31 ) -> RichDiagnostic<'diagnostic, 'config, FileId> { in new() argument
32 RichDiagnostic { diagnostic, config } in new()
45 struct LabeledFile<'diagnostic, FileId> { in render()
51 lines: BTreeMap<usize, Line<'diagnostic>>, in render()
[all …]
/external/libpcap/
Ddiag-control.h87 * This is Clang 2.8 or later; we can use "clang diagnostic
88 * ignored -Wxxx" and "clang diagnostic push/pop".
99 PCAP_DO_PRAGMA(clang diagnostic push) \
100 PCAP_DO_PRAGMA(clang diagnostic ignored "-Wsign-compare") \
101 PCAP_DO_PRAGMA(clang diagnostic ignored "-Wdocumentation") \
102 PCAP_DO_PRAGMA(clang diagnostic ignored "-Wshorten-64-to-32") \
103 PCAP_DO_PRAGMA(clang diagnostic ignored "-Wmissing-noreturn") \
104 PCAP_DO_PRAGMA(clang diagnostic ignored "-Wunused-parameter") \
105 PCAP_DO_PRAGMA(clang diagnostic ignored "-Wunreachable-code")
107 PCAP_DO_PRAGMA(clang diagnostic pop)
[all …]
/external/tcpdump/tests/
Dbfd-multihop-v.out3 Control, State Up, Flags: [none], Diagnostic: No Diagnostic (0x00)
11 Multihop, State Up, Flags: [none], Diagnostic: No Diagnostic (0x00)
19 Multihop, State Up, Flags: [none], Diagnostic: No Diagnostic (0x00)
27 Control, State Up, Flags: [none], Diagnostic: No Diagnostic (0x00)
35 Multihop, State Up, Flags: [none], Diagnostic: No Diagnostic (0x00)
43 Multihop, State Up, Flags: [none], Diagnostic: No Diagnostic (0x00)
51 Control, State Up, Flags: [none], Diagnostic: No Diagnostic (0x00)
59 Multihop, State Up, Flags: [none], Diagnostic: No Diagnostic (0x00)
67 Multihop, State Up, Flags: [none], Diagnostic: No Diagnostic (0x00)
75 Control, State Up, Flags: [none], Diagnostic: No Diagnostic (0x00)
[all …]
/external/caliper/caliper/src/test/resources/com/google/caliper/bridge/
Djdk7-flags.txt63 bool BindCMSThreadToCPU = false {diagnostic}
69 bool BlockOffsetArrayUseUnallocatedBlock = false {diagnostic}
170 uintx CPUForCMSThread = 0 {diagnostic}
201 bool DebugContinuation = false {diagnostic}
202 bool DebugInlinedCalls = true {diagnostic}
203 bool DebugNonSafepoints = false {diagnostic}
206 bool DeferInitialCardMark = false {diagnostic}
212 ccstrlist DisableIntrinsic = {diagnostic}
213 bool DisplayVMOutput = true {diagnostic}
217 intx DominatorSearchLimit = 1000 {C2 diagnostic}
[all …]
Djdk6-flags.txt60 bool BindCMSThreadToCPU = false {diagnostic}
155 uintx CPUForCMSThread = 0 {diagnostic}
185 bool DebugContinuation = false {diagnostic}
186 bool DebugInlinedCalls = true {diagnostic}
187 bool DebugNonSafepoints = false {diagnostic}
190 bool DeferInitialCardMark = false {diagnostic}
196 ccstrlist DisableIntrinsic = {diagnostic}
197 bool DisplayVMOutput = true {diagnostic}
201 intx DominatorSearchLimit = 1000 {C2 diagnostic}
208 bool EliminateAutoBox = false {C2 diagnostic}
[all …]
/external/rust/android-crates-io/crates/miette/
DREADME.md9 `miette` is a diagnostic library for Rust. It includes a series of
14diagnostic printer that's enabled in various situations, such as when you use NO_COLOR or CLICOLOR…
25 diagnostic help: This is a bug. It might be in ruget, or it might be in the
27 diagnostic error code: ruget::api::bad_json
45 - [... diagnostic code URLs](#-diagnostic-code-urls)
57 - Generic [`Diagnostic`] protocol, compatible (and dependent on)
59 - Unique error codes on every [`Diagnostic`].
61 - Super handy derive macro for defining diagnostic metadata.
71 - Fancy graphical [diagnostic output](#about), using ANSI/Unicode text
78 - Turns diagnostic codes into links in [supported terminals](https://gist.github.com/egmontkob/eb11…
[all …]
/external/swiftshader/third_party/llvm-16.0/llvm/include/llvm/IR/
DDiagnosticInfo.h1 //===- llvm/IR/DiagnosticInfo.h - Diagnostic Declaration --------*- C++ -*-===//
48 /// Defines the different supported severity of a diagnostic.
53 // A note attaches additional information to one of the previous diagnostic
58 /// Defines the different supported kind of a diagnostic.
93 /// Get the next available kind ID for a plugin diagnostic.
103 /// This is the base abstract class for diagnostic reporting in
112 /// Severity gives the severity of the diagnostic.
136 /// Diagnostic information for inline asm reporting.
150 /// for the whole life time of the Diagnostic.
158 /// for the whole life time of the Diagnostic.
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DDiagnosticInfo.h1 //===- llvm/IR/DiagnosticInfo.h - Diagnostic Declaration --------*- C++ -*-===//
41 /// Defines the different supported severity of a diagnostic.
46 // A note attaches additional information to one of the previous diagnostic
51 /// Defines the different supported kind of a diagnostic.
83 /// Get the next available kind ID for a plugin diagnostic.
93 /// This is the base abstract class for diagnostic reporting in
102 /// Severity gives the severity of the diagnostic.
126 /// Diagnostic information for inline asm reporting.
140 /// for the whole life time of the Diagnostic.
148 /// for the whole life time of the Diagnostic.
[all …]
/external/angle/src/common/
Ddebug.h108 _Pragma("clang diagnostic push") _Pragma("clang diagnostic error \"-Wpadded\"")
109 # define ANGLE_DISABLE_STRUCT_PADDING_WARNINGS _Pragma("clang diagnostic pop")
112 _Pragma("GCC diagnostic push") _Pragma("GCC diagnostic error \"-Wpadded\"")
113 # define ANGLE_DISABLE_STRUCT_PADDING_WARNINGS _Pragma("GCC diagnostic pop")
125 _Pragma("clang diagnostic push") \
126 _Pragma("clang diagnostic ignored \"-Wsuggest-destructor-override\"") \
127 _Pragma("clang diagnostic ignored \"-Wsuggest-override\"")
128 # define ANGLE_REENABLE_SUGGEST_OVERRIDE_WARNINGS _Pragma("clang diagnostic pop")
136 _Pragma("clang diagnostic push") _Pragma("clang diagnostic ignored \"-Wextra-semi\"")
137 # define ANGLE_REENABLE_EXTRA_SEMI_WARNING _Pragma("clang diagnostic pop")
[all …]
/external/tensorflow/tensorflow/compiler/xla/runtime/
Ddiagnostics.h52 // Diagnostic
55 class Diagnostic {
57 explicit Diagnostic(DiagnosticSeverity severity) : severity_(severity) {} in Diagnostic() function
59 Diagnostic(Diagnostic &&) = default;
60 Diagnostic &operator=(Diagnostic &&) = default;
62 // TODO(ezhulenev): Instead of relying on `<<` implementation pass diagnostic
66 Diagnostic &operator<<(Arg &&arg) {
72 Diagnostic &append(Arg &&arg) { in append()
78 Diagnostic &appendRange(const T &c, const char *delim = ", ") {
89 Diagnostic(const Diagnostic &rhs) = delete;
[all …]
/external/sg3_utils/doc/
Dsg_senddiag.83 sg_senddiag \- performs a SCSI SEND DIAGNOSTIC command
20 This utility sends a SCSI SEND DIAGNOSTIC command to the \fIDEVICE\fR. It
21 can issue self\-tests, find supported diagnostic pages or send arbitrary
22 diagnostic pages.
25 sends a SCSI RECEIVE DIAGNOSTIC RESULTS command to fetch the response (i.e.
26 the page numbers of supported diagnostic pages).
29 diagnostic page names and their numbers, known by this utility, are listed.
52 outputs response from RECEIVE DIAGNOSTIC RESULTS in hex rather than decode it.
53 Only the Supported Diagnostic Pages diagnostic page (i.e. page_code=0) is
64 when a \fIDEVICE\fR is also given lists the names of all diagnostic pages
[all …]

12345678910>>...173