/external/kotlinx.coroutines/kotlinx-coroutines-core/common/test/flow/terminal/ |
D | FirstTest.kt | 91 assertEquals(1, flow.firstOrNull()) in <lambda>() 97 assertEquals(1, flow.firstOrNull { it > 0 }) in <lambda>() 98 assertEquals(2, flow.firstOrNull { it > 1 }) in <lambda>() 99 assertNull(flow.firstOrNull { it > 3 }) in <lambda>() 117 val result = flow.firstOrNull { in <lambda>() 127 assertNull(emptyFlow<Int>().firstOrNull()) in <lambda>() 128 assertNull(emptyFlow<Int>().firstOrNull { true }) in <lambda>() 133 assertNull(flowOf<String?>(null).firstOrNull()) in <lambda>() 134 assertNull(flowOf<String?>(null).firstOrNull { true }) in <lambda>() 151 flow.firstOrNull { in <lambda>() [all …]
|
/external/dokka/core/src/main/kotlin/Formats/ |
D | DacOutlineService.kt | 131 node.members.filter { it.kind == NodeKind.AllTypes }.firstOrNull()?.let { in appendOutlineHeader() 202 if (interfaces.firstOrNull() != null) { in appendNavTree() 206 if (classes.firstOrNull() != null) { in appendNavTree() 211 if (objects.firstOrNull() != null) { in appendNavTree() 215 if (annotations.firstOrNull() != null) { in appendNavTree() 220 if (enums.firstOrNull() != null) { in appendNavTree() 225 if (exceptions.firstOrNull() != null) { in appendNavTree()
|
/external/dokka/core/src/main/kotlin/Kotlin/ |
D | KotlinLanguageService.kt | 46 …val functionWithTypeParameter = nodes.firstOrNull { it.details(NodeKind.TypeParameter).any() } ?: … in <lambda>() 70 return ReceiverKind.values().firstOrNull { kind -> qNames.all { it in kind.classes } } in <lambda>() 238 val valueNode = node.details(NodeKind.Value).firstOrNull() in <lambda>() 412 detail(NodeKind.Type).hiddenLinks.firstOrNull()?.qualifiedName() == "kotlin.Unit" in <lambda>() 456 return details.firstOrNull { it.kind == NodeKind.QualifiedName }?.name in qualifiedNameFromType() 457 …?: (links.firstOrNull { it.kind != NodeKind.ExternalLink } ?: hiddenLinks.firstOrNull())?.qualifie… in qualifiedNameFromType() 463 get() = (links.firstOrNull { it.kind in NodeKind.classLike } ?: externalType) in <lambda>()
|
D | KotlinAsJavaElementSignatureProvider.kt | 11 this is KtElement -> toLightElements().firstOrNull() in javaLikePsi()
|
D | DeclarationLinkResolver.kt | 64 return symbol.overriddenDescriptors.firstOrNull() in <lambda>()
|
/external/guava/guava/src/com/google/common/collect/ |
D | AbstractSequentialIterator.java | 50 protected AbstractSequentialIterator(@Nullable T firstOrNull) { in AbstractSequentialIterator() argument 51 this.nextOrNull = firstOrNull; in AbstractSequentialIterator()
|
/external/guava/android/guava/src/com/google/common/collect/ |
D | AbstractSequentialIterator.java | 50 protected AbstractSequentialIterator(@NullableDecl T firstOrNull) { in AbstractSequentialIterator() argument 51 this.nextOrNull = firstOrNull; in AbstractSequentialIterator()
|
/external/dokka/core/src/main/kotlin/Model/ |
D | DocumentationNode.kt | 116 get() = references(RefKind.Deprecation).map { it.to }.firstOrNull() in <lambda>() 120 get() = references(RefKind.ExternalType).map { it.to }.firstOrNull() in <lambda>() 130 get() = references(RefKind.AttributeRef).map { it.to }.firstOrNull() in <lambda>() 146 …(links + listOfNotNull(externalType)).firstOrNull { it.kind in NodeKind.classLike }?.superclassType in <lambda>() 149 in NodeKind.classLike -> supertypes.firstOrNull { in <lambda>()
|
D | SourceLinks.kt | 16 val linkDef = sourceLinks.firstOrNull { absPath.startsWith(it.path) } in appendSourceLink()
|
D | Content.kt | 237 sections.firstOrNull { tag.equals(it.tag, ignoreCase = true) } in findSectionByTag() 261 override val summary: ContentNode get() = children.firstOrNull() ?: ContentEmpty
|
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/src/flow/terminal/ |
D | Reduce.kt | 122 public suspend fun <T> Flow<T>.firstOrNull(): T? { in firstOrNull() method 135 public suspend fun <T> Flow<T>.firstOrNull(predicate: suspend (T) -> Boolean): T? { in firstOrNull() method
|
/external/dokka/core/src/main/kotlin/Samples/ |
D | DefaultSampleProcessingService.kt | 34 …cLink(bindingContext, resolutionFacade, descriptor, kdocTag, functionName.split(".")).firstOrNull() in resolveSample() 86 .firstOrNull() in resolveInScope()
|
/external/kotlinx.coroutines/kotlinx-coroutines-test/src/ |
D | TestCoroutineExceptionHandler.kt | 57 val exception = _exceptions.firstOrNull() ?: return in cleanupTestCoroutines()
|
/external/dokka/core/src/main/kotlin/javadoc/ |
D | source-position.kt | 11 docNode.details(NodeKind.SourcePosition).firstOrNull()?.name?.split(":") ?: emptyList() in <lambda>()
|
D | docbase.kt | 188 node.links.firstOrNull { it.kind != NodeKind.ExternalLink } != null -> { in qualifiedTypeName() 189 … TypeAdapter(module, node.links.firstOrNull { it.kind != NodeKind.ExternalLink }!!).asClassDoc() in qualifiedTypeName() 257 .firstOrNull { it.kind == NodeKind.Class || it.kind == NodeKind.ExternalClass } in qualifiedTypeName() 361 …override fun overriddenType(): Type? = node.overrides.firstOrNull()?.owner?.let { owner -> TypeAda… in overrides() 363 …fun overriddenMethod(): MethodDoc? = node.overrides.map { MethodAdapter(module, it) }.firstOrNull() in <lambda>() 473 .map { it.links.firstOrNull() } in lookupSuperClasses()
|
/external/lottie/LottieSample/src/androidTest/java/com/airbnb/lottie/samples/ |
D | ObjectPool.kt | 27 objects.firstOrNull()?.also { objects.remove(it) } in acquire()
|
D | BitmapPool.kt | 41 .firstOrNull { it.width >= width && it.height >= height } in acquire()
|
/external/dokka/runners/gradle-integration-tests/src/test/kotlin/org/jetbrains/dokka/gradle/ |
D | AbstractDokkaAndroidGradleTest.kt | 17 val sdkDirLine = lines.firstOrNull { "sdk.dir" in it } in <lambda>()
|
/external/kotlinx.coroutines/reactive/kotlinx-coroutines-rx3/test/ |
D | Check.kt | 51 val maybeValue = maybe.toFlowable().blockingIterable().firstOrNull() in checkMaybeValue()
|
/external/kotlinx.coroutines/reactive/kotlinx-coroutines-rx2/test/ |
D | Check.kt | 52 val maybeValue = maybe.toFlowable().blockingIterable().firstOrNull() in checkMaybeValue()
|
/external/dokka/core/src/main/kotlin/Markdown/ |
D | MarkdownProcessor.kt | 15 fun child(type: IElementType): MarkdownNode? = children.firstOrNull { it.type == type } in <lambda>()
|
/external/dokka/core/src/main/kotlin/Languages/ |
D | CommonLanguageService.kt | 47 val to = node.links.firstOrNull() in renderLinked()
|
/external/dokka/core/src/main/kotlin/Formats/JavaLayoutHtml/ |
D | JavaLayoutHtmlFormatOutputBuilder.kt | 233 drop(1).fold(listOfNotNull(firstOrNull())) { acc, node -> in <lambda>() 366 ?: href.links.firstOrNull { it.kind == NodeKind.ExternalLink }?.name in <lambda>() 460 val targetLink = node.links.firstOrNull() in <lambda>() 1112 … receiverType.links.filter { it.kind != NodeKind.ExternalLink}.firstOrNull() ?: in <lambda>() 1159 details(NodeKind.Modifier).firstOrNull { it.name in visibilityNames }?.name ?: "" in visibility()
|
/external/lottie/LottieSample/src/main/kotlin/com/airbnb/lottie/samples/ |
D | FilmStripSnapshotActivity.kt | 64 RC_PERMISSION -> if (grantResults.firstOrNull() == PackageManager.PERMISSION_GRANTED) { in <lambda>()
|
/external/dokka/core/src/main/kotlin/Utilities/ |
D | ServiceLocator.kt | 27 .firstOrNull() in <lambda>()
|