Home
last modified time | relevance | path

Searched refs:Int (Results 1 – 25 of 115) sorted by relevance

12345

/tools/trebuchet/core/common/src/main/kotlin/trebuchet/collections/
DSparseArray.kt20 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/
DBufferReader.kt26 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 …]
DByteArrayList.kt22 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()
DStringSearch.kt32 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/
DDataSlice.kt20 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/
DKotlinInteropChecksTest.kt239 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/
DAsyncSlicesBuilder.kt26 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()
DProcessModelFragment.kt22 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>()
DThreadModelFragment.kt24 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/
DSchedEvent.kt51 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)
DFtraceEvent.kt27 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>()
DTraceMarkerEvent.kt22 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/
DFtraceLine.kt33 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()
DFtraceImporterState.kt44 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/
DTimelineView.kt43 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()
DRenderState.kt22 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/
DSliceTrack.kt29 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()
DSchedTrack.kt40 …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/
DDocAnalyzer.kt159 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 …]
DFileReadSandbox.kt280 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/
DCMakeCompatibleVersion.kt30 val major: Int,
31 val minor: Int?,
32 val patch: Int?,
33 val tweak: Int?
DNdkVersion.kt22 val major: Int,
23 val minor: Int,
24 val build: Int,
/tools/metalava/src/main/java/com/android/tools/metalava/model/
DAnnotationItem.kt742 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/
DSourcePositionInfo.kt20 private val line: Int
26 override fun compareTo(other: SourcePositionInfo): Int { in compareTo()
46 index: Int in add()
/tools/trebuchet/trebuchet/startup-common/src/
DStartupCommon.kt65 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()

12345