/tools/tradefederation/core/tests/src/com/android/tradefed/command/remote/ |
D | RemoteManagerTest.java | 74 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/test/java/com/android/apksig/util/ |
D | DataSourceTestBase.java | 204 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()
|
D | DataSourceFromByteBufferTest.java | 34 ByteBuffer buf = ByteBuffer.wrap("abcdefgh".getBytes(StandardCharsets.UTF_8)); in testChangesToBufferPosAndLimitNotVisible() local
|
D | DataSinkTestBase.java | 115 private static String toString(ByteBuffer buf) { in toString()
|
/tools/security/fuzzing/orphans/libexif/ |
D | libexif_fuzzer.cpp | 14 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/main/java/com/android/apksig/util/ |
D | DataSink.java | 36 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/ |
D | TeeDataSink.java | 35 public void consume(byte[] buf, int offset, int length) throws IOException { in consume() 42 public void consume(ByteBuffer buf) throws IOException { in consume()
|
D | MessageDigestSink.java | 35 public void consume(byte[] buf, int offset, int length) { in consume() 42 public void consume(ByteBuffer buf) { in consume()
|
D | ByteBufferSink.java | 40 public void consume(byte[] buf, int offset, int length) throws IOException { in consume() 50 public void consume(ByteBuffer buf) throws IOException { in consume()
|
D | OutputStreamDataSink.java | 52 public void consume(byte[] buf, int offset, int length) throws IOException { in consume() 57 public void consume(ByteBuffer buf) throws IOException { in consume()
|
D | RandomAccessFileDataSink.java | 66 public void consume(byte[] buf, int offset, int length) throws IOException { in consume() 90 public void consume(ByteBuffer buf) throws IOException { in consume()
|
D | ByteBufferUtils.java | 28 public static byte[] toByteArray(ByteBuffer buf) { in toByteArray()
|
D | ByteArrayDataSink.java | 49 public void consume(byte[] buf, int offset, int length) throws IOException { in consume() 71 public void consume(ByteBuffer buf) throws IOException { in consume()
|
D | FileChannelDataSource.java | 102 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/ |
D | ByteBufferSinkTestBase.java | 31 ByteBuffer buf = createBuffer(1024); in createDataSink() local 41 ByteBuffer buf = dataSink.getBuffer(); in getContents() local
|
D | HexEncoding.java | 54 public static String encode(ByteBuffer buf) { in encode()
|
/tools/test/graphicsbenchmark/apps/sample_app/src/cpp/ |
D | shader.cpp | 40 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/ |
D | Asn1BerParserTest.java | 402 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/ |
D | ByteBufferBerDataValueReader.java | 28 public ByteBufferBerDataValueReader(ByteBuffer buf) { in ByteBufferBerDataValueReader()
|
/tools/apksig/src/main/java/com/android/apksig/internal/asn1/ |
D | Asn1DerEncoder.java | 506 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/ |
D | LocalFileRecord.java | 477 public void consume(byte[] buf, int offset, int length) throws IOException { in consume() 499 public void consume(ByteBuffer buf) throws IOException { in consume()
|
D | ZipUtils.java | 181 ByteBuffer buf = zip.getByteBuffer(bufOffsetInFile, maxEocdSize); in findZipEndOfCentralDirectoryRecord() local
|
D | CentralDirectoryRecord.java | 130 public static CentralDirectoryRecord getRecord(ByteBuffer buf) throws ZipFormatException { in getRecord()
|
/tools/metalava/src/main/java/com/android/tools/metalava/doclava1/ |
D | ApiFile.java | 993 Tokenizer(String filename, char[] buf) { in Tokenizer()
|
/tools/apksig/src/main/java/com/android/apksig/internal/apk/ |
D | ApkSigningBlockUtils.java | 408 public static byte[] readLengthPrefixedByteArray(ByteBuffer buf) throws ApkFormatException { in readLengthPrefixedByteArray()
|