HomeSort by relevance Sort by last modified time
    Searched refs:Collector (Results 1 - 25 of 65) sorted by null

1 2 3

  /platform_testing/utils/crashcollector/
crashcollector 19 exec app_process $base android.test.crashcollector.Collector $*
  /cts/hostsidetests/inputmethodservice/deviceside/devicetest/src/android/inputmethodservice/cts/devicetest/
MoreCollectors.java 5 import java.util.stream.Collector;
15 * Create a collector that collects elements ending at an element that satisfies specified
24 * @return {@link Collector} object that collects elements ending at an element that is
27 static <E> Collector<E, ?, Stream<E>> endingAt(final Predicate<E> predicate) {
42 return Collector.of(
52 * Create a collector that collects elements starting from an element that satisfies specified
61 * @return {@link Collector} object that collects elements starting from an element that is
64 static <E> Collector<E, ?, Stream<E>> startingFrom(final Predicate<E> predicate) {
80 return Collector.of(
SequenceMatcher.java 8 import java.util.stream.Collector;
80 * Create a {@link Collector} that collects continuous sequence of elements that equal to
111 static <E> Collector<E, ?, MatchResult<E>> of(final E... elements) {
120 * Create a {@link Collector} that collects continuous sequence of elements that satisfied
128 static <E> Collector<E, ?, MatchResult<E>> of(final Predicate<E>... predicates) {
132 return Collector.of(
InputMethodServiceDeviceTest.java 60 import java.util.stream.Collector;
228 * Build stream collector of {@link DeviceEvent} collecting sequence that elements have
232 * @return {@link java.util.stream.Collector} that corrects the sequence.
234 private static Collector<DeviceEvent, ?, MatchResult<DeviceEvent>> sequenceOfTypes(
  /libcore/ojluni/src/main/java/java/util/stream/
Collectors.java 61 * Implementations of {@link Collector} that implement various useful reduction
106 static final Set<Collector.Characteristics> CH_CONCURRENT_ID
107 = Collections.unmodifiableSet(EnumSet.of(Collector.Characteristics.CONCURRENT,
108 Collector.Characteristics.UNORDERED,
109 Collector.Characteristics.IDENTITY_FINISH));
110 static final Set<Collector.Characteristics> CH_CONCURRENT_NOID
111 = Collections.unmodifiableSet(EnumSet.of(Collector.Characteristics.CONCURRENT,
112 Collector.Characteristics.UNORDERED));
113 static final Set<Collector.Characteristics> CH_ID
114 = Collections.unmodifiableSet(EnumSet.of(Collector.Characteristics.IDENTITY_FINISH))
    [all...]
Collector.java 50 * <p>A {@code Collector} is specified by four functions that work together to
63 * <p>A sequential implementation of a reduction using a collector would
72 * results, the collector functions must satisfy an <em>identity</em> and an
102 * differences in order. (For example, an unordered collector that accumulated
106 * <p>Libraries that implement reduction based on {@code Collector}, such as
107 * {@link Stream#collect(Collector)}, must adhere to the following constraints:
125 * the {@code Collector} needing to implement any additional synchronization.
134 * A concurrent reduction should only be applied if the collector has the
141 * can be used to construct collectors. For example, you could create a collector
145 * Collector<Widget, ?, TreeSet<Widget>> intoSet
    [all...]
ReferencePipeline.java 491 public final <R, A> R collect(Collector<? super P_OUT, A, R> collector) {
494 && (collector.characteristics().contains(Collector.Characteristics.CONCURRENT))
495 && (!isOrdered() || collector.characteristics().contains(Collector.Characteristics.UNORDERED))) {
496 container = collector.supplier().get();
497 BiConsumer<A, ? super P_OUT> accumulator = collector.accumulator();
501 container = evaluate(ReduceOps.makeRef(collector));
503 return collector.characteristics().contains(Collector.Characteristics.IDENTITY_FINISH
    [all...]
Stream.java     [all...]
  /external/clang/lib/Frontend/
ModuleDependencyCollector.cpp 29 ModuleDependencyCollector &Collector;
31 ModuleDependencyListener(ModuleDependencyCollector &Collector)
32 : Collector(Collector) {}
37 Collector.addFile(Filename);
43 ModuleDependencyCollector &Collector;
44 ModuleDependencyMMCallbacks(ModuleDependencyCollector &Collector)
45 : Collector(Collector) {}
49 Collector.addFile(HeaderPath)
    [all...]
  /external/guice/extensions/multibindings/test/com/google/inject/multibindings/
Collector.java 21 class Collector extends DefaultBindingTargetVisitor<Object, Object> implements
  /external/v8/src/
collector.h 21 * in memory). The collector may move elements unless it has guaranteed not
25 class Collector {
27 explicit Collector(int initial_capacity = kMinCapacity)
32 virtual ~Collector() {
52 // A basic Collector will keep this vector valid as long as the Collector
70 // A basic Collector will keep this vector valid as long as the Collector
85 // Write the contents of the collector into the provided vector.
112 // Resets the collector to be empty
    [all...]
  /external/icu/android_icu4j/src/main/java/android/icu/impl/
ICUCurrencyMetaInfo.java 73 private <T> List<T> collect(Collector<T> collector, CurrencyFilter filter) {
81 int needed = collector.collects();
99 collectRegion(collector, filter, needed, b);
103 collectRegion(collector, filter, needed, regionInfo.at(i));
108 return collector.getList();
111 private <T> void collectRegion(Collector<T> collector, CurrencyFilter filter,
116 collector.collect(b.getKey(), null, 0, 0, -1, false);
164 collector.collect(region, currency, from, to, i, tender)
    [all...]
  /external/icu/icu4j/main/classes/currdata/src/com/ibm/icu/impl/
ICUCurrencyMetaInfo.java 71 private <T> List<T> collect(Collector<T> collector, CurrencyFilter filter) {
79 int needed = collector.collects();
97 collectRegion(collector, filter, needed, b);
101 collectRegion(collector, filter, needed, regionInfo.at(i));
106 return collector.getList();
109 private <T> void collectRegion(Collector<T> collector, CurrencyFilter filter,
114 collector.collect(b.getKey(), null, 0, 0, -1, false);
162 collector.collect(region, currency, from, to, i, tender)
    [all...]
  /external/v8/src/parsing/
preparse-data.h 10 #include "src/collector.h"
106 Collector<unsigned> function_store_;
  /libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/
GroupByOpTest.java 39 import java.util.stream.Collector;
63 Collector<Integer, Map<Boolean, List<Integer>>, Map<Boolean, List<Integer>>> collector local
64 = (Collector<Integer, Map<Boolean, List<Integer>>, Map<Boolean, List<Integer>>>) Collectors.groupingBy(LambdaTestHelpers.forPredicate(pEven, true, false));
66 Map<Boolean, List<Integer>> m = collector.supplier().get();
69 collector.accumulator().accept(m, i);
134 Collector<Integer, ?, Map<Object, List<Integer>>> tab = Collectors.groupingBy(md.m);
TabulatorsTest.java 47 import java.util.stream.Collector;
247 Collector<T, ?, ? extends M> collector,
250 boolean ordered = !collector.characteristics().contains(Collector.Characteristics.UNORDERED);
253 .terminal(s -> s.collect(collector))
259 .terminal(s -> s.unordered().collect(collector))
281 Collector<T, ?, R> collector,
284 withData(data).terminal(s -> s.collect(collector)).expectedResult(check).exercise()
    [all...]
  /external/toolchain-utils/fdo_scripts/
summarize_hot_blocks.py 62 class Collector(object):
174 co = Collector(options.data_dir, int(options.cutoff), options.output_dir,
  /platform_testing/utils/crashcollector/src/android/test/crashcollector/
Collector.java 37 * Main class for the crash collector that installs an activity controller to monitor app errors
39 public class Collector {
57 int resultCode = (new Collector()).run(args);
  /external/python/cpython2/Lib/test/
test_htmlparser.py 75 def _run_check(self, source, expected_events, collector=EventCollector):
76 parser = collector()
373 # The normal event collector normalizes the events in get_events,
375 class Collector(EventCollector):
389 collector=Collector)
  /prebuilts/gdb/darwin-x86/lib/python2.7/test/
test_htmlparser.py 75 def _run_check(self, source, expected_events, collector=EventCollector):
76 parser = collector()
369 # The normal event collector normalizes the events in get_events,
371 class Collector(EventCollector):
385 collector=Collector)
  /prebuilts/gdb/linux-x86/lib/python2.7/test/
test_htmlparser.py 75 def _run_check(self, source, expected_events, collector=EventCollector):
76 parser = collector()
369 # The normal event collector normalizes the events in get_events,
371 class Collector(EventCollector):
385 collector=Collector)
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_htmlparser.py 75 def _run_check(self, source, expected_events, collector=EventCollector):
76 parser = collector()
369 # The normal event collector normalizes the events in get_events,
371 class Collector(EventCollector):
385 collector=Collector)
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_htmlparser.py 75 def _run_check(self, source, expected_events, collector=EventCollector):
76 parser = collector()
369 # The normal event collector normalizes the events in get_events,
371 class Collector(EventCollector):
385 collector=Collector)
  /libcore/ojluni/src/main/java/java/lang/invoke/
MethodHandle.java 561 * if the callee is not a {@linkplain #asVarargsCollector variable arity collector}.
    [all...]
  /external/clang/lib/AST/
CXXInheritance.cpp 625 FinalOverriderCollector Collector;
626 Collector.Collect(this, false, nullptr, FinalOverriders);

Completed in 418 milliseconds

1 2 3