Home
last modified time | relevance | path

Searched refs:Produced (Results 1 – 25 of 64) sorted by relevance

123

/external/dagger2/javatests/dagger/producers/
DProducedTest.java36 assertThat(Produced.successful(5).get()).isEqualTo(5); in successfulProduced()
37 assertThat(Produced.successful("monkey").get()).isEqualTo("monkey"); in successfulProduced()
38 assertThat(Produced.successful(o).get()).isSameInstanceAs(o); in successfulProduced()
44 Produced.failed(cause).get(); in failedProduced()
55 .addEqualityGroup(Produced.successful(132435), Produced.successful(132435)) in producedEquivalence()
56 .addEqualityGroup(Produced.successful("hi"), Produced.successful("hi")) in producedEquivalence()
57 .addEqualityGroup(Produced.failed(e1), Produced.failed(e1)) in producedEquivalence()
58 .addEqualityGroup(Produced.failed(e2), Produced.failed(e2)) in producedEquivalence()
/external/dagger2/java/dagger/producers/internal/
DMapOfProducedProducer.java28 import dagger.producers.Produced;
39 public final class MapOfProducedProducer<K, V> extends AbstractMapProducer<K, V, Produced<V>> {
45 public ListenableFuture<Map<K, Produced<V>>> compute() { in compute()
50 new Function<List<Map.Entry<K, Produced<V>>>, Map<K, Produced<V>>>() { in compute()
52 public Map<K, Produced<V>> apply(List<Map.Entry<K, Produced<V>>> entries) { in compute()
61 ListenableFuture<Map.Entry<Object, Produced<Object>>>>
65 ListenableFuture<Map.Entry<Object, Produced<Object>>>>() {
67 public ListenableFuture<Map.Entry<Object, Produced<Object>>> apply(
71 new Function<Produced<Object>, Map.Entry<Object, Produced<Object>>>() {
73 public Map.Entry<Object, Produced<Object>> apply(Produced<Object> value) {
[all …]
DSetOfProducedProducer.java28 import dagger.producers.Produced;
41 public final class SetOfProducedProducer<T> extends AbstractProducer<Set<Produced<T>>> {
116 public ListenableFuture<Set<Produced<T>>> compute() { in compute()
117 List<ListenableFuture<? extends Produced<? extends Collection<T>>>> futureProducedCollections = in compute()
118 new ArrayList<ListenableFuture<? extends Produced<? extends Collection<T>>>>( in compute()
133 new Function<List<Produced<? extends Collection<T>>>, Set<Produced<T>>>() { in compute()
135 public Set<Produced<T>> apply( in compute()
136 List<Produced<? extends Collection<T>>> producedCollections) { in compute()
137 ImmutableSet.Builder<Produced<T>> builder = ImmutableSet.builder(); in compute()
138 for (Produced<? extends Collection<T>> producedCollection : producedCollections) { in compute()
[all …]
DProducers.java30 import dagger.producers.Produced;
53 public static <T> ListenableFuture<Produced<T>> createFutureProduced(ListenableFuture<T> future) { in createFutureProduced()
61 private static final Function<Object, Produced<Object>> RESULT_TO_PRODUCED =
62 new Function<Object, Produced<Object>>() {
64 public Produced<Object> apply(Object result) {
65 return Produced.successful(result);
70 private static <T> Function<T, Produced<T>> resultToProduced() { in resultToProduced()
74 private static final AsyncFunction<Throwable, Produced<Object>> FUTURE_FALLBACK_FOR_PRODUCED =
75 new AsyncFunction<Throwable, Produced<Object>>() {
77 public ListenableFuture<Produced<Object>> apply(Throwable t) throws Exception {
[all …]
/external/dagger2/javatests/dagger/functional/producers/multibindings/
DMultibindingTest.java24 import dagger.producers.Produced;
60 Produced.successful("foo"), in setBindingOfProduced()
61 Produced.successful("foo1"), in setBindingOfProduced()
62 Produced.successful("foo2"), in setBindingOfProduced()
63 Produced.successful("baz1"), in setBindingOfProduced()
64 Produced.successful("baz2"), in setBindingOfProduced()
65 Produced.successful("bar"), in setBindingOfProduced()
66 Produced.successful("bar1"), in setBindingOfProduced()
67 Produced.successful("bar2"), in setBindingOfProduced()
68 Produced.successful("providedStr"), in setBindingOfProduced()
[all …]
DMultibindingComponent.java27 import dagger.producers.Produced;
41 ListenableFuture<Set<Produced<String>>> successfulSet(); in successfulSet()
44 ListenableFuture<Set<Produced<String>>> possiblyThrowingSet(); in possiblyThrowingSet()
50 ListenableFuture<Map<Integer, Produced<String>>> mapOfProduced(); in mapOfProduced()
59 ListenableFuture<Map<Integer, Produced<String>>> possiblyThrowingMapOfProduced(); in possiblyThrowingMapOfProduced()
63 ListenableFuture<Set<Produced<Object>>> producedObjs(); in producedObjs()
67 ListenableFuture<Map<Object, Produced<Object>>> objMapOfProduced(); in objMapOfProduced()
DMultibindingProducerModule.java31 import dagger.producers.Produced;
133 static int objCount(Set<Produced<Object>> objs, Map<Object, Produced<Object>> objMap) { in objCount()
/external/dagger2/javatests/dagger/producers/internal/
DSetOfProducedProducerTest.java24 import dagger.producers.Produced;
42 Producer<Set<Produced<Integer>>> producer = in success()
49 Produced.successful(1), in success()
50 Produced.successful(5), in success()
51 Produced.successful(7)); in success()
57 Producer<Set<Produced<Integer>>> producer = in failure()
64 Produced.successful(1), Produced.successful(2), Produced.<Integer>failed(e)); 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()
[all …]
DProducersTest.java26 import dagger.producers.Produced;
43 ListenableFuture<Produced<String>> producedFuture = Producers.createFutureProduced(future); in createFutureProduced_success()
50 ListenableFuture<Produced<String>> producedFuture = Producers.createFutureProduced(future); in createFutureProduced_failure()
60 ListenableFuture<Produced<String>> producedFuture = Producers.createFutureProduced(future); in createFutureProduced_cancelPropagatesBackwards()
68 ListenableFuture<Produced<String>> producedFuture = Producers.createFutureProduced(future); in createFutureProduced_cancelDoesNotPropagateForwards()
77 private <T> ExecutionException getProducedException(Produced<T> produced) { in getProducedException()
/external/dagger2/java/dagger/producers/
DProduced.java49 public abstract class Produced<T> { class
69 public static <T> Produced<T> successful(@NullableDecl T value) { in successful()
77 public static <T> Produced<T> failed(Throwable throwable) { in failed()
81 private static final class Successful<T> extends Produced<T> {
117 private static final class Failed<T> extends Produced<T> {
152 private Produced() {} in Produced() method in Produced
/external/dagger2/javatests/dagger/functional/producers/optional/
DOptionalBindingComponents.java27 import dagger.producers.Produced;
56 abstract Optional<Produced<Value>> optionalProduced(); in optionalProduced()
90 Optional<Produced<Value>> optionalProduced) { in values()
100 Optional<Produced<Value>> optionalProduced) { in qualifiedValues()
158 ListenableFuture<Optional<Produced<Value>>> optionalProduced(); in optionalProduced()
170 ListenableFuture<Optional<Produced<Value>>> qualifiedOptionalProduced(); in qualifiedOptionalProduced()
175 ListenableFuture<Optional<Produced<Object>>> optionalNullableProduced(); in optionalNullableProduced()
/external/dagger2/javatests/dagger/functional/producers/binds/
DBindsProducersTest.java21 import dagger.producers.Produced;
72 123, Produced.successful("123-string"), in multibindings()
73 456, Produced.successful("456-string"), in multibindings()
74 789, Produced.successful("789-string"), in multibindings()
75 -1, Produced.successful("provision-string")); in multibindings()
DSimpleBindsProductionComponent.java21 import dagger.producers.Produced;
50 ListenableFuture<Map<Integer, Produced<Object>>> integerProducedOfObjectMap(); in integerProducedOfObjectMap()
/external/llvm-project/llvm/lib/Target/AArch64/
DAArch64InstrGISel.td28 // Pseudo for a rev16 instruction. Produced post-legalization from
36 // Pseudo for a rev32 instruction. Produced post-legalization from
44 // Pseudo for a rev64 instruction. Produced post-legalization from
52 // Represents an uzp1 instruction. Produced post-legalization from
60 // Represents an uzp2 instruction. Produced post-legalization from
68 // Represents a zip1 instruction. Produced post-legalization from
76 // Represents a zip2 instruction. Produced post-legalization from
84 // Represents a dup instruction. Produced post-legalization from
114 // Represents a trn1 instruction. Produced post-legalization from
122 // Represents a trn2 instruction. Produced post-legalization from
[all …]
/external/dagger2/javatests/dagger/functional/producers/
DSimpleProducerModule.java26 import dagger.producers.Produced;
115 @SuppressWarnings("unused") Produced<Double> b, in strWithArgs()
125 int i, Produced<Double> b, Producer<Object> c, Provider<Boolean> d) throws IOException { in strWithArgsThrowingException()
133 @SuppressWarnings("unused") Produced<Double> b, in futureStrWithArgs()
143 int i, Produced<Double> b, Producer<Object> c, Provider<Boolean> d) throws IOException { in futureStrWithArgsThrowingException()
154 @SuppressWarnings("unused") @Qual(2) Produced<Integer> jProduced, in strWithFrameworkTypeArgs()
156 @SuppressWarnings("unused") @Qual(3) Produced<Integer> kProduced, in strWithFrameworkTypeArgs()
DResponseProducerModule.java22 import dagger.producers.Produced;
46 @SuppressWarnings("unused") Produced<String> greetingProduced, in intermediateGreeting()
/external/dagger2/java/dagger/internal/codegen/writing/
DSetFactoryCreationExpression.java29 import dagger.producers.Produced;
53 setType.elementsAreTypeOf(Produced.class) in creationExpression()
54 ? setType.unwrappedElementType(Produced.class) in creationExpression()
DMapFactoryCreationExpression.java30 import dagger.producers.Produced;
65 ImmutableSet.of(Provider.class, Producer.class, Produced.class)) { in creationExpression()
/external/dagger2/java/dagger/internal/codegen/base/
DFrameworkTypes.java25 import dagger.producers.Produced;
42 ImmutableSet.of(Produced.class, Producer.class);
DRequestKinds.java42 import dagger.producers.Produced;
102 PRODUCED, Produced.class);
/external/dagger2/java/dagger/model/
DRequestKind.java23 import dagger.producers.Produced;
/external/dagger2/java/dagger/internal/codegen/binding/
DFrameworkType.java37 import dagger.producers.Produced;
80 return CodeBlock.of("$T.successful($L)", Produced.class, to(INSTANCE, from)); in to()
DKeyFactory.java52 import dagger.producers.Produced;
301 rewrapMapKey(possibleMapKey, Produced.class, Provider.class), in implicitMapProviderKeyFrom()
313 rewrapMapKey(possibleMapKey, Produced.class, Producer.class), in implicitMapProducerKeyFrom()
328 for (Class<?> frameworkClass : asList(Provider.class, Producer.class, Produced.class)) { in unwrapMapValueType()
/external/sl4a/ScriptingLayerForAndroid/res/drawable/
Datari_small_notice.txt10 COMMENT Produced with bdfedit, a tcl/tk font editing program
/external/dagger2/java/dagger/internal/codegen/javapoet/
DTypeNames.java36 import dagger.producers.Produced;
78 public static final ClassName PRODUCED = ClassName.get(Produced.class);

123