Home
last modified time | relevance | path

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

1234567891011

/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 should_not_capture_frame_when_no_frame_is_defined()
59 frame = FrameSnapshot.create(analyzer, 0); in should_not_capture_frame_when_no_frame_is_defined()
64 analyzer.visitInsn(Opcodes.FCONST_0); in should_capture_frame_when_frame_is_defined()
65 analyzer.visitVarInsn(Opcodes.FSTORE, 1); in should_capture_frame_when_frame_is_defined()
66 analyzer.visitInsn(Opcodes.ICONST_0); in should_capture_frame_when_frame_is_defined()
67 frame = FrameSnapshot.create(analyzer, 0); in should_capture_frame_when_frame_is_defined()
75 analyzer.visitInsn(Opcodes.DCONST_0); in should_combine_slots_when_doube_or_long_types_are_given()
76 analyzer.visitVarInsn(Opcodes.DSTORE, 1); in should_combine_slots_when_doube_or_long_types_are_given()
[all …]
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/analysis/
DAnalyzerTest.java57 private Analyzer analyzer; field in AnalyzerTest
76 analyzer = new Analyzer(executionData, new EmptyStructureVisitor()); in setup()
88 analyzer.analyzeClass(bytes, ""); in should_ignore_module_info()
101 analyzer.analyzeClass(bytes, ""); in should_ignore_synthetic_classes()
114 analyzer.analyzeClass(bytes, ""); in should_not_modify_class_bytes_to_support_next_version()
129 analyzer.analyzeClass(TargetLoader.getClassData(AnalyzerTest.class), in testAnalyzeClassFromStream()
136 analyzer.analyzeClass( in testAnalyzeClassFromByteArray()
149 analyzer.analyzeClass(bytes, "Test"); in testAnalyzeClassIdMatch()
158 analyzer.analyzeClass( in testAnalyzeClassNoIdMatch()
170 analyzer.analyzeClass(brokenclass, "Broken.class"); in testAnalyzeClass_Broken()
[all …]
/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/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()
183 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/curl/src/
DMakefile.am150analyzer-security.insecureAPI.strcpy,-clang-analyzer-optin.performance.Padding,-clang-analyzer-val…
/external/curl/lib/
DMakefile.am149analyzer-security.insecureAPI.strcpy,-clang-analyzer-optin.performance.Padding,-clang-analyzer-val…
/external/clang/tools/scan-build/
DCMakeLists.txt9 ccc-analyzer.bat
10 c++-analyzer.bat)
15 ccc-analyzer
16 c++-analyzer)
19 set-xcode-analyzer)
/external/tensorflow/tensorflow/python/debug/cli/
Danalyzer_cli_test.py526 analyzer = analyzer_cli.DebugAnalyzer(dump, _cli_config_from_temp_file())
534 analyzer.list_tensors,
535 analyzer.get_help("list_tensors"),
539 analyzer.node_info,
540 analyzer.get_help("node_info"),
544 analyzer.list_inputs,
545 analyzer.get_help("list_inputs"),
549 analyzer.list_outputs,
550 analyzer.get_help("list_outputs"),
554 analyzer.print_tensor,
[all …]

1234567891011