Home
last modified time | relevance | path

Searched refs:startIndex (Results 1 – 10 of 10) sorted by relevance

/tools/trebuchet/core/common/src/main/kotlin/trebuchet/io/
DDataSlice.kt20 var startIndex: Int, variable in trebuchet.io.DataSlice
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()
36 dest.set(buffer, this.startIndex + startIndex, this.startIndex + endIndex) in get()
40 inline val length: Int get() = endIndex - startIndex
42 fun set(buffer: ByteArray, startIndex: Int, endIndex: Int) { in set()
44 this.startIndex = startIndex in set()
55 var myIndex = startIndex in equals()
56 var otherIndex = other.startIndex in equals()
72 for (i in startIndex..endIndex-1) { in hashCode()
[all …]
DStreamingReader.kt25 var startIndex: Long = 0 variable
34 get() = endIndex - startIndex + 1 in get()
43 throw IndexOutOfBoundsException("$i not in range $startIndex..$endIndex") in get()
58 fun iter(startIndex: Long = 0L): Iterator<DataSlice> { in iter()
61 if (startIndex <= win.globalStartIndex) { in iter()
63 } else if (startIndex <= win.globalEndIndex) { in iter()
64 yield(win.slice.slice((startIndex - win.globalStartIndex).toInt())) in iter()
91 startIndex = windows[0].globalStartIndex in addBuffer()
DStreamingLineReader.kt21 private fun findNewlineInWindow(window: StreamingReader.Window, startIndex: Long): Long { in findNewlineInWindow()
22 for (i in startIndex..window.globalEndIndex) { in findNewlineInWindow()
35 var lineStartIndex = stream.startIndex in <lambda>()
61 if (lineStartIndex >= stream.startIndex && (lineEndIndexInclusive - lineStartIndex) >= 0) { in <lambda>()
/tools/trebuchet/core/common/src/main/kotlin/trebuchet/extractors/
DSystraceExtractor.kt25 private var startIndex: Long = 0 in <lambda>() variable in trebuchet.extractors.SystraceExtractor
31 startIndex = START.find(stream, startIndex) in <lambda>()
32 if (startIndex == -1L) return in <lambda>()
33 startIndex += START.length in <lambda>()
34 if (!stream.loadIndex(startIndex)) return in <lambda>()
35 if (stream[startIndex] == '\n'.toByte()) startIndex++ in <lambda>()
41 endIndex = END.find(stream, startIndex) in <lambda>()
55 startIndex = endIndex in <lambda>()
64 if (window.globalEndIndex >= startIndex && window.globalStartIndex < endIndex) { in <lambda>()
65 if (window.globalStartIndex >= startIndex && window.globalEndIndex <= endIndex) { in <lambda>()
[all …]
DZlibExtractor.kt50 stream.loadIndex(stream.startIndex + 1024) in <lambda>()
56 inflater.setInput(nextBuffer.buffer, nextBuffer.startIndex, nextBuffer.length) in <lambda>()
/tools/trebuchet/trebuchet/traceutils/src/
DTraceUtils.kt71 output.write(slice.buffer, slice.startIndex, slice.length) in copy()
75 output.write(next.buffer, next.startIndex, next.length) in copy()
/tools/trebuchet/core/common/src/main/kotlin/trebuchet/util/
DByteArrayList.kt54 put(slice.buffer, slice.startIndex, slice.length) in put()
/tools/apksig/src/main/java/com/android/apksig/internal/asn1/
DAsn1BerParser.java340 int startIndex = delimiterIndex + 1; in getElementType() local
341 int endIndex = type.indexOf('>', startIndex); in getElementType()
346 String elementClassName = type.substring(startIndex, endIndex); in getElementType()
/tools/tradefederation/prebuilts/filegroups/tradefed/
Dtradefed-isolation.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/LICENSE.txt META ...
Dtradefed-test-framework.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/maven/ META- ...