/third_party/python/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 …]
|
/third_party/node/deps/v8/src/heap/cppgc/ |
D | gc-invoker.cc | 37 static Handle Post(GarbageCollector* collector, cppgc::TaskRunner* runner, in Post() argument 40 std::make_unique<GCInvoker::GCInvokerImpl::GCTask>(collector, config); in Post() 46 explicit GCTask(GarbageCollector* collector, in GCTask() argument 48 : collector_(collector), in GCTask() 51 saved_epoch_(collector->epoch()) {} 77 GCInvoker::GCInvokerImpl::GCInvokerImpl(GarbageCollector* collector, in GCInvokerImpl() argument 80 : collector_(collector), in GCInvokerImpl() 130 GCInvoker::GCInvoker(GarbageCollector* collector, cppgc::Platform* platform, in GCInvoker() argument 132 : impl_(std::make_unique<GCInvoker::GCInvokerImpl>(collector, platform, in GCInvoker()
|
D | heap-growing.cc | 70 GarbageCollector* collector, StatsCollector* stats_collector, in HeapGrowingImpl() argument 74 : collector_(collector), in HeapGrowingImpl() 147 HeapGrowing::HeapGrowing(GarbageCollector* collector, in HeapGrowing() argument 153 collector, stats_collector, constraints, marking_support, in HeapGrowing()
|
/third_party/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()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/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()
|
/third_party/python/Doc/c-api/ |
D | gcsupport.rst | 54 class that implements the garbage collector protocol and the child class 72 resized object or ``NULL`` on failure. *op* must not be tracked by the collector yet. 78 collector. The collector can run at unexpected times so objects must be 86 Returns non-zero if the object implements the garbage collector protocol, 89 The object cannot be tracked by the garbage collector if this function returns 0. 95 currently tracked by the garbage collector and 0 otherwise. 105 already finalized by the garbage collector and 0 otherwise. 121 collector. Note that :c:func:`PyObject_GC_Track` can be called again on 186 collector will call this method if it detects that this object is involved 198 Perform a full garbage collection, if the garbage collector is enabled. [all …]
|
/third_party/python/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 70 the collector that are in that generation. 106 order to decide when to run, the collector keeps track of the number object 136 and have not yet been collected by the garbage collector can be listed among the 163 Returns ``True`` if the object is currently tracked by the garbage collector, [all …]
|
/third_party/libphonenumber/metadata/src/main/java/com/google/i18n/phonenumbers/metadata/model/ |
D | CommentsSchema.java | 113 List<Comment> comments, Consumer<Stream<String>> collector, boolean toCsv) { 114 collector.accept(HEADER.stream()); 118 .forEach(c -> collector.accept(Stream.of( 127 CsvTableCollector collector = new CsvTableCollector(true); 128 export(comments, collector, true); 129 collector.writeCsv(csv);
|
D | AltFormatsSchema.java | 126 List<AltFormatSpec> altFormats, Consumer<Stream<String>> collector, boolean toCsv) { in export() argument 127 collector.accept(HEADER.stream()); in export() 130 f -> collector.accept( in export() 139 CsvTableCollector collector = new CsvTableCollector(true); in exportCsv() local 140 export(altFormats, collector, true); in exportCsv() 141 collector.writeCsv(csv); in exportCsv()
|
/third_party/protobuf/src/google/protobuf/io/ |
D | tokenizer.cc | 765 CommentCollector collector(prev_trailing_comments, detached_comments, in NextWithComments() local 779 collector.DetachFromPrev(); in NextWithComments() 786 ConsumeLineComment(collector.GetBufferForLineComment()); in NextWithComments() 790 collector.Flush(); in NextWithComments() 793 ConsumeBlockComment(collector.GetBufferForBlockComment()); in NextWithComments() 799 collector.ClearBuffer(); in NextWithComments() 805 collector.Flush(); in NextWithComments() 824 ConsumeLineComment(collector.GetBufferForLineComment()); in NextWithComments() 827 ConsumeBlockComment(collector.GetBufferForBlockComment()); in NextWithComments() 839 collector.Flush(); in NextWithComments() [all …]
|
/third_party/gn/src/gn/ |
D | parser_unittest.cc | 33 std::ostringstream collector; in DoParserPrintTest() local 34 RenderToText(result->GetJSONNode(), 0, collector); in DoParserPrintTest() 36 EXPECT_EQ(expected, collector.str()); in DoParserPrintTest() 49 std::ostringstream collector; in DoExpressionPrintTest() local 50 RenderToText(result->GetJSONNode(), 0, collector); in DoExpressionPrintTest() 52 EXPECT_EQ(expected, collector.str()); in DoExpressionPrintTest()
|
D | function_get_target_outputs.cc | 87 Scope::ItemVector* collector = scope->GetItemCollector(); local 88 if (!collector) { 92 for (const auto& item : *collector) {
|
/third_party/node/deps/v8/src/heap/ |
D | gc-tracer-inl.h | 100 bool GCTracer::IsConsistentWithCollector(GarbageCollector collector) const { in IsConsistentWithCollector() argument 101 return (collector == GarbageCollector::SCAVENGER && in IsConsistentWithCollector() 103 (collector == GarbageCollector::MINOR_MARK_COMPACTOR && in IsConsistentWithCollector() 105 (collector == GarbageCollector::MARK_COMPACTOR && in IsConsistentWithCollector()
|
D | gc-tracer.h | 207 RecordGCPhasesInfo(Heap* heap, GarbageCollector collector); 245 void UpdateStatistics(GarbageCollector collector); 251 void StartCycle(GarbageCollector collector, GarbageCollectionReason gc_reason, 276 V8_INLINE bool IsConsistentWithCollector(GarbageCollector collector) const; 424 void StopCycle(GarbageCollector collector);
|
D | paged-spaces.cc | 123 MarkCompactCollector* collector = heap()->mark_compact_collector(); in RefillFreeList() local 128 while ((p = collector->sweeper()->GetSweptPageSafe(this)) != nullptr) { in RefillFreeList() 620 MarkCompactCollector* collector = heap()->mark_compact_collector(); in RawRefillLabBackground() local 622 if (collector->sweeping_in_progress()) { in RawRefillLabBackground() 636 int max_freed = collector->sweeper()->ParallelSweepSpace( in RawRefillLabBackground() 659 if (collector->sweeping_in_progress()) { in RawRefillLabBackground() 662 collector->DrainSweepingWorklistForSpace(identity()); in RawRefillLabBackground() 942 MarkCompactCollector* collector = heap()->mark_compact_collector(); in RawRefillLabMain() local 944 if (collector->sweeping_in_progress()) { in RawRefillLabMain() 1001 MarkCompactCollector* collector = heap()->mark_compact_collector(); in ContributeToSweepingMain() local [all …]
|
D | gc-tracer.cc | 129 GarbageCollector collector) { in RecordGCPhasesInfo() argument 132 if (Heap::IsYoungGenerationCollector(collector)) { in RecordGCPhasesInfo() 136 DCHECK_EQ(GarbageCollector::MARK_COMPACTOR, collector); in RecordGCPhasesInfo() 271 void GCTracer::StartCycle(GarbageCollector collector, in StartCycle() argument 283 Heap::IsYoungGenerationCollector(collector) && in StartCycle() 287 switch (collector) { in StartCycle() 319 DCHECK(!Heap::IsYoungGenerationCollector(collector)); in StartCycle() 324 if (Heap::IsYoungGenerationCollector(collector)) { in StartCycle() 378 void GCTracer::UpdateStatistics(GarbageCollector collector) { in UpdateStatistics() argument 379 const bool is_young = Heap::IsYoungGenerationCollector(collector); in UpdateStatistics() [all …]
|
D | heap.cc | 1379 void Heap::GarbageCollectionEpilogueInSafepoint(GarbageCollector collector) { in GarbageCollectionEpilogueInSafepoint() argument 1380 if (collector == GarbageCollector::MARK_COMPACTOR) { in GarbageCollectionEpilogueInSafepoint() 1461 void Heap::GarbageCollectionEpilogue(GarbageCollector collector) { in GarbageCollectionEpilogue() argument 1468 collector == GarbageCollector::MARK_COMPACTOR) { in GarbageCollectionEpilogue() 1748 static GCType GetGCTypeFromGarbageCollector(GarbageCollector collector) { in GetGCTypeFromGarbageCollector() argument 1749 switch (collector) { in GetGCTypeFromGarbageCollector() 1790 GarbageCollector collector = SelectGarbageCollector(space, &collector_reason); in CollectGarbage() local 1791 GCType gc_type = GetGCTypeFromGarbageCollector(collector); in CollectGarbage() 1814 size_t committed_memory_before = collector == GarbageCollector::MARK_COMPACTOR in CollectGarbage() 1821 this, IsYoungGenerationCollector(collector) ? "MinorGC" : "MajorGC", in CollectGarbage() [all …]
|
D | mark-compact.cc | 1103 explicit RootMarkingVisitor(MarkCompactCollector* collector) in RootMarkingVisitor() argument 1104 : collector_(collector), is_shared_heap_(collector->is_shared_heap()) {} in RootMarkingVisitor() 1176 explicit CustomRootBodyMarkingVisitor(MarkCompactCollector* collector) in CustomRootBodyMarkingVisitor() argument 1177 : ObjectVisitorWithCageBases(collector->isolate()), in CustomRootBodyMarkingVisitor() 1178 collector_(collector) {} in CustomRootBodyMarkingVisitor() 1236 explicit SharedHeapObjectVisitor(MarkCompactCollector* collector) in SharedHeapObjectVisitor() argument 1237 : ObjectVisitorWithCageBases(collector->isolate()), in SharedHeapObjectVisitor() 1238 collector_(collector) {} in SharedHeapObjectVisitor() 1428 MarkCompactCollector* collector, in RecordMigratedSlotVisitor() argument 1430 : ObjectVisitorWithCageBases(collector->isolate()), in RecordMigratedSlotVisitor() [all …]
|
/third_party/node/deps/v8/tools/gcmole/ |
D | gcmole.py | 388 collector = GCSuspectsCollector(options) 393 collector.parse(stdout.splitlines()) 394 collector.propagate() 396 write_gcmole_results(collector, options, options.v8_root_dir) 397 write_gcmole_results(collector, options, options.out_dir) 400 def write_gcmole_results(collector, options, dst): argument 409 for name, value in list(collector.gc.items()): 426 for name, causes in list(collector.gc_caused.items()):
|
/third_party/mbedtls/scripts/ |
D | generate_psa_constants.py | 329 collector = CaseBuilder() 332 collector.read_file(header_file) 335 collector.write_file(output_file)
|
/third_party/typescript/src/services/ |
D | classifier2020.ts | 44 const collector = (node: Node, typeIdx: number, modifierSet: number) => { constant 49 collectTokens(program, sourceFile, span, collector, cancellationToken); 54 …function collectTokens(program: Program, sourceFile: SourceFile, span: TextSpan, collector: (node:… 131 collector(node, typeIdx, modifierSet);
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/ |
D | RemoveUnreferencedVariables.cpp | 363 CollectVariableRefCountsTraverser collector; in RemoveUnreferencedVariables() local 364 root->traverse(&collector); in RemoveUnreferencedVariables() 365 RemoveUnreferencedVariablesTraverser traverser(&collector.getSymbolIdRefCounts(), in RemoveUnreferencedVariables() 366 &collector.getStructIdRefCounts(), symbolTable); in RemoveUnreferencedVariables()
|
/third_party/node/deps/openssl/openssl/util/ |
D | mkdef.pl | 338 my $collector = 347 push @slot_collection, $collector->(); # Just occupy a slot 353 push @slot_collection, $collector->($_->name(), $type);
|
/third_party/openssl/util/ |
D | mkdef.pl | 338 my $collector = 347 push @slot_collection, $collector->(); # Just occupy a slot 353 push @slot_collection, $collector->($_->name(), $type);
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | README.txt | 116 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
|