Home
last modified time | relevance | path

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

12345678910>>...16

/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/internal/flow/
DLabelFlowAnalyzerTest.java31 private LabelFlowAnalyzer analyzer; field in LabelFlowAnalyzerTest
37 analyzer = new LabelFlowAnalyzer(); in setup()
43 assertFalse(analyzer.successor); in testInit()
44 assertTrue(analyzer.first); in testInit()
45 assertNull(analyzer.lineStart); in testInit()
56 analyzer.visitJumpInsn(GOTO, label); in testFlowScenario02()
63 analyzer.visitInsn(RETURN); in testFlowScenario03()
64 analyzer.visitLabel(label); in testFlowScenario03()
71 analyzer.visitLabel(label); in testFlowScenario04()
78 analyzer.visitLabel(label); in testFlowScenario05()
[all …]
DFrameSnapshotTest.java31 private AnalyzerAdapter analyzer; field in FrameSnapshotTest
40 analyzer = new AnalyzerAdapter("Foo", 0, "doit", "()V", null); in setup()
59 analyzer.visitJumpInsn(Opcodes.GOTO, new Label()); in should_not_capture_frame_when_no_frame_is_defined()
60 frame = FrameSnapshot.create(analyzer, 0); in should_not_capture_frame_when_no_frame_is_defined()
65 analyzer.visitInsn(Opcodes.FCONST_0); in should_capture_frame_when_frame_is_defined()
66 analyzer.visitVarInsn(Opcodes.FSTORE, 1); in should_capture_frame_when_frame_is_defined()
67 analyzer.visitInsn(Opcodes.ICONST_0); in should_capture_frame_when_frame_is_defined()
68 frame = FrameSnapshot.create(analyzer, 0); in should_capture_frame_when_frame_is_defined()
76 analyzer.visitInsn(Opcodes.DCONST_0); in should_combine_slots_when_doube_or_long_types_are_given()
77 analyzer.visitVarInsn(Opcodes.DSTORE, 1); in should_combine_slots_when_doube_or_long_types_are_given()
[all …]
/external/webrtc/test/pc/e2e/analyzer/video/
Ddefault_video_quality_analyzer_test.cc115 void PassFramesThroughAnalyzer(DefaultVideoQualityAnalyzer& analyzer, in PassFramesThroughAnalyzer() argument
125 analyzer.OnFrameCaptured(sender, std::string(stream_label), frame); in PassFramesThroughAnalyzer()
127 analyzer.OnFramePreEncode(sender, frame); in PassFramesThroughAnalyzer()
128 analyzer.OnFrameEncoded(sender, frame.id(), FakeEncode(frame), in PassFramesThroughAnalyzer()
133 analyzer.OnFramePreDecode(receiver, received_frame.id(), in PassFramesThroughAnalyzer()
135 analyzer.OnFrameDecoded(receiver, received_frame, in PassFramesThroughAnalyzer()
137 analyzer.OnFrameRendered(receiver, received_frame); in PassFramesThroughAnalyzer()
152 DefaultVideoQualityAnalyzer analyzer(Clock::GetRealTimeClock(), in TEST() local
155 analyzer.Start("test_case", in TEST()
164 analyzer.OnFrameCaptured(kSenderPeerName, kStreamLabel, frame)); in TEST()
[all …]
Danalyzing_video_sink_test.cc142 ExampleVideoQualityAnalyzer analyzer; in TEST_F() local
146 frame.set_id(analyzer.OnFrameCaptured("alice", "alice_video", frame)); in TEST_F()
153 AnalyzingVideoSink sink("bob", Clock::GetRealTimeClock(), analyzer, helper, in TEST_F()
158 EXPECT_THAT(analyzer.frames_rendered(), Eq(static_cast<uint64_t>(1))); in TEST_F()
185 ExampleVideoQualityAnalyzer analyzer; in TEST_F() local
189 frame.set_id(analyzer.OnFrameCaptured("alice", "alice_video", frame)); in TEST_F()
196 AnalyzingVideoSink sink("bob", Clock::GetRealTimeClock(), analyzer, helper, in TEST_F()
201 EXPECT_THAT(analyzer.frames_rendered(), Eq(static_cast<uint64_t>(1))); in TEST_F()
230 ExampleVideoQualityAnalyzer analyzer; in TEST_F() local
234 frame.set_id(analyzer.OnFrameCaptured("alice", "alice_video", frame)); in TEST_F()
[all …]
Ddefault_video_quality_analyzer_metric_names_test.cc90 void PassFramesThroughAnalyzer(DefaultVideoQualityAnalyzer& analyzer, in PassFramesThroughAnalyzer() argument
100 analyzer.OnFrameCaptured(sender, std::string(stream_label), frame); in PassFramesThroughAnalyzer()
102 analyzer.OnFramePreEncode(sender, frame); in PassFramesThroughAnalyzer()
103 analyzer.OnFrameEncoded(sender, frame.id(), FakeEncode(frame), in PassFramesThroughAnalyzer()
108 analyzer.OnFramePreDecode(receiver, received_frame.id(), in PassFramesThroughAnalyzer()
110 analyzer.OnFrameDecoded(receiver, received_frame, in PassFramesThroughAnalyzer()
112 analyzer.OnFrameRendered(receiver, received_frame); in PassFramesThroughAnalyzer()
170 DefaultVideoQualityAnalyzer analyzer(Clock::GetRealTimeClock(), in TEST() local
172 analyzer.Start("test_case", std::vector<std::string>{"alice", "bob"}, in TEST()
175 PassFramesThroughAnalyzer(analyzer, "alice", "alice_video", {"bob"}, in TEST()
[all …]
/external/cronet/components/metrics/system_session_analyzer/
Dsystem_session_analyzer_win_unittest.cc32 SystemSessionAnalyzer analyzer(0); in TEST() local
34 ASSERT_TRUE(analyzer.FetchEvents(1U, &events)); in TEST()
42 SystemSessionAnalyzer analyzer(1U); in TEST() local
43 auto is_session_unclean = analyzer.IsSessionUnclean(base::Time::Now()); in TEST()
55 << static_cast<int>(analyzer.GetExtendedFailureStatus()); in TEST()
86 StubSystemSessionAnalyzer analyzer(2U); in TEST() local
89 analyzer.AddEvent({kIdSessionStart, time}); in TEST()
90 analyzer.AddEvent({kIdSessionEndUnclean, time - base::Seconds(10)}); in TEST()
91 analyzer.AddEvent({kIdSessionStart, time - base::Seconds(20)}); in TEST()
92 analyzer.AddEvent({kIdSessionEnd, time - base::Seconds(22)}); in TEST()
[all …]
/external/toolchain-utils/rust-analyzer-chromiumos-wrapper/
DREADME.md1 # rust-analyzer-chromiumos-wrapper
5 rust-analyzer is an LSP server for the Rust language. It allows editors like
8 This program, `rust-analyzer-chromiumos-wrapper`, is a wrapper around
9 `rust-analyzer`. It exists to translate paths between an instance of
10 rust-analyzer running inside the chromiumos chroot and a client running outside
13 It is of course possible to simply run `rust-analyzer` outside the chroot, but
18 to invoke `rust-analyzer` inside the chroot and translate paths. Otherwise, it
19 will attempt to invoke a `rust-analyzer` outside the chroot and will not
22 It supports none of rust-analyzer's command line options, which aren't
27 *Outside* the chroot, install the `rust-analyzer-chromiumos-wrapper` binary:
[all …]
/external/webrtc/rtc_tools/rtc_event_log_visualizer/
Dmain.cc287 webrtc::EventLogAnalyzer analyzer(parsed_log, config); in main() local
293 analyzer.CreatePacketGraph(webrtc::kIncomingPacket, plot); in main()
297 analyzer.CreatePacketGraph(webrtc::kOutgoingPacket, plot); in main()
300 analyzer.CreateRtcpTypeGraph(webrtc::kIncomingPacket, plot); in main()
303 analyzer.CreateRtcpTypeGraph(webrtc::kOutgoingPacket, plot); in main()
306 analyzer.CreateAccumulatedPacketsGraph(webrtc::kIncomingPacket, plot); in main()
309 analyzer.CreateAccumulatedPacketsGraph(webrtc::kOutgoingPacket, plot); in main()
312 analyzer.CreatePacketRateGraph(webrtc::kIncomingPacket, plot); in main()
315 analyzer.CreatePacketRateGraph(webrtc::kOutgoingPacket, plot); in main()
318 analyzer.CreateTotalPacketRateGraph(webrtc::kIncomingPacket, plot); in main()
[all …]
/external/cronet/base/test/
Dtrace_event_analyzer_unittest.cc82 std::unique_ptr<TraceAnalyzer> analyzer( in TEST_F() local
84 ASSERT_TRUE(analyzer.get()); in TEST_F()
88 analyzer->FindEvents(Query::Bool(true), &found); in TEST_F()
239 std::unique_ptr<TraceAnalyzer> analyzer( in TEST_F() local
241 ASSERT_TRUE(analyzer); in TEST_F()
242 analyzer->SetIgnoreMetadataEvents(true); in TEST_F()
248 analyzer->FindEvents(Query::EventCategory() == Query::String("cat1"), &found); in TEST_F()
253 analyzer->FindEvents(Query::EventArg("num") == Query::Int(2), &found); in TEST_F()
259 analyzer->FindEvents(Query::EventCategory() != Query::String("cat1"), &found); in TEST_F()
264 analyzer->FindEvents(Query::EventArg("num") != Query::Int(2), &found); in TEST_F()
[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.java59 private Analyzer analyzer; field in AnalyzerTest
78 analyzer = new Analyzer(executionData, new EmptyStructureVisitor()); in setup()
90 analyzer.analyzeClass(bytes, ""); in should_ignore_module_info()
103 analyzer.analyzeClass(bytes, ""); in should_ignore_synthetic_classes()
116 analyzer.analyzeClass(bytes, ""); in should_not_modify_class_bytes_to_support_next_version()
136 analyzer.analyzeClass(bytes, "UnsupportedVersion"); in analyzeClass_should_throw_exception_for_unsupported_class_file_version()
148 analyzer.analyzeClass(TargetLoader.getClassData(AnalyzerTest.class), in testAnalyzeClassFromStream()
155 analyzer.analyzeClass( in testAnalyzeClassFromByteArray()
168 analyzer.analyzeClass(bytes, "Test"); in testAnalyzeClassIdMatch()
177 analyzer.analyzeClass( in testAnalyzeClassNoIdMatch()
[all …]
/external/webrtc/modules/audio_processing/aec3/
Drender_signal_analyzer_unittest.cc58 RenderSignalAnalyzer analyzer(EchoCanceller3Config{}); in RunNarrowBandDetectionTest() local
86 analyzer.Update(*render_delay_buffer->GetRenderBuffer(), in RunNarrowBandDetectionTest()
93 analyzer.MaskRegionsAroundNarrowBands(&mask); in RunNarrowBandDetectionTest()
97 EXPECT_TRUE(analyzer.PoorSignalExcitation()); in RunNarrowBandDetectionTest()
98 EXPECT_TRUE(static_cast<bool>(analyzer.NarrowPeakBand())); in RunNarrowBandDetectionTest()
99 EXPECT_EQ(*analyzer.NarrowPeakBand(), 32); in RunNarrowBandDetectionTest()
104 analyzer.MaskRegionsAroundNarrowBands(&mask); in RunNarrowBandDetectionTest()
106 EXPECT_FALSE(analyzer.PoorSignalExcitation()); in RunNarrowBandDetectionTest()
119 RenderSignalAnalyzer analyzer(EchoCanceller3Config{}); in TEST() local
120 EXPECT_DEATH(analyzer.MaskRegionsAroundNarrowBands(nullptr), ""); in TEST()
[all …]
/external/webrtc/video/
Dfull_stack_tests.cc101 foreman_cif.analyzer = {"foreman_cif_net_delay_0_0_plr_0_VP9", 0.0, 0.0, in TEST()
116 foreman_cif.analyzer = {"foreman_cif_delay_50_0_plr_5_VP9_generic_descriptor", in TEST()
145 generator.analyzer = {"generator_net_delay_0_0_plr_0_VP9Profile2", 0.0, 0.0, in TEST()
159 foreman_cif.analyzer = {"foreman_cif_net_delay_0_0_plr_0_Multiplex", 0.0, 0.0, in TEST()
172 generator.analyzer = {"generator_net_delay_0_0_plr_0_Multiplex", 0.0, 0.0, in TEST()
194 paris_qcif.analyzer = {"net_delay_0_0_plr_0", 36.0, 0.96, in TEST()
210 foreman_cif.analyzer = {"foreman_cif_net_delay_0_0_plr_0_generic_descriptor", in TEST()
226 foreman_cif.analyzer = { in TEST()
243 foreman_cif.analyzer = {"foreman_cif_link_150kbps_net_delay_0_0_plr_0", 0.0, in TEST()
261 foreman_cif.analyzer = { in TEST()
[all …]
/external/libchrome/base/debug/
Dactivity_analyzer_unittest.cc95 ThreadActivityAnalyzer analyzer(*tracker); in TEST_F() local
96 EXPECT_TRUE(analyzer.IsValid()); in TEST_F()
97 EXPECT_EQ(PlatformThread::GetName(), analyzer.GetThreadName()); in TEST_F()
171 GlobalActivityAnalyzer analyzer(std::make_unique<PersistentMemoryAllocator>( in TEST_F() local
175 const int64_t pid = analyzer.GetFirstProcess(); in TEST_F()
177 ThreadActivityAnalyzer* ta1 = analyzer.GetFirstAnalyzer(pid); in TEST_F()
179 EXPECT_FALSE(analyzer.GetNextAnalyzer()); in TEST_F()
181 EXPECT_EQ(ta1, analyzer.GetAnalyzerForThread(tk1)); in TEST_F()
182 EXPECT_EQ(0, analyzer.GetNextProcess()); in TEST_F()
192 ASSERT_EQ(pid, analyzer.GetFirstProcess()); in TEST_F()
[all …]
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/internal/analysis/
DClassAnalyzerTest.java30 private ClassAnalyzer analyzer; field in ClassAnalyzerTest
36 analyzer = new ClassAnalyzer(coverage, 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()
65 assertTrue(analyzer.getClassAttributes().isEmpty()); in should_collect_attributes()
66 analyzer.visitAttribute(new Attribute("foo") { in should_collect_attributes()
68 assertTrue(analyzer.getClassAttributes().contains("foo")); in should_collect_attributes()
/external/webrtc/test/scenario/
Dstats_collection_unittest.cc20 VideoQualityAnalyzer* analyzer, in CreateAnalyzedStream() argument
26 config.hooks.frame_pair_handlers = {analyzer->Handler()}; in CreateAnalyzedStream()
59 VideoQualityAnalyzer analyzer; in TEST() local
65 CreateAnalyzedStream(&s, good_network, &analyzer, &stats); in TEST()
72 EXPECT_NEAR(analyzer.stats().psnr_with_freeze.Mean(), 43, 10); in TEST()
80 VideoQualityAnalyzer analyzer; in TEST() local
87 CreateAnalyzedStream(&s, bad_network, &analyzer, &stats); in TEST()
92 EXPECT_NEAR(analyzer.stats().psnr_with_freeze.Mean(), 20, 10); in TEST()
100 VideoQualityAnalyzer analyzer; in TEST() local
106 CreateAnalyzedStream(&s, long_delays, &analyzer, &stats); in TEST()
[all …]
Dscenario_unittest.cc67 void SetupVideoCall(Scenario& s, VideoQualityAnalyzer* analyzer) { in SetupVideoCall() argument
78 if (analyzer) { in SetupVideoCall()
87 video.hooks.frame_pair_handlers = {analyzer->Handler()}; in SetupVideoCall()
97 VideoQualityAnalyzer analyzer(analyzer_config); in TEST() local
100 SetupVideoCall(s, &analyzer); in TEST()
104 EXPECT_EQ(analyzer.stats().lost_count, 0); in TEST()
105 EXPECT_NEAR(analyzer.stats().psnr_with_freeze.Mean(), 38, 5); in TEST()
117 VideoQualityAnalyzer analyzer(analyzer_config); in TEST() local
120 SetupVideoCall(s, &analyzer); in TEST()
124 EXPECT_LT(analyzer.stats().lost_count, 2); in TEST()
[all …]
/external/python/bumble/bumble/
Dhelpers.py61 def __init__(self, analyzer): argument
62 self.analyzer = analyzer
74 self.analyzer.emit(att_pdu)
77 self.analyzer.emit(smp_command)
80 self.analyzer.emit(control_frame)
112 self.analyzer.emit(sdp_pdu)
115 self.analyzer.emit(rfcomm_frame)
117 self.analyzer.emit(
126 self.analyzer.emit(
131 self.analyzer.emit(l2cap_pdu)
[all …]
/external/rust/crates/grpcio-sys/grpc/third_party/upb/
D.bazelrc17 build:analyzer --copt=-fanalyzer --copt=-Werror
18 build:analyzer --per_file_copt=json/parser@-fno-analyzer
19 build:analyzer --per_file_copt=com_google_protobuf@-fno-analyzer
20 build:analyzer --per_file_copt=com_github_google_benchmark@-fno-analyzer
/external/pigweed/pw_thread/py/
Dthread_analyzer_test.py122 analyzer = ThreadSnapshotAnalyzer(thread_pb2.SnapshotThreadInfo())
123 self.assertEqual('', str(analyzer))
142 analyzer = ThreadSnapshotAnalyzer(snapshot)
143 self.assertEqual(analyzer.active_thread(), None)
189 analyzer = ThreadSnapshotAnalyzer(snapshot)
190 self.assertEqual(analyzer.active_thread(), None)
238 analyzer = ThreadSnapshotAnalyzer(snapshot)
239 self.assertEqual(analyzer.active_thread(), temp_thread)
289 analyzer = ThreadSnapshotAnalyzer(snapshot)
292 self.assertEqual(analyzer.active_thread(), temp_thread)
/external/ow2-asm/asm-analysis/src/test/java/org/objectweb/asm/tree/analysis/
DAnalyzerWithBasicInterpreterTest.java92 Analyzer<BasicValue> analyzer = in testAnalyze_basicInterpreter() local
107 methodFrames.add(analyzer.analyze(classNode.name, methodNode)); in testAnalyze_basicInterpreter()
135 Analyzer<BasicValue> analyzer = new Analyzer<BasicValue>(new BasicInterpreter()); in testAnalyzeAndComputeMaxs_basicInterpreter() local
139 analyzer.analyzeAndComputeMaxs(classNode.name, methodNode); in testAnalyzeAndComputeMaxs_basicInterpreter()
161 Analyzer<BasicValue> analyzer = new Analyzer<BasicValue>(new BasicInterpreter()); in testAnalyzeAndComputeMaxs_staticMethod() local
163 analyzer.analyzeAndComputeMaxs("C", methodNode); in testAnalyzeAndComputeMaxs_staticMethod()
180 Analyzer<BasicValue> analyzer = in testAnalyze_badInterpreter() local
191 analyses.add(() -> analyzer.analyze(CLASS_NAME, methodNode)); in testAnalyze_badInterpreter()
213 Analyzer<BasicValue> analyzer = new Analyzer<>(new BasicInterpreter()); in testAnalyze_mergeWithJsrReachableFromTwoDifferentPaths() local
215 analyzer.analyze(classNode.name, getMethod(classNode, "basicStopBundles")); in testAnalyze_mergeWithJsrReachableFromTwoDifferentPaths()
[all …]
/external/webrtc/test/pc/e2e/g3doc/
Ddefault_video_quality_analyzer.md14 implementation of video quality analyzer for WebRTC. To operate correctly it
17 1. On frame captured - analyzer will generate a unique ID for the frame, that
27 The analyzer updates its internal metrics per frame when it was rendered and
41 [`webrtc::VideoFrame`][6] and [`webrtc::EncodedImage`][7] into analyzer
44 pass generated frames into analyzer on capturing and then set the returned
47 the analyzer before they will be rendered to compute per frame metrics. It
53 * `Start` - to start video analyzer, so it will be able to receive and analyze
55 * `RegisterParticipantInCall` - to add new participants after analyzer was
57 * `Stop` - to stop analyzer, compute all metrics for frames that were recevied
87 * *`cpu_usage`* - CPU usage excluding video analyzer
[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 …
/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 …]

12345678910>>...16