Home
last modified time | relevance | path

Searched refs:ErrorKind (Results 1 – 21 of 21) sorted by relevance

/external/turbine/java/com/google/turbine/parse/
DStreamLexer.java24 import com.google.turbine.diag.TurbineError.ErrorKind;
319 throw error(ErrorKind.UNEXPECTED_INPUT, ch); in next()
354 throw error(ErrorKind.UNEXPECTED_INPUT, ch); in next()
390 throw error(ErrorKind.UNEXPECTED_INPUT, ch); in next()
471 throw error(ErrorKind.UNEXPECTED_INPUT, ch); in escape()
581 throw error(ErrorKind.UNEXPECTED_INPUT, ch); in readHexDigits()
616 throw error(ErrorKind.UNEXPECTED_INPUT, ch); in readHexDigits()
653 throw error(ErrorKind.UNEXPECTED_INPUT, ch); in readDigits()
665 throw error(ErrorKind.UNEXPECTED_INPUT, ch); in readDigits()
704 throw error(ErrorKind.UNEXPECTED_INPUT, ch); in readBinaryDigits()
[all …]
DConstExpressionParser.java24 import com.google.turbine.diag.TurbineError.ErrorKind;
302 throw error(ErrorKind.INVALID_LITERAL, text); in finishLiteral()
306 throw error(ErrorKind.INVALID_LITERAL, text); in finishLiteral()
340 throw error(ErrorKind.INVALID_LITERAL, text); in finishLiteral()
347 throw error(ErrorKind.INVALID_LITERAL, text); in finishLiteral()
393 throw error(ErrorKind.INVALID_LITERAL, text); in parseLong()
586 private TurbineError error(ErrorKind kind, Object... args) { in error()
DParser.java31 import com.google.turbine.diag.TurbineError.ErrorKind;
578 throw error(ErrorKind.UNEXPECTED_TYPE_PARAMETER, typaram); in classMember()
617 throw error(ErrorKind.UNEXPECTED_TYPE_PARAMETER, typaram); in memberRest()
1145 throw error(ErrorKind.INVALID_ANNOTATION_ARGUMENT); in annotation()
1167 throw error(ErrorKind.EXPECTED_TOKEN, kind); in eat()
1183 return error(ErrorKind.UNEXPECTED_IDENTIFIER, lexer.stringValue()); in error()
1185 return error(ErrorKind.UNEXPECTED_EOF); in error()
1187 return error(ErrorKind.UNEXPECTED_TOKEN, token); in error()
1191 private TurbineError error(ErrorKind kind, Object... args) { in error()
/external/turbine/java/com/google/turbine/diag/
DTurbineError.java28 public enum ErrorKind { enum in TurbineError
48 ErrorKind(String message) { in ErrorKind() method in TurbineError.ErrorKind
66 SourceFile source, int position, ErrorKind kind, Object... args) { in format()
83 final ErrorKind kind;
85 private TurbineError(ErrorKind kind, String diagnostic) { in TurbineError()
91 public ErrorKind kind() { in kind()
/external/valgrind/include/
Dpub_tool_errormgr.h45 ErrorKind; typedef
60 ErrorKind VG_(get_error_kind) ( const Error* err );
81 extern void VG_(maybe_record_error) ( ThreadId tid, ErrorKind ekind,
91 extern Bool VG_(unique_error) ( ThreadId tid, ErrorKind ekind,
/external/turbine/java/com/google/turbine/binder/
DHierarchyBinder.java31 import com.google.turbine.diag.TurbineError.ErrorKind;
119 throw TurbineError.format(base.source(), ty.position(), ErrorKind.SYMBOL_NOT_FOUND, ty); in resolveClass()
128 throw error(ty.position(), ErrorKind.CYCLIC_HIERARCHY, e.getMessage()); in resolveClass()
131 throw error(ty.position(), ErrorKind.SYMBOL_NOT_FOUND, bit); in resolveClass()
147 throw error(tree.position(), ErrorKind.CYCLIC_HIERARCHY, e.getMessage()); in lookup()
158 private TurbineError error(int position, ErrorKind kind, Object... args) { in error()
DTypeBinder.java40 import com.google.turbine.diag.TurbineError.ErrorKind;
527 throw error(member.position(), ErrorKind.DUPLICATE_DECLARATION, "field: " + field.name()); in bindFields()
560 throw error(tree.position(), ErrorKind.SYMBOL_NOT_FOUND, Joiner.on('.').join(tree.name())); in bindAnnotations()
566 throw error(tree.position(), ErrorKind.SYMBOL_NOT_FOUND, name); in bindAnnotations()
570 throw error(tree.position(), ErrorKind.NOT_AN_ANNOTATION, sym); in bindAnnotations()
627 throw error(t.position(), ErrorKind.SYMBOL_NOT_FOUND, t); in bindClassTy()
638 throw error(t.position(), ErrorKind.TYPE_PARAMETER_QUALIFIER); in bindClassTy()
662 throw error(curr.position(), ErrorKind.CANNOT_RESOLVE, curr.name()); in bindClassTyRest()
690 private TurbineError error(int position, ErrorKind kind, Object... args) { in error()
DConstEvaluator.java39 import com.google.turbine.diag.TurbineError.ErrorKind;
196 throw error(classTy.position(), ErrorKind.SYMBOL_NOT_FOUND, flat.peekFirst()); in resolveClass()
202 throw error(classTy.position(), ErrorKind.SYMBOL_NOT_FOUND, bit); in resolveClass()
911 throw error(arg.position(), ErrorKind.CANNOT_RESOLVE, key); in evaluateAnnotation()
915 throw error(expr.position(), ErrorKind.EXPRESSION_ERROR); in evaluateAnnotation()
946 throw error(tree.position(), ErrorKind.EXPRESSION_ERROR); in evalAnnotationValue()
950 throw error(tree.position(), ErrorKind.EXPRESSION_ERROR); in evalAnnotationValue()
976 private TurbineError error(int position, ErrorKind kind, Object... args) { in error()
DResolve.java34 import com.google.turbine.diag.TurbineError.ErrorKind;
112 throw TurbineError.format(source, position, ErrorKind.SYMBOL_NOT_FOUND, bit);
DDisambiguateTypeAnnotations.java35 import com.google.turbine.diag.TurbineError.ErrorKind;
255 anno.source(), anno.position(), ErrorKind.NONREPEATABLE_ANNOTATION, symbol); in groupRepeated()
/external/clang/lib/StaticAnalyzer/Checkers/
DNullabilityChecker.cpp85 enum class ErrorKind : int { enum
171 void reportBugIfInvariantHolds(StringRef Msg, ErrorKind Error,
177 void reportBug(StringRef Msg, ErrorKind Error, ExplodedNode *N, in reportBug()
190 if (Error == ErrorKind::NilAssignedToNonnull || in reportBug()
191 Error == ErrorKind::NilPassedToNonnull || in reportBug()
192 Error == ErrorKind::NilReturnedToNonnull) in reportBug()
459 ErrorKind Error, ExplodedNode *N, const MemRegion *Region, in reportBugIfInvariantHolds()
525 ErrorKind::NullableDereferenced, Event.SinkNode, Region, BR); in checkEvent()
528 "non-null", ErrorKind::NullablePassedToNonnull, in checkEvent()
620 ErrorKind::NilReturnedToNonnull, N, nullptr, C, in checkPreStmt()
[all …]
DRetainCountChecker.cpp2660 RefVal::Kind ErrorKind, SymbolRef Sym,
3290 RefVal::Kind ErrorKind, in processNonLeakError() argument
3308 switch (ErrorKind) { in processNonLeakError()
/external/turbine/java/com/google/turbine/binder/lookup/
DImportScope.java22 import com.google.turbine.diag.TurbineError.ErrorKind;
45 throw TurbineError.format(source, position, ErrorKind.SYMBOL_NOT_FOUND, bit); in resolve()
DImportIndex.java29 import com.google.turbine.diag.TurbineError.ErrorKind;
106 source, i.position(), ErrorKind.SYMBOL_NOT_FOUND, Joiner.on('.').join(i.type())); in namedImport()
/external/compiler-rt/lib/ubsan/
Dubsan_diag.cc73 const char *ErrorKind = ConvertTypeToString(Type); in MaybeReportErrorSummary() local
82 ReportErrorSummary(ErrorKind, AI); in MaybeReportErrorSummary()
88 ReportErrorSummary(ErrorKind, AI); in MaybeReportErrorSummary()
91 ReportErrorSummary(ErrorKind); in MaybeReportErrorSummary()
/external/v8/src/parsing/
Dexpression-classifier.h52 enum ErrorKind : unsigned { enum
67 MessageTemplate::Template msg, ErrorKind k,
386 V8_INLINE const Error& reported_error(ErrorKind kind) const { in reported_error()
/external/valgrind/coregrind/
Dm_errormgr.c141 ErrorKind ekind; // Used by ALL. Must be in the range (0..)
153 ErrorKind VG_(get_error_kind) ( const Error* err ) in VG_()
639 void construct_error ( Error* err, ThreadId tid, ErrorKind ekind, Addr a, in construct_error()
674 ErrorKind ekind, Addr a, in VG_()
855 Bool VG_(unique_error) ( ThreadId tid, ErrorKind ekind, Addr a, const HChar* s, in VG_()
/external/valgrind/exp-sgcheck/
Dpc_common.c751 ErrorKind ekind = VG_(get_error_kind)(err); in pc_error_matches_suppression()
782 ErrorKind ekind = VG_(get_error_kind)(err); in pc_get_extra_suppression_info()
/external/valgrind/memcheck/
Dmc_errors.c1442 ErrorKind ekind = VG_(get_error_kind)(err); in MC_()
1570 ErrorKind ekind = VG_(get_error_kind)(err); in MC_()
/external/clang/lib/Sema/
DSemaTemplate.cpp7344 unsigned ErrorKind = 0; in ActOnExplicitInstantiation() local
7346 ErrorKind = 4; in ActOnExplicitInstantiation()
7348 ErrorKind = 5; in ActOnExplicitInstantiation()
7351 Diag(TemplateNameLoc, diag::err_tag_reference_non_tag) << ErrorKind; in ActOnExplicitInstantiation()
DSemaDeclCXX.cpp11860 unsigned ErrorKind; in CheckOverloadedOperatorDeclaration() local
11862 ErrorKind = 2; // 2 -> unary or binary. in CheckOverloadedOperatorDeclaration()
11864 ErrorKind = 0; // 0 -> unary in CheckOverloadedOperatorDeclaration()
11868 ErrorKind = 1; // 1 -> binary in CheckOverloadedOperatorDeclaration()
11872 << FnDecl->getDeclName() << NumParams << ErrorKind; in CheckOverloadedOperatorDeclaration()