Home
last modified time | relevance | path

Searched refs:Producer (Results 1 – 25 of 76) sorted by relevance

1234

/external/libchrome/base/memory/
Dweak_ptr_unittest.nc12 struct Producer : SupportsWeakPtr<Producer> {};
13 struct DerivedProducer : Producer {};
14 struct OtherDerivedProducer : Producer {};
15 struct MultiplyDerivedProducer : Producer,
20 …mber subobject of type 'base::DerivedProducer \*' with an lvalue of type 'base::Producer \*const'"]
23 Producer f;
24 WeakPtr<Producer> ptr = f.AsWeakPtr();
28 …mber subobject of type 'base::DerivedProducer \*' with an lvalue of type 'base::Producer \*const'"]
31 Producer f;
32 WeakPtr<Producer> ptr = f.AsWeakPtr();
[all …]
/external/dagger2/compiler/src/it/producers-functional-tests/src/test/java/producerstest/
DProducerFactoryTest.java21 import dagger.producers.Producer;
65 Producer<String> producer = in noArgMethod()
79 Producer<Integer> intProducer = producerOfFuture(intFuture); in singleArgMethod()
80 Producer<String> producer = in singleArgMethod()
94 Producer<SettableFuture<String>> strFutureProducer = producerOfFuture(strFutureFuture); in successMonitor()
95 Producer<String> producer = in successMonitor()
121 Producer<SettableFuture<String>> strFutureProducer = producerOfFuture(strFutureFuture); in failureMonitor()
122 Producer<String> producer = in failureMonitor()
152 Producer<String> producer = in failureMonitorDueToThrowingProducer()
178 private static <T> Producer<T> producerOfFuture(final ListenableFuture<T> future) { in producerOfFuture()
[all …]
/external/dagger2/producers/src/main/java/dagger/producers/internal/
DSetProducer.java22 import dagger.producers.Producer;
42 public static <T> Producer<Set<T>> create(Producer<Set<T>>... producers) { in create()
46 private final Set<Producer<Set<T>>> contributingProducers;
48 private SetProducer(Set<Producer<Set<T>>> contributingProducers) { in SetProducer()
69 for (Producer<Set<T>> producer : contributingProducers) { in compute()
DProducers.java24 import dagger.producers.Producer;
94 public static <T> Producer<T> producerFromProvider(final Provider<T> provider) {
105 public static <T> Producer<T> immediateProducer(final T value) {
106 return new Producer<T>() {
115 public static <T> Producer<T> immediateFailedProducer(final Throwable throwable) {
116 return new Producer<T>() {
DSetOfProducedProducer.java23 import dagger.producers.Producer;
44 public static <T> Producer<Set<Produced<T>>> create(Producer<Set<T>>... producers) { in create()
48 private final ImmutableSet<Producer<Set<T>>> contributingProducers;
50 private SetOfProducedProducer(ImmutableSet<Producer<Set<T>>> contributingProducers) { in SetOfProducedProducer()
71 for (Producer<Set<T>> producer : contributingProducers) { in compute()
DAbstractProducer.java19 import dagger.producers.Producer;
36 public abstract class AbstractProducer<T> implements Producer<T> {
/external/guava/guava-tests/test/com/google/common/collect/
DQueuesTest.java87 threadPool.submit(new Producer(q, 20)); in testMultipleProducers()
88 threadPool.submit(new Producer(q, 20)); in testMultipleProducers()
89 threadPool.submit(new Producer(q, 20)); in testMultipleProducers()
90 threadPool.submit(new Producer(q, 20)); in testMultipleProducers()
91 threadPool.submit(new Producer(q, 20)); in testMultipleProducers()
112 Future<?> submitter = threadPool.submit(new Producer(q, 1)); in testDrainTimesOut()
160 threadPool.submit(new Producer(q, 1)); in testNegativeMaxElements()
197 new Producer(q, 50).run(); in testDrainUninterruptibly_doesNotThrow()
199 new Producer(q, 50).run(); in testDrainUninterruptibly_doesNotThrow()
277 private static class Producer implements Runnable { class in QueuesTest
[all …]
/external/deqp/framework/delibs/decpp/
DdeThreadSafeRingBuffer.cpp96 class Producer : public Thread class
99 Producer (ThreadSafeRingBuffer<Message>& buffer, deUint16 threadId, int dataSize) in Producer() function in de::__anon0815611c0111::Producer
134 vector<Producer*> producers; in ThreadSafeRingBuffer_selfTest()
138 producers.push_back(new Producer(buffer, (deUint16)i, dataSize)); in ThreadSafeRingBuffer_selfTest()
148 for (vector<Producer*>::iterator i = producers.begin(); i != producers.end(); i++) in ThreadSafeRingBuffer_selfTest()
152 for (vector<Producer*>::iterator i = producers.begin(); i != producers.end(); i++) in ThreadSafeRingBuffer_selfTest()
177 for (vector<Producer*>::iterator i = producers.begin(); i != producers.end(); i++) in ThreadSafeRingBuffer_selfTest()
DdeBlockBuffer.cpp122 class Producer : public Thread class
125 Producer (MessageBuffer& buffer, deUint16 threadId, int numMessages) in Producer() function in de::BlockBufferBasicTest::Producer
171 vector<Producer*> producers; in runTest()
175 producers.push_back(new Producer(buffer, (deUint16)i, dataSize)); in runTest()
185 for (vector<Producer*>::iterator i = producers.begin(); i != producers.end(); i++) in runTest()
189 for (vector<Producer*>::iterator i = producers.begin(); i != producers.end(); i++) in runTest()
216 for (vector<Producer*>::iterator i = producers.begin(); i != producers.end(); i++) in runTest()
228 class Producer : public Thread class
231 Producer (BlockBuffer<deUint8>* buffer, deUint32 seed) in Producer() function in de::BlockBufferCancelTest::Producer
316 threads.push_back(new Producer(&buffer, rnd.getUint32())); in runTest()
/external/dagger2/producers/src/test/java/dagger/producers/internal/
DSetOfProducedProducerTest.java22 import dagger.producers.Producer;
40 Producer<Set<Produced<Integer>>> producer = in success()
55 Producer<Set<Produced<Integer>>> producer = in failure()
66 Producer<Set<Produced<Integer>>> producer = in delegateSetNpe()
77 Producer<Set<Produced<Integer>>> producer = in oneOfDelegateSetNpe()
90 Producer<Set<Produced<Integer>>> producer = in delegateElementNpe()
102 Producer<Set<Produced<Integer>>> producer = in oneOfDelegateElementNpe()
DSetProducerTest.java20 import dagger.producers.Producer;
37 Producer<Set<Integer>> producer = in success()
45 Producer<Set<Integer>> producer = in delegateSetNpe()
59 Producer<Set<Integer>> producer = in delegateElementNpe()
DAbstractProducerTest.java21 import dagger.producers.Producer;
67 Producer<Object> producer = new DelegateProducer<>(componentMonitorProvider, null); in get_nullPointerException()
76 Producer<Integer> producer = in get()
93 Producer<Integer> producer = new DelegateProducer<>(componentMonitorProvider, delegateFuture); in monitor_success()
107 Producer<Integer> producer = new DelegateProducer<>(componentMonitorProvider, delegateFuture); in monitor_failure()
/external/mockito/src/test/java/org/mockitousage/misuse/
DSpyStubbingMisuseTest.java20 Producer out = spy(new Producer(mfoo)); in nestedWhenTest()
45 public class Producer { class in SpyStubbingMisuseTest
47 Producer(Strategy f) { in Producer() method in SpyStubbingMisuseTest.Producer
/external/dagger2/compiler/src/test/java/dagger/internal/codegen/
DDependencyRequestMapperTest.java25 import dagger.producers.Producer;
118 .isEqualTo(Producer.class); in forProducer()
126 .isEqualTo(Producer.class); in forProducer()
128 .isEqualTo(Producer.class); in forProducer()
141 @Produces String produceString(Producer<Integer> a, Produced<Integer> b) { in produceString()
/external/dagger2/compiler/src/it/producers-functional-tests/src/main/java/producerstest/
DSimpleProducerModule.java23 import dagger.producers.Producer;
108 static String strWithArgs(int i, Produced<Double> b, Producer<Object> c, Provider<Boolean> d) { in strWithArgs()
115 int i, Produced<Double> b, Producer<Object> c, Provider<Boolean> d) throws IOException { in strWithArgsThrowingException()
122 int i, Produced<Double> b, Producer<Object> c, Provider<Boolean> d) { in futureStrWithArgs()
129 int i, Produced<Double> b, Producer<Object> c, Provider<Boolean> d) throws IOException { in futureStrWithArgsThrowingException()
/external/perfetto/src/tracing/
DREADME.md6 In this mode Producer, Consumers and the Service are hosted in the same process.
12 - Subclass Producer (`core/producer.h`) and connect it to the service.
19 mechanism that allows Producer(s), Consumer(s) and Service to be hosted on
21 - Producer(s) are expected to get a service proxy via
25 for Producer(s), one for Consumer(s)) on the current process.
/external/perfetto/src/tracing/ipc/producer/
Dproducer_ipc_client_impl.h43 class Producer; variable
55 Producer*,
87 Producer* const producer_;
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/
DDependencyRequestMapper.java22 import dagger.producers.Producer;
51 } else if (classes.equals(ImmutableSet.of(Producer.class, Provider.class))) { in getFrameworkClass()
84 return Producer.class; in getFrameworkClass()
/external/perfetto/protos/
DREADME.md13 Producer.
14 * (iii) the per-data-source descriptor that each Producer advertises to the
18 the Perfetto components (Producer, trace daemon and Consumer(s)). This is
/external/perfetto/docs/
Darchitecture.md3 Producer <> Service <> Consumer model
15 - Moves data from the Producer's shared memory buffer to the central non-shared
18 **Producer**
37 Concrete example: at some point in the future Chrome might expose one Producer for tracing within t…
59 A data source is a capability, exposed by a Producer, of providing some tracing
86 Producer <> Service <> Consumer interaction via `PostTask(s)`.
92 Producer(s) write tracing data, in the form of protobuf-encoded binary blobs,
103 - Is owned exclusively by one Producer thread (or shared through a mutex).
/external/perfetto/src/tracing/core/
Dvirtual_destructors.cc31 Producer::~Producer() = default;
Dservice_impl.h46 class Producer; variable
66 Producer*,
97 Producer* producer_;
175 Producer*,
/external/perfetto/include/perfetto/tracing/ipc/
Dproducer_ipc_client.h27 class Producer; variable
46 Producer*,
/external/perfetto/include/perfetto/tracing/core/
Dproducer.h45 class PERFETTO_EXPORT Producer {
47 virtual ~Producer();
Dservice.h40 class Producer; variable
154 Producer*,

1234