Home
last modified time | relevance | path

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

/tools/trebuchet/core/common/src/main/kotlin/trebuchet/io/
DDataSlice.kt21 var endIndex: Int) { variable in trebuchet.io.DataSlice
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()
45 this.endIndex = endIndex in set()
57 while (myIndex < endIndex) { in equals()
72 for (i in startIndex..endIndex-1) { in hashCode()
86 return DataSlice(buffer.copyOfRange(startIndex, endIndex)) in toString()
102 override fun subSequence(startIndex: Int, endIndex: Int): CharSequence { in ByteArray()
[all …]
DStreamingReader.kt27 var endIndex: Long = -1 variable
34 get() = endIndex - startIndex + 1 in get()
43 throw IndexOutOfBoundsException("$i not in range $startIndex..$endIndex") in get()
47 while (endIndex < index && !reachedEof) { in loadIndex()
55 return index <= endIndex in loadIndex()
86 windows.add(Window(buffer, endIndex + 1, endIndex + buffer.length)) in addBuffer()
87 endIndex += buffer.length in addBuffer()
88 if (windows.size > 2 && endIndex - windows[1].globalStartIndex > keepLoadedSize) { in addBuffer()
DStreamingLineReader.kt40 if (index > stream.endIndex) { in <lambda>()
50 if (lineStartIndex > stream.endIndex) break in <lambda>()
53 if (foundAt == -1L) foundAt = stream.endIndex + 1 in <lambda>()
/tools/trebuchet/core/common/src/main/kotlin/trebuchet/extractors/
DSystraceExtractor.kt26 private var endIndex: Long = Long.MAX_VALUE in <lambda>() variable in trebuchet.extractors.SystraceExtractor
36 endIndex = Long.MAX_VALUE in <lambda>()
41 endIndex = END.find(stream, startIndex) in <lambda>()
42 if (endIndex == -1L) { in <lambda>()
43 endIndex = stream.endIndex 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>()
69 val sliceEnd = minOf(endIndex, window.globalEndIndex) - window.globalStartIndex in <lambda>()
/tools/apksig/src/main/java/com/android/apksig/internal/util/
DChainedDataSource.java119 int endIndex = lastSource.getFirst(); in slice() local
122 for (int i = beginIndex + 1; i < endIndex; i++) { in slice()
126 sources.add(mSources[endIndex].slice(0, endLocalOffset + 1)); in slice()
/tools/trebuchet/core/common/src/main/kotlin/trebuchet/util/
DBufferReader.kt141 override fun subSequence(startIndex: Int, endIndex: Int): CharSequence { in subSequence()
150 this.endIndexExclusive = slice.endIndex in reset()
/tools/apksig/src/main/java/com/android/apksig/internal/asn1/
DAsn1BerParser.java341 int endIndex = type.indexOf('>', startIndex); in getElementType() local
343 if (endIndex == -1) { 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 ...