Home
last modified time | relevance | path

Searched refs:collector (Results 1 – 25 of 86) sorted by relevance

1234

/external/autotest/site_utils/
Drun_suite_unittest.py142 collector = run_suite.ResultCollector(
147 collector._missing_results = {
150 suite_views = collector._fetch_relevant_test_views_of_suite()
199 collector = run_suite.ResultCollector(
204 collector._fetch_test_views_of_child_jobs())
244 collector = run_suite.ResultCollector(
248 collector._suite_views = [suite_job_view]
249 collector._test_views = [suite_job_view, good_test, bad_test]
250 collector._max_testname_width = max(
251 [len(v.get_testname()) for v in collector._test_views]) + 3
[all …]
/external/mockito/src/test/java/org/mockitousage/junitrule/
DVerificationCollectorImplTest.java20 VerificationCollector collector = MockitoJUnit.collector().assertLazily(); in should_not_throw_any_exceptions_when_verifications_are_succesful() local
26 collector.collectAndReport(); in should_not_throw_any_exceptions_when_verifications_are_succesful()
31 VerificationCollector collector = MockitoJUnit.collector().assertLazily(); in should_collect_verification_failures() local
36 collector.collectAndReport(); in should_collect_verification_failures()
41 VerificationCollector collector = MockitoJUnit.collector().assertLazily(); in should_collect_multiple_verification_failures() local
48 collector.collectAndReport(); in should_collect_multiple_verification_failures()
58 VerificationCollector collector = MockitoJUnit.collector().assertLazily(); in should_only_collect_failures_ignore_succesful_verifications() local
65 this.assertAtLeastOneFailure(collector); in should_only_collect_failures_ignore_succesful_verifications()
70 VerificationCollector collector = MockitoJUnit.collector().assertLazily(); in should_continue_collecting_after_failing_verification() local
78 this.assertAtLeastOneFailure(collector); in should_continue_collecting_after_failing_verification()
[all …]
/external/autotest/server/site_tests/desktopui_CrashyRebootServer/
Ddesktopui_CrashyRebootServer.py43 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/r8/src/main/java/com/android/tools/r8/graph/
DDexProgramClass.java65 public void addDependencies(MixedSectionCollection collector) { in addDependencies() argument
68 collector.add(this); in addDependencies()
69 collectAll(collector, directMethods); in addDependencies()
70 collectAll(collector, virtualMethods); in addDependencies()
71 collectAll(collector, staticFields); in addDependencies()
72 collectAll(collector, instanceFields); in addDependencies()
75 annotations.collectMixedSectionItems(collector); in addDependencies()
78 interfaces.collectMixedSectionItems(collector); in addDependencies()
80 annotations.collectMixedSectionItems(collector); in addDependencies()
/external/libchrome/base/files/
Dfile_path_watcher_unittest.cc115 explicit TestDelegate(NotificationCollector* collector) in TestDelegate() argument
116 : collector_(collector) { in TestDelegate()
207 NotificationCollector* collector() { return collector_.get(); } in collector() function in base::__anonf96a742c0111::FilePathWatcherTest
235 std::unique_ptr<TestDelegate> delegate(new TestDelegate(collector())); in TEST_F()
248 std::unique_ptr<TestDelegate> delegate(new TestDelegate(collector())); in TEST_F()
263 std::unique_ptr<TestDelegate> delegate(new TestDelegate(collector())); in TEST_F()
276 std::unique_ptr<TestDelegate> delegate(new TestDelegate(collector())); in TEST_F()
329 std::unique_ptr<TestDelegate> delegate(new TestDelegate(collector())); in TEST_F()
339 std::unique_ptr<TestDelegate> delegate1(new TestDelegate(collector())); in TEST_F()
340 std::unique_ptr<TestDelegate> delegate2(new TestDelegate(collector())); in TEST_F()
[all …]
/external/devlib/devlib/instrument/
Dframes.py19 self.collector = None
26 self.collector = self.collector_cls(self.target, self.period,
33 self.collector.start()
36 self.collector.stop()
43 self.collector.process_frames(raw_outfile)
45 self.collector.write_frames(outfile, columns=active_sites)
/external/autotest/client/site_tests/platform_AnomalyCollector/
Dcontrol7 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/icu/android_icu4j/src/main/java/android/icu/impl/
DICUCurrencyMetaInfo.java73 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/icu/icu4j/main/classes/currdata/src/com/ibm/icu/impl/
DICUCurrencyMetaInfo.java71 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/python/cpython2/Doc/library/
Dgc.rst6 :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/llvm/docs/
DGarbageCollection.rst13 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 …]
DStatepoints.rst27 depending on the collector, potentially update them. The collector
32 a collector which wishes to relocate objects directly reachable from
40 collector. Given this, a garbage collector can not safely rely on the
42 with. If the garbage collector wishes to move any object, the
46 To simplify the interaction between a collector and the compiled code,
52 Depending on the collector, such a barrier may be needed for all
60 collector.
71 point at which the collector can safely use that information. The
80 the collector must be able to:
88 can provide this information to a language runtime/collector, and
[all …]
DLexicon.rst75 A pointer to the interior of an object, such that a garbage collector is
78 the collector might free the referenced object. With copying collectors,
176 A pointer to an object such that the garbage collector is able to trace
208 which the collector begins its reachability analysis. In the context of code
224 calculated only at designated safe points. With a copying collector,
/external/protobuf/src/google/protobuf/io/
Dtokenizer.cc762 CommentCollector collector(prev_trailing_comments, detached_comments, in NextWithComments() local
775 collector.DetachFromPrev(); in NextWithComments()
782 ConsumeLineComment(collector.GetBufferForLineComment()); in NextWithComments()
786 collector.Flush(); in NextWithComments()
789 ConsumeBlockComment(collector.GetBufferForBlockComment()); in NextWithComments()
795 collector.ClearBuffer(); in NextWithComments()
801 collector.Flush(); in NextWithComments()
820 ConsumeLineComment(collector.GetBufferForLineComment()); in NextWithComments()
823 ConsumeBlockComment(collector.GetBufferForBlockComment()); in NextWithComments()
835 collector.Flush(); in NextWithComments()
[all …]
/external/autotest/client/cros/video/
Dcollect_golden_images.py102 collector = factory.make_video_screenshot_collector()
104 collector.ensure_player_is_ready()
106 collector.collect_multiple_screenshots(seq)
/external/guava/guava-tests/test/com/google/common/io/
DResourcesTest.java80 List<String> collector = new ArrayList<String>(); in testReadLines_withLineProcessor()
83 collector.add(WHITESPACE.trimFrom(line)); in testReadLines_withLineProcessor()
89 return collector; in testReadLines_withLineProcessor()
/external/python/cpython2/Lib/test/
Dtest_sgmllib.py101 collector = EventCollector variable in SGMLParserTestCase
104 parser = self.collector()
273 self.collector = HTMLEntityCollector
323 self.collector = CDATAEventCollector
/external/v8/src/heap/
Dobjects-visiting.cc237 MarkCompactCollector* collector = heap->mark_compact_collector(); in VisitWeakList() local
256 collector->RecordSlot(tail, next_slot, retained); in VisitWeakList()
348 MarkCompactCollector* collector = heap->mark_compact_collector(); in VisitLiveObject() local
352 collector->RecordSlot(context, slot, *slot); in VisitLiveObject()
Dgc-tracer.cc150 void GCTracer::Start(GarbageCollector collector, in Start() argument
161 switch (collector) { in Start()
198 if (Heap::IsYoungGenerationCollector(collector)) { in Start()
221 void GCTracer::Stop(GarbageCollector collector) { in Stop() argument
225 Heap::CollectorName(collector), in Stop()
231 DCHECK((collector == SCAVENGER && current_.type == Event::SCAVENGER) || in Stop()
232 (collector == MINOR_MARK_COMPACTOR && in Stop()
234 (collector == MARK_COMPACTOR && in Stop()
Dobjects-visiting-inl.h431 MarkCompactCollector* collector = heap->mark_compact_collector(); in VisitSharedFunctionInfo() local
432 if (collector->is_code_flushing_enabled()) { in VisitSharedFunctionInfo()
440 collector->code_flusher()->AddCandidate(shared); in VisitSharedFunctionInfo()
455 MarkCompactCollector* collector = heap->mark_compact_collector(); in VisitJSFunction() local
456 if (collector->is_code_flushing_enabled()) { in VisitJSFunction()
464 collector->code_flusher()->AddCandidate(function); in VisitJSFunction()
/external/llvm/lib/CodeGen/
DREADME.txt116 With a copying garbage collector, derived pointers must not be retained across
117 collector safe points; the collector could move the objects and invalidate the
137 collector. Still, LLVM optimizations would probably undo a front-end's careful
153 It would be good to detect collector/target compatibility instead of silently
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DREADME.txt116 With a copying garbage collector, derived pointers must not be retained across
117 collector safe points; the collector could move the objects and invalidate the
137 collector. Still, LLVM optimizations would probably undo a front-end's careful
153 It would be good to detect collector/target compatibility instead of silently
/external/autotest/server/
Dautotest_unittest.py273 collector = autotest.log_collector.expect_new(self.host, '', '')
275 collector.collect_client_job_results.expect_call().and_raises(
282 collector = autotest.log_collector.expect_new(self.host, '', '')
284 collector.collect_client_job_results.expect_call()
292 collector = autotest.log_collector.expect_new(self.host, '', '')
/external/guice/extensions/multibindings/test/com/google/inject/multibindings/
DMultibinderTest.java1098 Collector collector = new Collector(); in testSetAndMapValueAreDistinctInSpi() local
1100 mapbinding.acceptTargetVisitor(collector); in testSetAndMapValueAreDistinctInSpi()
1101 assertNotNull(collector.mapbinding); in testSetAndMapValueAreDistinctInSpi()
1104 setbinding.acceptTargetVisitor(collector); in testSetAndMapValueAreDistinctInSpi()
1105 assertNotNull(collector.setbinding); in testSetAndMapValueAreDistinctInSpi()
1108 optionalbinding.acceptTargetVisitor(collector); in testSetAndMapValueAreDistinctInSpi()
1109 assertNotNull(collector.optionalbinding); in testSetAndMapValueAreDistinctInSpi()
1127 assertFalse(collector.mapbinding.containsElement(a)); in testSetAndMapValueAreDistinctInSpi()
1128 assertTrue(collector.mapbinding.containsElement(b)); in testSetAndMapValueAreDistinctInSpi()
1129 assertFalse(collector.mapbinding.containsElement(c)); in testSetAndMapValueAreDistinctInSpi()
[all …]
/external/guice/extensions/assistedinject/src/com/google/inject/assistedinject/
DFactoryProvider2.java202 private final BindingCollector collector; field in FactoryProvider2
209 FactoryProvider2(Key<F> factoryKey, BindingCollector collector) { in FactoryProvider2() argument
211 this.collector = collector; in FactoryProvider2()
271 TypeLiteral<?> implementation = collector.getBindings().get(returnType); in FactoryProvider2()
794 return Objects.hashCode(factoryKey, collector); in hashCode()
802 return factoryKey.equals(other.factoryKey) && Objects.equal(collector, other.collector); in equals()

1234