/tools/trebuchet/core/common/src/main/kotlin/trebuchet/collections/ |
D | SparseArray.kt | 20 class SparseArray<E> constructor(initialCapacity: Int = 10) { 25 private var mSize: Int = 0 42 operator fun get(key: Int): E? { in get() 50 operator fun get(key: Int, valueIfKeyNotFound: E?): E? { in get() 63 fun delete(key: Int) { in delete() 77 fun remove(key: Int) { in remove() 84 fun removeAt(index: Int) { in removeAt() 98 fun removeAtRange(index: Int, size: Int) { in removeAtRange() 134 fun put(key: Int, value: E) { in put() 183 fun size(): Int { in size() [all …]
|
/tools/trebuchet/core/common/src/main/kotlin/trebuchet/util/ |
D | BufferReader.kt | 26 open class BufferReaderState(var buffer: ByteArray, var index: Int, var endIndexExclusive: Int) { in isDigit() 37 inline fun skipCount(count: Int) { in isDigit() 76 var startIndex: Int = 0 78 fun int(group: Int): Int { in int() 83 fun intOr(group: Int, default: Int): Int { in intOr() 87 fun double(group: Int): Double { in double() 92 fun long(group: Int): Long { in long() 97 fun string(group: Int): String { in string() 103 fun slice(group: Int): DataSlice { in slice() 109 fun reader(group: Int): BufferReader { in reader() [all …]
|
D | ByteArrayList.kt | 22 class ByteArrayList constructor(initialCapacity: Int = 10) { 24 var size: Int = 0 27 var capacity: Int 37 operator fun get(index: Int): Byte { in get() 47 fun put(buf: ByteArray, offset: Int, length: Int) { in put() 57 fun reset(initialCapacity: Int = 10): DataSlice { in reset()
|
D | StringSearch.kt | 32 fun isPrefix(str: CharSequence, pos: Int): Boolean { in isPrefix() 36 fun longestCommonSuffix(word: CharSequence, pos: Int): Int { in longestCommonSuffix() 37 var i: Int = 0 in longestCommonSuffix() 151 fun find(buffer: ByteArray, startIndex: Int = 0, endIndex: Int = buffer.size): Int { in find()
|
/tools/trebuchet/core/common/src/main/kotlin/trebuchet/io/ |
D | DataSlice.kt | 20 var startIndex: Int, 21 var endIndex: Int) { 31 inline operator fun get(i: Int): Byte = buffer[startIndex + i] in get() 34 inline fun slice(startIndex: Int, endIndex: Int = this.endIndex, in get() 40 inline val length: Int get() = endIndex - startIndex 42 fun set(buffer: ByteArray, startIndex: Int, endIndex: Int) { in set() 67 private var _cachedHashCode: Int = 1 69 override fun hashCode(): Int { in hashCode() 90 fun ByteArray.asSlice(length: Int = this.size) = DataSlice(this, 0, length) in ByteArray() 96 override val length: Int get() = data.length in ByteArray() [all …]
|
/tools/metalava/src/test/java/com/android/tools/metalava/ |
D | KotlinInteropChecksTest.kt | 239 fun error_throwsCheckedExceptionWithWrongExceptionClassInThrows(x: Int) { in Methods annotated @JvmSynthetic with default parameters don't require @JvmOverloads() 246 fun ok_hasThrows1(x: Int) { in ok_hasThrows1() 253 fun ok_hasThrows2(x: Int) { in ok_hasThrows2() 259 fun error_throwsRuntimeExceptionDocsMissing(x: Int) { in error_throwsRuntimeExceptionDocsMissing() 266 fun error_missingSpecificAnnotation(x: Int) { in error_missingSpecificAnnotation() 273 fun ok_docsPresent(x: Int) { in ok_docsPresent() 279 fun ok_exceptionCaught(x: Int) { in ok_exceptionCaught() 288 fun ok_exceptionCaught2(x: Int) { in ok_exceptionCaught2() 297 var errorVar: Int 302 var okValAnnotation: Int [all …]
|
/tools/trebuchet/core/model/src/main/kotlin/trebuchet/model/fragments/ |
D | AsyncSlicesBuilder.kt | 26 val cookie: Int, 28 val startThreadId: Int, 29 var endThreadId: Int 36 private fun key(name: String, cookie: Int): String { in key() 40 fun openAsyncSlice(pid: Int, name: String, cookie: Int, startTime: Double) { in openAsyncSlice() 45 fun closeAsyncSlice(pid: Int, name: String, cookie: Int, endTime: Double) { in closeAsyncSlice()
|
D | ProcessModelFragment.kt | 22 class ProcessModelFragment(id: Int, var name: String? = null, in <lambda>() 24 private var _id: Int = id in <lambda>() 25 var id: Int in <lambda>() 35 private val _threads = mutableMapOf<Int, ThreadModelFragment>() in <lambda>() 48 fun threadFor(pid: Int, name: String? = null): ThreadModelFragment { in <lambda>() 83 fun hint(id: Int = InvalidId, name: String? = null) { in <lambda>()
|
D | ThreadModelFragment.kt | 24 class ThreadModelFragment(var id: Int, var process: ProcessModelFragment, var name: String? = null)… 28 …fun hint(pid: Int = InvalidId, name: String? = null, tgid: Int = InvalidId, processName: String? =… in hint()
|
/tools/trebuchet/core/common/src/main/kotlin/trebuchet/importers/ftrace/events/ |
D | SchedEvent.kt | 51 private fun MatchResult.schedState(group: Int) = read(group) { readSchedulingState() } in <lambda>() 53 class SchedSwitchEvent(val prevComm: String, val prevPid: Int, val prevPrio: Int, 54 val prevState: SchedulingState, val nextComm: String, val nextPid: Int, 55 val nextPrio: Int) : FtraceEventDetails { 67 class SchedWakeupEvent(val comm: String, val pid: Int, val prio: Int, val targetCpu: Int)
|
D | FtraceEvent.kt | 27 val pid: Int, in <lambda>() 28 val tgid: Int, in <lambda>() 29 val cpu: Int, in <lambda>() 39 private var ftraceLineMatcher: Int = -1 in <lambda>() 40 private var cpuBufferStarted: Int = -1 in <lambda>()
|
D | TraceMarkerEvent.kt | 22 class BeginSliceEvent(val tgid: Int, val title: String) : FtraceEventDetails { in <lambda>() 39 class CounterSliceEvent(val tgid: Int, val name: String, val value: Long) : FtraceEventDetails { 47 class StartAsyncSliceEvent(val tgid: Int, val name: String, val cookie: Int) : FtraceEventDetails { 54 class FinishAsyncSliceEvent(val tgid: Int, val name: String, val cookie: Int) : FtraceEventDetails {
|
/tools/trebuchet/core/common/src/main/kotlin/trebuchet/importers/ftrace/ |
D | FtraceLine.kt | 33 private var _pid: Int = 0 34 private var _tgid: Int = 0 35 private var _cpu: Int = 0 41 var tgid: Int 56 private fun set(taskName: String?, pid: Int, tgid: Int, cpu: Int, timestamp: Double, in set() 126 var tgid: Int = InvalidId in parseLine()
|
D | FtraceImporterState.kt | 44 private fun createProcess(tgid: Int, name: String? = null): ThreadModelFragment { in <lambda>() 55 fun processFor(tgid: Int, name: String? = null): ProcessModelFragment { in <lambda>() 76 fun threadFor(pid: Int, tgid: Int = InvalidId, task: String? = null): ThreadModelFragment { in <lambda>() 95 fun cpuFor(cid: Int): CpuModelFragment { in <lambda>()
|
/tools/trebuchet/trebuchet/viewer/src/main/kotlin/traceviewer/ui/ |
D | TimelineView.kt | 43 override fun getScrollableBlockIncrement(visibleRect: Rectangle, orientation: Int, in getScrollableBlockIncrement() 44 direction: Int): Int { in getScrollableBlockIncrement() 48 override fun getScrollableUnitIncrement(visibleRect: Rectangle, orientation: Int, in getScrollableUnitIncrement() 49 direction: Int): Int { in getScrollableUnitIncrement() 95 private val zoomFocalPointX: Int get() { in isFocusable()
|
D | RenderState.kt | 22 class RenderState(minX: Double, maxX: Double, viewWidth: Int) { in <lambda>() 39 fun xViewToWorld(x: Int) = (x / scale) + panX in <lambda>() 41 fun zoomBy(amount: Double, viewX: Int) { in <lambda>() 51 fun pan(deltaX: Int) { in <lambda>()
|
/tools/trebuchet/trebuchet/viewer/src/main/kotlin/traceviewer/ui/tracks/ |
D | SliceTrack.kt | 29 trackHeight: Int = LayoutConstants.TrackHeight) : JComponent() { 43 var x: Int in paintComponent() 44 var width: Int in paintComponent() 70 open fun drawLabel(slice: T, g: Graphics, metrics: FontMetrics, x: Int, y: Int, width: Int) { in drawLabel()
|
D | SchedTrack.kt | 40 …e fun drawLabel(slice: SchedSlice, g: Graphics, metrics: FontMetrics, x: Int, y: Int, width: Int) { in drawLabel()
|
/tools/metalava/src/main/java/com/android/tools/metalava/ |
D | DocAnalyzer.kt | 159 depth: Int, in <lambda>() 472 if (level is Int) { in <lambda>() 663 val pkgApi = HashMap<PackageItem, Int?>(300) in <lambda>() 700 private fun addApiLevelDocumentation(level: Int, item: Item) { in <lambda>() 734 private fun addDeprecatedDocumentation(level: Int, item: Item) { in <lambda>() 767 private fun describeApiLevel(level: Int): String { in <lambda>() 772 fun ApiLookup.getClassVersion(cls: PsiClass): Int { in getClassVersion() 779 fun ApiLookup.getMethodVersion(method: PsiMethod): Int { in ApiLookup() 790 fun ApiLookup.getFieldVersion(field: PsiField): Int { in ApiLookup() 796 fun ApiLookup.getClassDeprecatedIn(cls: PsiClass): Int { in ApiLookup() [all …]
|
D | FileReadSandbox.kt | 280 override fun checkListen(p0: Int) { in <lambda>() 283 override fun checkExit(p0: Int) { in <lambda>() 310 override fun checkAccept(p0: String?, p1: Int) { in <lambda>() 329 override fun checkConnect(p0: String?, p1: Int) { in <lambda>() 332 override fun checkConnect(p0: String?, p1: Int, p2: Any?) { in <lambda>()
|
/tools/ndkports/buildSrc/src/main/kotlin/com/android/ndkports/ |
D | CMakeCompatibleVersion.kt | 30 val major: Int, 31 val minor: Int?, 32 val patch: Int?, 33 val tweak: Int?
|
D | NdkVersion.kt | 22 val major: Int, 23 val minor: Int, 24 val build: Int,
|
/tools/metalava/src/main/java/com/android/tools/metalava/model/ |
D | AnnotationItem.kt | 742 private fun findEnd(source: String, from: Int, to: Int, sentinel: Char): Int { in findEnd() 756 …vate fun addAttribute(list: MutableList<AnnotationAttribute>, source: String, from: Int, to: Int) { in addAttribute() 763 val valueBegin: Int in addAttribute() 764 val valueEnd: Int in addAttribute()
|
/tools/metalava/src/main/java/com/android/tools/metalava/model/text/ |
D | SourcePositionInfo.kt | 20 private val line: Int 26 override fun compareTo(other: SourcePositionInfo): Int { in compareTo() 46 index: Int in add()
|
/tools/trebuchet/trebuchet/startup-common/src/ |
D | StartupCommon.kt | 65 var count : Int = 0 in <lambda>() 68 val values : MutableMap<String, Pair<Int, Double>> = mutableMapOf() in <lambda>() 74 class MissingProcessInfoException(pid : Int) : Exception("Missing process info for PID $pid") 171 val sliceDepths: MutableMap<String, Int> = mutableMapOf() in Model()
|