/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/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/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/metalava/metalava/src/test/java/com/android/tools/metalava/ |
D | KotlinInteropChecksTest.kt | 285 fun error_throwsCheckedExceptionWithWrongExceptionClassInThrows(x: Int) { in Methods annotated @JvmSynthetic with default parameters don't require @JvmOverloads() 292 fun ok_hasThrows1(x: Int) { in ok_hasThrows1() 299 fun ok_hasThrows2(x: Int) { in ok_hasThrows2() 305 fun error_throwsRuntimeExceptionDocsMissing(x: Int) { in error_throwsRuntimeExceptionDocsMissing() 312 fun error_missingSpecificAnnotation(x: Int) { in error_missingSpecificAnnotation() 319 fun ok_docsPresent(x: Int) { in ok_docsPresent() 325 fun ok_exceptionCaught(x: Int) { in ok_exceptionCaught() 334 fun ok_exceptionCaught2(x: Int) { in ok_exceptionCaught2() 343 var errorVar: Int 348 var okValAnnotation: Int [all …]
|
D | AndroidJarsToSignaturesCommandTest.kt | 86 fun oldAndroidJarFile(apiVersion: Int): String { in Test convert jars() 89 fun currentVersionDir(apiVersion: Int): String { in Test convert jars() 92 fun currentApiDir(apiVersion: Int): String { in Test convert jars() 95 fun currentAndroidJarFile(apiVersion: Int): String { in Test convert jars() 98 fun currentApiTxtFile(apiVersion: Int): String { in Test convert jars() 103 val version: Int, in Test convert jars()
|
/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>()
|
/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/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/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/metalava/metalava-model/src/main/java/com/android/tools/metalava/model/ |
D | AnnotationItem.kt | 351 Int::class -> value.toInt() in convertValue() 455 override fun hashCode(): Int { in hashCode() 640 private fun findEnd(source: String, from: Int, to: Int, sentinel: Char): Int { in findEnd() 657 from: Int, in addAttribute() 658 to: Int in addAttribute() 666 val valueBegin: Int in addAttribute() 667 val valueEnd: Int in addAttribute() 693 override fun hashCode(): Int { in hashCode() 765 override fun hashCode(): Int { in toSource() 782 override fun hashCode(): Int { in hashCode()
|
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/apilevels/ |
D | ApiClass.kt | 28 class ApiClass(name: String, version: Int, deprecated: Boolean) : 42 fun addField(name: String, version: Int, deprecated: Boolean): ApiElement { in addField() 49 fun addMethod(name: String, version: Int, deprecated: Boolean): ApiElement { in addMethod() 65 fun addSuperClass(superClass: String, since: Int): ApiElement { in addSuperClass() 80 fun updateHidden(api: Int, hidden: Boolean) { in updateHidden() 88 fun addInterface(interfaceClass: String, since: Int) { in addInterface() 98 version: Int, in addToMap() 114 version: Int in addToArray() 298 var min = Int.MAX_VALUE in removeHiddenSuperClasses()
|
D | JarReaderUtils.kt | 28 fun Api.readAndroidJar(apiLevel: Int, jar: File) { in <lambda>() 33 fun Api.readExtensionJar(extensionVersion: Int, module: String, jar: File, nextApiLevel: Int) { in readExtensionJar() 37 fun Api.readJar(apiLevel: Int, jar: File, extensionVersion: Int? = null, module: String? = null) { in readJar() 112 private fun isDeprecated(access: Int) = (access and Opcodes.ACC_DEPRECATED) != 0
|
D | ApiElement.kt | 60 internal constructor(name: String, version: Int, deprecated: Boolean = false) { 90 fun update(version: Int, deprecated: Boolean) { in update() 118 fun update(version: Int) { in update() 127 fun updateExtension(version: Int) { in updateExtension() 229 override fun compareTo(other: ApiElement): Int { in compareTo() 234 const val NEVER = Int.MAX_VALUE
|
D | ApiGenerator.kt | 39 firstApiLevel: Int, in <lambda>() 40 currentApiLevel: Int, in <lambda>() 133 private fun createApiFromAndroidJars(apiLevels: Array<File>, firstApiLevel: Int): Api { in <lambda>() 164 apiLevelNotInAndroidSdk: Int, in <lambda>() 167 skipVersionsGreaterThan: Int? in <lambda>() 256 var skipVersionsGreaterThan: 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()
|
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/doc/ |
D | DocAnalyzer.kt | 175 depth: Int, in <lambda>() 526 if (level is Int) { in <lambda>() 703 val pkgApi = HashMap<PackageItem, Int?>(300) in <lambda>() 758 private fun addApiLevelDocumentation(level: Int, item: Item) { in <lambda>() 819 private fun addDeprecatedDocumentation(level: Int, item: Item) { in <lambda>() 856 fun ApiConstraint.minApiLevel(): Int { in ApiConstraint() 867 fun ApiLookup.getClassVersion(cls: ClassItem): Int { in getClassVersion() 874 fun ApiLookup.getMethodVersion(method: MethodItem): Int { in ApiLookup() 883 fun ApiLookup.getFieldVersion(field: FieldItem): Int { in ApiLookup() 889 fun ApiLookup.getClassDeprecatedIn(cls: ClassItem): Int { in ApiLookup() [all …]
|
/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?
|
/tools/metalava/metalava-model-psi/src/main/java/com/android/tools/metalava/model/psi/ |
D | PsiFileLocation.kt | 61 private var _line: Int = Int.MIN_VALUE 69 override val line: Int 83 if (_line != Int.MIN_VALUE) { in ensureInitialized() 155 private fun getLineNumber(text: String, offset: Int): Int { in getLineNumber()
|