Home
last modified time | relevance | path

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

/tools/apksig/src/main/java/com/android/apksig/
DApkVerifier.java305 ArrayList<ByteArray> v1SignerCerts = new ArrayList<>(); in verify()
306 ArrayList<ByteArray> v2SignerCerts = new ArrayList<>(); in verify()
309 v1SignerCerts.add(new ByteArray(signer.getCertificate().getEncoded())); in verify()
317 v2SignerCerts.add(new ByteArray(signer.getCertificate().getEncoded())); in verify()
327 ByteArray v1Cert = v1SignerCerts.get(i); in verify()
335 ByteArray v2Cert = v2SignerCerts.get(i); in verify()
1788 private static class ByteArray { class in ApkVerifier
1792 private ByteArray(byte[] arr) { in ByteArray() method in ApkVerifier.ByteArray
1813 ByteArray other = (ByteArray) obj; in equals()
/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/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()
DStringSearch.kt28 val skipLut = ByteArray(256) { lookFor.length.toByte() } in <lambda>()
29 val suffixSkip = ByteArray(lookFor.length)
151 fun find(buffer: ByteArray, startIndex: Int = 0, endIndex: Int = buffer.size): Int { in find()
DBufferReader.kt26 open class BufferReaderState(var buffer: ByteArray, var index: Int, var endIndexExclusive: Int) { in isDigit()
/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/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>()
DDriver.kt743 override fun write(b: ByteArray) { in write()
751 override fun write(b: ByteArray, off: Int, len: Int) { in write()
DConvertJarsToSignatureFiles.kt187 private fun markDeprecated(codebase: Codebase, bytes: ByteArray, path: String) { in <lambda>()
DAnnotationStatistics.kt417 private fun recordUsages(used: MutableMap<MemberItem, Int>, bytes: ByteArray, path: String) { in <lambda>()
/tools/metalava/src/test/java/com/android/tools/metalava/
DDriverTest.kt170 override fun write(b: ByteArray?, off: Int, len: Int) { in <lambda>()
175 override fun write(b: ByteArray?) { in <lambda>()
/tools/trebuchet/core/common/src/main/kotlin/trebuchet/extras/
DStreamAdapter.kt37 val buffer = ByteArray(2 * 1024 * 1024) in next()
/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>()