Home
last modified time | relevance | path

Searched refs:ErrorType (Results 1 – 25 of 101) sorted by relevance

12345

/external/llvm-project/compiler-rt/lib/ubsan/
Dubsan_handlers.cpp27 bool ignoreReport(SourceLocation SLoc, ReportOptions Opts, ErrorType ET) { in ignoreReport()
91 ErrorType ET; in handleTypeMismatchImpl()
94 ? ErrorType::NullPointerUseWithNullability in handleTypeMismatchImpl()
95 : ErrorType::NullPointerUse; in handleTypeMismatchImpl()
97 ET = ErrorType::MisalignedPointerUse; in handleTypeMismatchImpl()
99 ET = ErrorType::InsufficientObjectSize; in handleTypeMismatchImpl()
115 case ErrorType::NullPointerUse: in handleTypeMismatchImpl()
116 case ErrorType::NullPointerUseWithNullability: in handleTypeMismatchImpl()
120 case ErrorType::MisalignedPointerUse: in handleTypeMismatchImpl()
126 case ErrorType::InsufficientObjectSize: in handleTypeMismatchImpl()
[all …]
Dubsan_diag.h123 enum class ErrorType { enum
142 ErrorType ET;
208 Diag(Location Loc, DiagLevel Level, ErrorType ET, const char *Message) in Diag()
231 bool ignoreReport(SourceLocation SLoc, ReportOptions Opts, ErrorType ET);
249 ErrorType Type;
252 ScopedReport(ReportOptions Opts, Location SummaryLoc, ErrorType Type);
262 bool IsPCSuppressed(ErrorType ET, uptr PC, const char *Filename);
Dubsan_handlers_cxx.cpp46 ErrorType ET = ErrorType::DynamicTypeMismatch; in HandleDynamicTypeCacheMiss()
101 ErrorType ET = ErrorType::CFIBadType; in __ubsan_handle_cfi_bad_type()
169 ErrorType ET = ErrorType::FunctionTypeMismatch; in handleFunctionTypeMismatch()
Dubsan_diag.cpp58 static const char *ConvertTypeToString(ErrorType Type) { in ConvertTypeToString()
61 case ErrorType::Name: \ in ConvertTypeToString()
69 static const char *ConvertTypeToFlagName(ErrorType Type) { in ConvertTypeToFlagName()
72 case ErrorType::Name: \ in ConvertTypeToFlagName()
80 static void MaybeReportErrorSummary(Location Loc, ErrorType Type) { in MaybeReportErrorSummary()
84 Type = ErrorType::GenericUB; in MaybeReportErrorSummary()
385 ErrorType Type) in ScopedReport()
419 bool __ubsan::IsPCSuppressed(ErrorType ET, uptr PC, const char *Filename) { in IsPCSuppressed()
/external/compiler-rt/lib/ubsan/
Dubsan_handlers.cc25 bool ignoreReport(SourceLocation SLoc, ReportOptions Opts, ErrorType ET) { in ignoreReport()
48 ErrorType ET; in handleTypeMismatchImpl()
50 ET = ErrorType::NullPointerUse; in handleTypeMismatchImpl()
52 ET = ErrorType::MisalignedPointerUse; in handleTypeMismatchImpl()
54 ET = ErrorType::InsufficientObjectSize; in handleTypeMismatchImpl()
70 case ErrorType::NullPointerUse: in handleTypeMismatchImpl()
74 case ErrorType::MisalignedPointerUse: in handleTypeMismatchImpl()
80 case ErrorType::InsufficientObjectSize: in handleTypeMismatchImpl()
112 ErrorType ET = IsSigned ? ErrorType::SignedIntegerOverflow in handleIntegerOverflowImpl()
113 : ErrorType::UnsignedIntegerOverflow; in handleIntegerOverflowImpl()
[all …]
Dubsan_handlers_cxx.cc47 ErrorType ET = ErrorType::DynamicTypeMismatch; in HandleDynamicTypeCacheMiss()
101 ErrorType ET = ErrorType::CFIBadType; in HandleCFIBadType()
Dubsan_diag.cc46 static const char *ConvertTypeToString(ErrorType Type) { in ConvertTypeToString()
49 case ErrorType::Name: \ in ConvertTypeToString()
57 static const char *ConvertTypeToFlagName(ErrorType Type) { in ConvertTypeToFlagName()
60 case ErrorType::Name: \ in ConvertTypeToFlagName()
68 static void MaybeReportErrorSummary(Location Loc, ErrorType Type) { in MaybeReportErrorSummary()
72 Type = ErrorType::GenericUB; in MaybeReportErrorSummary()
366 ErrorType Type) in ScopedReport()
404 bool __ubsan::IsPCSuppressed(ErrorType ET, uptr PC, const char *Filename) { in IsPCSuppressed()
Dubsan_diag.h222 enum class ErrorType { enum
228 bool ignoreReport(SourceLocation SLoc, ReportOptions Opts, ErrorType ET);
240 ErrorType Type;
243 ScopedReport(ReportOptions Opts, Location SummaryLoc, ErrorType Type);
251 bool IsPCSuppressed(ErrorType ET, uptr PC, const char *Filename);
/external/rust/crates/plotters-backend/src/
Dlib.rs108 type ErrorType: Error + Send + Sync; typedef
114 fn ensure_prepared(&mut self) -> Result<(), DrawingErrorKind<Self::ErrorType>>; in ensure_prepared() argument
121 fn present(&mut self) -> Result<(), DrawingErrorKind<Self::ErrorType>>; in present() argument
130 ) -> Result<(), DrawingErrorKind<Self::ErrorType>>; in draw_pixel() argument
141 ) -> Result<(), DrawingErrorKind<Self::ErrorType>> { in draw_line() argument
156 ) -> Result<(), DrawingErrorKind<Self::ErrorType>> { in draw_rect() argument
167 ) -> Result<(), DrawingErrorKind<Self::ErrorType>> { in draw_path() argument
202 ) -> Result<(), DrawingErrorKind<Self::ErrorType>> { in draw_circle() argument
210 ) -> Result<(), DrawingErrorKind<Self::ErrorType>> { in fill_polygon() argument
225 ) -> Result<(), DrawingErrorKind<Self::ErrorType>> { in draw_text() argument
[all …]
/external/cldr/tools/java/org/unicode/cldr/test/
DConsoleCheckCLDR.java247 static Counter<ErrorType> subtotalCount = new Counter<>(true); // new ErrorCount();
248 static Counter<ErrorType> totalCount = new Counter<>(true);
786 for (ErrorType type : subtotalCount.keySet()) { in main()
826 for (ErrorType type : totalCount.keySet()) { in main()
835 long errorCount = totalCount.getCount(ErrorType.error) + fatalErrors.size(); in main()
931 … ErrorFile.addDataToErrorFile(locale, path, ErrorType.disputed, Subtype.none); in LocaleVotingData()
990 enum ErrorType { enum in ConsoleCheckCLDR
992 …static EnumSet<ErrorType> unapproved = EnumSet.range(ErrorType.contributed, ErrorType.unconfirmed);
993 static EnumSet<ErrorType> coverage = EnumSet.range(ErrorType.posix, ErrorType.optional);
994 static EnumSet<ErrorType> showInSummary = EnumSet.of(
[all …]
/external/libphonenumber/libphonenumber/src/com/google/i18n/phonenumbers/
DNumberParseException.java28 public enum ErrorType { enum in NumberParseException
56 private ErrorType errorType;
59 public NumberParseException(ErrorType errorType, String message) { in NumberParseException()
68 public ErrorType getErrorType() { in getErrorType()
/external/libphonenumber/repackaged/libphonenumber/src/com/android/i18n/phonenumbers/
DNumberParseException.java31 public enum ErrorType { enum in NumberParseException
59 private ErrorType errorType;
62 public NumberParseException(ErrorType errorType, String message) { in NumberParseException()
72 public ErrorType getErrorType() { in getErrorType()
/external/llvm-project/lldb/source/API/
DSBError.cpp87 ErrorType SBError::GetType() const { in GetType()
88 LLDB_RECORD_METHOD_CONST_NO_ARGS(lldb::ErrorType, SBError, GetType); in GetType()
90 ErrorType err_type = eErrorTypeInvalid; in GetType()
97 void SBError::SetError(uint32_t err, ErrorType type) { in SetError()
98 LLDB_RECORD_METHOD(void, SBError, SetError, (uint32_t, lldb::ErrorType), err, in SetError()
201 LLDB_REGISTER_METHOD_CONST(lldb::ErrorType, SBError, GetType, ()); in RegisterMethods()
202 LLDB_REGISTER_METHOD(void, SBError, SetError, (uint32_t, lldb::ErrorType)); in RegisterMethods()
/external/rust/crates/plotters/src/style/font/
Dmod.rs30 type ErrorType: Sized + std::error::Error + Clone; typedef
31 fn new(family: FontFamily, style: FontStyle) -> Result<Self, Self::ErrorType>; in new() argument
32 fn estimate_layout(&self, size: f64, text: &str) -> Result<LayoutBox, Self::ErrorType>; in estimate_layout() argument
39 ) -> Result<Result<(), E>, Self::ErrorType> { in draw() argument
/external/angle/src/libANGLE/
DRefCountObject.h32 using ErrorType = ErrorT; variable
63 using ErrorType = ErrorT; variable
101 reinterpret_cast<RefCountObject<ContextType, ErrorType> *>(newObject)->addRef(); in set()
110 reinterpret_cast<RefCountObject<ContextType, ErrorType> *>(oldObject)->release(context); in set()
163 using ErrorType = typename angle::BindingPointer<ObjectType, Context>::ErrorType; variable
183 using ErrorType = typename BindingPointer<ObjectType>::ErrorType; variable
/external/llvm-project/lldb/unittests/Utility/
DStatusTest.cpp56 llvm::Error eagain = Status(EAGAIN, ErrorType::eErrorTypePOSIX).ToError(); in TEST()
69 auto success = Status(NO_ERROR, ErrorType::eErrorTypeWin32); in TEST()
83 auto s = Status(ERROR_ACCESS_DENIED, ErrorType::eErrorTypeWin32); in TEST()
88 s.SetError(ERROR_IPSEC_IKE_TIMED_OUT, ErrorType::eErrorTypeWin32); in TEST()
92 s.SetError(16000, ErrorType::eErrorTypeWin32); in TEST()
/external/llvm-project/lldb/include/lldb/Utility/
DStatus.h60 lldb::ErrorType type = lldb::eErrorTypeGeneric);
110 lldb::ErrorType GetType() const;
136 void SetError(ValueType err, lldb::ErrorType type);
200 lldb::ErrorType m_type; ///< The type of the above error code.
/external/rust/crates/plotters/src/drawing/backend_impl/
Dmocked.rs114 type ErrorType = MockedError; typedef
135 ) -> Result<(), DrawingErrorKind<Self::ErrorType>> { in draw_pixel() argument
154 ) -> Result<(), DrawingErrorKind<Self::ErrorType>> { in draw_line() argument
175 ) -> Result<(), DrawingErrorKind<Self::ErrorType>> { in draw_rect() argument
194 ) -> Result<(), DrawingErrorKind<Self::ErrorType>> { in draw_path() argument
215 ) -> Result<(), DrawingErrorKind<Self::ErrorType>> { in draw_circle() argument
234 ) -> Result<(), DrawingErrorKind<Self::ErrorType>> { in fill_polygon() argument
254 ) -> Result<(), DrawingErrorKind<Self::ErrorType>> { in draw_text() argument
/external/rust/crates/plotters/examples/
Dconsole.rs56 type ErrorType = std::io::Error; typedef
94 ) -> Result<(), DrawingErrorKind<Self::ErrorType>> { in draw_line() argument
122 ) -> Result<(u32, u32), DrawingErrorKind<Self::ErrorType>> { in estimate_text_size() argument
131 ) -> Result<(), DrawingErrorKind<Self::ErrorType>> { in draw_text() argument
156 DB::ErrorType: 'static, in draw_chart()
/external/llvm-project/lldb/source/Utility/
DStatus.cpp42 Status::Status(ValueType err, ErrorType type) in Status()
75 m_type = ErrorType::eErrorTypePOSIX; in operator =()
93 if (m_type == ErrorType::eErrorTypePOSIX) in ToError()
178 ErrorType Status::GetType() const { return m_type; } in GetType()
217 void Status::SetError(ValueType err, ErrorType type) { in SetError()
/external/rust/crates/plotters-backend/src/rasterizer/
Dcircle.rs5 Draw: FnMut(i32, (f64, f64)) -> Result<(), DrawingErrorKind<B::ErrorType>>, in draw_part_a() argument
10 ) -> Result<(), DrawingErrorKind<B::ErrorType>> { in draw_part_a()
30 Draw: FnMut(i32, (f64, f64)) -> Result<(), DrawingErrorKind<B::ErrorType>>, in draw_part_b() argument
35 ) -> Result<(), DrawingErrorKind<B::ErrorType>> { in draw_part_b()
45 Draw: FnMut(i32, (f64, f64)) -> Result<(), DrawingErrorKind<B::ErrorType>>, in draw_part_c() argument
50 ) -> Result<(), DrawingErrorKind<B::ErrorType>> { in draw_part_c()
93 ) -> Result<(), DrawingErrorKind<B::ErrorType>> { in draw_sweep_line() argument
129 ) -> Result<(), DrawingErrorKind<B::ErrorType>> { in draw_annulus() argument
281 ) -> Result<(), DrawingErrorKind<B::ErrorType>> { in draw_circle() argument
/external/rust/crates/plotters/src/element/
Ddynelem.rs12 ) -> Result<(), DrawingErrorKind<DB::ErrorType>>; in draw_dyn() argument
21 ) -> Result<(), DrawingErrorKind<DB::ErrorType>> { in draw_dyn() argument
52 ) -> Result<(), DrawingErrorKind<DB::ErrorType>> { in draw() argument
/external/llvm-project/clang/include/clang/ASTMatchers/Dynamic/
DDiagnostics.h59 enum ErrorType { enum
140 ArgStream addError(SourceRange Range, ErrorType Error);
154 ErrorType Type;
/external/clang/include/clang/ASTMatchers/Dynamic/
DDiagnostics.h60 enum ErrorType { enum
140 ArgStream addError(SourceRange Range, ErrorType Error);
154 ErrorType Type;
/external/auto/value/src/main/java/com/google/auto/value/processor/
DMissingTypes.java23 import javax.lang.model.type.ErrorType;
53 MissingTypeException(ErrorType missingType) { in MissingTypeException()
90 public Void visitError(ErrorType t, TypeMirrorSet visiting) { in visitError()

12345