Home
last modified time | relevance | path

Searched refs:ByteArray (Results 1 – 13 of 13) sorted by relevance

/tools/trebuchet/core/common/src/main/kotlin/trebuchet/util/
DByteArrayList.kt35 private var array: ByteArray = ByteArray(initialCapacity)
47 fun put(buf: ByteArray, offset: Int, length: Int) { in put()
59 array = ByteArray(initialCapacity) in reset()
DBufferReader.kt26 open class BufferReaderState(var buffer: ByteArray, var index: Int, var endIndexExclusive: Int) { in isDigit()
/tools/trebuchet/core/common/src/main/kotlin/trebuchet/io/
DDataSlice.kt19 data class DataSlice(var buffer: ByteArray,
24 val EmptyBuffer = ByteArray(0)
28 constructor(buffer: ByteArray) : this(buffer, 0, buffer.size)
42 fun set(buffer: ByteArray, startIndex: Int, endIndex: Int) { in set()
90 fun ByteArray.asSlice(length: Int = this.size) = DataSlice(this, 0, length) in ByteArray() method
DStreamingLineReader.kt68 val tmpBuffer = ByteArray((lineEndIndexInclusive - lineStartIndex + 1).toInt()) in <lambda>()
DStreamingReader.kt103 fun copyTo(tmpBuffer: ByteArray, lineStartIndex: Long, lineEndIndex: Long) { in get()
/tools/trebuchet/core/common/src/main/kotlin/trebuchet/extractors/
DZlibExtractor.kt60 val array = ByteArray(estSize) in <lambda>()
107 val tmpBuffer = ByteArray(toRead) { buffer[start + it] } in extractorFor()
109 val result = ByteArray(1024) in extractorFor()
/tools/trebuchet/core/common/src/main/kotlin/trebuchet/extras/
DStreamAdapter.kt37 val buffer = ByteArray(2 * 1024 * 1024) in next()
/tools/apksig/src/main/java/com/android/apksig/
DApkVerifier.java382 ArrayList<ByteArray> v1SignerCerts = new ArrayList<>(); in verify()
383 ArrayList<ByteArray> v2SignerCerts = new ArrayList<>(); in verify()
386 v1SignerCerts.add(new ByteArray(signer.getCertificate().getEncoded())); in verify()
394 v2SignerCerts.add(new ByteArray(signer.getCertificate().getEncoded())); in verify()
404 ByteArray v1Cert = v1SignerCerts.get(i); in verify()
412 ByteArray v2Cert = v2SignerCerts.get(i); in verify()
2464 private static class ByteArray { class in ApkVerifier
2468 private ByteArray(byte[] arr) { in ByteArray() method in ApkVerifier.ByteArray
2483 if (!(obj instanceof ByteArray)) { in equals()
2486 ByteArray other = (ByteArray) obj; in equals()
/tools/metalava/src/main/java/com/android/tools/metalava/
DRewriteAnnotations.kt160 private fun rewriteClass(bytes: ByteArray, path: String): ByteArray? { in <lambda>()
169 private fun rewriteOuterClass(reader: ClassReader): ByteArray? { in <lambda>()
DConvertJarsToSignatureFiles.kt187 private fun markDeprecated(codebase: Codebase, bytes: ByteArray, path: String) { in <lambda>()
/tools/trebuchet/core/common/src/test/kotlin/trebuchet/io/
DStringStreamTest.kt73 val buffer = ByteArray(2 * 1024 * 1024) in readFile()
/tools/trebuchet/trebuchet/viewer/src/main/kotlin/traceviewer/ui/
DTraceViewerWindow.kt74 val buffer = ByteArray(2 * 1024 * 1024) in <lambda>()
/tools/trebuchet/core/common/src/test/kotlin/trebuchet/task/
DImportTaskTest.kt91 val buffer = ByteArray(2 * 1024 * 1024) in <lambda>()