Home
last modified time | relevance | path

Searched refs:dropWhile (Results 1 – 10 of 10) sorted by relevance

/external/kotlinx.coroutines/kotlinx-coroutines-core/common/test/flow/operators/
DDropWhileTest.kt19 assertEquals(6, flow.dropWhile { false }.sum()) in <lambda>()
20 assertNull(flow.dropWhile { true }.singleOrNull()) in <lambda>()
21 assertEquals(5, flow.dropWhile { it < 2 }.sum()) in <lambda>()
22 assertEquals(1, flow.take(1).dropWhile { it > 1 }.single()) in <lambda>()
27 assertEquals(0, flowOf<Int>().dropWhile { true }.sum()) in <lambda>()
28 assertEquals(0, flowOf<Int>().dropWhile { false }.sum()) in <lambda>()
42 }.dropWhile { in <lambda>()
/external/dokka/core/src/main/kotlin/Java/
DJavadocParser.kt75 docComment.descriptionElements.dropWhile { it.text.trim().isEmpty() }, in parseDocumentation()
78 val paragraphs = firstParagraph.children.dropWhile { it !is ContentParagraph } in parseDocumentation()
242 .dropWhile { it.node?.elementType == JavaDocTokenType.DOC_TAG_NAME } in parseDocumentation()
243 .dropWhile { it is PsiWhiteSpace } in parseDocumentation()
245 …return if (getSubjectName() != null) tagValueElements.dropWhile { it is PsiDocTagValue } else tagV… in parseDocumentation()
538 val descriptionElements = method.docComment?.descriptionElements?.dropWhile { in parseDocumentation()
555 val contentElements = tag.contentElements().dropWhile { it.text.trim().isEmpty() } in parseDocumentation()
568 … val docs = method.docComment?.descriptionElements?.dropWhile { it.text.trim().isEmpty() } in parseDocumentation()
/external/dokka/core/src/main/kotlin/Formats/
DHtmlFormatService.kt160 var pathFromToplevelMember = path.dropWhile { it.kind !in NodeKind.classLike } in qualifiedNameForPageTitle()
162 …pathFromToplevelMember = path.dropWhile { it.kind != NodeKind.Property && it.kind != NodeKind.Func… in qualifiedNameForPageTitle()
DStructuredFormatService.kt178 .dropWhile { it is ContentText && it.text.isBlank() } in <lambda>()
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/flow/
DSharedFlowStressTest.kt62 .dropWhile { it % nConsumers != consumerIndex.toLong() } in <lambda>()
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/src/flow/
DSharingStarted.kt191 ….dropWhile { it != SharingCommand.START } // don't emit any STOP/RESET_BUFFER to start with, only … in toString()
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/src/flow/operators/
DLimit.kt33 public fun <T> Flow<T>.dropWhile(predicate: suspend (T) -> Boolean): Flow<T> = flow { in <lambda>() method
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/src/channels/
DChannels.common.kt718 public fun <E> ReceiveChannel<E>.dropWhile(context: CoroutineContext = Dispatchers.Unconfined, pred… in dropWhile() method
720 for (e in this@dropWhile) { in dropWhile()
726 for (e in this@dropWhile) { in dropWhile()
/external/dokka/core/src/main/kotlin/Model/
DDocumentationNode.kt275 … return path.dropWhile { it.kind !in NodeKind.classLike }.joinToString(separator = ".") { it.name } in classNodeNameWithOuterClass()
/external/kotlinx.coroutines/kotlinx-coroutines-core/api/
Dkotlinx-coroutines-core.api653 …public static final fun dropWhile (Lkotlinx/coroutines/channels/ReceiveChannel;Lkotlin/coroutines/…
654 …public static synthetic fun dropWhile$default (Lkotlinx/coroutines/channels/ReceiveChannel;Lkotlin…
954 …public static final fun dropWhile (Lkotlinx/coroutines/flow/Flow;Lkotlin/jvm/functions/Function2;)…