Home
last modified time | relevance | path

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

/tools/tradefederation/core/tests/src/com/android/tradefed/command/remote/
DRemoteManagerTest.java74 String buf = "test\n"; in testProcessClientOperations_invalidAction() local
93 String buf = "{version=\"8\", type=\"START_HANDOVER\", port=\"5555\"}"; in testProcessClientOperations_initHandover() local
112 String buf = "{version=\"8\", type=\"ADD_COMMAND\", time=\"5\", commandArgs=[\"empty\"]}"; in testProcessClientOperations_addCommand() local
128 String buf = "{version=\"8\", type=\"ADD_COMMAND\", time=\"5\", commandArgs=[\"empty\"]}"; in testProcessClientOperations_addCommand_fail() local
146 String buf = "{version=\"8\", type=\"ADD_COMMAND\", time=\"5\", commandArgs=[\"empty\"]}"; in testProcessClientOperations_addCommand_config() local
164 String buf = "{version=\"8\", type=\"ALLOCATE_DEVICE\", serial=\"testserial\"}"; in testProcessClientOperations_allocateDevice_fail() local
181 String buf = "{version=\"8\", type=\"ALLOCATE_DEVICE\", serial=\"testserial\"}"; in testProcessClientOperations_allocateDevice() local
198 String buf = "{version=\"8\", type=\"FREE_DEVICE\", serial=\"testserial\"}"; in testProcessClientOperations_processFree_notFound() local
219 String buf = "{version=\"8\", type=\"FREE_DEVICE\", serial=\"testserial\"}"; in testProcessClientOperations_processFree() local
243 String buf = "{version=\"8\", type=\"FREE_DEVICE\", serial=\"*\"}"; in testProcessClientOperations_processFree_wildcard() local
/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/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()
DRandomAccessFileDataSource.java106 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/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/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/main/java/com/android/apksig/internal/asn1/ber/
DByteBufferBerDataValueReader.java28 public ByteBufferBerDataValueReader(ByteBuffer buf) { in ByteBufferBerDataValueReader()
/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/metalava/src/main/java/com/android/tools/metalava/model/
DFieldItem.kt285 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()
DZipUtils.java181 ByteBuffer buf = zip.getByteBuffer(bufOffsetInFile, maxEocdSize); in findZipEndOfCentralDirectoryRecord() local
DCentralDirectoryRecord.java130 public static CentralDirectoryRecord getRecord(ByteBuffer buf) throws ZipFormatException { in getRecord()
/tools/metalava/src/main/java/com/android/tools/metalava/doclava1/
DApiFile.java886 Tokenizer(String filename, char[] buf) { in Tokenizer()
/tools/apksig/src/main/java/com/android/apksig/internal/apk/
DApkSigningBlockUtils.java386 public static byte[] readLengthPrefixedByteArray(ByteBuffer buf) throws ApkFormatException { in readLengthPrefixedByteArray()