Home
last modified time | relevance | path

Searched refs:Errors (Results 1 – 25 of 241) sorted by relevance

12345678910

/external/doclava/test/doclava/
DApiCheckTest.java19 import com.google.doclava.Errors;
20 import com.google.doclava.Errors.Error;
21 import com.google.doclava.Errors.ErrorMessage;
34 Errors.clearErrors(); in setUp()
35 for (Errors.Error error : Errors.ERRORS) { in setUp()
36 Errors.setErrorLevel(error.code, Errors.ERROR); in setUp()
52 assertEquals(Errors.CHANGED_TYPE, report.errors().iterator().next().error()); in testMethodReturnTypeChanged()
65 assertTrue(m1.error().equals(Errors.ADDED_METHOD) || m1.error().equals(Errors.REMOVED_METHOD)); in testMethodParameterChanged()
66 assertTrue(m2.error().equals(Errors.ADDED_METHOD) || m2.error().equals(Errors.REMOVED_METHOD)); in testMethodParameterChanged()
78 assertTrue(m1.error().equals(Errors.ADDED_METHOD) || m1.error().equals(Errors.REMOVED_METHOD)); in testConstructorParameterChanged()
[all …]
/external/doclava/src/com/google/doclava/
DAttrTagInfo.java56 Errors.error(Errors.BAD_ATTR_TAG, position, "Bad @attr tag: " + text); in parse()
67 Errors.error(Errors.BAD_ATTR_TAG, position, "Unresolved @attr ref: " + ref); in parse()
71 Errors.error(Errors.BAD_ATTR_TAG, position, "@attr must be a field: " + ref); in parse()
79 Errors.error(Errors.BAD_ATTR_TAG, position, "Bad @attr name tag: " + more); in parse()
88 Errors.error(Errors.BAD_ATTR_TAG, position, "Bad @attr command: " + command); in parse()
DFieldInfo.java117 Errors.error(Errors.DEPRECATION_MISMATCH, position(), "Field " in isDeprecated()
425 Errors.error(Errors.CHANGED_TYPE, fInfo.position(), "Field " + fInfo.qualifiedName() in isConsistent()
429 Errors.error(Errors.CHANGED_VALUE, fInfo.position(), "Field " + fInfo.qualifiedName() in isConsistent()
435 Errors.error(Errors.CHANGED_SCOPE, fInfo.position(), "Method " + fInfo.qualifiedName() in isConsistent()
441 Errors.error(Errors.CHANGED_STATIC, fInfo.position(), "Field " + fInfo.qualifiedName() in isConsistent()
447 Errors.error(Errors.ADDED_FINAL, fInfo.position(), "Field " + fInfo.qualifiedName() in isConsistent()
451 Errors.error(Errors.REMOVED_FINAL, fInfo.position(), "Field " + fInfo.qualifiedName() in isConsistent()
457 Errors.error(Errors.CHANGED_TRANSIENT, fInfo.position(), "Field " + fInfo.qualifiedName() in isConsistent()
463 Errors.error(Errors.CHANGED_VOLATILE, fInfo.position(), "Field " + fInfo.qualifiedName() in isConsistent()
469 Errors.error(Errors.CHANGED_DEPRECATED, fInfo.position(), "Field " + fInfo.qualifiedName() in isConsistent()
DMethodInfo.java220 Errors.error(Errors.DEPRECATION_MISMATCH, position(), "Method " in isDeprecated()
448 Errors.error(Errors.UNKNOWN_PARAM_TAG_NAME, tag.position(), in paramTags()
477 Errors.error(Errors.UNDOCUMENTED_PARAMETER, positions[i], "Undocumented parameter '" in paramTags()
760 Errors.error(Errors.CHANGED_TYPE, mInfo.position(), "Method " + mInfo.qualifiedName() in isConsistent()
767 Errors.error(Errors.CHANGED_ABSTRACT, mInfo.position(), "Method " + mInfo.qualifiedName() in isConsistent()
773 Errors.error(Errors.CHANGED_NATIVE, mInfo.position(), "Method " + mInfo.qualifiedName() in isConsistent()
784 Errors.error(Errors.ADDED_FINAL, mInfo.position(), "Method " + mInfo.qualifiedName() in isConsistent()
788 Errors.error(Errors.REMOVED_FINAL, mInfo.position(), "Method " + mInfo.qualifiedName() in isConsistent()
795 Errors.error(Errors.CHANGED_STATIC, mInfo.position(), "Method " + mInfo.qualifiedName() in isConsistent()
801 Errors.error(Errors.CHANGED_SCOPE, mInfo.position(), "Method " + mInfo.qualifiedName() in isConsistent()
[all …]
DSampleTagInfo.java74 Errors.error(Errors.BAD_INCLUDE_TAG, position, "Bad @include tag: " + text); in SampleTagInfo()
88 Errors.error(Errors.BAD_INCLUDE_TAG, position, "include tag '" + id + "' not found in file: " in SampleTagInfo()
192 Errors.error(Errors.BAD_INCLUDE_TAG, pos, "Error reading file for" + " include \"" + id in loadInclude()
201 Errors.error(Errors.BAD_INCLUDE_TAG, pos, "Did not find " + end + " in file " + filename); in loadInclude()
268 Errors.error(Errors.BAD_INCLUDE_TAG, pos, "Error reading file for" + " include \"" + id in readFile()
DSinceTagger.java69 Errors.error(Errors.BROKEN_SINCE_FILE, null, "Failed to parse " + xmlFile in tagAll()
241 Errors.error(Errors.NO_SINCE_DATA, claz.position(), "XML missing class " in warnForMissingVersions()
246 Errors.error(Errors.NO_SINCE_DATA, field.position(), "XML missing field " in warnForMissingVersions()
251 Errors.error(Errors.NO_SINCE_DATA, constructor.position(), "XML missing constructor " in warnForMissingVersions()
256 Errors.error(Errors.NO_SINCE_DATA, method.position(), "XML missing method " in warnForMissingVersions()
DLinkReference.java124 Errors.error(Errors.UNRESOLVED_LINK, pos, "unable to parse link/see tag: " + text.trim()); in parse()
356 Errors.error(Errors.UNRESOLVED_LINK, pos, "unbalanced quoted link/see tag: " + text.trim()); in parse()
368 Errors.error(Errors.UNRESOLVED_LINK, pos, "invalid <a> link/see tag: " + text.trim()); in parse()
408 Errors.error(Errors.UNRESOLVED_LINK, pos, "Unresolved link/see tag \"" + text.trim() in parse()
414 Errors.error(Errors.HIDDEN_LINK, pos, "Link to hidden member: " + text.trim()); in parse()
420 Errors.error(Errors.HIDDEN_LINK, pos, "Link to hidden class: " + text.trim() + " label=" in parse()
427 Errors.error(Errors.HIDDEN_LINK, pos, "Link to hidden package: " + text.trim()); in parse()
DClassInfo.java560 Errors.error(Errors.DEPRECATION_MISMATCH, position(), "Class " + qualifiedName() in isDeprecated()
2040 Errors.error(Errors.CHANGED_CLASS, cl.position(), "Class " + cl.qualifiedName() in isConsistent()
2046 Errors.error(Errors.REMOVED_INTERFACE, cl.position(), "Class " + qualifiedName() in isConsistent()
2052 Errors.error(Errors.ADDED_INTERFACE, cl.position(), "Added interface " + iface in isConsistent()
2073 Errors.error(Errors.REMOVED_METHOD, mInfo.position(), "Removed public method " in isConsistent()
2087 Errors.error(Errors.ADDED_METHOD, mInfo.position(), "Added public method " in isConsistent()
2100 Errors.error(Errors.REMOVED_METHOD, mInfo.position(), "Removed public constructor " in isConsistent()
2107 Errors.error(Errors.ADDED_METHOD, mInfo.position(), "Added public constructor " in isConsistent()
2119 Errors.error(Errors.REMOVED_FIELD, mInfo.position(), "Removed field " in isConsistent()
2126 Errors.error(Errors.ADDED_FIELD, mInfo.position(), "Added public field " in isConsistent()
[all …]
DFederationTagger.java69 Errors.error(Errors.NO_FEDERATION_DATA, null, "Unknown documentation site for " + name); in initialize()
86 Errors.error(Errors.NO_FEDERATION_DATA, null, error); in initialize()
DStubs.java49 Errors.error(Errors.IO_ERROR, new SourcePositionInfo(apiFile, 0, 0), in writeStubsAndApi()
59 Errors.error(Errors.IO_ERROR, new SourcePositionInfo(keepListFile, 0, 0), in writeStubsAndApi()
70 Errors.error(Errors.IO_ERROR, new SourcePositionInfo(removedApiFile, 0, 0), in writeStubsAndApi()
88 Errors.error(Errors.UNAVAILABLE_SYMBOL, m.position(), "Reference to unavailable method " in writeStubsAndApi()
93 Errors.error(Errors.DEPRECATED, m.position(), "Method " + cl.qualifiedName() + "." in writeStubsAndApi()
99 Errors.error(Errors.UNAVAILABLE_SYMBOL, m.position(), "Method " + cl.qualifiedName() in writeStubsAndApi()
107Errors.error(Errors.UNAVAILABLE_SYMBOL, m.position(), "Parameter of unavailable type " in writeStubsAndApi()
117Errors.error(Errors.UNAVAILABLE_SYMBOL, m.position(), "Reference to unavailable annotation " in writeStubsAndApi()
123 Errors.error(Errors.UNAVAILABLE_SYMBOL, m.position(), "Annotation '" + m.name() in writeStubsAndApi()
131 Errors.error(Errors.UNAVAILABLE_SYMBOL, p.position(), in writeStubsAndApi()
[all …]
/external/clang/lib/ASTMatchers/Dynamic/
DDiagnostics.cpp44 : Error(Error), BeginIndex(Error->Errors.size()) {} in OverloadContext()
48 if (BeginIndex < Error->Errors.size()) { in ~OverloadContext()
49 Diagnostics::ErrorContent &Dest = Error->Errors[BeginIndex]; in ~OverloadContext()
50 for (size_t i = BeginIndex + 1, e = Error->Errors.size(); i < e; ++i) { in ~OverloadContext()
51 Dest.Messages.push_back(Error->Errors[i].Messages[0]); in ~OverloadContext()
53 Error->Errors.resize(BeginIndex + 1); in ~OverloadContext()
59 Error->Errors.resize(BeginIndex); in revertErrors()
69 Errors.push_back(ErrorContent()); in addError()
70 ErrorContent &Last = Errors.back(); in addError()
188 for (size_t i = 0, e = Errors.size(); i != e; ++i) { in printToStream()
[all …]
/external/doclava/src/com/google/doclava/apicheck/
DApiCheck.java29 import com.google.doclava.Errors;
30 import com.google.doclava.Errors.ErrorMessage;
69 Errors.printErrors(report.errors()); in main()
90 level = Errors.ERROR; in checkApi()
92 level = Errors.WARNING; in checkApi()
94 level = Errors.HIDDEN; in checkApi()
96 Errors.setErrorLevel(Integer.parseInt(a[1]), level); in checkApi()
99 return new Report(2, Errors.getErrors()); in checkApi()
119 return new Report(1, Errors.getErrors()); in checkApi()
123 if (!Errors.hadError) { in checkApi()
[all …]
DApiInfo.java20 import com.google.doclava.Errors;
70 Errors.error(Errors.REMOVED_PACKAGE, pInfo.position(), "Removed package " + pInfo.name()); in isConsistent()
76 Errors.error(Errors.ADDED_PACKAGE, pInfo.position(), "Added package " + pInfo.name()); in isConsistent()
/external/chromium_org/third_party/cython/src/Cython/
DTestUtils.py1 import Cython.Compiler.Errors as Errors namespace
48 self.listing_file = Errors.listing_file
49 self.echo_file = Errors.echo_file
50 Errors.listing_file = Errors.echo_file = None
53 Errors.listing_file = self.listing_file
54 Errors.echo_file = self.echo_file
159 Errors.error(
165 Errors.error(
/external/chromium_org/third_party/cython/src/Cython/Plex/
DLexicons.py13 import Errors
115 raise Errors.InvalidScanner("Scanner definition is not a list")
135 raise Errors.InvalidToken(
178 except Errors.PlexError, e:
183 raise Errors.InvalidToken("Token definition is not a tuple")
185 raise Errors.InvalidToken("Wrong number of items in token definition")
188 raise Errors.InvalidToken("Pattern is not an RE instance")
/external/clang/unittests/ASTMatchers/Dynamic/
DParserTest.cpp39 Errors.push_back(Error.toStringFull()); in parse()
67 std::vector<std::string> Errors; member in clang::ast_matchers::dynamic::__anonc4dcc31e0111::MockSema
86 EXPECT_EQ("1:1: Error parsing unsigned token: <12345678901>", Sema.Errors[3]); in TEST()
87 EXPECT_EQ("1:1: Error parsing unsigned token: <1a1>", Sema.Errors[4]); in TEST()
98 EXPECT_EQ("1:1: Error parsing string token: <\"Baz>", Sema.Errors[2]); in TEST()
124 for (size_t i = 0, e = Sema.Errors.size(); i != e; ++i) { in TEST()
125 EXPECT_EQ("", Sema.Errors[i]); in TEST()
223 TEST(ParserTest, Errors) { in TEST() argument
/external/clang/include/clang/Frontend/
DTextDiagnosticBuffer.h31 DiagList Errors, Warnings, Remarks, Notes;
33 const_iterator err_begin() const { return Errors.begin(); } in err_begin()
34 const_iterator err_end() const { return Errors.end(); } in err_end()
/external/chromium_org/third_party/cython/src/Cython/Compiler/Tests/
DTestMemView.py2 import Cython.Compiler.Errors as Errors namespace
14 e = self.should_fail(lambda: self.fragment(s), Errors.CompileError)
DTestBuffer.py2 import Cython.Compiler.Errors as Errors namespace
18 e = self.should_fail(lambda: self.fragment(s), Errors.CompileError)
/external/chromium_org/android_webview/tools/
Dwebview_licenses.py97 Ok, Warnings, Errors = range(3) variable in ScanResult
222 return ScanResult.Errors
306 return licenses_check if all_licenses_valid else ScanResult.Errors
337 return ScanResult.Errors
361 return ScanResult.Errors
376 return ScanResult.Errors
/external/doclava/res/assets/templates/
Dtodo.cs35 <tr><th>Errors</th><td><?cs var:all.errorCount ?></td></tr>
45 <th>Errors</th>
65 <th>Errors</th>
83 <p>Errors: <?cs var:cl.errorCount ?><br/>
/external/mesa3d/scons/
Ddxsdk.py33 import SCons.Errors
54 raise SCons.Errors.InternalError, "Unsupported target machine"
Dllvm.py36 import SCons.Errors
50 raise SCons.Errors.InternalError, "Specified LLVM directory not found"
61 raise SCons.Errors.InternalError, "LLVM binary directory not found"
/external/chromium_org/third_party/mesa/src/scons/
Ddxsdk.py33 import SCons.Errors
54 raise SCons.Errors.InternalError, "Unsupported target machine"
Dllvm.py36 import SCons.Errors
50 raise SCons.Errors.InternalError, "Specified LLVM directory not found"
61 raise SCons.Errors.InternalError, "LLVM binary directory not found"

12345678910