Home
last modified time | relevance | path

Searched refs:analyzer (Results 1 – 25 of 266) 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/libxcam/xcore/
Dx3a_analyzer_manager.cpp55 SmartPtr<X3aAnalyzer> analyzer = find_analyzer(); in create_analyzer() local
56 if (!analyzer.ptr()) in create_analyzer()
57 analyzer = new X3aAnalyzerSimple; in create_analyzer()
58 return analyzer; in create_analyzer()
68 SmartPtr<X3aAnalyzer> analyzer; in find_analyzer() local
82 analyzer = load_analyzer_from_binary (lib_path); in find_analyzer()
83 if (analyzer.ptr()) in find_analyzer()
89 return analyzer; in find_analyzer()
95 SmartPtr<X3aAnalyzer> analyzer; in load_analyzer_from_binary() local
103 analyzer = _loader->load_analyzer (loader); in load_analyzer_from_binary()
[all …]
Ddynamic_analyzer.h86 explicit DynamicAeHandler (DynamicAnalyzer *analyzer) in DynamicAeHandler() argument
87 : _analyzer (analyzer) in DynamicAeHandler()
104 explicit DynamicAwbHandler (DynamicAnalyzer *analyzer) in DynamicAwbHandler() argument
105 : _analyzer (analyzer) in DynamicAwbHandler()
122 explicit DynamicAfHandler (DynamicAnalyzer *analyzer) in DynamicAfHandler() argument
123 : _analyzer (analyzer) in DynamicAfHandler()
141 explicit DynamicCommonHandler (DynamicAnalyzer *analyzer) in DynamicCommonHandler() argument
142 : _analyzer (analyzer) in DynamicCommonHandler()
Dpipe_manager.cpp46 PipeManager::set_smart_analyzer (SmartPtr<SmartAnalyzer> analyzer) in set_smart_analyzer() argument
51 XCAM_ASSERT (analyzer.ptr () && !_smart_analyzer.ptr ()); in set_smart_analyzer()
52 _smart_analyzer = analyzer; in set_smart_analyzer()
145 PipeManager::x3a_calculation_done (XAnalyzer *analyzer, X3aResultList &results) in x3a_calculation_done() argument
152 AnalyzerCallback::x3a_calculation_done (analyzer, results); in x3a_calculation_done()
156 PipeManager::x3a_calculation_failed (XAnalyzer *analyzer, int64_t timestamp, const char *msg) in x3a_calculation_failed() argument
158 AnalyzerCallback::x3a_calculation_failed (analyzer, timestamp, msg); in x3a_calculation_failed()
Ddynamic_analyzer_loader.cpp43 SmartPtr<X3aAnalyzer> analyzer; in load_analyzer() local
46 analyzer = new DynamicAnalyzer (desc, self); in load_analyzer()
47 if (!analyzer.ptr ()) { in load_analyzer()
53 XCAM_LOG_INFO ("analyzer(%s) created from 3a lib", XCAM_STR (analyzer->get_name())); in load_analyzer()
54 return analyzer; in load_analyzer()
Ddevice_manager.cpp112 DeviceManager::set_3a_analyzer (SmartPtr<X3aAnalyzer> analyzer) in set_3a_analyzer() argument
117 XCAM_ASSERT (analyzer.ptr () && !_3a_analyzer.ptr ()); in set_3a_analyzer()
118 _3a_analyzer = analyzer; in set_3a_analyzer()
124 DeviceManager::set_smart_analyzer (SmartPtr<SmartAnalyzer> analyzer) in set_smart_analyzer() argument
129 XCAM_ASSERT (analyzer.ptr () && !_smart_analyzer.ptr ()); in set_smart_analyzer()
130 _smart_analyzer = analyzer; in set_smart_analyzer()
331 DeviceManager::x3a_calculation_done (XAnalyzer *analyzer, X3aResultList &results) in x3a_calculation_done() argument
338 AnalyzerCallback::x3a_calculation_done (analyzer, results); in x3a_calculation_done()
342 DeviceManager::x3a_calculation_failed (XAnalyzer *analyzer, int64_t timestamp, const char *msg) in x3a_calculation_failed() argument
344 AnalyzerCallback::x3a_calculation_failed (analyzer, timestamp, msg); in x3a_calculation_failed()
Dx3a_analyzer_simple.cpp33 SimpleAeHandler (X3aAnalyzerSimple *analyzer) in SimpleAeHandler() argument
34 : _analyzer (analyzer) in SimpleAeHandler()
49 SimpleAwbHandler (X3aAnalyzerSimple *analyzer) in SimpleAwbHandler() argument
50 : _analyzer (analyzer) in SimpleAwbHandler()
66 SimpleAfHandler (X3aAnalyzerSimple *analyzer) in SimpleAfHandler() argument
67 : _analyzer (analyzer) in SimpleAfHandler()
83 SimpleCommonHandler (X3aAnalyzerSimple *analyzer) in SimpleCommonHandler() argument
84 : _analyzer (analyzer) in SimpleCommonHandler()
/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/libxcam/wrapper/gstreamer/
Dgstxcamsrc.cpp101 #define GST_XCAM_INTERFACE_HEADER(from, src, device_manager, analyzer) \ argument
106 SmartPtr<X3aAnalyzer> analyzer = device_manager->get_analyzer (); \
107 XCAM_ASSERT (analyzer.ptr ())
911 SmartPtr<X3aAnalyzer> analyzer; in gst_xcam_src_start() local
1054 analyzer = new X3aAnalyzerSimple (); in gst_xcam_src_start()
1064 analyzer = tuner_analyzer; in gst_xcam_src_start()
1072 analyzer = dynamic_loader->load_analyzer (loader); in gst_xcam_src_start()
1073 if (!analyzer.ptr ()) { in gst_xcam_src_start()
1085 analyzer = hybrid_loader->load_analyzer (loader); in gst_xcam_src_start()
1086 if (!analyzer.ptr ()) { in gst_xcam_src_start()
[all …]
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/analysis/
DAnalyzerTest.java54 private Analyzer analyzer; field in AnalyzerTest
73 analyzer = new Analyzer(executionData, new EmptyStructureVisitor()); in setup()
78 analyzer.analyzeClass(TargetLoader.getClassData(AnalyzerTest.class), in testAnalyzeClassFromStream()
85 analyzer.analyzeClass( in testAnalyzeClassFromByteArray()
99 analyzer.analyzeClass(bytes, "Test"); in testAnalyzeClassIdMatch()
108 analyzer.analyzeClass( in testAnalyzeClassNoIdMatch()
120 analyzer.analyzeClass(brokenclass, "Broken.class"); in testAnalyzeClass_Broken()
141 analyzer.analyzeClass(new BrokenInputStream(), "BrokenStream"); in testAnalyzeClass_BrokenStream()
150 final int count = analyzer.analyzeAll( in testAnalyzeAll_Class()
164 final int count = analyzer.analyzeAll( in testAnalyzeAll_Zip()
[all …]
/external/libxcam/plugins/3a/aiq/
Daiq_wrapper.cpp56 virtual void x3a_calculation_done (XAnalyzer *analyzer, X3aResultList &results);
151 XCam3AAiqContext::x3a_calculation_done (XAnalyzer *analyzer, X3aResultList &results) in x3a_calculation_done() argument
153 XCAM_UNUSED (analyzer); in x3a_calculation_done()
274 SmartPtr<X3aAnalyzeTuner> analyzer = aiq_context->get_analyzer (); in xcam_configure_3a() local
276 ret = analyzer->prepare_handlers (); in xcam_configure_3a()
283 ret = analyzer->init (width, height, framerate); in xcam_configure_3a()
290 ret = analyzer->start (); in xcam_configure_3a()
309 SmartPtr<X3aAnalyzeTuner> analyzer = aiq_context->get_analyzer (); in xcam_set_3a_stats() local
310 XCAM_ASSERT (analyzer.ptr ()); in xcam_set_3a_stats()
335 ret = analyzer->push_3a_stats (isp_stats); in xcam_set_3a_stats()
[all …]
/external/libxcam/modules/isp/iq/
Dx3a_analyze_tuner.h40 void set_analyzer (SmartPtr<X3aAnalyzer> &analyzer);
61 virtual void x3a_calculation_done (XAnalyzer *analyzer, X3aResultList &results);
82 explicit X3aCiqTuningAeHandler (X3aAnalyzeTuner *analyzer) in X3aCiqTuningAeHandler() argument
83 : _analyzer (analyzer) in X3aCiqTuningAeHandler()
100 explicit X3aCiqTuningAwbHandler (X3aAnalyzeTuner *analyzer) in X3aCiqTuningAwbHandler() argument
101 : _analyzer (analyzer) in X3aCiqTuningAwbHandler()
118 explicit X3aCiqTuningAfHandler (X3aAnalyzeTuner *analyzer) in X3aCiqTuningAfHandler() argument
119 : _analyzer (analyzer) in X3aCiqTuningAfHandler()
136 explicit X3aCiqTuningCommonHandler (X3aAnalyzeTuner *analyzer) in X3aCiqTuningCommonHandler() argument
137 : _analyzer (analyzer) in X3aCiqTuningCommonHandler()
/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/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/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
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…
DObjCProperties.m1 // RUN: %clang_cc1 -analyze -analyzer-checker=core,alpha.core -analyzer-store=region -analyzer-cons…
5 // analyzer
/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/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 …]
/external/libxcam/modules/isp/
Dhybrid_analyzer_loader.cpp61 SmartPtr<X3aAnalyzer> analyzer; in load_analyzer() local
65 analyzer = new HybridAnalyzer (desc, self, _isp, _cpf_path); in load_analyzer()
68 if (!analyzer.ptr ()) { in load_analyzer()
74 XCAM_LOG_INFO ("analyzer(%s) created from 3a lib", XCAM_STR (analyzer->get_name())); in load_analyzer()
75 return analyzer; in load_analyzer()
/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()
/external/libxcam/tests/
Dtest-device-manager.cpp323 SmartPtr<X3aAnalyzer> analyzer; in main() local
691 analyzer = new X3aAnalyzerSimple (); in main()
699 analyzer = tuner_analyzer; in main()
707 analyzer = dynamic_loader->load_analyzer (loader); in main()
708 CHECK_EXP (analyzer.ptr (), "load dynamic 3a lib(%s) failed", path_of_3a); in main()
717 analyzer = hybrid_loader->load_analyzer (loader); in main()
718 CHECK_EXP (analyzer.ptr (), "load hybrid 3a lib(%s) failed", path_of_3a); in main()
727 XCAM_ASSERT (analyzer.ptr ()); in main()
728 analyzer->set_sync_mode (sync_mode); in main()
804 if (analyzer.ptr()) in main()
[all …]

1234567891011