Home
last modified time | relevance | path

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

12345678910>>...15

/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/Method/
DJDWPMethodVariableTableTestCase.java56 VariableTableChecker checker = new VariableTableChecker("static_NoParam"); in initStaticMethods() local
57 addCheckerToMap(checker); in initStaticMethods()
60 VariableTableChecker checker = new VariableTableChecker("static_BooleanParam"); in initStaticMethods() local
61 checker.addParameter("booleanParam", "Z", 0); in initStaticMethods()
62 addCheckerToMap(checker); in initStaticMethods()
65 VariableTableChecker checker = new VariableTableChecker("static_ByteParam"); in initStaticMethods() local
66 checker.addParameter("byteParam", "B", 0); in initStaticMethods()
67 addCheckerToMap(checker); in initStaticMethods()
70 VariableTableChecker checker = new VariableTableChecker("static_CharParam"); in initStaticMethods() local
71 checker.addParameter("charParam", "C", 0); in initStaticMethods()
[all …]
/external/clang/include/clang/StaticAnalyzer/Core/
DChecker.h31 static void _checkDecl(void *checker, const Decl *D, AnalysisManager& mgr, in _checkDecl() argument
33 ((const CHECKER *)checker)->checkASTDecl(cast<DECL>(D), mgr, BR); in _checkDecl()
41 static void _register(CHECKER *checker, CheckerManager &mgr) { in _register() argument
42 mgr._registerForDecl(CheckerManager::CheckDeclFunc(checker, in _register()
50 static void _checkBody(void *checker, const Decl *D, AnalysisManager& mgr, in _checkBody() argument
52 ((const CHECKER *)checker)->checkASTCodeBody(D, mgr, BR); in _checkBody()
57 static void _register(CHECKER *checker, CheckerManager &mgr) { in _register() argument
58 mgr._registerForBody(CheckerManager::CheckDeclFunc(checker, in _register()
65 static void _checkEndOfTranslationUnit(void *checker, in _checkEndOfTranslationUnit() argument
69 ((const CHECKER *)checker)->checkEndOfTranslationUnit(TU, mgr, BR); in _checkEndOfTranslationUnit()
[all …]
DCheckerManager.h57 CheckerFn(CheckerBase *checker, Func fn) : Fn(fn), Checker(checker) { } in CheckerFn() argument
142 CHECKER *checker = new CHECKER(); in registerChecker() local
143 checker->Name = CurrentCheckName; in registerChecker()
144 CheckerDtors.push_back(CheckerDtor(checker, destruct<CHECKER>)); in registerChecker()
145 CHECKER::_register(checker, *this); in registerChecker()
146 ref = checker; in registerChecker()
147 return checker; in registerChecker()
157 CHECKER *checker = new CHECKER(AOpts); in registerChecker() local
158 checker->Name = CurrentCheckName; in registerChecker()
159 CheckerDtors.push_back(CheckerDtor(checker, destruct<CHECKER>)); in registerChecker()
[all …]
/external/grpc-grpc/src/ruby/spec/pb/health/
Dchecker_spec.rb85 checker = Grpc::Health::Checker.new
86 expect(checker).to_not be(nil)
93 checker = Grpc::Health::Checker.new
94 checker.add_status(t[:service], ServingStatus::NOT_SERVING)
95 got = checker.check(HCReq.new(service: t[:service]), nil)
104 checker = Grpc::Health::Checker.new
105 checker.add_statuses(
109 service1_health = checker.check(HCReq.new(service: 'service1'), nil)
110 service2_health = checker.check(HCReq.new(service: 'service2'), nil)
118 checker = Grpc::Health::Checker.new
[all …]
/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/jacoco/org.jacoco.report.test/src/org/jacoco/report/check/
DBundleCheckerTest.java56 final BundleChecker checker = new BundleChecker(rules, names, this); in testBundleLimit() local
57 checker.checkBundle(createBundle()); in testBundleLimit()
64 final BundleChecker checker = new BundleChecker(rules, names, this); in testPackageLimit() local
65 checker.checkBundle(createBundle()); in testPackageLimit()
72 final BundleChecker checker = new BundleChecker(rules, names, this); in testSourceFileLimit() local
73 checker.checkBundle(createBundle()); in testSourceFileLimit()
80 final BundleChecker checker = new BundleChecker(rules, names, this); in testClassLimit() local
81 checker.checkBundle(createBundle()); in testClassLimit()
88 final BundleChecker checker = new BundleChecker(rules, names, this); in testMethodLimit() local
89 checker.checkBundle(createBundle()); in testMethodLimit()
[all …]
DRulesCheckerTest.java34 private RulesChecker checker; field in RulesCheckerTest
40 checker = new RulesChecker(); in setup()
51 checker.setRules(Arrays.asList(rule)); in testSetRules()
52 driver.sendGroup(checker.createVisitor(this)); in testSetRules()
65 checker.setRules(Arrays.asList(rule)); in testSetLanguageNames()
67 checker.setLanguageNames(new ILanguageNames() { in testSetLanguageNames()
92 driver.sendGroup(checker.createVisitor(this)); in testSetLanguageNames()
/external/python/setuptools/setuptools/tests/
Dtest_packageindex.py229 checker = setuptools.package_index.HashChecker.from_url(
231 checker.feed('You should probably not be using MD5'.encode('ascii'))
232 assert checker.hash.hexdigest() == 'f12895fdffbd45007040d2e44df98478'
233 assert checker.is_valid()
237 checker = setuptools.package_index.HashChecker.from_url(
239 checker.feed('anything'.encode('ascii'))
240 assert checker.is_valid()
244 checker = setuptools.package_index.HashChecker.from_url(
246 checker.feed('anything'.encode('ascii'))
247 assert checker.is_valid()
[all …]
/external/python/cpython2/Doc/tools/
Drstlint.py54 def checker(*suffixes, **kwds): function
65 @checker('.py', severity=4)
79 @checker('.rst', severity=2)
94 @checker('.py', '.rst')
106 @checker('.rst', severity=0)
120 @checker('.html', severity=2, falsepositives=True)
209 for checker in checkerlist:
210 if checker.falsepositives and not falsepos:
212 csev = checker.severity
214 for lno, msg in checker(fn, lines):
/external/python/cpython3/Doc/tools/
Drstlint.py55 def checker(*suffixes, **kwds): function
66 @checker('.py', severity=4)
80 @checker('.rst', severity=2)
95 @checker('.py', '.rst')
107 @checker('.rst', severity=0)
121 @checker('.html', severity=2, falsepositives=True)
205 for checker in checkerlist:
206 if checker.falsepositives and not falsepos:
208 csev = checker.severity
210 for lno, msg in checker(fn, lines):
/external/tensorflow/tensorflow/python/kernel_tests/
Darray_ops_test.py562 checker = StridedSliceChecker(
564 _ = checker[:, :, :]
566 _ = checker[:, :, :]
567 _ = checker[::, ::, ::]
568 _ = checker[::1, ::1, ::1]
570 _ = checker[::1, ::5, ::2]
572 _ = checker[::-1, :, :]
573 _ = checker[:, ::-1, :]
574 _ = checker[:, :, ::-1]
576 _ = checker[-2::-1, :, ::1]
[all …]
/external/tensorflow/tensorflow/core/profiler/internal/advisor/
DBUILD10 name = "checker",
11 hdrs = ["checker.h"],
33 ":checker",
41 ":checker",
49 ":checker",
58 ":checker",
Dtfprof_advisor.h38 for (const string& checker : checkers) { in DefaultOptions() local
39 (*options.mutable_checkers())[checker]; in DefaultOptions()
64 for (const auto& checker : ret.checkers()) { in Advise() local
65 fprintf(stdout, "\n%s:\n", checker.first.c_str()); in Advise()
66 for (const string& r : checker.second.reports()) { in Advise()
/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/skqp/gm/
Dskbug_257.cpp78 SkPaint checker; variable
79 rotated_checkerboard_shader(&checker, SK_ColorWHITE, SK_ColorBLACK, 16);
80 checker.setAntiAlias(true);
90 canvas->drawRect(rect, checker);
97 canvas->drawRRect(rrect, checker);
110 checker.setStyle(SkPaint::kStroke_Style);
111 checker.setStrokeWidth(8);
112 checker.setStrokeCap(SkPaint::kRound_Cap);
113 canvas->drawPoints(SkCanvas::kLines_PointMode, 8, points, checker);
/external/skia/gm/
Dskbug_257.cpp78 SkPaint checker; variable
79 rotated_checkerboard_shader(&checker, SK_ColorWHITE, SK_ColorBLACK, 16);
80 checker.setAntiAlias(true);
90 canvas->drawRect(rect, checker);
97 canvas->drawRRect(rrect, checker);
110 checker.setStyle(SkPaint::kStroke_Style);
111 checker.setStrokeWidth(8);
112 checker.setStrokeCap(SkPaint::kRound_Cap);
113 canvas->drawPoints(SkCanvas::kLines_PointMode, 8, points, checker);
/external/swiftshader/third_party/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
/external/swiftshader/third_party/llvm-7.0/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
/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
/external/clang/lib/StaticAnalyzer/Core/
DCheckerRegistry.cpp30 static bool isInPackage(const CheckerRegistry::CheckerInfo &checker, in isInPackage() argument
33 if (!checker.FullName.startswith(packageName)) in isInPackage()
37 if (checker.FullName.size() == packageName.size()) in isInPackage()
41 if (checker.FullName[packageName.size()] == PackageSeparator) in isInPackage()
126 for (auto &checker : Checkers) { in validateCheckerOptions() local
127 if (checker.FullName.startswith(checkerName) && in validateCheckerOptions()
128 (checker.FullName.size() == pos || checker.FullName[pos] == '.')) { in validateCheckerOptions()
/external/droiddriver/src/io/appium/droiddriver/base/
DDefaultPoller.java60 public <T> T pollFor(DroidDriver driver, Finder finder, ConditionChecker<T> checker) { in pollFor() argument
61 return pollFor(driver, finder, checker, timeoutMillis); in pollFor()
65 public <T> T pollFor(DroidDriver driver, Finder finder, ConditionChecker<T> checker, in pollFor() argument
73 if (checker == GONE) { in pollFor()
78 return checker.check(driver, finder); in pollFor()
93 "Timed out after %d milliseconds waiting for %s %s", timeoutMillis, finder, checker)); in pollFor()
/external/opencensus-java/checker-framework/stubs/
Dguava.astub1 import org.checkerframework.checker.nullness.qual.EnsuresNonNullIf;
2 import org.checkerframework.checker.nullness.qual.NonNull;
3 import org.checkerframework.checker.nullness.qual.Nullable;
/external/guava/guava-tests/test/com/google/common/io/
DMultiInputStreamTest.java51 ByteSource checker = new ByteSource() { in testOnlyOneOpen() local
65 byte[] result = ByteSource.concat(checker, checker, checker).read(); in testOnlyOneOpen()
/external/python/cpython2/Tools/webchecker/
Dwebchecker.py515 return Page(text, url, maxpage=self.maxpage, checker=self)
663 def __init__(self, text, url, verbose=VERBOSE, maxpage=MAXPAGE, checker=None): argument
668 self.checker = checker
679 self.checker.note(2, " Parsing %s (%d bytes)", self.url, size)
681 checker=self.checker)
686 if self.checker:
687 apply(self.checker.note, (level, msg) + args)
779 def __init__(self, url, verbose=VERBOSE, checker=None): argument
781 self.checker = checker
798 self.checker.message("WARNING: duplicate ID name %s in %s",
[all …]
/external/skia/tests/
DPromiseImageTest.cpp48 auto checker = static_cast<PromiseTextureChecker*>(self); in Fulfill() local
49 checker->fFulfillCount++; in Fulfill()
50 return checker->fTexture; in Fulfill()
53 auto checker = static_cast<PromiseTextureChecker*>(self); in Release() local
54 checker->fReleaseCount++; in Release()
55 if (!checker->fShared) { in Release()
58 REPORTER_ASSERT(checker->fReporter, checker->fReleaseCount == checker->fFulfillCount); in Release()

12345678910>>...15