| /external/angle/build/android/docs/ |
| D | lint.md | 1 # Lint chapter 3 [Android Lint] is [one of the static analysis tools] that Chromium uses to catch 8 [Android Lint]: https://googlesamples.github.io/android-custom-lint-rules/book.md.html 10 [list of checks]: https://googlesamples.github.io/android-custom-lint-rules/checks/index.md.html 14 ## How Chromium uses lint 16 Chromium only runs lint on apk or bundle targets that explicitly set 17 `enable_lint = true`. You can run lint by compiling the apk or bundle target 18 with ninja; once the code finishes compiling, ninja will automatically run lint 21 Some example targets that have lint enabled are: 27 If you think lint is not running and already verified your GN [all …]
|
| D | static_analysis.md | 7 ## [Android Lint](lint.md) 10 * [Useful checks include](https://googlesamples.github.io/android-custom-lint-rules/checks/index.md… 12 * A list of disabled checks is found [within `lint.py`]. 13 * and [`lint-baseline.xml`] files contain individual suppressions. 14 * Custom lint checks [are possible], but we don't have any. 18 [are possible]: https://googlesamples.github.io/android-custom-lint-rules/api-guide.md.html 19 [within `lint.py`]: https://source.chromium.org/chromium/chromium/src/+/main:build/android/gyp/lint… 20 [`lint-baseline.xml`]: https://source.chromium.org/search?q=f:lint-baseline.xml%20-f:third_party
|
| /external/dagger2/java/dagger/lint/ |
| D | BUILD | 16 # Dagger Lint Rules 25 name = "lint-artifact-lib", 27 tags = ["maven_coordinates=com.google.dagger:dagger-lint:" + POM_VERSION], 41 name = "dagger-lint-sources", 55 name = "lint-artifact", 56 artifact_coordinates = "com.google.dagger:dagger-lint:" + POM_VERSION, 57 artifact_name = "Dagger Lint Rules", 58 artifact_target = ":lint-artifact-lib", 63 "com.android.tools.lint:lint", 64 "com.android.tools.lint:lint-api", [all …]
|
| D | DaggerKotlinIssueDetector.kt | 16 package dagger.lint in <lambda>() 18 import com.android.tools.lint.client.api.JavaEvaluator in <lambda>() 19 import com.android.tools.lint.client.api.UElementHandler in <lambda>() 20 import com.android.tools.lint.detector.api.Category in <lambda>() 21 import com.android.tools.lint.detector.api.Detector in <lambda>() 22 import com.android.tools.lint.detector.api.Implementation in <lambda>() 23 import com.android.tools.lint.detector.api.Issue in <lambda>() 24 import com.android.tools.lint.detector.api.JavaContext in <lambda>() 25 import com.android.tools.lint.detector.api.LintFix in <lambda>() 26 import com.android.tools.lint.detector.api.Scope in <lambda>() [all …]
|
| D | DaggerIssueRegistry.kt | 16 package dagger.lint 18 import com.android.tools.lint.client.api.IssueRegistry 19 import com.android.tools.lint.client.api.Vendor 20 import com.android.tools.lint.detector.api.CURRENT_API 21 import com.android.tools.lint.detector.api.Issue 25 * Dagger Lint Issues Registry. 27 * A META-INF/services entry is added for this class that Lint will discover and call into for 33 // The minApi is set to the Api this registry was compiled with, if a user has an older Api, Lint 37 // higher number without depending on a newer Lint to avoid Lint warning users of custom checks 43 identifier = "com.google.dagger:dagger-lint",
|
| /external/cronet/build/android/docs/ |
| D | lint.md | 1 # Lint chapter 3 [Android Lint] is [one of the static analysis tools] that Chromium uses to catch 8 [Android Lint]: https://googlesamples.github.io/android-custom-lint-rules/book.md.html 10 [list of checks]: https://googlesamples.github.io/android-custom-lint-rules/checks/index.md.html 14 ## How Chromium uses lint 16 Chromium only runs lint on apk or bundle targets that explicitly set 23 ## My code has a lint error 25 If lint reports an issue in your code, there are several possible remedies. 30 While this isn't always the right response, fixing the lint error or warning 37 that tells lint to ignore the annotated element. It can be used on classes, [all …]
|
| D | static_analysis.md | 7 ## [Android Lint](lint.md) 10 * [Useful checks include](https://googlesamples.github.io/android-custom-lint-rules/checks/index.md… 12 * A list of disabled checks is found [within `lint.py`]. 13 * and [`lint-baseline.xml`] files contain individual suppressions. 14 * Custom lint checks [are possible], but we don't have any. 18 [are possible]: https://googlesamples.github.io/android-custom-lint-rules/api-guide.md.html 19 [within `lint.py`]: https://source.chromium.org/chromium/chromium/src/+/main:build/android/gyp/lint… 20 [`lint-baseline.xml`]: https://source.chromium.org/search?q=f:lint-baseline.xml%20-f:third_party
|
| /external/angle/build/android/gyp/ |
| D | lint.py | 6 """Runs Android's lint tool.""" 22 _LINT_MD_URL = 'https://chromium.googlesource.com/chromium/src/+/main/build/android/docs/lint.md' … 26 "AppCompatResource", # Lint does not correctly detect our appcompat lib. 35 "ObsoleteLintCustomCheck", # We have no control over custom lint checks. 69 # Run lint from output directory: crbug.com/1115594 72 # Lint requires that the sdk path be an absolute path. 83 # Required to make lint-resources.xml be written to a per-target path. 94 # Cannot add generated="true" since then lint does not scan them, and 95 # we get "UnusedResources" lint errors when resources are used only by 102 # non-test files, which lint does not allow: [all …]
|
| /external/llvm/utils/lint/ |
| D | cpp_lint.py | 21 lint = [] 46 lint.append((filename, line_num, 57 lint.append((filename, line_num, 62 lint.append((filename, line_num, 70 return lint 77 lint = [] 78 lint.extend(VerifyIncludes(filename, lines)) 79 lint.extend(common_lint.VerifyLineLength(filename, lines, 81 lint.extend(common_lint.VerifyTabs(filename, lines)) 82 lint.extend(common_lint.VerifyTrailingWhitespace(filename, lines)) [all …]
|
| D | common_lint.py | 3 # Common lint functions applicable to multiple types of files. 20 lint = [] 25 lint.append((filename, line_num, 28 return lint 41 lint = [] 46 lint.append((filename, line_num, 'Tab found instead of whitespace')) 48 return lint 62 lint = [] 67 lint.append((filename, line_num, 'Trailing whitespace')) 69 return lint [all …]
|
| /external/cronet/build/android/gyp/ |
| D | lint.py | 6 """Runs Android's lint tool.""" 22 _LINT_MD_URL = 'https://chromium.googlesource.com/chromium/src/+/main/build/android/docs/lint.md' … 26 "AppCompatResource", # Lint does not correctly detect our appcompat lib. 34 "ObsoleteLintCustomCheck", # We have no control over custom lint checks. 57 # Real NewApi violations crash the app, so the only ones that lint catches 87 # Run lint from output directory: crbug.com/1115594 90 # Lint requires that the sdk path be an absolute path. 123 lint = ElementTree.SubElement(main_module, 'lint-checks') 124 lint.set('file', lint_jar) 148 root_node = ElementTree.fromstring('<lint/>') [all …]
|
| /external/accompanist/permissions-lint/src/main/java/com/google/accompanist/permissions/lint/ |
| D | PermissionsLaunchDetector.kt | 19 package com.google.accompanist.permissions.lint 21 import com.android.tools.lint.detector.api.Category 22 import com.android.tools.lint.detector.api.Detector 23 import com.android.tools.lint.detector.api.Implementation 24 import com.android.tools.lint.detector.api.Issue 25 import com.android.tools.lint.detector.api.JavaContext 26 import com.android.tools.lint.detector.api.Scope 27 import com.android.tools.lint.detector.api.Severity 28 import com.android.tools.lint.detector.api.SourceCodeScanner 29 import com.google.accompanist.permissions.lint.util.Name [all …]
|
| /external/doclava/src/com/google/doclava/ |
| D | Errors.java | 68 // file:row: lint: multi-word-message [code] in parse() 87 int messageStart = (words[0] + " lint: ").length(); in parse() 106 case LINT: res.append(CYAN); break; in toString() 111 case LINT: res.append("lint: "); break; in toString() 122 case LINT: res.append("lint "); break; in toString() 139 if (error.getLevel() == Errors.LINT) { in error() 164 if (resolvedLevel == LINT && lintsAreErrors) { in error() 165 resolvedLevel = isBaselined(error, where, text) ? LINT : ERROR; in error() 206 * Lint level means that we encountered inconsistent or broken documentation. 209 public static final int LINT = 1; field in Errors [all …]
|
| /external/accompanist/permissions-lint/ |
| D | build.gradle.kts | 21 id(libs.plugins.android.lint.get().pluginId) in <lambda>() 28 lint { in <lambda>() 30 htmlOutput = file("lint-report.html") in <lambda>() 42 * jars inside of this lint check's jar. This is required because lintPublish does 44 * lint jar manually. (b/182319899) 55 // The stdlib is already bundled with lint, so no need to include it manually in <lambda>() 56 // in the lint.jar if any dependencies here depend on it in <lambda>() 72 compileOnly(libs.android.tools.lint.api) in <lambda>() 81 testImplementation(libs.android.tools.lint.lint) in <lambda>() 82 testImplementation(libs.android.tools.lint.tests) in <lambda>()
|
| /external/rappor/ |
| D | test.sh | 25 # $ ./test.sh lint # run lint checks 84 # Lint 86 lint() { function 88 py-lint 92 doc-lint 95 python-lint() { 100 echo 'LINT PASSED' 103 echo 'LINT FAILED' 108 py-lint() { 112 # pep8 lint errors [all …]
|
| /external/angle/third_party/spirv-tools/src/source/lint/ |
| D | CMakeLists.txt | 28 add_library(SPIRV-Tools-lint ${SPIRV_TOOLS_LIBRARY_TYPE} ${SPIRV_TOOLS_LINT_SOURCES}) 30 spvtools_default_compile_options(SPIRV-Tools-lint) 31 target_include_directories(SPIRV-Tools-lint 39 target_link_libraries(SPIRV-Tools-lint 42 target_link_libraries(SPIRV-Tools-lint 45 set_property(TARGET SPIRV-Tools-lint PROPERTY FOLDER "SPIRV-Tools libraries") 46 spvtools_check_symbol_exports(SPIRV-Tools-lint) 49 install(TARGETS SPIRV-Tools-lint EXPORT SPIRV-Tools-lintTargets) 52 spvtools_config_package_dir(SPIRV-Tools-lint PACKAGE_DIR) 56 spvtools_generate_config_file(SPIRV-Tools-lint)
|
| /external/swiftshader/third_party/SPIRV-Tools/source/lint/ |
| D | CMakeLists.txt | 28 add_library(SPIRV-Tools-lint ${SPIRV_TOOLS_LIBRARY_TYPE} ${SPIRV_TOOLS_LINT_SOURCES}) 30 spvtools_default_compile_options(SPIRV-Tools-lint) 31 target_include_directories(SPIRV-Tools-lint 39 target_link_libraries(SPIRV-Tools-lint 42 target_link_libraries(SPIRV-Tools-lint 45 set_property(TARGET SPIRV-Tools-lint PROPERTY FOLDER "SPIRV-Tools libraries") 46 spvtools_check_symbol_exports(SPIRV-Tools-lint) 49 install(TARGETS SPIRV-Tools-lint EXPORT SPIRV-Tools-lintTargets) 52 spvtools_config_package_dir(SPIRV-Tools-lint PACKAGE_DIR) 56 spvtools_generate_config_file(SPIRV-Tools-lint)
|
| /external/deqp-deps/SPIRV-Tools/source/lint/ |
| D | CMakeLists.txt | 28 add_library(SPIRV-Tools-lint ${SPIRV_TOOLS_LIBRARY_TYPE} ${SPIRV_TOOLS_LINT_SOURCES}) 30 spvtools_default_compile_options(SPIRV-Tools-lint) 31 target_include_directories(SPIRV-Tools-lint 39 target_link_libraries(SPIRV-Tools-lint 42 target_link_libraries(SPIRV-Tools-lint 45 set_property(TARGET SPIRV-Tools-lint PROPERTY FOLDER "SPIRV-Tools libraries") 46 spvtools_check_symbol_exports(SPIRV-Tools-lint) 49 install(TARGETS SPIRV-Tools-lint EXPORT SPIRV-Tools-lintTargets) 52 spvtools_config_package_dir(SPIRV-Tools-lint PACKAGE_DIR) 56 spvtools_generate_config_file(SPIRV-Tools-lint)
|
| /external/llvm/lib/Analysis/ |
| D | Lint.cpp | 1 //===-- Lint.cpp - Check for common errors in LLVM IR ---------------------===// 37 #include "llvm/Analysis/Lint.h" 69 class Lint : public FunctionPass, public InstVisitor<Lint> { class 70 friend class InstVisitor<Lint>; 118 Lint() : FunctionPass(ID), MessagesStr(Messages) { in Lint() function in __anonbbc9ee500111::Lint 164 char Lint::ID = 0; 165 INITIALIZE_PASS_BEGIN(Lint, "lint", "Statically lint-checks LLVM IR", 171 INITIALIZE_PASS_END(Lint, "lint", "Statically lint-checks LLVM IR", in INITIALIZE_PASS_DEPENDENCY() 178 // Lint::run - This is the main Analysis entry point for a 181 bool Lint::runOnFunction(Function &F) { [all …]
|
| /external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
| D | Lint.cpp | 1 //===-- Lint.cpp - Check for common errors in LLVM IR ---------------------===// 36 #include "llvm/Analysis/Lint.h" 91 class Lint : public FunctionPass, public InstVisitor<Lint> { class 92 friend class InstVisitor<Lint>; 140 Lint() : FunctionPass(ID), MessagesStr(Messages) { in Lint() function in __anond0bcb3b20111::Lint 186 char Lint::ID = 0; 187 INITIALIZE_PASS_BEGIN(Lint, "lint", "Statically lint-checks LLVM IR", 193 INITIALIZE_PASS_END(Lint, "lint", "Statically lint-checks LLVM IR", in INITIALIZE_PASS_DEPENDENCY() 200 // Lint::run - This is the main Analysis entry point for a 203 bool Lint::runOnFunction(Function &F) { [all …]
|
| /external/dagger2/util/ |
| D | deploy-dagger.sh | 144 java/dagger/lint/lint-artifact.jar \ 145 java/dagger/lint/lint-pom.xml \ 146 java/dagger/lint/lint-artifact-src.jar \ 147 java/dagger/lint/lint-artifact-javadoc.jar \ 152 java/dagger/lint/lint-android-artifact.aar \ 153 java/dagger/lint/lint-android-pom.xml \
|
| /external/libxml2/fuzz/ |
| D | Makefile.am | 3 api html lint reader regexp schema uri valid xinclude \ program 33 corpus: seed/html.stamp seed/lint.stamp seed/reader.stamp seed/regexp.stamp \ 141 seed/lint.stamp: genSeed$(EXEEXT) 142 @mkdir -p seed/lint 143 ./genSeed$(EXEEXT) lint $(XML_SEED_CORPUS_SRC) 144 @touch seed/lint.stamp 146 lint_SOURCES = lint.c fuzz.c 149 fuzz-lint: lint$(EXEEXT) seed/lint.stamp 150 @mkdir -p corpus/lint 151 ./lint$(EXEEXT) \ [all …]
|
| /external/pigweed/pw_presubmit/py/ |
| D | ninja_parser_test.py | 28 [1169/1797] ACTION //pw_presubmit/py:py.lint.mypy(//pw_build/python_toolchain:python) 29 \x1b[31mFAILED: python/gen/pw_presubmit/py/py.lint.mypy.pw_pystamp 30 …lint.mypy.pw_pystamp --capture-output --module mypy --python-virtualenv-config python/gen/pw_env_s… 40 [1173/1797] ACTION //pw_thread_freertos/py:py.lint.pylint(//pw_build/python_toolchain:python) 41 [1174/1797] ACTION //pw_symbolizer/py:py.lint.pylint(//pw_build/python_toolchain:python) 42 [1175/1797] ACTION //pw_symbolizer/py:py.lint.pylint(//pw_build/python_toolchain:python) 43 [1176/1797] ACTION //pw_thread_freertos/py:py.lint.pylint(//pw_build/python_toolchain:python) 44 [1177/1797] ACTION //pw_tls_client/py:py.lint.pylint(//pw_build/python_toolchain:python) 45 [1178/1797] ACTION //pw_symbolizer/py:py.lint.pylint(//pw_build/python_toolchain:python) 46 [1179/1797] ACTION //pw_console/py:py.lint.pylint(//pw_build/python_toolchain:python) [all …]
|
| /external/accompanist/gradle/ |
| D | libs.versions.toml | 10 # gradlePlugin and lint need to be updated together 101 android-tools-lint-lint = { module = "com.android.tools.lint:lint", version.ref = "lintMinCompose" } 102 android-tools-lint-api = { module = "com.android.tools.lint:lint-api", version.ref = "lintMinCompos… 103 android-tools-lint-tests = { module = "com.android.tools.lint:lint-tests", version.ref = "lintMinCo… 111 android-lint = { id = "com.android.lint", version.ref = "androidlint"}
|
| /external/XNNPACK/tools/ |
| D | check-assembly-and-jit-microkernels-in-sync.py | 43 # Finds the assembly file associated with the JIT file to write the LINT marker to. 55 # Writes LINT markers to `assembly_file`. 59 if any('LINT.IfChange' in l for l in lines): 60 # Has lint marker, check that the JIT file is found. 67 # This sed script will write LINT markers that wraps the function definition in the assembly file. 72 '/# void xnn/i# LINT.IfChange', 74 '/\/\/ void xnn/i# LINT.IfChange', 76 f'/END_FUNCTION/a# LINT.ThenChange({relative_jit_file})',
|