Home
last modified time | relevance | path

Searched refs:analyzer (Results 1 – 25 of 232) sorted by relevance

12345678910

/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/internal/flow/
DLabelFlowAnalyzerTest.java30 private LabelFlowAnalyzer analyzer; field in LabelFlowAnalyzerTest
36 analyzer = new LabelFlowAnalyzer(); in setup()
42 assertFalse(analyzer.successor); in testInit()
43 assertTrue(analyzer.first); in testInit()
44 assertNull(analyzer.lineStart); in testInit()
55 analyzer.visitJumpInsn(GOTO, label); in testFlowScenario02()
62 analyzer.visitInsn(RETURN); in testFlowScenario03()
63 analyzer.visitLabel(label); in testFlowScenario03()
70 analyzer.visitLabel(label); in testFlowScenario04()
77 analyzer.visitLabel(label); in testFlowScenario05()
[all …]
DFrameSnapshotTest.java30 private AnalyzerAdapter analyzer; field in FrameSnapshotTest
39 analyzer = new AnalyzerAdapter("Foo", 0, "doit", "()V", null); in setup()
58 analyzer.visitJumpInsn(Opcodes.GOTO, new Label()); in testNoFrame()
59 frame = FrameSnapshot.create(analyzer, 0); in testNoFrame()
64 analyzer.visitInsn(Opcodes.ICONST_0); in testFrame()
65 frame = FrameSnapshot.create(analyzer, 0); in testFrame()
73 analyzer.visitInsn(Opcodes.ICONST_0); in testReduce()
74 analyzer.visitInsn(Opcodes.LCONST_0); in testReduce()
75 analyzer.visitInsn(Opcodes.ICONST_0); in testReduce()
76 analyzer.visitInsn(Opcodes.DCONST_0); in testReduce()
[all …]
/external/libchrome/base/test/
Dtrace_event_analyzer_unittest.cc83 std::unique_ptr<TraceAnalyzer> analyzer( in TEST_F() local
85 ASSERT_TRUE(analyzer.get()); in TEST_F()
89 analyzer->FindEvents(Query::Bool(true), &found); in TEST_F()
242 std::unique_ptr<TraceAnalyzer> analyzer( in TEST_F() local
244 ASSERT_TRUE(analyzer); in TEST_F()
245 analyzer->SetIgnoreMetadataEvents(true); in TEST_F()
251 analyzer->FindEvents(Query::EventCategory() == Query::String("cat1"), &found); in TEST_F()
256 analyzer->FindEvents(Query::EventArg("num") == Query::Int(2), &found); in TEST_F()
262 analyzer->FindEvents(Query::EventCategory() != Query::String("cat1"), &found); in TEST_F()
267 analyzer->FindEvents(Query::EventArg("num") != Query::Int(2), &found); in TEST_F()
[all …]
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/analysis/
DAnalyzerTest.java55 private Analyzer analyzer; field in AnalyzerTest
74 analyzer = new Analyzer(executionData, new EmptyStructureVisitor()); in setup()
79 analyzer.analyzeClass(TargetLoader.getClassData(AnalyzerTest.class), in testAnalyzeClassFromStream()
86 analyzer.analyzeClass( in testAnalyzeClassFromByteArray()
100 analyzer.analyzeClass(bytes, "Test"); in testAnalyzeClassIdMatch()
109 analyzer.analyzeClass( in testAnalyzeClassNoIdMatch()
121 analyzer.analyzeClass(brokenclass, "Broken.class"); in testAnalyzeClass_Broken()
130 final int count = analyzer.analyzeAll( in testAnalyzeAll_Class()
144 final int count = analyzer.analyzeAll( in testAnalyzeAll_Zip()
156 final int count = analyzer.analyzeAll( in testAnalyzeAll_EmptyZipEntry()
[all …]
/external/bart/docs/examples/
Dthermal.py51 cls.analyzer = Analyzer(ftrace, config)
56 self.assertTrue(self.analyzer.assertStatement(
62 self.assertTrue(self.analyzer.assertStatement(
68 self.assertTrue(self.analyzer.assertStatement(
75 …zero_load_power_big = self.analyzer.getStatement("((IN:load0 + IN:load1 + IN:load2 + IN:load3) == …
79 …zero_load_power_little = self.analyzer.getStatement("((IN:load0 + IN:load1 + IN:load2 + IN:load3) …
86 self.analyzer.getStatement("(GOVERNOR:current_temperature > CONTROL_TEMP) &\
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/internal/analysis/
DClassAnalyzerTest.java27 private ClassAnalyzer analyzer; field in ClassAnalyzerTest
33 analyzer = new ClassAnalyzer(coverage, null, new StringPool()); in setup()
34 analyzer.visit(Opcodes.V1_5, Opcodes.ACC_PUBLIC, "Foo", null, in setup()
40 analyzer.visitField(InstrSupport.DATAFIELD_ACC, in testAnalyzeInstrumentedClass1()
47 analyzer.visitMethod(InstrSupport.INITMETHOD_ACC, in testAnalyzeInstrumentedClass2()
54 final MethodProbesVisitor mv = analyzer.visitMethod(0, "foo", "()V", in testMethodFilter_Empty()
/external/clang/test/Analysis/
Dmisc-ps-region-store.mm1 …riple i386-apple-darwin9 -analyze -analyzer-checker=core,alpha.core -analyzer-store=region -verify…
2 …le x86_64-apple-darwin9 -analyze -analyzer-checker=core,alpha.core -analyzer-store=region -verify …
Dmisc-ps-eager-assume.m1 …clang_cc1 -analyze -analyzer-checker=core,alpha.core -analyzer-store=region -analyzer-constraints=…
48 // In this test case, 'needsAnArray' is a signed char. The analyzer tracks
50 // promoted to 'int'. Currently the analyzer doesn't reason well about
87 // not maintained via sign extension. The analyzer doesn't properly handle
89 // case relies on -analyzer-eagerly-assume because of the expression
105 // Static analyzer skips this so either
128 // This test case depends on using -analyzer-eagerly-assume and
129 // -analyzer-store=region. The '-analyzer-eagerly-assume' causes the path
DObjCProperties.m1 // RUN: %clang_cc1 -analyze -analyzer-checker=core,alpha.core -analyzer-store=region -analyzer-cons…
5 // analyzer
Dnil-receiver-undefined-larger-than-voidptr-ret.m1 …cc1 -triple i386-apple-darwin8 -analyze -analyzer-checker=core,alpha.core -analyzer-constraints=ra…
3 …cc1 -triple i386-apple-darwin9 -analyze -analyzer-checker=core,alpha.core -analyzer-constraints=ra…
5 …1 -triple thumbv6-apple-ios4.0 -analyze -analyzer-checker=core,alpha.core -analyzer-constraints=ra…
Dunions-region.m1 // RUN: %clang_cc1 -analyze -analyzer-checker=core -analyzer-store=region -analyzer-constraints=ran…
6 // This file tests the analyzer's reasoning about unions.
Drdar-6600344-nil-receiver-undefined-struct-ret.m1 // RUN: %clang_cc1 -analyze -analyzer-checker=core,alpha.core -analyzer-constraints=range -analyzer
Dmisc-ps-arm.m1 …ios0.0.0 -target-feature +neon -analyze -analyzer-checker=core -analyzer-store=region -verify -fbl…
Drdar-6442306-1.m1 …/ RUN: %clang_cc1 -analyze -analyzer-checker=core,alpha.core -analyzer-disable-checker=alpha.core.…
Dnil-receiver-undefined-larger-than-voidptr-ret-region.m1 …cc1 -triple i386-apple-darwin8 -analyze -analyzer-checker=core,alpha.core -analyzer-constraints=ra…
Dproperties.mm1 // RUN: %clang_cc1 -analyze -analyzer-checker=core,osx.cocoa.RetainCount,debug.ExprInspection -anal…
2 // RUN: %clang_cc1 -analyze -analyzer-checker=core,osx.cocoa.RetainCount,debug.ExprInspection -anal…
/external/javassist/src/test/test/javassist/bytecode/analysis/
DAnalyzerTest.java71 Analyzer analyzer = new Analyzer(); in testReusedLocalMerge() local
72 Frame[] frames = analyzer.analyze(method.getDeclaringClass(), info); in testReusedLocalMerge()
105 Analyzer analyzer = new Analyzer(); in verifyReturn() local
106 Frame[] frames = analyzer.analyze(method.getDeclaringClass(), info); in verifyReturn()
125 Analyzer analyzer = new Analyzer(); in verifyArrayLoad() local
126 Frame[] frames = analyzer.analyze(clazz, info); in verifyArrayLoad()
150 Analyzer analyzer = new Analyzer(); in testDeadCode() local
151 Frame[] frames = analyzer.analyze(method.getDeclaringClass(), method.getMethodInfo2()); in testDeadCode()
160 Analyzer analyzer = new Analyzer(); in testInvalidCode() local
162 analyzer.analyze(method.getDeclaringClass(), method.getMethodInfo2()); in testInvalidCode()
[all …]
/external/clang/tools/scan-build-py/
DREADME.md6 the clang static analyzer. Includes intercept-build tool, which logs
8 the clang static analyzer on it.
28 To run the Clang static analyzer against a project goes like this:
36 To run the Clang static analyzer against a project with compilation database
53 The major difference is how and when the analyzer is run. The `scan-build`
54 tool has three distinct model to run the analyzer:
57 The compiler wrappers does run the real compiler and the analyzer.
62 The analyzer run against each modules after the build finished.
66 The analyzer run against each modules after the build finished.
77 The 1. runs the analyzer right after the real compilation. So, if the build
[all …]
/external/jacoco/org.jacoco.core/src/org/jacoco/core/internal/flow/
DFrameSnapshot.java47 static IFrame create(final AnalyzerAdapter analyzer, final int popCount) { in create() argument
48 if (analyzer == null || analyzer.locals == null) { in create()
51 final Object[] locals = reduce(analyzer.locals, 0); in create()
52 final Object[] stack = reduce(analyzer.stack, popCount); in create()
DMethodProbesAdapter.java33 private AnalyzerAdapter analyzer; field in MethodProbesAdapter
60 public void setAnalyzer(final AnalyzerAdapter analyzer) { in setAnalyzer() argument
61 this.analyzer = analyzer; in setAnalyzer()
178 return FrameSnapshot.create(analyzer, popCount); in frame()
/external/clang/docs/analyzer/
DIPA.txt4 There are several options that control which calls the analyzer will consider for
5 inlining. The major one is -analyzer-config ipa:
7 -analyzer-config ipa=none - All inlining is disabled. This is the only mode
10 -analyzer-config ipa=basic-inlining - Turns on inlining for C functions, C++
15 -analyzer-config ipa=inlining - Turns on inlining when we can confidently find
21 -analyzer-config ipa=dynamic - Inline instance methods for which the type is
25 -analyzer-config ipa=dynamic-bifurcate - Same as -analyzer-config ipa=dynamic,
30 Currently, -analyzer-config ipa=dynamic-bifurcate is the default mode.
32 While -analyzer-config ipa determines in general how aggressively the analyzer
35 analyzer's configuration table, so they are all specified as follows:
[all …]
DDebugChecks.rst8 The analyzer contains a number of checkers which can aid in debugging. Enable
9 them by using the "-analyzer-checker=" flag, followed by the name of the
41 These checkers print information about the path taken by the analyzer engine.
56 These checkers will print out information about the analyzer state in the form
110 would be printed), depending on the value of the -analyzer-inlining option.
130 Generate a warning if this line of code gets reached by the analyzer.
144 the argument is garbage-collected by the analyzer.
188 for testing purposes, to see how well does the analyzer model region extents.
204 function, such as how many blocks were reached and if the analyzer timed out.
206 There is also an additional -analyzer-stats flag, which enables various
[all …]
/external/clang/test/Analysis/inlining/
Dfalse-positive-suppression.m1 // RUN: %clang_cc1 -analyze -analyzer-checker=core -analyzer-config suppress-null-return-paths=fals…
2 // RUN: %clang_cc1 -analyze -analyzer-checker=core -verify -DSUPPRESSED=1 %s
3 // RUN: %clang_cc1 -analyze -analyzer-checker=core -analyzer-config avoid-suppressing-null-argument…
Dtest_objc_inlining_option.m1 // RUN: %clang_cc1 -analyze -analyzer-checker=core -analyzer-config ipa=dynamic-bifurcate -analyzer
/external/clang/tools/scan-build/
DCMakeLists.txt9 ccc-analyzer.bat
10 c++-analyzer.bat)
15 ccc-analyzer
16 c++-analyzer)
19 set-xcode-analyzer)

12345678910