/external/dagger2/java/dagger/producers/internal/ |
D | MapOfProducerProducer.java | 27 import dagger.producers.Producer; 35 public final class MapOfProducerProducer<K, V> extends AbstractMapProducer<K, V, Producer<V>> { 41 private MapOfProducerProducer(ImmutableMap<K, Producer<V>> contributingMap) { in MapOfProducerProducer() 46 public ListenableFuture<Map<K, Producer<V>>> compute() { in compute() 47 return Futures.<Map<K, Producer<V>>>immediateFuture(contributingMap()); in compute() 51 public static final class Builder<K, V> extends AbstractMapProducer.Builder<K, V, Producer<V>> { 57 public Builder<K, V> put(K key, Producer<V> producerOfValue) { in put() 69 public Builder<K, V> putAll(Producer<Map<K, Producer<V>>> mapOfProducerProducer) { in putAll() 81 public Producer<Map<K, Producer<V>>> newDependencyView() { in newDependencyView() 86 public Producer<Map<K, Producer<V>>> newEntryPointView( in newEntryPointView() [all …]
|
D | DelegateProducer.java | 23 import dagger.producers.Producer; 41 public void setDelegatedProducer(Producer<T> delegate) { in setDelegatedProducer() 51 public static <T> void setDelegate(Producer<T> delegateProducer, Producer<T> delegate) { in setDelegate() 75 public Producer<T> newDependencyView() { in newDependencyView() 78 Producer<T> createDelegate() { in newDependencyView() 85 public Producer<T> newEntryPointView(final CancellationListener cancellationListener) { 88 Producer<T> createDelegate() { 94 private abstract static class ProducerView<T> implements Producer<T> { 95 private final Provider<Producer<T>> delegate = 97 new Provider<Producer<T>>() { [all …]
|
D | SetProducer.java | 29 import dagger.producers.Producer; 41 private static final Producer<Set<Object>> EMPTY_PRODUCER = 45 public static <T> Producer<Set<T>> empty() { in empty() 46 return (Producer) EMPTY_PRODUCER; in empty() 64 private final List<Producer<T>> individualProducers; 65 private final List<Producer<Collection<T>>> collectionProducers; 73 public Builder<T> addProducer(Producer<? extends T> individualProducer) { in addProducer() 75 individualProducers.add((Producer<T>) individualProducer); in addProducer() 81 Producer<? extends Collection<? extends T>> multipleProducer) { in addCollectionProducer() 83 collectionProducers.add((Producer<Collection<T>>) multipleProducer); in addCollectionProducer() [all …]
|
D | SetOfProducedProducer.java | 29 import dagger.producers.Producer; 42 public static <T> Producer<Set<T>> empty() { in empty() 61 private final List<Producer<T>> individualProducers; 62 private final List<Producer<Collection<T>>> collectionProducers; 70 public Builder<T> addProducer(Producer<? extends T> individualProducer) { in addProducer() 72 individualProducers.add((Producer<T>) individualProducer); in addProducer() 78 Producer<? extends Collection<? extends T>> multipleProducer) { in addCollectionProducer() 80 collectionProducers.add((Producer<Collection<T>>) multipleProducer); in addCollectionProducer() 94 private final List<Producer<T>> individualProducers; 95 private final List<Producer<Collection<T>>> collectionProducers; [all …]
|
D | Producers.java | 31 import dagger.producers.Producer; 127 public static <T> Producer<T> producerFromProvider(final Provider<T> provider) { 144 public static <T> Producer<T> immediateProducer(T value) { 155 public static <T> Producer<T> immediateFailedProducer(Throwable throwable) { 166 public static <T> Producer<T> nonCancellationPropagatingViewOf(Producer<T> producer) { 183 public static <T> Producer<T> entryPointViewOf( 184 Producer<T> producer, CancellationListener cancellationListener) { 199 public static void cancel(Producer<?> producer, boolean mayInterruptIfRunning) { 209 private static final Producer<Map<Object, Object>> EMPTY_MAP_PRODUCER = 213 public static <K, V> Producer<Map<K, V>> emptyMapProducer() { [all …]
|
D | AbstractMapProducer.java | 23 import dagger.producers.Producer; 36 private final ImmutableMap<K, Producer<V>> contributingMap; 38 AbstractMapProducer(ImmutableMap<K, Producer<V>> contributingMap) { in AbstractMapProducer() 43 final ImmutableMap<K, Producer<V>> contributingMap() { in contributingMap() 49 final ImmutableMap.Builder<K, Producer<V>> mapBuilder; 64 Builder<K, V, V2> put(K key, Producer<V> producerOfValue) { in put() 80 Builder<K, V, V2> putAll(Producer<Map<K, V2>> mapOfProducers) { in putAll() 88 ((AbstractMapProducer<K, V, ?>) (Producer) mapOfProducers); in putAll()
|
D | CancellableProducer.java | 19 import dagger.producers.Producer; 22 public interface CancellableProducer<T> extends Producer<T> { 35 Producer<T> newDependencyView(); in newDependencyView() 42 Producer<T> newEntryPointView(CancellationListener cancellationListener); in newEntryPointView()
|
D | MapOfProducedProducer.java | 29 import dagger.producers.Producer; 40 private MapOfProducedProducer(ImmutableMap<K, Producer<V>> contributingMap) { in MapOfProducedProducer() 60 Map.Entry<Object, Producer<Object>>, 64 Map.Entry<Object, Producer<Object>>, 68 final Map.Entry<Object, Producer<Object>> entry) { 83 Function<Map.Entry<K, Producer<V>>, ListenableFuture<Map.Entry<K, Produced<V>>>> 100 public Builder<K, V> put(K key, Producer<V> producerOfValue) { 112 public Builder<K, V> putAll(Producer<Map<K, Produced<V>>> mapOfProducedProducer) {
|
/external/libchrome/base/memory/ |
D | weak_ptr_unittest.nc | 12 struct Producer : SupportsWeakPtr<Producer> {}; 13 struct DerivedProducer : Producer {}; 14 struct OtherDerivedProducer : Producer {}; 15 struct MultiplyDerivedProducer : Producer, 20 …itialize a variable of type 'base::DerivedProducer \*' with an rvalue of type 'base::Producer \*'"] 23 Producer f; 24 WeakPtr<Producer> ptr = f.AsWeakPtr(); 28 …itialize a variable of type 'base::DerivedProducer \*' with an rvalue of type 'base::Producer \*'"] 31 Producer f; 32 WeakPtr<Producer> ptr = f.AsWeakPtr(); [all …]
|
/external/dagger2/javatests/dagger/functional/producers/provisions/ |
D | Provisions.java | 21 import dagger.producers.Producer; 35 final Producer<T> producer; 37 WrappedProducer(Producer<T> producer) { in WrappedProducer() 43 final Producer<InjectedClass> injectedClass1; 44 final Producer<InjectedClass> injectedClass2; 46 Output(Producer<InjectedClass> injectedClass1, Producer<InjectedClass> injectedClass2) { in Output() 58 Producer<InjectedClass> injectedClass) { in firstProducer() 63 Producer<InjectedClass> injectedClass) { in secondProducer()
|
/external/rust/crates/rayon/src/iter/ |
D | zip.rs | 88 A: Producer<Item = ITEM>, in with_producer() 104 A: Producer, in with_producer() 111 B: Producer<Item = ITEM>, in with_producer() 124 struct ZipProducer<A: Producer, B: Producer> { 129 impl<A: Producer, B: Producer> Producer for ZipProducer<A, B> {
|
D | chain.rs | 112 A: Producer<Item = B::Item>, in with_producer() 130 A: Producer, in with_producer() 137 B: Producer<Item = A::Item>, in with_producer() 150 A: Producer, 151 B: Producer<Item = A::Item>, 160 A: Producer, 161 B: Producer<Item = A::Item>, 168 impl<A, B> Producer for ChainProducer<A, B> 170 A: Producer, 171 B: Producer<Item = A::Item>,
|
D | interleave.rs | 99 I: Producer<Item = J::Item>, in with_producer() 121 I: Producer, in with_producer() 128 J: Producer<Item = I::Item>, in with_producer() 145 I: Producer, 146 J: Producer<Item = I::Item>, 157 I: Producer, 158 J: Producer<Item = I::Item>, 171 impl<I, J> Producer for InterleaveProducer<I, J> 173 I: Producer, 174 J: Producer<Item = I::Item>,
|
D | chunks.rs | 91 P: Producer<Item = T>, in with_producer() 105 P: Producer, 112 impl<P> Producer for ChunkProducer<P> 114 P: Producer, 161 P: Producer, 187 P: Producer, 197 P: Producer,
|
/external/dagger2/javatests/dagger/functional/producers/optional/ |
D | OptionalBindingComponents.java | 28 import dagger.producers.Producer; 54 abstract Optional<Producer<Value>> optionalProducer(); in optionalProducer() 89 Optional<Producer<Value>> optionalProducer, in values() 99 Optional<Producer<Value>> optionalProducer, in qualifiedValues() 156 ListenableFuture<Optional<Producer<Value>>> optionalProducer(); in optionalProducer() 167 ListenableFuture<Optional<Producer<Value>>> qualifiedOptionalProducer(); in qualifiedOptionalProducer() 173 ListenableFuture<Optional<Producer<Object>>> optionalNullableProducer(); in optionalNullableProducer()
|
/external/guava/guava-tests/test/com/google/common/collect/ |
D | QueuesTest.java | 105 Future<?> possiblyIgnoredError = threadPool.submit(new Producer(q, 20)); in testMultipleProducers() 107 Future<?> possiblyIgnoredError1 = threadPool.submit(new Producer(q, 20)); in testMultipleProducers() 109 Future<?> possiblyIgnoredError2 = threadPool.submit(new Producer(q, 20)); in testMultipleProducers() 111 Future<?> possiblyIgnoredError3 = threadPool.submit(new Producer(q, 20)); in testMultipleProducers() 113 Future<?> possiblyIgnoredError4 = threadPool.submit(new Producer(q, 20)); in testMultipleProducers() 133 Producer producer = new Producer(q, 1); in testDrainTimesOut() 186 Future<?> possiblyIgnoredError = threadPool.submit(new Producer(q, 1)); in testNegativeMaxElements() 227 new Producer(q, 50).call(); in testDrainUninterruptibly_doesNotThrow() 229 new Producer(q, 50).call(); in testDrainUninterruptibly_doesNotThrow() 307 private static class Producer implements Callable<Void> { class in QueuesTest [all …]
|
/external/guava/android/guava-tests/test/com/google/common/collect/ |
D | QueuesTest.java | 105 Future<?> possiblyIgnoredError = threadPool.submit(new Producer(q, 20)); in testMultipleProducers() 107 Future<?> possiblyIgnoredError1 = threadPool.submit(new Producer(q, 20)); in testMultipleProducers() 109 Future<?> possiblyIgnoredError2 = threadPool.submit(new Producer(q, 20)); in testMultipleProducers() 111 Future<?> possiblyIgnoredError3 = threadPool.submit(new Producer(q, 20)); in testMultipleProducers() 113 Future<?> possiblyIgnoredError4 = threadPool.submit(new Producer(q, 20)); in testMultipleProducers() 133 Producer producer = new Producer(q, 1); in testDrainTimesOut() 186 Future<?> possiblyIgnoredError = threadPool.submit(new Producer(q, 1)); in testNegativeMaxElements() 226 new Producer(q, 50).call(); in testDrainUninterruptibly_doesNotThrow() 228 new Producer(q, 50).call(); in testDrainUninterruptibly_doesNotThrow() 306 private static class Producer implements Callable<Void> { class in QueuesTest [all …]
|
/external/deqp/framework/delibs/decpp/ |
D | deThreadSafeRingBuffer.cpp | 96 class Producer : public Thread class 99 Producer (ThreadSafeRingBuffer<Message>& buffer, deUint16 threadId, int dataSize) in Producer() function in de::__anon197305060111::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()
|
D | deBlockBuffer.cpp | 122 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/java/dagger/producers/ |
D | Producers.java | 29 public static <T> Producer<T> immediateProducer(final T value) { in immediateProducer() 34 public static <T> Producer<T> immediateFailedProducer(final Throwable throwable) { in immediateFailedProducer() 55 public Producer<T> newDependencyView() { in newDependencyView() 60 public Producer<T> newEntryPointView(CancellationListener cancellationListener) { in newEntryPointView()
|
/external/mockito/src/test/java/org/mockitousage/misuse/ |
D | SpyStubbingMisuseTest.java | 20 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/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/MCTargetDesc/ |
D | HexagonMCChecker.cpp | 418 auto Producer = registerProducer(Op.getReg(), Consumer); in checkNewValues() local 419 if (std::get<0>(Producer) == nullptr) { in checkNewValues() 425 if (std::get<2>(Producer).isPredicated() && in checkNewValues() 429 std::get<0>(Producer)->getLoc(), in checkNewValues() 435 if (std::get<2>(Producer).Register != Hexagon::NoRegister && in checkNewValues() 436 std::get<2>(Producer).Register != Consumer.Register) { in checkNewValues() 437 reportNote(std::get<0>(Producer)->getLoc(), in checkNewValues() 445 if (std::get<2>(Producer).Register == Consumer.Register && in checkNewValues() 446 Consumer.PredicatedTrue != std::get<2>(Producer).PredicatedTrue) { in checkNewValues() 448 std::get<0>(Producer)->getLoc(), in checkNewValues() [all …]
|
/external/llvm-project/llvm/lib/Target/Hexagon/MCTargetDesc/ |
D | HexagonMCChecker.cpp | 428 auto Producer = registerProducer(Op.getReg(), Consumer); in checkNewValues() local 429 if (std::get<0>(Producer) == nullptr) { in checkNewValues() 435 if (std::get<2>(Producer).isPredicated() && in checkNewValues() 439 std::get<0>(Producer)->getLoc(), in checkNewValues() 445 if (std::get<2>(Producer).Register != Hexagon::NoRegister && in checkNewValues() 446 std::get<2>(Producer).Register != Consumer.Register) { in checkNewValues() 447 reportNote(std::get<0>(Producer)->getLoc(), in checkNewValues() 455 if (std::get<2>(Producer).Register == Consumer.Register && in checkNewValues() 456 Consumer.PredicatedTrue != std::get<2>(Producer).PredicatedTrue) { in checkNewValues() 458 std::get<0>(Producer)->getLoc(), in checkNewValues() [all …]
|
/external/dagger2/javatests/dagger/producers/internal/ |
D | SetOfProducedProducerTest.java | 25 import dagger.producers.Producer; 42 Producer<Set<Produced<Integer>>> producer = in success() 57 Producer<Set<Produced<Integer>>> producer = in failure() 69 Producer<Set<Produced<Integer>>> producer = in delegateNpe() 83 Producer<Set<Produced<Integer>>> producer = in delegateSetNpe() 97 Producer<Set<Produced<Integer>>> producer = in delegateElementNpe() 112 Producer<Set<Produced<Integer>>> producer = in oneOfDelegateElementNpe()
|
D | SetProducerTest.java | 24 import dagger.producers.Producer; 40 Producer<Set<Integer>> producer = in success() 50 Producer<Set<Integer>> producer = in delegateNpe() 65 Producer<Set<Integer>> producer = in delegateSetNpe() 80 Producer<Set<Integer>> producer = in delegateElementNpe()
|