/external/dagger2/producers/src/main/java/dagger/producers/internal/ |
D | SetOfProducedProducer.java | 22 import dagger.producers.Produced; 38 public final class SetOfProducedProducer<T> extends AbstractProducer<Set<Produced<T>>> { 44 public static <T> Producer<Set<Produced<T>>> create(Producer<Set<T>>... producers) { in create() 68 public ListenableFuture<Set<Produced<T>>> compute(ProducerMonitor unusedMonitor) { in compute() 69 List<ListenableFuture<Produced<Set<T>>>> futureProducedSets = in compute() 70 new ArrayList<ListenableFuture<Produced<Set<T>>>>(contributingProducers.size()); in compute() 80 new Function<List<Produced<Set<T>>>, Set<Produced<T>>>() { in compute() 82 public Set<Produced<T>> apply(List<Produced<Set<T>>> producedSets) { in compute() 83 ImmutableSet.Builder<Produced<T>> builder = ImmutableSet.builder(); in compute() 84 for (Produced<Set<T>> producedSet : producedSets) { in compute() [all …]
|
D | Producers.java | 23 import dagger.producers.Produced; 50 public static <T> ListenableFuture<Produced<T>> createFutureProduced(ListenableFuture<T> future) { in createFutureProduced() 55 new Function<T, Produced<T>>() { in createFutureProduced() 57 public Produced<T> apply(final T value) { in createFutureProduced() 58 return Produced.successful(value); in createFutureProduced() 65 private static final FutureFallback<Produced<Object>> FUTURE_FALLBACK_FOR_PRODUCED = 66 new FutureFallback<Produced<Object>>() { 67 @Override public ListenableFuture<Produced<Object>> create(final Throwable t) { 68 Produced<Object> produced = Produced.failed(t); 74 private static <T> FutureFallback<Produced<T>> futureFallbackForProduced() {
|
/external/dagger2/producers/src/test/java/dagger/producers/ |
D | ProducedTest.java | 35 assertThat(Produced.successful(5).get()).isEqualTo(5); in successfulProduced() 36 assertThat(Produced.successful("monkey").get()).isEqualTo("monkey"); in successfulProduced() 37 assertThat(Produced.successful(o).get()).isSameAs(o); in successfulProduced() 43 Produced.failed(cause).get(); in failedProduced() 54 .addEqualityGroup(Produced.successful(132435), Produced.successful(132435)) in producedEquivalence() 55 .addEqualityGroup(Produced.successful("hi"), Produced.successful("hi")) in producedEquivalence() 56 .addEqualityGroup(Produced.failed(e1), Produced.failed(e1)) in producedEquivalence() 57 .addEqualityGroup(Produced.failed(e2), Produced.failed(e2)) in producedEquivalence()
|
/external/dagger2/producers/src/test/java/dagger/producers/internal/ |
D | SetOfProducedProducerTest.java | 21 import dagger.producers.Produced; 40 Producer<Set<Produced<Integer>>> producer = in success() 46 Produced.successful(1), in success() 47 Produced.successful(2), in success() 48 Produced.successful(5), in success() 49 Produced.successful(7)); in success() 55 Producer<Set<Produced<Integer>>> producer = in failure() 61 Produced.successful(1), Produced.successful(2), Produced.<Integer>failed(e)); in failure() 66 Producer<Set<Produced<Integer>>> producer = in delegateSetNpe() 77 Producer<Set<Produced<Integer>>> producer = in oneOfDelegateSetNpe() [all …]
|
D | ProducersTest.java | 21 import dagger.producers.Produced; 41 ListenableFuture<Produced<String>> producedFuture = Producers.createFutureProduced(future); in createFutureProduced_success() 48 ListenableFuture<Produced<String>> producedFuture = Producers.createFutureProduced(future); in createFutureProduced_failure() 55 ListenableFuture<Produced<String>> producedFuture = Producers.createFutureProduced(future); in createFutureProduced_cancelPropagatesBackwards() 63 ListenableFuture<Produced<String>> producedFuture = Producers.createFutureProduced(future); in createFutureProduced_cancelDoesNotPropagateForwards() 71 private <T> ExecutionException getProducedException(Produced<T> produced) { in getProducedException()
|
/external/dagger2/compiler/src/it/producers-functional-tests/src/test/java/producerstest/ |
D | MultibindingTest.java | 20 import dagger.producers.Produced; 47 Produced.successful("foo"), in setBindingOfProduced() 48 Produced.successful("foo1"), in setBindingOfProduced() 49 Produced.successful("foo2"), in setBindingOfProduced() 50 Produced.successful("bar"), in setBindingOfProduced() 51 Produced.successful("bar1"), in setBindingOfProduced() 52 Produced.successful("bar2")); in setBindingOfProduced() 59 Set<Produced<String>> possiblyThrowingSet = multibindingComponent.possiblyThrowingSet().get(); in setBindingOfProducedWithFailures() 62 for (Produced<String> str : possiblyThrowingSet) { in setBindingOfProducedWithFailures()
|
/external/dagger2/producers/src/main/java/dagger/producers/ |
D | Produced.java | 46 public abstract class Produced<T> { class 66 public static <T> Produced<T> successful(@Nullable T value) { in successful() 74 public static <T> Produced<T> failed(Throwable throwable) { in failed() 78 private static final class Successful<T> extends Produced<T> { 105 private static final class Failed<T> extends Produced<T> { 132 private Produced() {} in Produced() method in Produced
|
/external/dagger2/compiler/src/it/producers-functional-tests/src/main/java/producerstest/ |
D | MultibindingComponent.java | 19 import dagger.producers.Produced; 29 ListenableFuture<Set<Produced<String>>> successfulSet(); in successfulSet() 32 ListenableFuture<Set<Produced<String>>> possiblyThrowingSet(); in possiblyThrowingSet()
|
D | SimpleProducerModule.java | 22 import dagger.producers.Produced; 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/dagger2/compiler/src/test/java/dagger/internal/codegen/ |
D | DependencyRequestMapperTest.java | 24 import dagger.producers.Produced; 141 @Produces String produceString(Producer<Integer> a, Produced<Integer> b) { in produceString()
|
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/ |
D | Util.java | 24 import dagger.producers.Produced; 96 && MoreTypes.isTypeOf(Produced.class, MoreTypes.asDeclared(type).getTypeArguments().get(0)); in isSetOfProduced()
|
D | DependencyRequest.java | 30 import dagger.producers.Produced; 360 } else if (isTypeOf(Produced.class, type)) { in extractKindAndType()
|
D | Key.java | 28 import dagger.producers.Produced; 374 if (MoreTypes.isTypeOf(Produced.class, argType)) {
|
D | ProducerFactoryGenerator.java | 42 import dagger.producers.Produced; 414 return ParameterizedTypeName.create(ClassName.fromClass(Produced.class), keyName);
|
/external/sl4a/ScriptingLayerForAndroid/res/drawable/ |
D | atari_small_notice.txt | 10 COMMENT Produced with bdfedit, a tcl/tk font editing program
|
/external/llvm/test/DebugInfo/Generic/ |
D | debuginfofinder-multiple-cu.ll | 3 ; Produced from linking:
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/DebugInfo/Generic/ |
D | debuginfofinder-multiple-cu.ll | 3 ; Produced from linking:
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/RISCV/ |
D | mem.ll | 135 ; extload i1 (anyext). Produced as the load is unused. 157 ; extload i1 (anyext). Produced as the load is unused.
|
/external/llvm/test/DebugInfo/X86/ |
D | bitfields.ll | 4 ; Produced at -O0 from:
|
/external/llvm/test/DebugInfo/AArch64/ |
D | bitfields.ll | 4 ; Produced at -O0 from:
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/NVPTX/ |
D | call-with-alloca-buffer.ll | 5 ; Produced with the following CUDA code:
|
/external/llvm/test/CodeGen/NVPTX/ |
D | call-with-alloca-buffer.ll | 5 ; Produced with the following CUDA code:
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/DebugInfo/AArch64/ |
D | bitfields.ll | 4 ; Produced at -O0 from:
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/DebugInfo/X86/ |
D | bitfields.ll | 4 ; Produced at -O0 from:
|
/external/llvm/test/CodeGen/X86/ |
D | asm-mismatched-types.ll | 7 ; Produced by C-programs like this:
|