/external/XNNPACK/eval/ |
D | f32-sigmoid-ulp.cc | 143 ->Unit(benchmark::kMillisecond) 148 ->Unit(benchmark::kMillisecond) 153 ->Unit(benchmark::kMillisecond) 158 ->Unit(benchmark::kMillisecond) 163 ->Unit(benchmark::kMillisecond) 168 ->Unit(benchmark::kMillisecond) 173 ->Unit(benchmark::kMillisecond) 178 ->Unit(benchmark::kMillisecond) 183 ->Unit(benchmark::kMillisecond) 188 ->Unit(benchmark::kMillisecond) [all …]
|
D | f32-expm1minus-ulp.cc | 117 ->Unit(benchmark::kMillisecond) 122 ->Unit(benchmark::kMillisecond) 128 ->Unit(benchmark::kMillisecond) 133 ->Unit(benchmark::kMillisecond) 141 ->Unit(benchmark::kMillisecond) 146 ->Unit(benchmark::kMillisecond) 152 ->Unit(benchmark::kMillisecond) 157 ->Unit(benchmark::kMillisecond) 162 ->Unit(benchmark::kMillisecond) 167 ->Unit(benchmark::kMillisecond) [all …]
|
D | f32-sqrt-ulp.cc | 117 ->Unit(benchmark::kMillisecond) 122 ->Unit(benchmark::kMillisecond) 127 ->Unit(benchmark::kMillisecond) 132 ->Unit(benchmark::kMillisecond) 137 ->Unit(benchmark::kMillisecond) 143 ->Unit(benchmark::kMillisecond) 148 ->Unit(benchmark::kMillisecond) 153 ->Unit(benchmark::kMillisecond) 161 ->Unit(benchmark::kMillisecond) 166 ->Unit(benchmark::kMillisecond) [all …]
|
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/ |
D | ReusableCancellableContinuationTest.kt | 27 suspender: suspend ((CancellableContinuation<Unit>) -> Unit) -> Unit in testContinuationsCount() 31 val channel = Channel<Continuation<Unit>>(1) in testContinuationsCount() 36 it.resumeWith(Result.success(Unit)) in testContinuationsCount() 53 suspendCancellableCoroutineReusable<Unit> { in <lambda>() 67 suspendCancellableCoroutineReusable<Unit> { in <lambda>() 72 it.resume(Unit) in <lambda>() 80 suspendCancellableCoroutineReusable<Unit> { in <lambda>() 83 it.resume(Unit) // will not dispatch, will get CancellationException in <lambda>() 94 var cont: Continuation<Unit>? = null in <lambda>() 96 cont!!.resumeWith(Result.success(Unit)) in <lambda>() [all …]
|
D | ContinuationSerializationTest.kt | 53 private suspend fun serialize() = suspendCoroutine<Unit> { cont -> in <lambda>() 59 private suspend fun serializeCancellable() = suspendCancellableCoroutine<Unit> { cont -> in <lambda>() 65 private suspend fun serializeUnsafe() = suspendCoroutineUninterceptedOrReturn<Unit> { cont -> in <lambda>() 71 …ivate fun testSerization(serialize: KSuspendFunction0<Unit>, patcher: (Continuation<Unit>) -> Unit… in <lambda>() 82 cont.resume(Unit) in <lambda>() 88 private fun deserialise(): Continuation<Unit> { in <lambda>() 91 return kryo.readClassAndObject(it) as Continuation<Unit> in <lambda>()
|
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/test/ |
D | CancellableContinuationTest.kt | 14 var continuation: Continuation<Unit>? = null in <lambda>() 18 suspendCancellableCoroutine<Unit> { c -> in <lambda>() 36 var continuation: Continuation<Unit>? = null in <lambda>() 39 suspendCancellableCoroutine<Unit> { c -> in <lambda>() 46 continuation!!.resume(Unit) in <lambda>() 54 var continuation: Continuation<Unit>? = null in <lambda>() 57 suspendCancellableCoroutine<Unit> { c -> in <lambda>() 64 continuation!!.resume(Unit) in <lambda>() 66 assertFailsWith<IllegalStateException> { continuation!!.resume(Unit) } in <lambda>() 76 var continuation: Continuation<Unit>? = null in <lambda>() [all …]
|
D | CancellableContinuationHandlersTest.kt | 16 suspendCancellableCoroutine<Unit> { c -> in <lambda>() 24 suspendCancellableCoroutine<Unit> { c -> in <lambda>() 25 c.resume(Unit) in <lambda>() 36 suspendCancellableCoroutine<Unit> { c -> in <lambda>() 49 suspendCancellableCoroutine<Unit> { c -> in <lambda>() 65 suspendCancellableCoroutine<Unit> { c -> in <lambda>() 84 var cont: CancellableContinuation<Unit>? = null in <lambda>() 88 suspendCancellableCoroutine<Unit> { c -> in <lambda>() 102 cont!!.resume(Unit) // schedule cancelled continuation for dispatch in <lambda>() 118 suspendCancellableCoroutine<Unit> { c -> in <lambda>() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/ |
D | LiveRegUnits.h | 88 for (MCRegUnitIterator Unit(Reg, TRI); Unit.isValid(); ++Unit) in addReg() 89 Units.set(*Unit); in addReg() 95 for (MCRegUnitMaskIterator Unit(Reg, TRI); Unit.isValid(); ++Unit) { in addRegMasked() 96 LaneBitmask UnitMask = (*Unit).second; in addRegMasked() 98 Units.set((*Unit).first); in addRegMasked() 104 for (MCRegUnitIterator Unit(Reg, TRI); Unit.isValid(); ++Unit) in removeReg() 105 Units.reset(*Unit); in removeReg() 118 for (MCRegUnitIterator Unit(Reg, TRI); Unit.isValid(); ++Unit) { in available() 119 if (Units.test(*Unit)) in available()
|
/external/llvm-project/llvm/include/llvm/CodeGen/ |
D | LiveRegUnits.h | 88 for (MCRegUnitIterator Unit(Reg, TRI); Unit.isValid(); ++Unit) in addReg() 89 Units.set(*Unit); in addReg() 95 for (MCRegUnitMaskIterator Unit(Reg, TRI); Unit.isValid(); ++Unit) { in addRegMasked() 96 LaneBitmask UnitMask = (*Unit).second; in addRegMasked() 98 Units.set((*Unit).first); in addRegMasked() 104 for (MCRegUnitIterator Unit(Reg, TRI); Unit.isValid(); ++Unit) in removeReg() 105 Units.reset(*Unit); in removeReg() 118 for (MCRegUnitIterator Unit(Reg, TRI); Unit.isValid(); ++Unit) { in available() 119 if (Units.test(*Unit)) in available()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ObjectYAML/ |
D | DWARFVisitor.cpp | 36 static unsigned getOffsetSize(const DWARFYAML::Unit &Unit) { in getOffsetSize() argument 37 return Unit.Length.isDWARF64() ? 8 : 4; in getOffsetSize() 40 static unsigned getRefSize(const DWARFYAML::Unit &Unit) { in getRefSize() argument 41 if (Unit.Version == 2) in getRefSize() 42 return Unit.AddrSize; in getRefSize() 43 return getOffsetSize(Unit); in getRefSize() 47 for (auto &Unit : DebugInfo.CompileUnits) { in traverseDebugInfo() local 48 onStartCompileUnit(Unit); in traverseDebugInfo() 49 auto FirstAbbrevCode = Unit.Entries[0].AbbrCode; in traverseDebugInfo() 51 for (auto &Entry : Unit.Entries) { in traverseDebugInfo() [all …]
|
/external/dokka/core/src/main/kotlin/Formats/ |
D | HtmlFormatService.kt | 34 override fun appendBlockCode(language: String, body: () -> Unit) { in <lambda>() 42 override fun appendHeader(level: Int, body: () -> Unit) = in <lambda>() 44 override fun appendParagraph(body: () -> Unit) = in <lambda>() 47 override fun appendSoftParagraph(body: () -> Unit) = appendParagraph(body) in <lambda>() 57 override fun appendTable(vararg columns: String, body: () -> Unit) = in <lambda>() 59 override fun appendTableBody(body: () -> Unit) = in <lambda>() 61 override fun appendTableRow(body: () -> Unit) = in <lambda>() 63 override fun appendTableCell(body: () -> Unit) = in <lambda>() 66 … override fun appendLink(href: String, body: () -> Unit) = wrap("<a href=\"$href\">", "</a>", body) in <lambda>() 68 override fun appendStrong(body: () -> Unit) = wrapInTag("strong", body) in <lambda>() [all …]
|
D | MarkdownFormatService.kt | 98 override fun appendCode(body: () -> Unit) { in appendCode() 114 override fun appendUnorderedList(body: () -> Unit) { in appendUnorderedList() 121 override fun appendOrderedList(body: () -> Unit) { in appendOrderedList() 128 override fun appendListItem(body: () -> Unit) { in appendListItem() 135 override fun appendStrong(body: () -> Unit) = wrap("**", "**", body) in appendStrong() 136 override fun appendEmphasis(body: () -> Unit) = wrap("*", "*", body) in appendStrong() 137 override fun appendStrikethrough(body: () -> Unit) = wrap("~~", "~~", body) in appendStrong() 139 override fun appendLink(href: String, body: () -> Unit) { in appendStrong() 161 override fun appendParagraph(body: () -> Unit) { in appendParagraph() 175 override fun appendHeader(level: Int, body: () -> Unit) { in appendHeader() [all …]
|
D | KotlinWebsiteHtmlFormatService.kt | 39 override fun appendCode(body: () -> Unit) = wrapIfNotEmpty("<code>", "</code>", body) in appendCode() 41 …ted fun div(to: StringBuilder, cssClass: String, otherAttributes: String = "", block: () -> Unit) { in appendCode() 50 override fun appendAsSignature(node: ContentNode, block: () -> Unit) { in appendAsSignature() 63 … override fun appendAsOverloadGroup(to: StringBuilder, platforms: Set<String>, block: () -> Unit) { in appendAsOverloadGroup() 69 … override fun appendLink(href: String, body: () -> Unit) = wrap("<a href=\"$href\">", "</a>", body) in appendLink() 71 override fun appendTable(vararg columns: String, body: () -> Unit) { in appendLink() 77 override fun appendTableBody(body: () -> Unit) { in appendTableBody() 83 override fun appendTableRow(body: () -> Unit) { in appendTableRow() 89 override fun appendTableCell(body: () -> Unit) { in appendTableCell() 138 override fun appendIndexRow(platforms: Set<String>, block: () -> Unit) { in appendIndexRow() [all …]
|
D | KotlinWebsiteFormatService.kt | 33 override fun appendCode(body: () -> Unit) = wrapIfNotEmpty("<code>", "</code>", body) in appendCode() 35 override fun appendStrikethrough(body: () -> Unit) = wrapInTag("s", body) in appendCode() 37 …er, cssClass: String, otherAttributes: String = "", markdown: Boolean = false, block: () -> Unit) { in appendCode() 47 override fun appendAsSignature(node: ContentNode, block: () -> Unit) { in appendAsSignature() 60 … override fun appendAsOverloadGroup(to: StringBuilder, platforms: Set<String>, block: () -> Unit) { in appendAsOverloadGroup() 68 … override fun appendLink(href: String, body: () -> Unit) = wrap("<a href=\"$href\">", "</a>", body) in appendLink() 70 override fun appendHeader(level: Int, body: () -> Unit) { in appendLink() 86 override fun appendTable(vararg columns: String, body: () -> Unit) { in appendTable() 92 override fun appendTableBody(body: () -> Unit) { in appendTableBody() 98 override fun appendTableRow(body: () -> Unit) { in appendTableRow() [all …]
|
/external/webrtc/test/testsupport/ |
D | perf_result_reporter.cc | 42 std::string UnitToString(Unit unit) { in UnitToString() 51 case Unit::kMs: in UnitToString() 53 case Unit::kMsBestFitFormat: in UnitToString() 55 case Unit::kMsTs: in UnitToString() 57 case Unit::kNPercent: in UnitToString() 59 case Unit::kSizeInBytes: in UnitToString() 61 case Unit::kBytesPerSecond: in UnitToString() 63 case Unit::kHertz: in UnitToString() 65 case Unit::kUnitless: in UnitToString() 67 case Unit::kCount: in UnitToString() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | ReachingDefAnalysis.cpp | 43 for (MCRegUnitIterator Unit(LI.PhysReg, TRI); Unit.isValid(); ++Unit) { in enterBasicBlock() local 47 LiveRegs[*Unit] = -1; in enterBasicBlock() 48 MBBReachingDefs[MBBNumber][*Unit].push_back(LiveRegs[*Unit]); in enterBasicBlock() 65 for (unsigned Unit = 0; Unit != NumRegUnits; ++Unit) { in enterBasicBlock() local 67 LiveRegs[Unit] = std::max(LiveRegs[Unit], Incoming[Unit]); in enterBasicBlock() 68 if ((LiveRegs[Unit] != ReachingDefDefaultVal)) in enterBasicBlock() 69 MBBReachingDefs[MBBNumber][Unit].push_back(LiveRegs[Unit]); in enterBasicBlock() 111 for (MCRegUnitIterator Unit(MO.getReg(), TRI); Unit.isValid(); ++Unit) { in processDefs() local 117 LiveRegs[*Unit] = CurInstr; in processDefs() 118 MBBReachingDefs[MBBNumber][*Unit].push_back(CurInstr); in processDefs() [all …]
|
D | LiveRegMatrix.cpp | 85 unsigned Unit = (*Units).first; in foreachUnit() local 89 if (Func(Unit, S)) in foreachUnit() 111 TRI, VirtReg, PhysReg, [&](unsigned Unit, const LiveRange &Range) { in assign() argument 112 LLVM_DEBUG(dbgs() << ' ' << printRegUnit(Unit, TRI) << ' ' << Range); in assign() 113 Matrix[Unit].unify(VirtReg, Range); in assign() 128 [&](unsigned Unit, const LiveRange &Range) { in unassign() argument 129 LLVM_DEBUG(dbgs() << ' ' << printRegUnit(Unit, TRI)); in unassign() 130 Matrix[Unit].extract(VirtReg, Range); in unassign() 139 for (MCRegUnitIterator Unit(PhysReg, TRI); Unit.isValid(); ++Unit) { in isPhysRegUsed() local 140 if (!Matrix[*Unit].empty()) in isPhysRegUsed() [all …]
|
/external/lottie/LottieSample/src/main/kotlin/com/airbnb/lottie/samples/ |
D | AnimatorListenerAdapter.kt | 6 val onStart: ((Animator) -> Unit)? = null, 7 val onRepeat: ((Animator) -> Unit)? = null, 8 val onEnd: ((Animator) -> Unit)? = null, 9 val onCancel: ((Animator) -> Unit)? = null 12 override fun onAnimationStart(animation: Animator) = onStart?.invoke(animation) ?: Unit 13 override fun onAnimationRepeat(animation: Animator) = onRepeat?.invoke(animation) ?: Unit 14 override fun onAnimationEnd(animation: Animator) = onEnd?.invoke(animation) ?: Unit 15 override fun onAnimationCancel(animation: Animator) = onCancel?.invoke(animation) ?: Unit
|
/external/kotlinx.coroutines/reactive/kotlinx-coroutines-rx2/test/ |
D | LeakedExceptionTest.kt | 20 private val handler: (Throwable) -> Unit = in <lambda>() 26 val flow = rxSingle<Unit>(dispatcher) { throw TestException() }.toFlowable().asFlow() in <lambda>() 29 combine(flow, flow) { _, _ -> Unit } in <lambda>() 40 val flow = rxObservable<Unit>(dispatcher) { throw TestException() } in <lambda>() 45 combine(flow, flow) { _, _ -> Unit } in <lambda>() 56 val flow = rxFlowable<Unit>(dispatcher) { throw TestException() }.asFlow() in <lambda>() 59 combine(flow, flow) { _, _ -> Unit } in <lambda>() 81 val flow = rxFlowable<Unit>(dispatcher) { in <lambda>() 88 combine(flow, flow) { _, _ -> Unit } in <lambda>() 98 private fun withFixedThreadPool(numberOfThreads: Int, block: (CoroutineDispatcher) -> Unit) { in <lambda>()
|
/external/llvm-project/llvm/lib/CodeGen/ |
D | LiveRegMatrix.cpp | 85 unsigned Unit = (*Units).first; in foreachUnit() local 89 if (Func(Unit, S)) in foreachUnit() 111 TRI, VirtReg, PhysReg, [&](unsigned Unit, const LiveRange &Range) { in assign() argument 112 LLVM_DEBUG(dbgs() << ' ' << printRegUnit(Unit, TRI) << ' ' << Range); in assign() 113 Matrix[Unit].unify(VirtReg, Range); in assign() 128 [&](unsigned Unit, const LiveRange &Range) { in unassign() argument 129 LLVM_DEBUG(dbgs() << ' ' << printRegUnit(Unit, TRI)); in unassign() 130 Matrix[Unit].extract(VirtReg, Range); in unassign() 139 for (MCRegUnitIterator Unit(PhysReg, TRI); Unit.isValid(); ++Unit) { in isPhysRegUsed() local 140 if (!Matrix[*Unit].empty()) in isPhysRegUsed() [all …]
|
D | ReachingDefAnalysis.cpp | 61 for (MCRegUnitIterator Unit(LI.PhysReg, TRI); Unit.isValid(); ++Unit) { in enterBasicBlock() local 65 if (LiveRegs[*Unit] != -1) { in enterBasicBlock() 66 LiveRegs[*Unit] = -1; in enterBasicBlock() 67 MBBReachingDefs[MBBNumber][*Unit].push_back(-1); in enterBasicBlock() 86 for (unsigned Unit = 0; Unit != NumRegUnits; ++Unit) in enterBasicBlock() local 87 LiveRegs[Unit] = std::max(LiveRegs[Unit], Incoming[Unit]); in enterBasicBlock() 91 for (unsigned Unit = 0; Unit != NumRegUnits; ++Unit) in enterBasicBlock() local 92 if (LiveRegs[Unit] != ReachingDefDefaultVal) in enterBasicBlock() 93 MBBReachingDefs[MBBNumber][Unit].push_back(LiveRegs[Unit]); in enterBasicBlock() 124 for (MCRegUnitIterator Unit(MO.getReg().asMCReg(), TRI); Unit.isValid(); in processDefs() local [all …]
|
/external/kotlinx.coroutines/reactive/kotlinx-coroutines-rx3/test/ |
D | LeakedExceptionTest.kt | 20 private val handler: (Throwable) -> Unit = in <lambda>() 26 val flow = rxSingle<Unit>(dispatcher) { throw TestException() }.toFlowable().asFlow() in <lambda>() 29 combine(flow, flow) { _, _ -> Unit } in <lambda>() 40 val flow = rxObservable<Unit>(dispatcher) { throw TestException() } in <lambda>() 45 combine(flow, flow) { _, _ -> Unit } in <lambda>() 56 val flow = rxFlowable<Unit>(dispatcher) { throw TestException() }.asFlow() in <lambda>() 59 combine(flow, flow) { _, _ -> Unit } in <lambda>() 81 val flow = rxFlowable<Unit>(dispatcher) { in <lambda>() 88 combine(flow, flow) { _, _ -> Unit } in <lambda>() 98 private fun withFixedThreadPool(numberOfThreads: Int, block: (CoroutineDispatcher) -> Unit) { in <lambda>()
|
/external/XNNPACK/bench/ |
D | end2end.cc | 123 BENCHMARK(FP32MobileNetV1)->Apply(benchmark::utils::MultiThreadingParameters)->Unit(benchmark::kMic… 124 BENCHMARK(FP32MobileNetV2)->Apply(benchmark::utils::MultiThreadingParameters)->Unit(benchmark::kMic… 125 BENCHMARK(FP32MobileNetV3Large)->Apply(benchmark::utils::MultiThreadingParameters)->Unit(benchmark:… 126 BENCHMARK(FP32MobileNetV3Small)->Apply(benchmark::utils::MultiThreadingParameters)->Unit(benchmark:… 128 BENCHMARK(FP32Sparse80MobileNetV1)->Apply(benchmark::utils::MultiThreadingParameters)->Unit(benchma… 129 BENCHMARK(FP32Sparse80MobileNetV2)->Apply(benchmark::utils::MultiThreadingParameters)->Unit(benchma… 130 BENCHMARK(FP32Sparse80MobileNetV3Large)->Apply(benchmark::utils::MultiThreadingParameters)->Unit(be… 131 BENCHMARK(FP32Sparse80MobileNetV3Small)->Apply(benchmark::utils::MultiThreadingParameters)->Unit(be… 133 BENCHMARK(FP16MobileNetV1)->Apply(benchmark::utils::MultiThreadingParameters)->Unit(benchmark::kMic… 134 BENCHMARK(FP16MobileNetV2)->Apply(benchmark::utils::MultiThreadingParameters)->Unit(benchmark::kMic… [all …]
|
/external/compiler-rt/lib/esan/ |
D | working_set.cpp | 207 static u32 getPeriodForPrinting(u32 MilliSec, const char *&Unit) { in getPeriodForPrinting() argument 209 Unit = "min"; in getPeriodForPrinting() 212 Unit = "sec"; in getPeriodForPrinting() 215 Unit = "ms"; in getPeriodForPrinting() 220 static u32 getSizeForPrinting(u32 NumOfCachelines, const char *&Unit) { in getSizeForPrinting() argument 226 Unit = "MB"; in getSizeForPrinting() 229 Unit = "KB"; in getSizeForPrinting() 232 Unit = "Bytes"; in getSizeForPrinting() 238 const char *Unit; in reportWorkingSet() local 243 u32 Time = getPeriodForPrinting(getFlags()->sample_freq*Freq, Unit); in reportWorkingSet() [all …]
|
/external/llvm/lib/CodeGen/ |
D | LiveRegMatrix.cpp | 78 unsigned Unit = (*Units).first; in foreachUnit() local 82 if (Func(Unit, S)) in foreachUnit() 103 foreachUnit(TRI, VirtReg, PhysReg, [&](unsigned Unit, in assign() 105 DEBUG(dbgs() << ' ' << PrintRegUnit(Unit, TRI) << ' ' << Range); in assign() 106 Matrix[Unit].unify(VirtReg, Range); in assign() 120 foreachUnit(TRI, VirtReg, PhysReg, [&](unsigned Unit, in unassign() argument 122 DEBUG(dbgs() << ' ' << PrintRegUnit(Unit, TRI)); in unassign() 123 Matrix[Unit].extract(VirtReg, Range); in unassign() 132 for (MCRegUnitIterator Unit(PhysReg, TRI); Unit.isValid(); ++Unit) { in isPhysRegUsed() local 133 if (!Matrix[*Unit].empty()) in isPhysRegUsed() [all …]
|