Home
last modified time | relevance | path

Searched refs:flatMap (Results 1 – 25 of 118) sorted by relevance

12345

/external/kotlinx.coroutines/kotlinx-coroutines-core/common/test/flow/operators/
DFlatMapBaseTest.kt12 abstract fun <T> Flow<T>.flatMap(mapper: suspend (T) -> Flow<T>): Flow<T> in <lambda>() method in kotlinx.coroutines.flow.FlatMapBaseTest
18 .flatMap { value -> in <lambda>()
36 }.flatMap { value -> in <lambda>()
47 val list = flowOf(1, null, 2).flatMap { in <lambda>()
59 .flatMap { in <lambda>()
76 .flatMap { in <lambda>()
82 .flatMap { in <lambda>()
DFlatMapMergeBaseTest.kt21 }.flatMap { in <lambda>()
43 }.flatMap { in testConcurrentFailure()
74 }.flatMap { in <lambda>()
DFlatMapConcatTest.kt12 …override fun <T> Flow<T>.flatMap(mapper: suspend (T) -> Flow<T>): Flow<T> = flatMapConcat(transfor… in <lambda>() method in kotlinx.coroutines.flow.FlatMapConcatTest
/external/kotlinx.coroutines/benchmarks/src/jmh/kotlin/benchmarks/flow/scrabble/
DReactorPlaysScrabble.kt58 ….flatMap<Map.Entry<Int, LongWrapper>> { map -> Flux.fromIterable<Map.Entry<Int, LongWrapper>>(Iter… in <lambda>()
59 .flatMap(blank) in <lambda>()
65 .flatMap { l -> Flux.just(l <= 2L) } in <lambda>()
71 ….flatMap<Map.Entry<Int, LongWrapper>> { map -> Flux.fromIterable<Map.Entry<Int, LongWrapper>>(Iter… in <lambda>()
72 .flatMap(letterScore) in <lambda>()
90 .flatMap { Stream -> Stream } in <lambda>()
96 .flatMap<Int>(scoreOfALetter) in <lambda>()
109 .flatMap { Stream -> Stream } in <lambda>()
132 ….flatMap<Map.Entry<Int, List<String>>> { map -> Flux.fromIterable<Map.Entry<Int, List<String>>>(It… in <lambda>()
/external/kotlinx.coroutines/benchmarks/src/jmh/java/benchmarks/flow/scrabble/
DRxJava2PlaysScrabble.java84 .flatMap(blank) in play()
91 .flatMap(l -> Maybe.just(l <= 2L)) ; in play()
97 .flatMap(letterScore) in play()
111 .flatMap(observable -> observable) ; in play()
116 .flatMap(scoreOfALetter) in play()
/external/dagger2/java/dagger/model/
DBindingGraph.java212 return network().outEdges(node).stream().flatMap(instancesOf(DependencyEdge.class)); in dependencyEdgeStream()
246 .flatMap(instancesOf(Binding.class)) in requestingBindings()
258 .flatMap(instancesOf(Binding.class)) in requestedBindings()
270 .flatMap(instancesOf(MaybeBinding.class)) in requestedMaybeMissingBindings()
310 return network().edges().stream().flatMap(instancesOf(DependencyEdge.class)); in dependencyEdgeStream()
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/channels/
DSimpleSendReceiveJvmTest.kt22 fun params(): Collection<Array<Any>> = TestChannelKind.values().flatMap { kind -> in <lambda>()
23 listOf(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 100, 1000).flatMap { n -> in <lambda>()
DChannelSendReceiveStressTest.kt26 listOf(1, 2, 10).flatMap { nSenders -> in <lambda>()
27 listOf(1, 10).flatMap { nReceivers -> in <lambda>()
/external/connectedappssdk/processor/src/main/java/com/google/android/enterprise/connectedapps/processor/
DProcessor.java125 .flatMap(i -> i.getEnclosedElements().stream()) in process()
219 .flatMap( in findAllConfigurations()
356 .flatMap(a -> a.providerClassElements().stream()) in findAllCrossProfileMethods()
362 .flatMap( in findAllCrossProfileMethods()
377 foundProviderClasses.stream().flatMap(m -> m.staticTypes().stream()).collect(toSet())); in findAllCrossProfileMethods()
379 newProviderClasses.stream().flatMap(m -> m.staticTypes().stream()).collect(toSet())); in findAllCrossProfileMethods()
383 .flatMap(t -> GeneratorUtilities.findCrossProfileMethodsInClass(t).stream()) in findAllCrossProfileMethods()
DLateValidator.java126 .flatMap(m -> m.allCrossProfileTypes().stream()) in validateConfiguration()
152 .flatMap(m -> getConnectorQualifiedNamesUsedInProviderClass(m).stream()) in getConnectorQualifiedNamesUsedInConfiguration()
188 .flatMap(Streams::stream) in getConnectorQualifiedNamesUsedInProviderClass()
/external/dagger2/java/dagger/internal/codegen/bindinggraphvalidation/
DDependsOnProductionExecutorValidator.java60 .flatMap(instancesOf(MaybeBinding.class)) in visitGraph()
62 .flatMap(productionExecutor -> bindingGraph.requestingBindings(productionExecutor).stream()) in visitGraph()
DProvisionDependencyOnProducerBindingValidator.java65 .flatMap(binding -> incomingDependencies(binding, bindingGraph)) in provisionDependenciesOnProductionBindings()
74 .flatMap(instancesOf(DependencyEdge.class)); in incomingDependencies()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/
DProblem.java93 …final Optional<Position> aBegin= a.getLocation().flatMap(l -> l.getBegin().getRange().map(r -> r.b…
94 …final Optional<Position> bBegin = b.getLocation().flatMap(l -> l.getBegin().getRange().map(r -> r.…
/external/okio/okio/src/jvmTest/java/okio/internal/
DHmacTest.kt41 return algorithms.flatMap { algorithm -> in <lambda>()
42 keySizes.flatMap { keySize -> in <lambda>()
/external/guava/guava-tests/test/com/google/common/collect/
DStreamsTest.java117 .flatMap(x -> x); in testConcat_refStream_closeIsPropagated_Stream_flatMap()
225 elems -> Stream.of((Object) null).flatMap(unused -> ImmutableList.copyOf(elems).stream())); in testMapWithIndex_unsizedSource()
234 Stream.of((Object) null).flatMap(unused -> Stream.of("a", "b", "c"))); in testMapWithIndex_closeIsPropagated_unsizedSource()
259 IntStream.of(0).flatMap(unused -> IntStream.of(1, 2, 3))); in testMapWithIndex_intStream_closeIsPropagated_unsized()
284 LongStream.of(0).flatMap(unused -> LongStream.of(1, 2, 3))); in testMapWithIndex_longStream_closeIsPropagated_unsized()
311 DoubleStream.of(0).flatMap(unused -> DoubleStream.of(1, 2, 3))); in testMapWithIndex_doubleStream_closeIsPropagated_unsized()
DCollectSpliteratorsTest.java44 CollectSpliterators.flatMap( in testFlatMap()
55 CollectSpliterators.flatMap( in testFlatMap_nullStream()
/external/google-java-format/core/src/test/resources/com/google/googlejavaformat/java/testdata/
DB20128760.input99 .flatMap(m -> m.getFieldValues()
103 .flatMap(fv -> FieldDTO.deserializeStringToListOfStrings(fv.getValue())
DB20128760.output93 .flatMap(
97 .flatMap(
DB124394008.input4 readProfileResponse.flatMap(authorExtractor::extract)
DB124394008.output5 .flatMap(authorExtractor::extract)
/external/connectedappssdk/processor/src/main/java/com/google/android/enterprise/connectedapps/processor/containers/
DCrossProfileConfigurationInfo.java72 .flatMap(m -> m.allCrossProfileTypes().stream()) in create()
74 .flatMap(Streams::stream) in create()
DParcelableWrapper.java97 .flatMap(m -> extractReturnTypeAndParameters(m).stream()) in extractTypesFromMethods()
98 .flatMap(t -> extractTypeArgumentsIfWrapped(t).stream()) in extractTypesFromMethods()
126 .flatMap(t -> extractTypeArgumentsIfWrapped(t).stream()) in extractTypeArgumentsFromGeneric()
/external/desugar/java/com/google/devtools/common/options/
DOptionValueDescription.java281 .flatMap(Collection::stream) in getSourceString()
297 .flatMap(Collection::stream) in getValue()
325 .flatMap(Collection::stream) in getCanonicalInstances()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/expected_output/java-symbol-solver-core/
Dcom_github_javaparser_symbolsolver_javaparsermodel_declarations_JavaParserAnonymousClassDeclaration.txt42 …rsOfKind(com.github.javaparser.ast.body.FieldDeclaration.class).stream().flatMap(field -> field.ge…
43flatMap(field -> field.getVariables().stream().map(variable -> new JavaParserFieldDeclaration(vari…
53 …Line 123) getInterfaces().stream().flatMap(inteface -> inteface.getTypeDeclaration().getAllFields(…
54 …nterfaces().stream().flatMap(inteface -> inteface.getTypeDeclaration().getAllFields().stream()) ==…
/external/dagger2/java/dagger/android/processor/
DDuplicateAndroidInjectorsChecker.java80 .flatMap(injectorFactoryMap -> graph.requestedBindings(injectorFactoryMap).stream()) in validateMapKeyUniqueness()
134 .flatMap( in mapKey()

12345