Searched refs:fold (Results 1 – 25 of 29) sorted by relevance
12
84 RecurrenceSet.fold(RRULE_LESS_THAN_75_CHARS)); in testFoldPerRFC2445()87 RecurrenceSet.fold(RRULE_MORE_THAN_75_CHARS)); in testFoldPerRFC2445()90 RecurrenceSet.fold(STRING_WITH_160_CHARS)); in testFoldPerRFC2445()
65 val mask = flags.fold(0, { mask, (flag, _) -> mask or flag }) in PackageManager()67 flags.fold(0, { mask2, (flag, flagValue) -> if (flagValue) mask2 or flag else mask2 }) in PackageManager()
85 .fold( in validate()118 .fold( in validate()
123 val failMessage = failuresByTest.toList().fold("") { msg, (testDescription, failures) -> in <lambda>()150 return frequencies.fold("") { msg, (stacktrace, numFailures) -> in <lambda>()
295 setHeader("To", MimeUtility.fold(Address.toHeader(addresses), toLength)); in setRecipients()303 setHeader("CC", MimeUtility.fold(Address.toHeader(addresses), ccLength)); in setRecipients()311 setHeader("BCC", MimeUtility.fold(Address.toHeader(addresses), bccLength)); in setRecipients()347 setHeader("From", MimeUtility.fold(from.toHeader(), fromLength)); in setFrom()369 setHeader("Reply-to", MimeUtility.fold(Address.toHeader(replyTo), replyToLength)); in setReplyTo()
101 return fold(encoded, usedCharacters); in foldAndEncode2()119 public static String fold(String s, int usedCharacters) { in fold() method in MimeUtility
132 .fold(ArrayList<Preview>()) { acc, update -> acc.apply { addAll(update) } } in <lambda>()161 .fold(ArrayList<Preview>()) { acc, update -> acc.apply { addAll(update) } } in <lambda>()172 .fold(ArrayList<Preview>(uris.size)) { acc, uri -> in <lambda>()
119 return cleanupBlock.fold(tryTest { tryBlock.get() }) { previousExpr, nextCleanup -> in cleanup()
46 selection.fold(null) { target: String?, item: Item -> in intentFromSelection()
102 currentTestCleanupActions.fold(tryTest { }) { in <lambda>()
36 return dtd.innerTypes.fold(listOf(dtd)) { acc, t -> acc + collectNestedDataTypeDescriptors(t) } in <lambda>()
83 .fold(Chronicle.ConnectionTypes.EMPTY) { acc, provider -> in <lambda>()
132 let hashes = (1..=level).fold(second_level, |source, _| hash_all_pages(&source)); in calculate_root_hash()
42 policies.fold(0L) { acc, e -> acc or (1L shl e) }, KEEP_CONNECTED_NONE) in <lambda>()
344 bytes_data.iter().fold(String::new(), |mut output, b| { in assert_bytes_eq_to_data_in_file()
354 getParcelableArrayListExtra<Uri>(Intent.EXTRA_STREAM)?.fold(uris) { accumulator, uri in uris()
233 fold(ShortcutsAppTargetsPair(ArrayList(size), ArrayList(size))) { acc, appTarget -> in <lambda>()
56 private fun flags(vararg flags: Int) = flags.fold(0L) { acc, it -> acc or (1L shl it) } in acc()
456 return filteredBuckets.fold(BareStats.EMPTY) { acc, it -> in <lambda>()
205 let size = self.tokens.iter().fold(0, |sum, token| sum + token.len() + 1); in to_cstring()
2494 PLkotlin/coroutines/AbstractCoroutineContextElement;->fold(Ljava/lang/Object;Lkotlin/jvm/functions/…2498 PLkotlin/coroutines/CombinedContext;->fold(Ljava/lang/Object;Lkotlin/jvm/functions/Function2;)Ljava…2508 PLkotlin/coroutines/CoroutineContext$Element$DefaultImpls;->fold(Lkotlin/coroutines/CoroutineContex…2518 PLkotlin/coroutines/EmptyCoroutineContext;->fold(Ljava/lang/Object;Lkotlin/jvm/functions/Function2;…2757 PLkotlinx/coroutines/Job$DefaultImpls;->fold(Lkotlinx/coroutines/Job;Ljava/lang/Object;Lkotlin/jvm/…2817 PLkotlinx/coroutines/JobSupport;->fold(Ljava/lang/Object;Lkotlin/jvm/functions/Function2;)Ljava/lan…2881 PLkotlinx/coroutines/UndispatchedMarker;->fold(Ljava/lang/Object;Lkotlin/jvm/functions/Function2;)L…
org/openjdk/tools/sjavac/server/log/LoggingOutputStream.class LoggingOutputStream.java package ...
2162 Landroid/icu/text/CaseMap;->fold()Landroid/icu/text/CaseMap$Fold;
META-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...