/external/turbine/java/com/google/turbine/parse/ |
D | StreamLexer.java | 24 import com.google.turbine.diag.TurbineError.ErrorKind; 319 throw error(ErrorKind.UNEXPECTED_INPUT, ch); in next() 348 throw error(ErrorKind.EMPTY_CHARACTER_LITERAL); in next() 358 throw error(ErrorKind.UNTERMINATED_CHARACTER_LITERAL); in next() 378 throw error(ErrorKind.UNTERMINATED_STRING); in next() 396 throw error(ErrorKind.UNEXPECTED_INPUT, ch); in next() 477 throw error(ErrorKind.UNEXPECTED_INPUT, ch); in escape() 587 throw error(ErrorKind.UNEXPECTED_INPUT, ch); in readHexDigits() 622 throw error(ErrorKind.UNEXPECTED_INPUT, ch); in readHexDigits() 659 throw error(ErrorKind.UNEXPECTED_INPUT, ch); in readDigits() [all …]
|
D | VariableInitializerParser.java | 22 import com.google.turbine.diag.TurbineError.ErrorKind; 239 throw error(ErrorKind.UNEXPECTED_EOF); in dropParens() 263 throw error(ErrorKind.UNEXPECTED_EOF); in dropBraces() 342 private TurbineError error(ErrorKind kind, Object... args) { in error()
|
D | ConstExpressionParser.java | 24 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() 578 throw TurbineError.format(lexer.source(), pos, ErrorKind.INVALID_ANNOTATION_ARGUMENT); in annotation() 594 private TurbineError error(ErrorKind kind, Object... args) { in error()
|
D | Parser.java | 32 import com.google.turbine.diag.TurbineError.ErrorKind; 753 throw error(ErrorKind.UNEXPECTED_TYPE_PARAMETER, typaram); in classMember() 793 throw error(ErrorKind.UNEXPECTED_TYPE_PARAMETER, typaram); in memberRest() 837 throw TurbineError.format(lexer.source(), expressionStart, ErrorKind.UNTERMINATED_EXPRESSION); in fieldRest() 1010 throw error(ErrorKind.UNEXPECTED_EOF); in dropParens() 1030 throw error(ErrorKind.UNEXPECTED_EOF); in dropBlocks() 1332 throw error(ErrorKind.INVALID_ANNOTATION_ARGUMENT); in annotation() 1360 throw error(ErrorKind.EXPECTED_TOKEN, kind); in eat() 1377 return error(ErrorKind.UNEXPECTED_IDENTIFIER, lexer.stringValue()); in error() 1379 return error(ErrorKind.UNEXPECTED_EOF); in error() [all …]
|
/external/turbine/java/com/google/turbine/diag/ |
D | TurbineDiagnostic.java | 28 import com.google.turbine.diag.TurbineError.ErrorKind; 34 private final ErrorKind kind; 38 private TurbineDiagnostic(ErrorKind kind, String diagnostic, ImmutableList<Object> args) { in TurbineDiagnostic() 45 public ErrorKind kind() { in kind() 60 ErrorKind kind, String diagnostic, ImmutableList<Object> args) { in create() 83 public static TurbineDiagnostic format(SourceFile source, ErrorKind kind, Object... args) { in format() 98 SourceFile source, int position, ErrorKind kind, Object... args) { in format()
|
D | TurbineError.java | 27 public enum ErrorKind { enum in TurbineError 53 ErrorKind(String message) { in ErrorKind() method in TurbineError.ErrorKind 69 public static TurbineError format(SourceFile source, ErrorKind kind, Object... args) { in format() 81 SourceFile source, int position, ErrorKind kind, Object... args) { in format()
|
D | TurbineLog.java | 20 import com.google.turbine.diag.TurbineError.ErrorKind; 48 public void error(ErrorKind kind, Object... args) { in error() 52 public void error(int position, ErrorKind kind, Object... args) { in error()
|
/external/turbine/java/com/google/turbine/binder/ |
D | HierarchyBinder.java | 30 import com.google.turbine.diag.TurbineError.ErrorKind; 123 log.error(ty.position(), ErrorKind.CANNOT_RESOLVE, ty); in resolveClass() 143 log.error(ty.position(), ErrorKind.CYCLIC_HIERARCHY, e.getMessage()); in resolveNext() 149 ErrorKind.SYMBOL_NOT_FOUND, in resolveNext() 165 log.error(tree.position(), ErrorKind.CYCLIC_HIERARCHY, e.getMessage()); in lookup()
|
D | ConstEvaluator.java | 42 import com.google.turbine.diag.TurbineError.ErrorKind; 206 throw error(classTy.position(), ErrorKind.CANNOT_RESOLVE, flat.peekFirst()); in resolveClass() 209 throw error(classTy.position(), ErrorKind.UNEXPECTED_TYPE_PARAMETER, flat.peekFirst()); in resolveClass() 222 position, ErrorKind.SYMBOL_NOT_FOUND, new ClassSymbol(sym.binaryName() + '$' + bit)); in resolveNext() 274 ErrorKind.CANNOT_RESOLVE, in resolveField() 940 ErrorKind.CANNOT_RESOLVE, in evaluateAnnotation() 945 throw error(expr.position(), ErrorKind.EXPRESSION_ERROR); in evaluateAnnotation() 949 throw error(arg.position(), ErrorKind.INVALID_ANNOTATION_ARGUMENT); in evaluateAnnotation() 959 t.name().get(0).position(), ErrorKind.CANNOT_RESOLVE, Joiner.on(".").join(t.name())); in evalAnno() 965 throw error(name.position(), ErrorKind.CANNOT_RESOLVE, name.value()); in evalAnno() [all …]
|
D | ModuleBinder.java | 42 import com.google.turbine.diag.TurbineError.ErrorKind; 211 ErrorKind.SYMBOL_NOT_FOUND, pos, new ClassSymbol(Joiner.on('/').join(simpleNames))); in resolve() 218 ErrorKind.SYMBOL_NOT_FOUND, pos, new ClassSymbol(sym.binaryName() + '$' + name)); in resolve() 224 private TurbineError error(ErrorKind kind, int pos, Object... args) { in error()
|
D | TypeBinder.java | 39 import com.google.turbine.diag.TurbineError.ErrorKind; 529 log.error(member.position(), ErrorKind.DUPLICATE_DECLARATION, "field: " + field.name()); in bindFields() 572 log.error(tree.position(), ErrorKind.CANNOT_RESOLVE, Joiner.on('.').join(name)); in resolveAnnoSymbol() 583 log.error(tree.position(), ErrorKind.NOT_AN_ANNOTATION, sym); in resolveAnnoSymbol() 593 ErrorKind.SYMBOL_NOT_FOUND, in resolveNext() 650 log.error(names.get(0).position(), ErrorKind.CANNOT_RESOLVE, Joiner.on('.').join(names)); in bindClassTy() 662 log.error(t.position(), ErrorKind.TYPE_PARAMETER_QUALIFIER); in bindClassTy()
|
D | CompUnitPreprocessor.java | 28 import com.google.turbine.diag.TurbineError.ErrorKind; 141 source, member.position(), ErrorKind.DUPLICATE_DECLARATION, sym); in preprocessChildren()
|
D | DisambiguateTypeAnnotations.java | 35 import com.google.turbine.diag.TurbineError.ErrorKind; 262 anno.source(), anno.position(), ErrorKind.NONREPEATABLE_ANNOTATION, symbol); in groupRepeated()
|
D | Binder.java | 55 import com.google.turbine.diag.TurbineError.ErrorKind; 146 unit.source(), type.decl().position(), ErrorKind.DUPLICATE_DECLARATION, type.sym()); in bindSourceBoundClasses()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | NullabilityChecker.cpp | 85 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 …]
|
D | RetainCountChecker.cpp | 2660 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/ |
D | ImportIndex.java | 27 import com.google.turbine.diag.TurbineError.ErrorKind; 103 i.position(), ErrorKind.SYMBOL_NOT_FOUND, new ClassSymbol(Joiner.on('/').join(i.type()))); in namedImport() 128 ErrorKind.SYMBOL_NOT_FOUND, 145 log.error(i.position(), ErrorKind.SYMBOL_NOT_FOUND, Joiner.on(".").join(i.type()));
|
D | MemberImportIndex.java | 27 import com.google.turbine.diag.TurbineError.ErrorKind; 103 ErrorKind.SYMBOL_NOT_FOUND, in resolveNext()
|
/external/compiler-rt/lib/ubsan/ |
D | ubsan_diag.cc | 73 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/ |
D | expression-classifier.h | 53 enum ErrorKind : unsigned { enum 67 MessageTemplate::Template msg, ErrorKind k, 357 V8_INLINE const Error& reported_error(ErrorKind kind) const { in reported_error()
|
/external/turbine/java/com/google/turbine/types/ |
D | Canonicalize.java | 27 import com.google.turbine.diag.TurbineError.ErrorKind; 387 throw TurbineError.format(source, position, ErrorKind.CLASS_FILE_NOT_FOUND, canonOwner); in getInfo()
|
/external/turbine/java/com/google/turbine/lower/ |
D | Lower.java | 65 import com.google.turbine.diag.TurbineError.ErrorKind; 421 throw TurbineError.format(source, ErrorKind.CLASS_FILE_NOT_FOUND, sym); in addEnclosing()
|
/external/clang/lib/Sema/ |
D | SemaTemplate.cpp | 7344 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()
|
D | SemaDeclCXX.cpp | 11860 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()
|