/external/autotest/site_utils/ |
D | run_suite_unittest.py | 179 collector = run_suite.ResultCollector( 184 collector._missing_results = { 187 suite_views = collector._fetch_relevant_test_views_of_suite() 236 collector = run_suite.ResultCollector( 241 collector._fetch_test_views_of_child_jobs()) 286 collector = run_suite.ResultCollector( 290 collector._suite_views = [suite_job_view] 291 collector._test_views = [suite_job_view, good_test, bad_test] 292 collector._max_testname_width = max( 293 [len(v.get_testname()) for v in collector._test_views]) + 3 [all …]
|
/external/robolectric-shadows/utils/src/test/java/org/robolectric/util/ |
D | PerfStatsCollectorTest.java | 19 private PerfStatsCollector collector; field in PerfStatsCollectorTest 24 collector = new PerfStatsCollector(fakeClock); in setUp() 29 Event firstEvent = collector.startEvent("first event"); in shouldMeasureElapsedTimeForEvents() 33 Collection<Metric> metrics = collector.getMetrics(); in shouldMeasureElapsedTimeForEvents() 41 Event firstEvent = collector.startEvent("repeatable event"); in shouldMeasureElapsedTimeForRepeatedEvents() 45 Event secondEvent = collector.startEvent("repeatable event"); in shouldMeasureElapsedTimeForRepeatedEvents() 49 Event thirdEvent = collector.startEvent("repeatable event"); in shouldMeasureElapsedTimeForRepeatedEvents() 53 Collection<Metric> metrics = collector.getMetrics(); in shouldMeasureElapsedTimeForRepeatedEvents() 61 assertThat(collector.measure("event", () -> { in shouldRunAndMeasureSuccessfulCallable() 66 Collection<Metric> metrics = collector.getMetrics(); in shouldRunAndMeasureSuccessfulCallable() [all …]
|
/external/desugar/test/java/com/google/devtools/build/android/desugar/dependencies/ |
D | MetadataCollectorTest.java | 39 MetadataCollector collector = new MetadataCollector(false); in testAssumeCompanionClass() local 40 collector.assumeCompanionClass("a", "b$$CC"); in testAssumeCompanionClass() 41 collector.assumeCompanionClass("b", "b$$CC"); in testAssumeCompanionClass() 42 collector.assumeCompanionClass("a", "a$$CC"); in testAssumeCompanionClass() 44 DesugarDepsInfo info = extractProto(collector); in testAssumeCompanionClass() 54 MetadataCollector collector = new MetadataCollector(true); in testMissingImplementedInterface() local 55 collector.missingImplementedInterface("a", "b"); in testMissingImplementedInterface() 56 collector.missingImplementedInterface("a", "c"); in testMissingImplementedInterface() 57 collector.missingImplementedInterface("c", "b"); in testMissingImplementedInterface() 59 DesugarDepsInfo info = extractProto(collector); in testMissingImplementedInterface() [all …]
|
/external/mockito/src/test/java/org/mockitousage/junitrule/ |
D | VerificationCollectorImplTest.java | 24 VerificationCollector collector = MockitoJUnit.collector().assertLazily(); in should_not_throw_any_exceptions_when_verifications_are_successful() local 30 collector.collectAndReport(); in should_not_throw_any_exceptions_when_verifications_are_successful() 35 VerificationCollector collector = MockitoJUnit.collector().assertLazily(); in should_collect_verification_failures() local 40 collector.collectAndReport(); in should_collect_verification_failures() 45 VerificationCollector collector = MockitoJUnit.collector().assertLazily(); in should_collect_multiple_verification_failures() local 52 collector.collectAndReport(); in should_collect_multiple_verification_failures() 62 VerificationCollector collector = MockitoJUnit.collector().assertLazily(); in should_only_collect_failures_ignore_successful_verifications() local 69 this.assertAtLeastOneFailure(collector); in should_only_collect_failures_ignore_successful_verifications() 74 VerificationCollector collector = MockitoJUnit.collector().assertLazily(); in should_continue_collecting_after_failing_verification() local 82 this.assertAtLeastOneFailure(collector); in should_continue_collecting_after_failing_verification() [all …]
|
/external/tensorflow/tensorflow/core/util/proto/ |
D | proto_utils_test.cc | 65 StringErrorCollector collector(&err); in TEST() local 66 collector.AddError(1, 2, "foo"); in TEST() 72 StringErrorCollector collector(&err); in TEST() local 73 collector.AddWarning(1, 2, "foo"); in TEST() 79 StringErrorCollector collector(&err); in TEST() local 80 collector.AddError(1, 2, "foo"); in TEST() 81 collector.AddError(3, 4, "bar"); in TEST() 87 StringErrorCollector collector(&err); in TEST() local 88 collector.AddWarning(1, 2, "foo"); in TEST() 89 collector.AddWarning(3, 4, "bar"); in TEST() [all …]
|
/external/yapf/yapftests/ |
D | pytree_visitor_test.py | 65 collector = _NodeNameCollector() 66 collector.Visit(tree) 73 self.assertEqual(expected_names, collector.all_node_names) 76 self.assertEqual(expected_name_node_values, collector.name_node_values) 80 collector = _NodeNameCollector() 81 collector.Visit(tree) 90 self.assertEqual(expected_names, collector.all_node_names) 93 self.assertEqual(expected_name_node_values, collector.name_node_values)
|
/external/autotest/server/site_tests/desktopui_CrashyRebootServer/ |
D | desktopui_CrashyRebootServer.py | 43 collector = autotest.log_collector(host, None, '.') 45 collector.client_results_dir, 46 collector.server_results_dir) 53 collector.collect_client_job_results() 54 collector.remove_redundant_client_logs() 56 collector.client_results_dir, 57 collector.server_results_dir)
|
/external/libchrome/base/files/ |
D | file_path_watcher_unittest.cc | 123 explicit TestDelegate(NotificationCollector* collector) in TestDelegate() argument 124 : collector_(collector) { in TestDelegate() 205 NotificationCollector* collector() { return collector_.get(); } in collector() function in base::__anonbec4f5360111::FilePathWatcherTest 231 std::unique_ptr<TestDelegate> delegate(new TestDelegate(collector())); in TEST_F() 243 std::unique_ptr<TestDelegate> delegate(new TestDelegate(collector())); in TEST_F() 257 std::unique_ptr<TestDelegate> delegate(new TestDelegate(collector())); in TEST_F() 269 std::unique_ptr<TestDelegate> delegate(new TestDelegate(collector())); in TEST_F() 318 std::unique_ptr<TestDelegate> delegate(new TestDelegate(collector())); in TEST_F() 326 std::unique_ptr<TestDelegate> delegate1(new TestDelegate(collector())); in TEST_F() 327 std::unique_ptr<TestDelegate> delegate2(new TestDelegate(collector())); in TEST_F() [all …]
|
/external/python/cpython3/Lib/test/ |
D | test_htmlparser.py | 86 def _run_check(self, source, expected_events, collector=None): argument 87 if collector is None: 88 collector = self.get_collector() 89 parser = collector 316 collector=Collector(convert_charrefs=False)) 346 collector = lambda: EventCollectorCharrefs() function 347 self.assertTrue(collector().convert_charrefs) 354 expected, collector=collector()) 362 expected, collector=collector()) 373 expected, collector=collector()) [all …]
|
/external/opencensus-java/exporters/stats/prometheus/src/test/java/io/opencensus/exporter/stats/prometheus/ |
D | PrometheusStatsCollectorTest.java | 102 PrometheusStatsCollector collector = new PrometheusStatsCollector(mockViewManager); in testCollect() local 104 assertThat(collector.collect()) in testCollect() 144 PrometheusStatsCollector collector = new PrometheusStatsCollector(mockViewManager); in testCollect_SkipDistributionViewWithLeTagKey() local 145 assertThat(collector.collect()).isEmpty(); in testCollect_SkipDistributionViewWithLeTagKey() 150 PrometheusStatsCollector collector = new PrometheusStatsCollector(mockViewManager); in testDescribe() local 151 assertThat(collector.describe()) in testDescribe() 159 PrometheusStatsCollector collector = new PrometheusStatsCollector(Stats.getViewManager()); in testCollect_WithNoopViewManager() local 160 assertThat(collector.collect()).isEmpty(); in testCollect_WithNoopViewManager() 165 PrometheusStatsCollector collector = new PrometheusStatsCollector(Stats.getViewManager()); in testDescribe_WithNoopViewManager() local 166 assertThat(collector.describe()).isEmpty(); in testDescribe_WithNoopViewManager()
|
/external/tensorflow/tensorflow/core/distributed_runtime/ |
D | worker_cache_logger.cc | 54 delete iter.second.collector; in ClearLogsWithLock() 63 iter->second.collector->FinalizeAndSwap(ss); in RetrieveLogs() 64 delete iter->second.collector; in RetrieveLogs() 75 if (!sl->collector) { in Save() 76 sl->collector = new StepStatsCollector(&sl->step_stats); in Save() 78 sl->collector->Save(device, ns); in Save()
|
D | worker.cc | 179 StepStatsCollector* collector = nullptr; in DoRunGraph() local 183 collector = new StepStatsCollector(response->mutable_step_stats()); in DoRunGraph() 186 if (collector && request->exec_opts().record_timeline()) { in DoRunGraph() 199 delete collector; in DoRunGraph() 219 delete collector; in DoRunGraph() 227 collector, response, cm, in, in DoRunGraph() 228 [this, step_id, response, session, cm, out, token, collector, tracer, in DoRunGraph() 240 tracer_status = tracer->Collect(collector); in DoRunGraph() 253 if (collector) collector->Finalize(); in DoRunGraph() 254 delete collector; in DoRunGraph()
|
/external/autotest/client/common_lib/cros/ |
D | system_metrics_collector_unittest.py | 43 collector = system_metrics_collector.SystemMetricsCollector( 45 collector.collect_snapshot() 49 collector.write_metrics(_write_func) 58 collector = system_metrics_collector.SystemMetricsCollector( 60 collector.pre_collect() 61 collector.collect_snapshot() 62 collector.collect_snapshot() 63 collector.write_metrics(lambda **kwargs: None)
|
/external/autotest/client/common_lib/cros/cfm/usb/ |
D | usb_device_collector_unittest.py | 46 self.collector = usb_device_collector.UsbDeviceCollector(mock_host) 50 usb_data = self.collector.get_usb_devices() 74 devices = self.collector.get_devices_by_spec(spec) 80 devices = self.collector.get_devices_by_spec(*specs) 86 devices = self.collector.get_devices_by_spec(*specs)
|
/external/icu/icu4j/main/classes/currdata/src/com/ibm/icu/impl/ |
D | ICUCurrencyMetaInfo.java | 71 private <T> List<T> collect(Collector<T> collector, CurrencyFilter filter) { in collect() argument 79 int needed = collector.collects(); in collect() 97 collectRegion(collector, filter, needed, b); in collect() 101 collectRegion(collector, filter, needed, regionInfo.at(i)); in collect() 106 return collector.getList(); in collect() 109 private <T> void collectRegion(Collector<T> collector, CurrencyFilter filter, in collectRegion() argument 114 collector.collect(b.getKey(), null, 0, 0, -1, false); in collectRegion() 162 collector.collect(region, currency, from, to, i, tender); in collectRegion()
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
D | ICUCurrencyMetaInfo.java | 73 private <T> List<T> collect(Collector<T> collector, CurrencyFilter filter) { in collect() argument 81 int needed = collector.collects(); in collect() 99 collectRegion(collector, filter, needed, b); in collect() 103 collectRegion(collector, filter, needed, regionInfo.at(i)); in collect() 108 return collector.getList(); in collect() 111 private <T> void collectRegion(Collector<T> collector, CurrencyFilter filter, in collectRegion() argument 116 collector.collect(b.getKey(), null, 0, 0, -1, false); in collectRegion() 164 collector.collect(region, currency, from, to, i, tender); in collectRegion()
|
/external/tensorflow/tensorflow/core/platform/ |
D | tracing.cc | 52 const EventCollector* collector) { in SetEventCollector() argument 53 EventCollector::instances_[static_cast<unsigned>(category)] = collector; in SetEventCollector() 75 void SetTraceCollector(const TraceCollector* collector) { in SetTraceCollector() argument 76 return trace_collector.store(collector, std::memory_order_release); in SetTraceCollector()
|
D | device_tracer_test.cc | 119 StepStatsCollector collector(&stats); in TEST_F() local 120 TF_EXPECT_OK(tracer->Collect(&collector)); in TEST_F() 129 StepStatsCollector collector(&stats); in TEST_F() local 130 Status status = tracer->Collect(&collector); in TEST_F() 197 StepStatsCollector collector(&stats); in TEST_F() local 198 TF_ASSERT_OK(tracer->Collect(&collector)); in TEST_F() 199 collector.Finalize(); in TEST_F()
|
/external/autotest/client/site_tests/platform_AnomalyCollector/ |
D | control | 7 PURPOSE = "Checks that the anomaly collector is collecting log anomalies" 8 CRITERIA = "The collector must create a file when a test warning is produced" 15 This checks that the anomaly collector is operational by generating 16 a test kernel warning and verifying that the collector daemon collects it.
|
/external/autotest/client/common_lib/cros/cfm/ |
D | cras_node_collector_unittest.py | 45 collector = cras_node_collector.CrasNodeCollector(mock_host) 47 nodes = collector.get_output_nodes() 86 collector = cras_node_collector.CrasNodeCollector(mock_host) 88 nodes = collector.get_input_nodes()
|
/external/llvm/docs/ |
D | GarbageCollection.rst | 13 garbage collector.** You must provide your own. 18 First, you should pick a collector strategy. LLVM includes a number of built 20 Note that the collector strategy is a description of how LLVM should generate 21 code such that it interacts with your collector and runtime, not a description 22 of the collector itself. 24 Next, mark your generated functions as using your chosen collector strategy. 29 F.setGC(<collector description name>); 36 define void @foo() gc "<collector description name>" { ... } 43 barriers. If you collector does not require such barriers, you can skip 46 * Use the memory allocation routines provided by your garbage collector's [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/docs/ |
D | GarbageCollection.rst | 13 garbage collector.** You must provide your own. 18 First, you should pick a collector strategy. LLVM includes a number of built 20 Note that the collector strategy is a description of how LLVM should generate 21 code such that it interacts with your collector and runtime, not a description 22 of the collector itself. 24 Next, mark your generated functions as using your chosen collector strategy. 29 F.setGC(<collector description name>); 36 define void @foo() gc "<collector description name>" { ... } 43 barriers. If you collector does not require such barriers, you can skip 46 * Use the memory allocation routines provided by your garbage collector's [all …]
|
/external/python/cpython2/Doc/library/ |
D | gc.rst | 6 :synopsis: Interface to the cycle-detecting garbage collector. 11 This module provides an interface to the optional garbage collector. It 12 provides the ability to disable the collector, tune the collection frequency, 14 the collector found but cannot free. Since the collector supplements the 15 reference counting already used in Python, you can disable the collector if you 71 Returns a list of all objects tracked by the collector, excluding the list 87 order to decide when to run, the collector keeps track of the number object 119 and have not yet been collected by the garbage collector can be listed among the 145 Returns ``True`` if the object is currently tracked by the garbage collector, 149 in order to suppress the garbage collector footprint of simple instances [all …]
|
/external/v8/tools/clang/traffic_annotation_extractor/ |
D | traffic_annotation_extractor.cpp | 134 explicit NetworkAnnotationTagCallback(Collector* collector) in NetworkAnnotationTagCallback() argument 135 : collector_(collector) {} in NetworkAnnotationTagCallback() 288 int RunMatchers(clang::tooling::ClangTool* clang_tool, Collector* collector) { in RunMatchers() argument 289 NetworkAnnotationTagCallback callback(collector); in RunMatchers() 401 Collector collector; in main() local 405 int result = RunMatchers(&tool, &collector); in main() 412 for (const NetworkAnnotationInstance& instance : collector.annotations) { in main() 425 for (const CallInstance& instance : collector.calls) { in main() 436 for (const Location& instance : collector.assignments) { in main()
|
/external/python/cpython3/Doc/library/ |
D | gc.rst | 5 :synopsis: Interface to the cycle-detecting garbage collector. 12 This module provides an interface to the optional garbage collector. It 13 provides the ability to disable the collector, tune the collection frequency, 15 the collector found but cannot free. Since the collector supplements the 16 reference counting already used in Python, you can disable the collector if you 68 Returns a list of all objects tracked by the collector, excluding the list 101 order to decide when to run, the collector keeps track of the number object 131 and have not yet been collected by the garbage collector can be listed among the 154 Returns ``True`` if the object is currently tracked by the garbage collector, 158 in order to suppress the garbage collector footprint of simple instances [all …]
|