Home
last modified time | relevance | path

Searched refs:startIndex (Results 1 – 13 of 13) 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/core/common/src/main/kotlin/trebuchet/util/
DBufferReader.kt64 val startIndex = index constant
67 if (index < startIndex) { throw IndexOutOfBoundsException() } in rewind()
76 var startIndex: Int = 0 variable in trebuchet.util.MatchResult
79 reader.index = startIndex + matcher!!.start(group) in int()
88 reader.index = startIndex + matcher!!.start(group) in double()
93 reader.index = startIndex + matcher!!.start(group) in long()
98 reader.index = startIndex + matcher!!.start(group) in string()
99 val endAt = startIndex + matcher!!.end(group) in string()
104 reader.index = startIndex + matcher!!.start(group) in slice()
105 val endAt = startIndex + matcher!!.end(group) in slice()
[all …]
DByteArrayList.kt54 put(slice.buffer, slice.startIndex, slice.length) in put()
/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/tradefederation/core/tests/src/com/android/tradefed/log/
DFileLoggerTest.java106 int startIndex = message.indexOf(LOG_TAG) - 2; in trimTimestamp() local
107 return message.substring(startIndex); in trimTimestamp()
/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/core/res/jacoco/
Djacocoagent.jarMETA-INF/MANIFEST.MF META-INF/ org/ org/jacoco/ org/ ...
Djacocoant.jarMETA-INF/MANIFEST.MF META-INF/ org/ org/jacoco/ org/ ...
/tools/tradefederation/core/tests/res/testdata/
Dtradefed-prebuilt-cts-8.0_r21.jarMETA-INF/ META-INF/MANIFEST.MF jline/ jline/CompletionHandler.class CompletionHandler ...