/tools/external/fat32lib/src/main/java/de/waldheinz/fs/fat/ |
D | Sector.java | 32 private final long offset; field in Sector 41 protected Sector(BlockDevice device, long offset, int size) { in Sector() 89 protected int get16(int offset) { in get16() 93 protected long get32(int offset) { in get32() 97 protected int get8(int offset) { in get8() 101 protected void set16(int offset, int value) { in set16() 106 protected void set32(int offset, long value) { in set32() 111 protected void set8(int offset, int value) { in set8()
|
D | LittleEndian.java | 40 public static int getUInt8(byte[] src, int offset) { in getUInt8() 50 public static int getUInt16(byte[] src, int offset) { in getUInt16() 62 public static long getUInt32(byte[] src, int offset) { in getUInt32() 73 public static void setInt8(byte[] dst, int offset, int value) { in setInt8() 80 public static void setInt16(byte[] dst, int offset, int value) { in setInt16() 88 public static void setInt32(byte[] dst, int offset, long value) in setInt32()
|
D | FatUtils.java | 46 long offset = resSects * sectSize; in getFatOffset() local 66 long offset = getFatOffset(bs, 0); in getRootDirOffset() local 81 long offset = getRootDirOffset(bs); in getFilesOffset() local
|
D | FsInfoSector.java | 47 private FsInfoSector(BlockDevice device, long offset) { in FsInfoSector() 80 final int offset = offset(bs); in create() local 93 private static int offset(Fat32BootSector bs) { in offset() method in FsInfoSector
|
D | FatFile.java | 111 public void read(long offset, ByteBuffer dest) throws IOException { in read() 144 public void write(long offset, ByteBuffer srcBuf) in write()
|
/tools/apksig/src/main/java/com/android/apksig/internal/util/ |
D | ByteArrayDataSink.java | 49 public void consume(byte[] buf, int offset, int length) throws IOException { in consume() 116 public ByteBuffer getByteBuffer(long offset, int size) { in getByteBuffer() 124 public void feed(long offset, long size, DataSink sink) throws IOException { in feed() 132 public void copyTo(long offset, int size, ByteBuffer dest) throws IOException { in copyTo() 139 private void checkChunkValid(long offset, long size) { in checkChunkValid() 162 public DataSource slice(long offset, long size) { in slice() 175 private SliceDataSource(int offset, int size) { in SliceDataSource() 186 public void feed(long offset, long size, DataSink sink) throws IOException { in feed() 194 public ByteBuffer getByteBuffer(long offset, int size) throws IOException { in getByteBuffer() 202 public void copyTo(long offset, int size, ByteBuffer dest) throws IOException { in copyTo() [all …]
|
D | ByteBufferDataSource.java | 55 public ByteBuffer getByteBuffer(long offset, int size) { in getByteBuffer() 78 public void copyTo(long offset, int size, ByteBuffer dest) { in copyTo() 83 public void feed(long offset, long size, DataSink sink) throws IOException { in feed() 91 public ByteBufferDataSource slice(long offset, long size) { in slice() 104 private void checkChunkValid(long offset, long size) { in checkChunkValid()
|
D | FileChannelDataSource.java | 56 public FileChannelDataSource(FileChannel channel, long offset, long size) { in FileChannelDataSource() 82 public FileChannelDataSource slice(long offset, long size) { in slice() 93 public void feed(long offset, long size, DataSink sink) throws IOException { in feed() 127 public void copyTo(long offset, int size, ByteBuffer dest) throws IOException { in copyTo() 159 public ByteBuffer getByteBuffer(long offset, int size) throws IOException { in getByteBuffer() 169 private static void checkChunkValid(long offset, long size, long sourceSize) { in checkChunkValid()
|
D | ChainedDataSource.java | 43 public void feed(long offset, long size, DataSink sink) throws IOException { in feed() 70 public ByteBuffer getByteBuffer(long offset, int size) throws IOException { in getByteBuffer() 97 public void copyTo(long offset, int size, ByteBuffer dest) throws IOException { in copyTo() 102 public DataSource slice(long offset, long size) { in slice() 134 private Pair<Integer, Long> locateDataSource(long offset) { in locateDataSource()
|
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/sign/ |
D | ZFileDataSource.java | 42 private final long offset; field in ZFileDataSource 66 public ZFileDataSource(@Nonnull ZFile file, long offset, long size) { in ZFileDataSource() 90 public DataSource slice(long offset, long size) { in slice() 101 public void feed(long offset, long size, @Nonnull DataSink sink) throws IOException { in feed() 126 public void copyTo(long offset, int size, @Nonnull ByteBuffer dest) throws IOException { in copyTo() 142 public ByteBuffer getByteBuffer(long offset, int size) throws IOException { in getByteBuffer() 149 private static void checkChunkValid(long offset, long size, long sourceSize) { in checkChunkValid()
|
/tools/apksig/src/main/java/com/android/apksig/util/ |
D | DataSource.java | 69 void feed(long offset, long size, DataSink sink) throws IOException; in feed() 85 ByteBuffer getByteBuffer(long offset, int size) throws IOException; in getByteBuffer() 97 void copyTo(long offset, int size, ByteBuffer dest) throws IOException; in copyTo() 109 DataSource slice(long offset, long size); in slice()
|
D | DataSources.java | 55 public static DataSource asDataSource(RandomAccessFile file, long offset, long size) { in asDataSource() 74 public static DataSource asDataSource(FileChannel channel, long offset, long size) { in asDataSource()
|
/tools/tradefederation/core/common_util/com/android/tradefed/util/ |
D | ByteArrayUtil.java | 44 byte[] bytes, int offset, int length, int containerSize) { in getByteBuffer() 63 public static int getInt(byte[] bytes, int offset, int length) { in getInt() 78 public static long getLong(byte[] bytes, int offset, int length) { in getLong() 89 public static String getString(byte[] bytes, int offset, int length) { in getString()
|
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/zip/ |
D | ZipField.java | 66 protected final int offset; field in ZipField 93 ZipField(int offset, int size, @Nonnull String name, ZipFieldInvariant... invariants) { in ZipField() 112 ZipField(int offset, int size, long expected, @Nonnull String name) { in ZipField() 296 int offset() { in offset() method in ZipField 322 F2(int offset, @Nonnull String name, ZipFieldInvariant... invariants) { in F2() 333 F2(int offset, long expected, @Nonnull String name) { in F2() 349 F4(int offset, @Nonnull String name, ZipFieldInvariant... invariants) { in F4() 360 F4(int offset, long expected, @Nonnull String name) { in F4()
|
/tools/apksig/src/test/java/com/android/apksig/util/ |
D | DataSourceTestBase.java | 223 String expectedContents, DataSource ds, long offset, int size) throws IOException { in assertSliceEquals() 229 protected static void assertSliceThrowsIOOB(DataSource ds, long offset, int size) { in assertSliceThrowsIOOB() 237 String expectedContents, DataSource ds, long offset, int size) throws IOException { in assertGetByteBufferEquals() 245 protected static void assertGetByteBufferThrowsIOOB(DataSource ds, long offset, int size) in assertGetByteBufferThrowsIOOB() 254 String expectedFedContents, DataSource ds, long offset, int size) throws IOException { in assertFeedEquals() 261 protected static void assertFeedThrowsIOOB(DataSource ds, long offset, long size) in assertFeedThrowsIOOB() 270 String expectedContents, DataSource ds, long offset, int size) throws IOException { in assertCopyToEquals() 283 String expectedContents, DataSource ds, long offset, int size, ByteBuffer buf) in assertCopyToEquals() 297 protected static void assertCopyToThrowsIOOB(DataSource ds, long offset, int size) in assertCopyToThrowsIOOB() 307 DataSource ds, long offset, int size, ByteBuffer buf) throws IOException { in assertCopyToThrowsBufferOverflow() [all …]
|
D | DataSourceFromRAFFactory.java | 27 @Override DataSource create(RandomAccessFile file, long offset, long size) { in create() 36 @Override DataSource create(RandomAccessFile file, long offset, long size) { in create() 42 abstract DataSource create(RandomAccessFile file, long offset, long size); in create()
|
/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/zfile/ |
D | ApkAlignmentTest.java | 70 long offset = in soFilesUncompressedAndAligned() local 91 long offset = in soFilesMergedFromZipsCanBeUncompressedAndAligned() local 123 long offset = in soFilesMergedFromZipsCanBeUncompressedAndAligned() local 167 long offset = in soFilesUncompressedAndNotAligned() local 188 long offset = in soFilesMergedFromZipsCanBeUncompressedAndNotAligned() local 220 long offset = in soFilesMergedFromZipsCanBeUncompressedAndNotAligned() local
|
/tools/dexter/slicer/export/slicer/ |
D | reader.h | 106 const T* ptr(int offset) const { in ptr() 114 const T* dataPtr(int offset) const { in dataPtr() 121 slicer::ArrayView<const T> section(int offset, int count) const { in section()
|
D | buffer.h | 75 T* ptr(size_t offset) { in ptr() 90 size_t offset = size_; in Alloc() local 97 size_t offset = size_; in Push() local
|
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/ |
D | FsFile.java | 62 public void read(long offset, ByteBuffer dest) throws IOException; in read() 76 public void write(long offset, ByteBuffer src) in write()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/util/ |
D | FixedByteArrayOutputStreamTest.java | 113 int offset = 5; in testLessThanBufferWithOffset() local 115 mOutStream.write(text.getBytes(), offset, text.length() - offset); in testLessThanBufferWithOffset() local 130 int offset = 4; in testWriteWithOffsetAndWrap() local 134 mOutStream.write(followup.getBytes(), offset, followup.length() - offset); in testWriteWithOffsetAndWrap() local
|
/tools/dexter/slicer/ |
D | writer.cc | 227 dex::u4 offset = section.SectionOffset(); in CopySection() local 257 dex::u4 offset = 0; in CreateImage() local 371 dex::u4 offset = section.AddItem(); in CreateStringDataSection() local 443 dex::u4& offset = node_offset_[ir_node.get()]; in CreateAnnItemSection() local 457 dex::u4& offset = node_offset_[ir_node.get()]; in CreateAnnSetsSection() local 470 dex::u4& offset = node_offset_[ir_node.get()]; in CreateAnnSetRefListsSection() local 483 dex::u4& offset = node_offset_[ir_type_list.get()]; in CreateTypeListsSection() local 496 dex::u4& offset = node_offset_[ir_node.get()]; in CreateCodeItemSection() local 510 dex::u4& offset = node_offset_[ir_node.get()]; in CreateDebugInfoSection() local 637 dex::u4 offset = data.AddItem(4); in WriteTypeList() local [all …]
|
/tools/test/connectivity/acts/framework/acts/controllers/fuchsia_lib/bt/ |
D | gattc_lib.py | 102 def writeCharById(self, id, offset, write_value): argument 124 def writeLongCharById(self, id, offset, write_value, reliable_mode=False): argument 148 def writeLongDescById(self, id, offset, write_value): argument 281 def readLongDescriptorById(self, id, offset, max_bytes): argument 303 def writeDescriptorById(self, id, offset, write_value): argument 323 def readLongCharacteristicById(self, id, offset, max_bytes): argument
|
/tools/apksig/src/main/java/com/android/apksig/internal/zip/ |
D | ZipUtils.java | 58 ByteBuffer zipEndOfCentralDirectory, long offset) { in setZipEocdCentralDirectoryOffset() 242 public static int getUnsignedInt16(ByteBuffer buffer, int offset) { in getUnsignedInt16() 250 static void setUnsignedInt16(ByteBuffer buffer, int offset, int value) { in setUnsignedInt16() 257 static void setUnsignedInt32(ByteBuffer buffer, int offset, long value) { in setUnsignedInt32() 271 static long getUnsignedInt32(ByteBuffer buffer, int offset) { in getUnsignedInt32()
|
/tools/tradefederation/core/src/com/android/tradefed/device/ |
D | LargeOutputReceiver.java | 66 public synchronized void addOutput(byte[] data, int offset, int length) { in addOutput() 115 public synchronized InputStreamSource getData(final int maxBytes, final int offset) { in getData()
|