Home
last modified time | relevance | path

Searched defs:buf (Results 1 – 25 of 25) sorted by relevance

/tools/apksig/src/main/java/com/android/apksig/util/
DDataSink.java36 void consume(byte[] buf, int offset, int length) throws IOException; in consume()
45 void consume(ByteBuffer buf) throws IOException; in consume()
/tools/security/fuzzing/orphans/libexif/
Dlibexif_fuzzer.cpp14 char buf[1024]; in mnote_dump() local
21 char buf[1024]; in dump_value() local
42 unsigned char *buf; in LLVMFuzzerTestOneInput() local
/tools/apksig/src/test/java/com/android/apksig/util/
DDataSourceTestBase.java204 ByteBuffer buf = ByteBuffer.allocate(5); in testCopyTo() local
238 ByteBuffer buf = ds.getByteBuffer(offset, size); in assertGetByteBufferEquals() local
274 ByteBuffer buf = ByteBuffer.wrap(arr, 1, size + 5); in assertCopyToEquals() local
283 String expectedContents, DataSource ds, long offset, int size, ByteBuffer buf) in assertCopyToEquals()
299 ByteBuffer buf = ByteBuffer.allocate((size < 0) ? 0 : size); in assertCopyToThrowsIOOB() local
307 DataSource ds, long offset, int size, ByteBuffer buf) throws IOException { in assertCopyToThrowsBufferOverflow()
318 static String toString(ByteBuffer buf) { in toString()
372 public void consume(byte[] buf, int offset, int length) {} in consume()
375 public void consume(ByteBuffer buf) {} in consume()
DDataSourceFromByteBufferTest.java34 ByteBuffer buf = ByteBuffer.wrap("abcdefgh".getBytes(StandardCharsets.UTF_8)); in testChangesToBufferPosAndLimitNotVisible() local
DDataSinkTestBase.java115 private static String toString(ByteBuffer buf) { in toString()
/tools/apksig/src/main/java/com/android/apksig/internal/util/
DMessageDigestSink.java35 public void consume(byte[] buf, int offset, int length) { in consume()
42 public void consume(ByteBuffer buf) { in consume()
DTeeDataSink.java35 public void consume(byte[] buf, int offset, int length) throws IOException { in consume()
42 public void consume(ByteBuffer buf) throws IOException { in consume()
DByteBufferSink.java40 public void consume(byte[] buf, int offset, int length) throws IOException { in consume()
50 public void consume(ByteBuffer buf) throws IOException { in consume()
DOutputStreamDataSink.java52 public void consume(byte[] buf, int offset, int length) throws IOException { in consume()
57 public void consume(ByteBuffer buf) throws IOException { in consume()
DRandomAccessFileDataSink.java66 public void consume(byte[] buf, int offset, int length) throws IOException { in consume()
90 public void consume(ByteBuffer buf) throws IOException { in consume()
DByteBufferUtils.java28 public static byte[] toByteArray(ByteBuffer buf) { in toByteArray()
DByteArrayDataSink.java49 public void consume(byte[] buf, int offset, int length) throws IOException { in consume()
71 public void consume(ByteBuffer buf) throws IOException { in consume()
DFileChannelDataSource.java102 ByteBuffer buf = ByteBuffer.allocateDirect((int) Math.min(remaining, MAX_READ_CHUNK_SIZE)); in feed() local
/tools/apksig/src/test/java/com/android/apksig/internal/util/
DByteBufferSinkTestBase.java31 ByteBuffer buf = createBuffer(1024); in createDataSink() local
41 ByteBuffer buf = dataSink.getBuffer(); in getContents() local
DHexEncoding.java54 public static String encode(ByteBuffer buf) { in encode()
/tools/test/graphicsbenchmark/apps/sample_app/src/cpp/
Dshader.cpp40 char* buf = (char*) malloc(infoLen); in loadShader() local
81 char* buf = (char*) malloc(bufLength); in createProgram() local
/tools/apksig/src/test/java/com/android/apksig/internal/asn1/
DAsn1BerParserTest.java402 public ByteBuffer buf; field in Asn1BerParserTest.SequenceWithOctetString
408 public ByteBuffer buf; field in Asn1BerParserTest.SequenceWithBitString
/tools/apksig/src/main/java/com/android/apksig/internal/asn1/ber/
DByteBufferBerDataValueReader.java28 public ByteBufferBerDataValueReader(ByteBuffer buf) { in ByteBufferBerDataValueReader()
/tools/metalava/src/main/java/com/android/tools/metalava/model/
DFieldItem.kt289 val buf = StringBuilder(str.length) in javaUnescapeString() constant
/tools/apksig/src/main/java/com/android/apksig/internal/asn1/
DAsn1DerEncoder.java506 ByteBuffer buf = ((Asn1OpaqueObject) source).getEncoded(); in toDer() local
521 ByteBuffer buf = (ByteBuffer) source; in toDer() local
/tools/apksig/src/main/java/com/android/apksig/internal/zip/
DLocalFileRecord.java477 public void consume(byte[] buf, int offset, int length) throws IOException { in consume()
499 public void consume(ByteBuffer buf) throws IOException { in consume()
DCentralDirectoryRecord.java130 public static CentralDirectoryRecord getRecord(ByteBuffer buf) throws ZipFormatException { in getRecord()
DZipUtils.java201 ByteBuffer buf = zip.getByteBuffer(bufOffsetInFile, maxEocdSize); in findZipEndOfCentralDirectoryRecord() local
/tools/apksig/src/main/java/com/android/apksig/internal/apk/
DApkSigningBlockUtilsLite.java362 public static byte[] readLengthPrefixedByteArray(ByteBuffer buf) throws ApkFormatException { in readLengthPrefixedByteArray()
DApkSigningBlockUtils.java251 public static byte[] readLengthPrefixedByteArray(ByteBuffer buf) throws ApkFormatException { in readLengthPrefixedByteArray()