Home
last modified time | relevance | path

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

123456

/third_party/python/Lib/test/
Dtest_htmlparser.py86 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/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()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/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()
/third_party/python/Doc/c-api/
Dgcsupport.rst54 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/
Dgc.rst5 :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/
DCommentsSchema.java113 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);
DAltFormatsSchema.java126 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/
Dtokenizer.cc765 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/
Dparser_unittest.cc33 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()
Dfunction_get_target_outputs.cc87 Scope::ItemVector* collector = scope->GetItemCollector(); local
88 if (!collector) {
92 for (const auto& item : *collector) {
Dscope.h304 void set_item_collector(ItemVector* collector) { in set_item_collector() argument
305 item_collector_ = collector; in set_item_collector()
Dtarget_generator.cc164 Scope::ItemVector* collector = scope->GetItemCollector(); in GenerateTarget() local
165 if (!collector) { in GenerateTarget()
169 collector->push_back(std::move(target)); in GenerateTarget()
Dfunctions.cc396 Scope::ItemVector* collector = scope->GetItemCollector(); in RunConfig() local
397 if (!collector) { in RunConfig()
401 collector->push_back(std::move(config)); in RunConfig()
914 Scope::ItemVector* collector = scope->GetItemCollector(); in RunPool() local
915 if (!collector) { in RunPool()
919 collector->push_back(std::move(pool)); in RunPool()
/third_party/flutter/flutter/packages/flutter_tools/bin/
Dfuchsia_tester.dart116 CoverageCollector collector;
118 collector = CoverageCollector(
146 watcher: collector,
148 enableObservatory: collector != null,
155 if (collector != null) {
156 // collector expects currentDirectory to be the root of the dart
164 …if (!await collector.collectCoverageData(argResults[_kOptionCoveragePath], coverageDirectory: cove…
/third_party/flutter/flutter/packages/flutter_tools/lib/src/commands/
Dtest.dart186 CoverageCollector collector;
189 collector = CoverageCollector(
195 if (collector != null && machine) {
200 if (collector != null) {
201 watcher = collector;
231 enableObservatory: collector != null || startPaused,
244 if (collector != null) {
245 if (!await collector.collectCoverageData(
/third_party/mbedtls/scripts/
Dgenerate_psa_constants.py329 collector = CaseBuilder()
332 collector.read_file(header_file)
335 collector.write_file(output_file)
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/
DRemoveUnreferencedVariables.cpp363 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/flutter/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/
DRemoveUnreferencedVariables.cpp363 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/typescript/src/services/
Dclassifier2020.ts44 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/openssl/util/
Dmkdef.pl338 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/
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
/third_party/flutter/flutter/packages/flutter_tools/lib/src/ios/
Dxcodeproj.dart307 List<String> collector;
310 collector = null;
313 collector = targets;
316 collector = buildConfigurations;
319 collector = schemes;
322 collector?.add(line.trim());
/third_party/flutter/flutter/packages/flutter/lib/src/foundation/
Dlicenses.dart271 /// blank line. The `services` package registers a license collector that splits
297 static void addLicense(LicenseEntryCollector collector) {
299 _collectors.add(collector);
308 for (LicenseEntryCollector collector in _collectors)
309 yield* collector();
/third_party/libphonenumber/metadata/src/main/java/com/google/i18n/phonenumbers/metadata/table/
DCsvTable.java425 CsvTableCollector collector = new CsvTableCollector(align); in exportCsvHelper() local
426 collector.accept( in exportCsvHelper()
433 collector.accept( in exportCsvHelper()
438 collector.writeCsv(writer); in exportCsvHelper()
/third_party/flutter/flutter/packages/flutter/lib/src/painting/
Dplaceholder_span.dart64 void computeSemanticsInformation(List<InlineSpanSemanticsInformation> collector) {
65 collector.add(InlineSpanSemanticsInformation.placeholder);

123456