/external/clang/include/clang/StaticAnalyzer/Core/ |
Checker.h | 1 //== Checker.h - Registration mechanism for checkers -------------*- C++ -*--=// 10 // This file defines Checker, used to create and register checkers. 29 static void _register(void *checker, CheckerManager &mgr) { } 34 template <typename CHECKER> 35 static void _checkDecl(void *checker, const Decl *D, AnalysisManager& mgr, 37 ((const CHECKER *)checker)->checkASTDecl(llvm::cast<DECL>(D), mgr, BR); 44 template <typename CHECKER> 45 static void _register(CHECKER *checker, CheckerManager &mgr) [all...] |
/external/webkit/Tools/Scripts/webkitpy/style/checkers/ |
xml_unittest.py | 38 checker = xml.XMLChecker('foo.xml', handle_style_error) 39 checker.check(xml_data.split('\n')) 46 checker = xml.XMLChecker('foo.xml', handle_style_error) 47 checker.check(xml_data.split('\n')) 60 checker = xml.XMLChecker('foo.xml', self.mock_handle_style_error) 61 self.assertEquals(checker.file_path, 'foo.xml') 62 self.assertEquals(checker.handle_style_error, self.mock_handle_style_error) 68 checker = xml.XMLChecker('foo.xml', self.assert_no_error) 69 checker.check(['<foo>', '</foo>'])
|
python_unittest.py | 40 checker = PythonChecker("foo.txt", _mock_handle_style_error) 41 self.assertEquals(checker._file_path, "foo.txt") 42 self.assertEquals(checker._handle_style_error, 57 checker = PythonChecker(file_path, _mock_handle_style_error) 58 checker.check(lines=[])
|
python.py | 38 # Checker.check_all() to execute. 41 checker = pep8.Checker(self._file_path) 54 checker.report_error = _pep8_handle_error 56 errors = checker.check_all()
|
changelog_unittest.py | 39 checker = changelog.ChangeLogChecker('ChangeLog', handle_style_error, self.mock_should_line_be_checked) 40 checker.check(changelog_data.split('\n')) 50 checker = changelog.ChangeLogChecker('ChangeLog', handle_style_error, self.mock_should_line_be_checked) 51 checker.check(changelog_data.split('\n')) 61 checker = changelog.ChangeLogChecker('ChangeLog', self.mock_handle_style_error, self.mock_should_line_be_checked) 62 self.assertEquals(checker.file_path, 'ChangeLog') 63 self.assertEquals(checker.handle_style_error, self.mock_handle_style_error) 64 self.assertEquals(checker.should_line_be_checked, self.mock_should_line_be_checked)
|
text.py | 49 checker = TextChecker(filename, error) 50 checker.check(lines)
|
common_unittest.py | 33 # of a checker's categories are covered by the unit tests. 58 checker = CarriageReturnChecker(handle_style_error) 59 output_lines = checker.check(input_lines) 111 checker = TabChecker('', style_error_handler) 112 checker.check(input_lines)
|
text_unittest.py | 88 checker = TextChecker("foo.txt", self.mock_handle_style_error) 89 self.assertEquals(checker.file_path, "foo.txt") 90 self.assertEquals(checker.handle_style_error, self.mock_handle_style_error)
|
/tools/motodev/src/plugins/preflighting.core/src/com/motorolamobility/preflighting/core/checker/ |
CheckerExtension.java | 16 package com.motorolamobility.preflighting.core.checker;
23 * Bean class representing a checker extension.
29 + ".checker"; //$NON-NLS-1$
31 public static final String CHECKER_EXTENSION_POINT_ELEMENT_CHECKER = "checker"; //$NON-NLS-1$
47 private final IChecker checker;
field in class:CheckerExtension 54 * Creates a new checker extension object.
56 * @param id Checker id.
57 * @param name Checker name.
58 * @param description Checker description.
59 * @param checker Checker object. [all...] |
CheckerDescription.java | 16 package com.motorolamobility.preflighting.core.checker;
19 * This class describes a checker and is intended to be used by UI classes
33 * @return The checker id.
41 * Sets the checker id.
42 * @param id the checker id.
50 * Returns the checker name.
51 * @return the checker name.
59 * Sets the checker name.
60 * @param name the checker name.
68 * Returns the checker description. [all...] |
IChecker.java | 16 package com.motorolamobility.preflighting.core.checker;
27 import com.motorolamobility.preflighting.core.checker.condition.ICondition;
28 import com.motorolamobility.preflighting.core.checker.parameter.ICheckerParameter;
38 * It is recommended to use the {@link Checker} class and override just the necessary methods instead of implementing this Interface.
58 * Verifies is this Checker can be executed or not.
76 * @return The checker unique identifier.
83 * @param id Returns the checker unique identifier.
97 * Set the conditions defined by the checker. Conditions are not mandatory, so setting conditions is optional.
125 * @return true if this checker is set as enabled to run, false otherwise.
130 * Enables or disables the checker. [all...] |
/external/chromium-trace/trace-viewer/third_party/python_gflags/ |
gflags_validators.py | 55 def __init__(self, checker, message): 59 checker: function to verify the constraint. 64 self.checker = checker 80 if not self.checker(param): 95 """Given flag values, construct the input to be given to checker. 108 Validates that a single flag passes its checker function. The checker function 111 def __init__(self, flag_name, checker, message): 116 checker: function to verify the validator [all...] |
/tools/motodev/src/plugins/preflighting.core/src/com/motorolamobility/preflighting/core/checker/condition/ |
Condition.java | 17 package com.motorolamobility.preflighting.core.checker.condition;
22 import com.motorolamobility.preflighting.core.checker.IChecker;
30 * Default implementation for a Checker Condition.
33 * Note that the attributes id, name, description, defaultSeverityLevel and checker are all filled
61 * Checker that is the owner of this Condition.
63 protected IChecker checker;
field in class:Condition 151 * @see com.motorolamobility.preflighting.core.checker.condition.ICondition#getSeverityLevel()
160 * @see com.motorolamobility.preflighting.core.checker.condition.ICondition#setSeverityLevel(com.motorolamobility.preflighting.core.validation.ValidationResultData.SEVERITY)
168 * @return Checker associated with the condition.
172 return checker;
[all...] |
ICondition.java | 16 package com.motorolamobility.preflighting.core.checker.condition; 21 import com.motorolamobility.preflighting.core.checker.IChecker; 29 * A Checker Condition. 30 * This class is responsible to verify one specific condition for a given Checker. 31 * All Checkers must supply a Condition, even if there is only one condition in a Checker. 48 * the checker. 56 * that prevents this checker from executing properly. 61 * the checker. 109 * @param checker the checker that is the owner of this condition [all...] |
/external/webkit/Source/WebCore/platform/graphics/android/layers/ |
PictureLayerContent.cpp | 62 InspectorCanvas checker(&inspectorBounder, m_picture); 67 checker.setBitmapDevice(bitmap); 68 checker.drawPicture(*m_picture); 69 m_hasText = checker.hasText(); 70 if (!checker.hasContent()) {
|
/external/webkit/Tools/Scripts/webkitpy/style/ |
checker_unittest.py | 41 import checker as style 44 from checker import _BASE_FILTER_RULES 45 from checker import _MAX_REPORTS_PER_CATEGORY 46 from checker import _PATH_RULES_SPECIFIER as PATH_RULES_SPECIFIER 47 from checker import _all_categories 48 from checker import check_webkit_style_configuration 49 from checker import check_webkit_style_parser 50 from checker import configure_logging 51 from checker import CheckerDispatcher 52 from checker import ProcessorBas [all...] |
/tools/motodev/src/plugins/preflighting.samplechecker.androidlabel/src/com/motorolamobility/preflighting/samplechecker/androidlabel/implementation/ |
AndroidLabelChecker.java | 24 import com.motorolamobility.preflighting.core.checker.Checker;
25 import com.motorolamobility.preflighting.core.checker.IChecker;
26 import com.motorolamobility.preflighting.core.checker.condition.CanExecuteConditionStatus;
30 * This Checker is responsible for verify Android Label issues. In
33 * This checker is intended to be used as an sample so App Validator
37 public class AndroidLabelChecker extends Checker implements IChecker
45 * @see com.motorolamobility.preflighting.core.checker.Checker#validateInputParams(java.util.List)
|
/frameworks/native/opengl/tools/glgen/src/ |
EGLCodeEmitter.java | 36 ParameterChecker checker, 40 mChecker = checker;
|
GLESCodeEmitter.java | 36 ParameterChecker checker, 40 mChecker = checker;
|
/external/llvm/utils/ |
check-each-file | 49 checker="$4" 54 echo "$myname OBJECTS-FILE PROGRAM LINKER CHECKER" 62 echo "CHECKER is the script that exits 0 if PROGRAM is ok, 1 if it is not OK" 63 echo "(LINKER and CHECKER must be in your PATH, or you should specify ./)" 101 if [ -z "$checker" ] 106 if [ ! -x "$checker" ] 108 echo "ERROR: $checker not found or not executable" 121 if $checker 133 if $checker
|
/tools/motodev/src/plugins/preflighting.checkers/src/com/motorolamobility/preflighting/checkers/missingdrawable/ |
AllDensitiesSupportCondition.java | 27 import com.motorolamobility.preflighting.core.checker.condition.CanExecuteConditionStatus;
28 import com.motorolamobility.preflighting.core.checker.condition.Condition;
29 import com.motorolamobility.preflighting.core.checker.condition.ICondition;
45 * @see com.motorolamobility.preflighting.core.checker.condition.Condition#execute(com.motorolamobility.preflighting.core.applicationdata.ApplicationData, java.util.List, com.motorolamobility.preflighting.core.validation.ValidationManagerConfiguration, com.motorolamobility.preflighting.core.validation.ValidationResult)
54 MissingDrawableChecker checker;
local 57 checker = (MissingDrawableChecker) getChecker();
58 missingDrawableData = checker.getMissingDrawableData();
67 * @see com.motorolamobility.preflighting.core.checker.condition.Condition#canExecute(com.motorolamobility.preflighting.core.applicationdata.ApplicationData, java.util.List)
|
MissingDrawableFoldersCondition.java | 27 import com.motorolamobility.preflighting.core.checker.condition.CanExecuteConditionStatus;
28 import com.motorolamobility.preflighting.core.checker.condition.Condition;
29 import com.motorolamobility.preflighting.core.checker.condition.ICondition;
46 * @see com.motorolamobility.preflighting.core.checker.condition.Condition#execute(com.motorolamobility.preflighting.core.applicationdata.ApplicationData, java.util.List, com.motorolamobility.preflighting.core.validation.ValidationManagerConfiguration, com.motorolamobility.preflighting.core.validation.ValidationResult)
55 MissingDrawableChecker checker;
local 58 checker = (MissingDrawableChecker) getChecker();
59 missingDrawableData = checker.getMissingDrawableData();
68 * @see com.motorolamobility.preflighting.core.checker.condition.Condition#canExecute(com.motorolamobility.preflighting.core.applicationdata.ApplicationData, java.util.List)
|
/external/chromium-trace/trace-viewer/third_party/closure_linter/closure_linter/ |
fixjsstyle.py | 25 from closure_linter import checker namespace 50 style_checker = checker.JavaScriptStyleChecker(error_fixer.ErrorFixer())
|
/external/webkit/Tools/Scripts/ |
check-webkit-style | 52 import webkitpy.style.checker as checker namespace 54 from webkitpy.style.checker import StyleProcessor 71 # the checker.configure_logging() function for more information. 86 checker.configure_logging(stream=stderr, is_verbose=is_verbose) 89 parser = checker.check_webkit_style_parser() 107 configuration = checker.check_webkit_style_configuration(options)
|
/tools/motodev/src/plugins/preflighting.core/src/com/motorolamobility/preflighting/core/internal/checker/ |
CheckerExtensionReader.java | 16 package com.motorolamobility.preflighting.core.internal.checker;
36 import com.motorolamobility.preflighting.core.checker.Checker;
37 import com.motorolamobility.preflighting.core.checker.CheckerExtension;
38 import com.motorolamobility.preflighting.core.checker.IChecker;
39 import com.motorolamobility.preflighting.core.checker.condition.ICondition;
40 import com.motorolamobility.preflighting.core.checker.parameter.CheckerParameter;
41 import com.motorolamobility.preflighting.core.checker.parameter.ICheckerParameter;
52 * Load existing checkers, mapped by checker id (value used to call the checker
94 IChecker checker = null; local [all...] |