Home
last modified time | relevance | path

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

1234567

/external/chromium_org/base/test/
Dtrace_event_analyzer_unittest.cc75 analyzer(TraceAnalyzer::Create(output_.json_output)); in TEST_F() local
76 ASSERT_TRUE(analyzer.get()); in TEST_F()
80 analyzer->FindEvents(Query::Bool(true), &found); in TEST_F()
227 analyzer(TraceAnalyzer::Create(output_.json_output)); in TEST_F() local
228 ASSERT_TRUE(!!analyzer.get()); in TEST_F()
229 analyzer->SetIgnoreMetadataEvents(true); in TEST_F()
235 analyzer->FindEvents(Query::EventCategory() == Query::String("cat1"), &found); in TEST_F()
240 analyzer->FindEvents(Query::EventArg("num") == Query::Int(2), &found); in TEST_F()
246 analyzer->FindEvents(Query::EventCategory() != Query::String("cat1"), &found); in TEST_F()
251 analyzer->FindEvents(Query::EventArg("num") != Query::Int(2), &found); in TEST_F()
[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 …
DObjCProperties.m1 // RUN: %clang_cc1 -analyze -analyzer-checker=core,alpha.core -analyzer-store=region -analyzer-cons…
5 // analyzer
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…
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…
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…
Dblocks.m1 …_cc1 -triple x86_64-apple-darwin10 -analyze -analyzer-checker=core -analyzer-store=region -fblocks…
2 …_cc1 -triple x86_64-apple-darwin10 -analyze -analyzer-checker=core -analyzer-store=region -fblocks…
54 // test1 - This test case exposed logic that caused the analyzer to crash because of a memory bug
Dmisc-ps-ranges.m1 // RUN: %clang_cc1 -analyze -analyzer-checker=core,alpha.core -analyzer-store=region -analyzer-cons…
DkeychainAPI-diagnostic-visitor.m1 …1 -triple x86_64-apple-darwin10 -analyze -analyzer-checker=osx.SecKeychainAPI -analyzer-store=regi…
DPR3991.m1 // RUN: %clang_cc1 -analyze -analyzer-checker=core,alpha.core -analyzer-store=region -analyzer-cons…
52 // The analyzer currently doesn't reason about ObjCKVCRefExpr. Have both
Dobjc-method-coverage.m2 // RUN: %clang_cc1 -analyze -analyzer-checker=core -analyzer-stats -fblocks %s 2>&1 | FileCheck %s
/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/chromium_org/chrome/browser/extensions/api/cast_streaming/
Dperformance_test.cc388 void GetTraceEvents(trace_analyzer::TraceAnalyzer* analyzer, in GetTraceEvents() argument
398 analyzer->FindEvents(query, events); in GetTraceEvents()
408 void IndexEvents(trace_analyzer::TraceAnalyzer* analyzer, in IndexEvents() argument
412 GetTraceEvents(analyzer, event_name, &events); in IndexEvents()
486 trace_analyzer::TraceAnalyzer* analyzer) { in AnalyzeLatency() argument
488 IndexEvents(analyzer, "OnBufferReceived", &onbuffer); in AnalyzeLatency()
489 IndexEvents(analyzer, "MediaStreamVideoSink::OnVideoFrame", &sink); in AnalyzeLatency()
490 IndexEvents(analyzer, "InsertRawVideoFrame", &inserted); in AnalyzeLatency()
491 IndexEvents(analyzer, "VideoFrameEncoded", &encoded); in AnalyzeLatency()
492 IndexEvents(analyzer, "PullEncodedVideoFrame", &transmitted); in AnalyzeLatency()
[all …]
/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/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.
146 function, such as how many blocks were reached and if the analyzer timed out.
148 There is also an additional -analyzer-stats flag, which enables various
149 statistics within the analyzer engine. Note the Stats checker (which produces at
151 -analyzer-stats.
/external/chromium_org/chrome/browser/extensions/api/tab_capture/
Dtab_capture_performancetest.cc138 bool PrintResults(trace_analyzer::TraceAnalyzer *analyzer, in PrintResults() argument
150 analyzer->FindEvents(query, &events); in PrintResults()
196 scoped_ptr<trace_analyzer::TraceAnalyzer> analyzer; in RunTest() local
197 analyzer.reset(trace_analyzer::TraceAnalyzer::Create(json_events)); in RunTest()
202 analyzer.get(), in RunTest()
211 EXPECT_TRUE(PrintResults(analyzer.get(), in RunTest()
/external/clang/include/clang/Driver/
DCC1Options.td48 def analyzer_store : Separate<["-"], "analyzer-store">,
50 def analyzer_store_EQ : Joined<["-"], "analyzer-store=">, Alias<analyzer_store>;
52 def analyzer_constraints : Separate<["-"], "analyzer-constraints">,
54 def analyzer_constraints_EQ : Joined<["-"], "analyzer-constraints=">,
57 def analyzer_output : Separate<["-"], "analyzer-output">,
59 def analyzer_output_EQ : Joined<["-"], "analyzer-output=">,
62 def analyzer_purge : Separate<["-"], "analyzer-purge">,
64 def analyzer_purge_EQ : Joined<["-"], "analyzer-purge=">, Alias<analyzer_purge>;
66 def analyzer_opt_analyze_headers : Flag<["-"], "analyzer-opt-analyze-headers">,
67 HelpText<"Force the static analyzer to analyze functions defined in header files">;
[all …]
/external/clang/lib/StaticAnalyzer/
DREADME.txt7 The analyzer library has two layers: a (low-level) static analysis
17 The analyzer is inspired by several foundational research papers ([1],
20 In a nutshell, the analyzer is basically a source code simulator that
28 Conceptually the analyzer does a reachability analysis through the
37 The analyzer traces out multiple paths by reasoning about branches and
60 state. The analyzer engine talks to them via a visitor interface.
110 -analyzer-display-progress
111 -analyzer-viz-egraph-graphviz
117 extremely useful when debugging the analyzer and viewing the
/external/chromium_org/third_party/webrtc/video/
Dfull_stack.cc375 VideoAnalyzer analyzer(NULL, in RunTest() local
382 CreateCalls(Call::Config(&analyzer), Call::Config(&recv_transport)); in RunTest()
384 analyzer.SetReceiver(receiver_call_->Receiver()); in RunTest()
385 send_transport.SetReceiver(&analyzer); in RunTest()
405 receive_configs_[0].renderer = &analyzer; in RunTest()
408 analyzer.input_ = send_stream_->Input(); in RunTest()
412 &analyzer, in RunTest()
425 analyzer.Wait(); in RunTest()

1234567