Home
last modified time | relevance | path

Searched refs:checker (Results 1 – 25 of 361) sorted by relevance

12345678910>>...15

/external/chromium_org/chrome/browser/extensions/
Dextension_install_checker_unittest.cc151 void RunSecondInvocation(ExtensionInstallCheckerForTest* checker, in RunSecondInvocation() argument
154 EXPECT_FALSE(checker->is_running()); in RunSecondInvocation()
155 ValidateExpectedCalls(ExtensionInstallChecker::CHECK_ALL, *checker); in RunSecondInvocation()
158 checker->set_blacklist_state(kBlacklistState2); in RunSecondInvocation()
159 checker->set_policy_check_error(kDummyPolicyError2); in RunSecondInvocation()
160 checker->set_requirements_error(kDummyRequirementsError2); in RunSecondInvocation()
164 checker->Start( in RunSecondInvocation()
169 checker)); in RunSecondInvocation()
172 void ValidateSecondInvocation(ExtensionInstallCheckerForTest* checker, in ValidateSecondInvocation() argument
174 EXPECT_FALSE(checker->is_running()); in ValidateSecondInvocation()
[all …]
/external/chromium_org/mojo/public/cpp/bindings/tests/
Dbounds_checker_unittest.cc25 checker(ToPtr(std::numeric_limits<uintptr_t>::max() - 3000), 5000, 0); in TEST() local
27 EXPECT_FALSE(checker.IsValidRange( in TEST()
29 EXPECT_FALSE(checker.ClaimMemory( in TEST()
37 internal::BoundsChecker checker(ToPtr(0), 0, num_handles); in TEST() local
39 EXPECT_FALSE(checker.ClaimHandle(Handle(0))); in TEST()
41 checker.ClaimHandle(Handle(std::numeric_limits<uint32_t>::max() - 1))); in TEST()
44 checker.ClaimHandle(Handle(internal::kEncodedInvalidHandleValue))); in TEST()
51 internal::BoundsChecker checker(ToPtr(1234), 100, 0); in TEST() local
54 EXPECT_FALSE(checker.IsValidRange(ToPtr(100), 5)); in TEST()
55 EXPECT_FALSE(checker.IsValidRange(ToPtr(1230), 50)); in TEST()
[all …]
/external/clang/include/clang/StaticAnalyzer/Core/
DChecker.h29 static void _register(void *checker, CheckerManager &mgr) { } in _register()
35 static void _checkDecl(void *checker, const Decl *D, AnalysisManager& mgr, in _checkDecl() argument
37 ((const CHECKER *)checker)->checkASTDecl(cast<DECL>(D), mgr, BR); in _checkDecl()
45 static void _register(CHECKER *checker, CheckerManager &mgr) { in _register() argument
46 mgr._registerForDecl(CheckerManager::CheckDeclFunc(checker, in _register()
54 static void _checkBody(void *checker, const Decl *D, AnalysisManager& mgr, in _checkBody() argument
56 ((const CHECKER *)checker)->checkASTCodeBody(D, mgr, BR); in _checkBody()
61 static void _register(CHECKER *checker, CheckerManager &mgr) { in _register() argument
62 mgr._registerForBody(CheckerManager::CheckDeclFunc(checker, in _register()
69 static void _checkEndOfTranslationUnit(void *checker, in _checkEndOfTranslationUnit() argument
[all …]
DCheckerManager.h57 CheckerFn(CheckerBase *checker, Func fn) : Fn(fn), Checker(checker) { } in CheckerFn() argument
69 CheckerFn(CheckerBase *checker, Func fn) : Fn(fn), Checker(checker) { } in CheckerFn() argument
81 CheckerFn(CheckerBase *checker, Func fn) : Fn(fn), Checker(checker) { } in CheckerFn() argument
91 CheckerFn(CheckerBase *checker, Func fn) : Fn(fn), Checker(checker) { } in CheckerFn() argument
101 CheckerFn(CheckerBase *checker, Func fn) : Fn(fn), Checker(checker) { } in CheckerFn() argument
111 CheckerFn(CheckerBase *checker, Func fn) : Fn(fn), Checker(checker) { } in CheckerFn() argument
191 CHECKER *checker = new CHECKER(); in registerChecker() local
192 checker->Name = CurrentCheckName; in registerChecker()
193 CheckerDtors.push_back(CheckerDtor(checker, destruct<CHECKER>)); in registerChecker()
194 CHECKER::_register(checker, *this); in registerChecker()
[all …]
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/style/checkers/
Dpng_unittest.py55checker = PNGChecker("test/config", mock_handle_style_error, MockSCMDetector('git'), MockSystemHos…
56 self.assertEqual(checker._file_path, "test/config")
57 self.assertEqual(checker._handle_style_error, mock_handle_style_error)
71 checker = PNGChecker(file_path, mock_handle_style_error, scm, MockSystemHost(filesystem=fs))
72 checker.check()
81checker = PNGChecker("config", mock_handle_style_error, scm, MockSystemHost(os_name='linux', files…
82 checker.check()
89checker = PNGChecker("config", mock_handle_style_error, scm, MockSystemHost(os_name='linux', files…
90 checker.check()
97checker = PNGChecker("config", mock_handle_style_error, scm, MockSystemHost(os_name='linux', files…
[all …]
Dpython_unittest.py40 checker = PythonChecker("foo.txt", _mock_handle_style_error)
41 self.assertEqual(checker._file_path, "foo.txt")
42 self.assertEqual(checker._handle_style_error,
57 checker = PythonChecker(file_path, _mock_handle_style_error)
58 checker.check(lines=[])
Dxml_unittest.py50 checker = xml.XMLChecker('foo.xml', error_handler)
51 checker.check(xml_data.split('\n'))
63 checker = xml.XMLChecker('foo.xml', error_handler)
64 checker.check(xml_data.split('\n'))
79 checker = xml.XMLChecker('foo.xml', error_handler)
80 self.assertEqual(checker._handle_style_error, error_handler)
Djsonchecker_unittest.py61 checker = jsonchecker.JSONChecker('foo.json', error_handler)
62 checker.check(json_data.split('\n'))
75 checker = jsonchecker.JSONChecker('foo.json', error_handler)
76 checker.check(json_data.split('\n'))
91 checker = jsonchecker.JSONChecker('foo.json', error_handler)
92 self.assertEqual(checker._handle_style_error, error_handler)
Dtest_expectations_unittest.py70 checker = TestExpectationsChecker('test/TestExpectations',
75 self.assertIsNotNone(checker._port_obj)
76 checker._port_obj = host.port_factory.get('test-mac-leopard')
78 checker.check_test_expectations(expectations_str='\n'.join(lines),
80 checker.check_tabs(lines)
/external/pixman/test/
Dutils.c1352 pixel_checker_init (pixel_checker_t *checker, pixman_format_code_t format) in pixel_checker_init() argument
1356 checker->format = format; in pixel_checker_init()
1361 checker->bs = 0; in pixel_checker_init()
1362 checker->gs = 0; in pixel_checker_init()
1363 checker->rs = 0; in pixel_checker_init()
1364 checker->as = 0; in pixel_checker_init()
1369 checker->bs = 0; in pixel_checker_init()
1370 checker->gs = checker->bs + PIXMAN_FORMAT_B (format); in pixel_checker_init()
1371 checker->rs = checker->gs + PIXMAN_FORMAT_G (format); in pixel_checker_init()
1372 checker->as = checker->rs + PIXMAN_FORMAT_R (format); in pixel_checker_init()
[all …]
Dutils.h211 pixel_checker_init (pixel_checker_t *checker, pixman_format_code_t format);
214 pixel_checker_split_pixel (const pixel_checker_t *checker, uint32_t pixel,
218 pixel_checker_get_max (const pixel_checker_t *checker, color_t *color,
222 pixel_checker_get_min (const pixel_checker_t *checker, color_t *color,
226 pixel_checker_check (const pixel_checker_t *checker,
230 pixel_checker_convert_pixel_to_color (const pixel_checker_t *checker,
234 pixel_checker_get_masks (const pixel_checker_t *checker,
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/style/
Dchecker_unittest.py40 import checker as style
42 from checker import _BASE_FILTER_RULES
43 from checker import _MAX_REPORTS_PER_CATEGORY
44 from checker import _PATH_RULES_SPECIFIER as PATH_RULES_SPECIFIER
45 from checker import _all_categories
46 from checker import check_webkit_style_configuration
47 from checker import check_webkit_style_parser
48 from checker import configure_logging
49 from checker import CheckerDispatcher
50 from checker import ProcessorBase
[all …]
Dchecker.py473 checker = None
476 checker = CppChecker(file_path, file_extension,
479 checker = JSONChecker(file_path, handle_style_error)
481 checker = PythonChecker(file_path, handle_style_error)
483 checker = XMLChecker(file_path, handle_style_error)
485 checker = XcodeProjectFileChecker(file_path, handle_style_error)
487 checker = PNGChecker(file_path, handle_style_error)
491 checker = TestExpectationsChecker(file_path, handle_style_error)
493 checker = TextChecker(file_path, handle_style_error)
502 return checker
[all …]
Dmain.py27 import webkitpy.style.checker as checker namespace
29 from webkitpy.style.checker import StyleProcessor
135 checker.configure_logging(stream=stderr, is_verbose=is_verbose)
138 parser = checker.check_webkit_style_parser()
141 configuration = checker.check_webkit_style_configuration(options)
/external/proguard/src/proguard/
DUpToDateChecker.java52 ModificationTimeChecker checker = new ModificationTimeChecker(); in check() local
54 checker.updateInputModificationTime(configuration.lastModified); in check()
67 checker.updateModificationTime(classPathEntry.getFile(), in check()
80 checker.updateModificationTime(classPathEntry.getFile(), in check()
86 checker.updateInputModificationTime(configuration.applyMapping); in check()
87 checker.updateInputModificationTime(configuration.obfuscationDictionary); in check()
88 checker.updateInputModificationTime(configuration.classObfuscationDictionary); in check()
89 checker.updateInputModificationTime(configuration.packageObfuscationDictionary); in check()
92 checker.updateOutputModificationTime(configuration.printSeeds); in check()
93 checker.updateOutputModificationTime(configuration.printUsage); in check()
[all …]
/external/chromium_org/third_party/tlslite/tlslite/integration/
Dclienthelper.py12 from tlslite.checker import Checker
21 checker=None, argument
77 self.checker = None
100 self.checker = checker
109 checker=self.checker,
115 checker=self.checker)
119 checker=self.checker,
/external/chromium_org/chrome/browser/sync/test/integration/
Dsync_integration_test_util.cc43 PassphraseRequiredChecker checker(service); in AwaitPassphraseRequired() local
44 checker.Wait(); in AwaitPassphraseRequired()
45 return !checker.TimedOut(); in AwaitPassphraseRequired()
49 PassphraseAcceptedChecker checker(service); in AwaitPassphraseAccepted() local
50 checker.Wait(); in AwaitPassphraseAccepted()
51 return !checker.TimedOut(); in AwaitPassphraseAccepted()
55 UpdatedProgressMarkerChecker checker(service); in AwaitCommitActivityCompletion() local
56 checker.Wait(); in AwaitCommitActivityCompletion()
57 return !checker.TimedOut(); in AwaitCommitActivityCompletion()
Dthemes_helper.cc153 ThemePendingInstallChecker checker(profile, theme); in AwaitThemeIsPendingInstall() local
154 checker.Wait(); in AwaitThemeIsPendingInstall()
155 return !checker.TimedOut(); in AwaitThemeIsPendingInstall()
245 ThemeConditionChecker checker( in AwaitUsingSystemTheme() local
249 checker.Wait(); in AwaitUsingSystemTheme()
250 return !checker.TimedOut(); in AwaitUsingSystemTheme()
254 ThemeConditionChecker checker( in AwaitUsingDefaultTheme() local
258 checker.Wait(); in AwaitUsingDefaultTheme()
259 return !checker.TimedOut(); in AwaitUsingDefaultTheme()
Dpreferences_helper.cc364 ListPrefMatchChecker checker(pref_name); in AwaitListPrefMatches() local
365 checker.Wait(); in AwaitListPrefMatches()
366 return !checker.TimedOut(); in AwaitListPrefMatches()
370 BooleanPrefMatchChecker checker(pref_name); in AwaitBooleanPrefMatches() local
371 checker.Wait(); in AwaitBooleanPrefMatches()
372 return !checker.TimedOut(); in AwaitBooleanPrefMatches()
376 IntegerPrefMatchChecker checker(pref_name); in AwaitIntegerPrefMatches() local
377 checker.Wait(); in AwaitIntegerPrefMatches()
378 return !checker.TimedOut(); in AwaitIntegerPrefMatches()
382 StringPrefMatchChecker checker(pref_name); in AwaitStringPrefMatches() local
[all …]
/external/chromium_org/tools/gn/
Dheader_checker_unittest.cc72 scoped_refptr<HeaderChecker> checker( in TEST_F() local
91 EXPECT_FALSE(checker->IsDependencyOf(&a_, &a_, &chain, &is_permitted)); in TEST_F()
96 EXPECT_TRUE(checker->IsDependencyOf(&b_, &a_, &chain, &is_permitted)); in TEST_F()
106 EXPECT_TRUE(checker->IsDependencyOf(&c_, &a_, &chain, &is_permitted)); in TEST_F()
116 EXPECT_FALSE(checker->IsDependencyOf(&a_, &c_, &chain, &is_permitted)); in TEST_F()
125 EXPECT_TRUE(checker->IsDependencyOf(&c_, &a_, &chain, &is_permitted)); in TEST_F()
136 EXPECT_TRUE(checker->IsDependencyOf(&c_, &p, &chain, &is_permitted)); in TEST_F()
165 scoped_refptr<HeaderChecker> checker( in TEST_F() local
171 EXPECT_FALSE(checker->CheckInclude(&a_, input_file, d_header, range, &err)); in TEST_F()
176 EXPECT_TRUE(checker->CheckInclude(&a_, input_file, b_public, range, &err)); in TEST_F()
[all …]
/external/chromium-trace/trace-viewer/third_party/python_gflags/
Dgflags_validators.py55 def __init__(self, checker, message): argument
64 self.checker = checker
80 if not self.checker(param):
111 def __init__(self, flag_name, checker, message): argument
124 super(SimpleValidator, self).__init__(checker, message)
151 def __init__(self, flag_names, checker, message): argument
165 super(DictionaryValidator, self).__init__(checker, message)
/external/chromium_org/third_party/python_gflags/
Dgflags_validators.py55 def __init__(self, checker, message): argument
64 self.checker = checker
80 if not self.checker(param):
111 def __init__(self, flag_name, checker, message): argument
124 super(SimpleValidator, self).__init__(checker, message)
151 def __init__(self, flag_names, checker, message): argument
165 super(DictionaryValidator, self).__init__(checker, message)
/external/chromium_org/chrome/browser/
Dtest_presubmit.py38 self.checker = resource_checker.ResourceChecker(input_api, output_api)
42 error = self.checker.IncludeCheck(1, line)
50 self.assertEqual('', self.checker.IncludeCheck(1, line),
83 self.checker = js_checker.JSChecker(input_api, output_api)
87 error = self.checker.ConstCheck(1, line)
94 self.assertEqual('', self.checker.ConstCheck(1, line),
146 error = self.checker.ChromeSendCheck(1, line)
155 self.assertEqual('', self.checker.ChromeSendCheck(1, line),
178 error = self.checker.EndJsDocCommentCheck(1, line)
185 self.assertEqual('', self.checker.EndJsDocCommentCheck(1, line),
[all …]
/external/clang/include/clang/StaticAnalyzer/Core/BugReporter/
DBugType.h42 BugType(const CheckerBase *checker, StringRef name, StringRef cat) in BugType() argument
43 : Check(checker->getCheckName()), Name(name), Category(cat), in BugType()
68 BuiltinBug(const CheckerBase *checker, const char *name, in BuiltinBug() argument
70 : BugType(checker, name, categories::LogicError), desc(description) {} in BuiltinBug()
72 BuiltinBug(const CheckerBase *checker, const char *name) in BuiltinBug() argument
73 : BugType(checker, name, categories::LogicError), desc(name) {} in BuiltinBug()
/external/llvm/utils/
Dcheck-each-file49 checker="$4"
101 if [ -z "$checker" ]
106 if [ ! -x "$checker" ]
108 echo "ERROR: $checker not found or not executable"
121 if $checker
133 if $checker

12345678910>>...15