/system/tools/hidl/lint/ |
D | Lint.h | 31 struct Lint { struct 32 Lint(LintLevel level, const Location& location, const std::string& message = ""); 34 Lint(Lint&& other) = default; 35 Lint& operator=(Lint&& other) = default; argument 37 Lint(const Lint&) = delete; 38 Lint& operator=(const Lint&) = delete; argument 40 Lint&& operator<<(const std::string& message); 48 bool operator<(const Lint& other) const; 56 std::ostream& operator<<(std::ostream& os, const Lint&); argument
|
D | Lint.cpp | 27 Lint::Lint(LintLevel level, const Location& location, const std::string& message) in Lint() function in android::Lint 30 LintLevel Lint::getLevel() const { in getLevel() 34 std::string Lint::getLevelString() const { in getLevelString() 45 const Location& Lint::getLocation() const { in getLocation() 49 const std::string& Lint::getMessage() const { in getMessage() 53 bool Lint::operator<(const Lint& other) const { in operator <() 58 Lint&& Lint::operator<<(const std::string& in) { in operator <<() 64 Json::Value Lint::asJson() const { in asJson() 93 std::ostream& operator<<(std::ostream& os, const Lint& lint) { in operator <<()
|
D | LintRegistry.h | 24 struct Lint; 26 using LintFunction = std::function<void(const AST&, std::vector<Lint>*)>; 40 void runAllLintFunctions(const AST& ast, std::vector<Lint>* errors);
|
D | main.cpp | 128 std::vector<Lint> lints; in main() 144 for (const Lint& lint : lints) { in main() 152 for (const Lint& lint : lints) { in main()
|
D | LintRegistry.cpp | 26 void LintRegistry::runAllLintFunctions(const AST& ast, std::vector<Lint>* errors) { in runAllLintFunctions()
|
D | Android.bp | 31 "Lint.cpp",
|
/system/tools/hidl/lint/lints/ |
D | methodDocComment.cpp | 79 static void methodDocComments(const AST& ast, std::vector<Lint>* errors) { in methodDocComments() 102 errors->push_back(Lint(WARNING, docComment->location()) in methodDocComments() 109 errors->push_back(Lint(WARNING, docComment->location()) in methodDocComments() 117 Lint(WARNING, docComment->location()) in methodDocComments() 131 errors->push_back(Lint(WARNING, docComment->location()) in methodDocComments() 137 errors->push_back(Lint(WARNING, docComment->location()) in methodDocComments() 144 errors->push_back(Lint(WARNING, docComment->location()) in methodDocComments() 151 Lint(WARNING, docComment->location()) in methodDocComments() 162 errors->push_back(Lint(WARNING, docComment->location()) in methodDocComments() 167 errors->push_back(Lint(WARNING, docComment->location()) in methodDocComments()
|
D | safeunion.cpp | 35 std::vector<Lint>* errors) { in lintUnionRecursively() 54 errors->push_back(Lint(ERROR, compoundType->location()) in lintUnionRecursively() 76 errors->push_back(Lint(ERROR, nextRef->location()) in lintUnionRecursively() 102 errors->push_back(Lint(ERROR, nextRef->location()) in lintUnionRecursively() 111 static void safeunionLint(const AST& ast, std::vector<Lint>* errors) { in safeunionLint()
|
D | importTypes.cpp | 26 static void importTypes(const AST& ast, std::vector<Lint>* errors) { in importTypes() 32 errors->push_back(Lint(ERROR, import.location) in importTypes() 36 errors->push_back(Lint(WARNING, import.location) in importTypes()
|
D | emptyStructs.cpp | 28 static void checkSmallStructs(const AST& ast, std::vector<Lint>* errors) { in checkSmallStructs() 46 Lint(ERROR, compoundType->location()) in checkSmallStructs() 50 errors->push_back(Lint(ERROR, compoundType->location()) in checkSmallStructs()
|
D | namingConventions.cpp | 33 static void namingConventions(const AST& ast, std::vector<Lint>* errors) { in namingConventions() 56 errors->push_back(Lint(WARNING, namedType->location()) in namingConventions() 68 errors->push_back(Lint(WARNING, (*ref).location()) in namingConventions() 80 errors->push_back(Lint(WARNING, ev->location()) in namingConventions()
|
D | unhandledComments.cpp | 26 static void unhandledComments(const AST& ast, std::vector<Lint>* errors) { in unhandledComments() 29 Lint(WARNING, docComment->location()) in unhandledComments()
|
D | methodVersions.cpp | 89 static void methodVersions(const AST& ast, std::vector<Lint>* errors) { in methodVersions() 99 errors->push_back(Lint(WARNING, method->location(), in methodVersions() 125 errors->push_back(Lint(WARNING, method->location()) in methodVersions() 132 errors->push_back(Lint(WARNING, method->location()) << errorString << "\n"); in methodVersions()
|
D | oneway.cpp | 72 static void onewayLint(const AST& ast, std::vector<Lint>* errors) { in onewayLint() 92 errors->push_back(Lint(WARNING, iface->location()) in onewayLint() 108 errors->push_back(Lint(WARNING, iface->location()) in onewayLint()
|
D | enumMaxAndAll.cpp | 33 static void enumValueNames(const AST& ast, std::vector<Lint>* errors) { in enumValueNames() 62 errors->push_back(Lint(WARNING, ev->location(), errorString)); in enumValueNames()
|
/system/tools/hidl/lint/test/ |
D | main.cpp | 43 void getLintsForHal(const std::string& name, std::vector<Lint>* errors) { in getLintsForHal() 73 std::vector<Lint> errors; \ 80 std::vector<Lint> errors; \ 89 std::vector<Lint> errors; \ 93 EXPECT_THAT(errors, Contains(Property(&Lint::getMessage, ContainsRegex(errorMsg)))); \
|
/system/media/camera/docs/ |
D | README.md | 15 * XML Lint - Validates XML against XSD schema.
|