/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/internal/flow/ |
D | LabelFlowAnalyzerTest.java | 30 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 …]
|
D | FrameSnapshotTest.java | 30 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/jacoco/org.jacoco.core.test/src/org/jacoco/core/internal/analysis/ |
D | ClassAnalyzerTest.java | 32 private ClassAnalyzer analyzer; field in ClassAnalyzerTest 36 analyzer = new ClassAnalyzer(0x0000, false, null, new StringPool()); in setup() 37 analyzer.visit(Opcodes.V1_5, Opcodes.ACC_PUBLIC, "Foo", null, in setup() 43 analyzer.visitField(InstrSupport.DATAFIELD_ACC, in testAnalyzeInstrumentedClass1() 50 analyzer.visitMethod(InstrSupport.INITMETHOD_ACC, in testAnalyzeInstrumentedClass2() 57 final MethodProbesVisitor mv = analyzer.visitMethod(0, "foo", "()V", in testMethodFilter_Empty() 60 Collection<IMethodCoverage> methods = analyzer.getCoverage() in testMethodFilter_Empty() 67 final MethodProbesVisitor mv = analyzer.visitMethod(0, "foo", "()V", in testMethodFilter_NonSynthetic() 72 Collection<IMethodCoverage> methods = analyzer.getCoverage() in testMethodFilter_NonSynthetic() 79 final MethodProbesVisitor mv = analyzer.visitMethod( in testMethodFilter_Synthetic() [all …]
|
/external/libchrome/base/test/ |
D | trace_event_analyzer_unittest.cc | 78 analyzer(TraceAnalyzer::Create(output_.json_output)); in TEST_F() local 79 ASSERT_TRUE(analyzer.get()); in TEST_F() 83 analyzer->FindEvents(Query::Bool(true), &found); in TEST_F() 230 analyzer(TraceAnalyzer::Create(output_.json_output)); in TEST_F() local 231 ASSERT_TRUE(analyzer); in TEST_F() 232 analyzer->SetIgnoreMetadataEvents(true); in TEST_F() 238 analyzer->FindEvents(Query::EventCategory() == Query::String("cat1"), &found); in TEST_F() 243 analyzer->FindEvents(Query::EventArg("num") == Query::Int(2), &found); in TEST_F() 249 analyzer->FindEvents(Query::EventCategory() != Query::String("cat1"), &found); in TEST_F() 254 analyzer->FindEvents(Query::EventArg("num") != Query::Int(2), &found); in TEST_F() [all …]
|
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/analysis/ |
D | AnalyzerTest.java | 53 private Analyzer analyzer; field in AnalyzerTest 72 analyzer = new Analyzer(executionData, new EmptyStructureVisitor()); in setup() 77 analyzer.analyzeClass(TargetLoader.getClassData(AnalyzerTest.class), in testAnalyzeClassFromStream() 84 analyzer.analyzeClass( in testAnalyzeClassFromByteArray() 97 analyzer.analyzeClass(bytes, "Test"); in testAnalyzeClassIdMatch() 106 analyzer.analyzeClass( in testAnalyzeClassNoIdMatch() 118 analyzer.analyzeClass(brokenclass, "Broken"); in testAnalyzeClass_Broken() 127 final int count = analyzer.analyzeAll( in testAnalyzeAll_Class() 141 final int count = analyzer.analyzeAll( in testAnalyzeAll_Zip() 153 final int count = analyzer.analyzeAll( in testAnalyzeAll_EmptyZipEntry() [all …]
|
/external/v8/test/unittests/compiler/ |
D | liveness-analyzer-unittest.cc | 39 LivenessAnalyzer* analyzer() { return &analyzer_; } in analyzer() function in v8::internal::compiler::LivenessAnalysisTest 44 analyzer()->local_count(), zone()); in Run() 45 analyzer()->Run(&replacer); in Run() 189 set_current_block(analyzer()->NewBlock()); in TEST_F() 201 set_current_block(analyzer()->NewBlock()); in TEST_F() 216 LivenessAnalyzerBlock* start = analyzer()->NewBlock(); in TEST_F() 221 LivenessAnalyzerBlock* b1 = analyzer()->NewBlock(start); in TEST_F() 231 LivenessAnalyzerBlock* b2 = analyzer()->NewBlock(start); in TEST_F() 241 LivenessAnalyzerBlock* m = analyzer()->NewBlock(b1); in TEST_F() 267 LivenessAnalyzerBlock* start = analyzer()->NewBlock(); in TEST_F() [all …]
|
/external/clang/test/Analysis/ |
D | misc-ps-region-store.mm | 1 …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 …
|
D | ObjCProperties.m | 1 // RUN: %clang_cc1 -analyze -analyzer-checker=core,alpha.core -analyzer-store=region -analyzer-cons… 5 // analyzer
|
D | misc-ps-eager-assume.m | 1 …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
|
D | nil-receiver-undefined-larger-than-voidptr-ret.m | 1 …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…
|
D | unions-region.m | 1 // RUN: %clang_cc1 -analyze -analyzer-checker=core -analyzer-store=region -analyzer-constraints=ran… 6 // This file tests the analyzer's reasoning about unions.
|
D | rdar-6600344-nil-receiver-undefined-struct-ret.m | 1 // RUN: %clang_cc1 -analyze -analyzer-checker=core,alpha.core -analyzer-constraints=range -analyzer…
|
D | misc-ps-arm.m | 1 …ios0.0.0 -target-feature +neon -analyze -analyzer-checker=core -analyzer-store=region -verify -fbl…
|
D | nil-receiver-undefined-larger-than-voidptr-ret-region.m | 1 …cc1 -triple i386-apple-darwin8 -analyze -analyzer-checker=core,alpha.core -analyzer-constraints=ra…
|
D | properties.mm | 1 // 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/clang/test/Analysis/inlining/ |
D | false-positive-suppression.m | 1 // 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…
|
D | test_objc_inlining_option.m | 1 // RUN: %clang_cc1 -analyze -analyzer-checker=core -analyzer-config ipa=dynamic-bifurcate -analyzer…
|
/external/javassist/src/test/test/javassist/bytecode/analysis/ |
D | AnalyzerTest.java | 71 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/jacoco/org.jacoco.core/src/org/jacoco/core/internal/flow/ |
D | FrameSnapshot.java | 47 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()
|
D | MethodProbesAdapter.java | 33 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/ |
D | IPA.txt | 4 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 …]
|
D | DebugChecks.rst | 8 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. 169 function, such as how many blocks were reached and if the analyzer timed out. 171 There is also an additional -analyzer-stats flag, which enables various 172 statistics within the analyzer engine. Note the Stats checker (which produces at [all …]
|
/external/clang/tools/scan-build/ |
D | CMakeLists.txt | 9 ccc-analyzer.bat 10 c++-analyzer.bat) 15 ccc-analyzer 16 c++-analyzer) 19 set-xcode-analyzer)
|
D | Makefile | 23 $(LibexecDir)/c++-analyzer$(Suffix) \ 24 $(LibexecDir)/ccc-analyzer$(Suffix) \ 30 InstallTargets := $(InstallTargets) $(ToolDir)/set-xcode-analyzer
|
/external/jacoco/org.jacoco.examples/src/org/jacoco/examples/ |
D | ClassInfo.java | 30 private final Analyzer analyzer; field in ClassInfo 40 analyzer = new Analyzer(new ExecutionDataStore(), this); in ClassInfo() 53 analyzer.analyzeAll(new File(file)); in execute()
|