Searched refs:ByteArray (Results 1 – 13 of 13) sorted by relevance
/tools/trebuchet/core/common/src/main/kotlin/trebuchet/util/ |
D | ByteArrayList.kt | 35 private var array: ByteArray = ByteArray(initialCapacity) 47 fun put(buf: ByteArray, offset: Int, length: Int) { in put() 59 array = ByteArray(initialCapacity) in reset()
|
D | BufferReader.kt | 26 open class BufferReaderState(var buffer: ByteArray, var index: Int, var endIndexExclusive: Int) { in isDigit()
|
/tools/trebuchet/core/common/src/main/kotlin/trebuchet/io/ |
D | DataSlice.kt | 19 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
|
D | StreamingLineReader.kt | 68 val tmpBuffer = ByteArray((lineEndIndexInclusive - lineStartIndex + 1).toInt()) in <lambda>()
|
D | StreamingReader.kt | 103 fun copyTo(tmpBuffer: ByteArray, lineStartIndex: Long, lineEndIndex: Long) { in get()
|
/tools/trebuchet/core/common/src/main/kotlin/trebuchet/extractors/ |
D | ZlibExtractor.kt | 60 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/ |
D | StreamAdapter.kt | 37 val buffer = ByteArray(2 * 1024 * 1024) in next()
|
/tools/apksig/src/main/java/com/android/apksig/ |
D | ApkVerifier.java | 382 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/ |
D | RewriteAnnotations.kt | 160 private fun rewriteClass(bytes: ByteArray, path: String): ByteArray? { in <lambda>() 169 private fun rewriteOuterClass(reader: ClassReader): ByteArray? { in <lambda>()
|
D | ConvertJarsToSignatureFiles.kt | 187 private fun markDeprecated(codebase: Codebase, bytes: ByteArray, path: String) { in <lambda>()
|
/tools/trebuchet/core/common/src/test/kotlin/trebuchet/io/ |
D | StringStreamTest.kt | 73 val buffer = ByteArray(2 * 1024 * 1024) in readFile()
|
/tools/trebuchet/trebuchet/viewer/src/main/kotlin/traceviewer/ui/ |
D | TraceViewerWindow.kt | 74 val buffer = ByteArray(2 * 1024 * 1024) in <lambda>()
|
/tools/trebuchet/core/common/src/test/kotlin/trebuchet/task/ |
D | ImportTaskTest.kt | 91 val buffer = ByteArray(2 * 1024 * 1024) in <lambda>()
|