/tools/apksig/src/main/java/com/android/apksig/internal/util/ |
D | ByteArrayDataSink.java | 111 public long size() { in size() method in ByteArrayDataSink 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() 181 public long size() { in size() method in ByteArrayDataSink.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() [all …]
|
D | ByteBufferDataSource.java | 50 public long size() { in size() method in ByteBufferDataSource 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() 69 public long size() { in size() method 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 | 38 public long size() { in size() method in ChainedDataSource 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()
|
/tools/apksig/src/main/java/com/android/apksig/util/ |
D | DataSource.java | 58 long size(); in size() method 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/apkzlib/src/main/java/com/android/tools/build/apkzlib/sign/ |
D | ZFileDataSource.java | 48 private final long size; field in ZFileDataSource 66 public ZFileDataSource(@Nonnull ZFile file, long offset, long size) { in ZFileDataSource() 75 public long size() { in size() method 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/test/java/com/android/apksig/internal/util/ |
D | ChainedDataSourceTest.java | 53 int size = end - begin; in feedAllPossibleRanges() local 71 int size = end - begin; in getByteBufferFromAllPossibleRanges() local 89 int size = end - begin; in copyTo() local 106 int size = end - begin; in slice() local
|
D | DirectByteBufferSinkTest.java | 26 protected ByteBuffer createBuffer(int size) { in createBuffer()
|
D | ArrayBackedByteBufferSinkTest.java | 26 protected ByteBuffer createBuffer(int size) { in createBuffer()
|
/tools/dexter/slicer/export/slicer/ |
D | memview.h | 31 MemView(const void* ptr, size_t size) : ptr_(ptr), size_(size) { in MemView() 42 size_t size() const { return size_; } in size() function
|
D | buffer.h | 89 size_t Alloc(size_t size) { in Alloc() 96 size_t Push(const void* ptr, size_t size) { in Push() 144 size_t size() const { return size_; } in size() function 161 void Expand(size_t size) { in Expand()
|
D | index_map.h | 30 const auto size = indexes_map_.size(); in AllocateIndex() local
|
/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/main/java/com/android/tools/build/apkzlib/zip/ |
D | DataDescriptorType.java | 48 public int size; field in DataDescriptorType 55 DataDescriptorType(int size) { in DataDescriptorType()
|
D | FileUseMap.java | 55 private long size; field in FileUseMap 83 FileUseMap(long size, int minFreeSize) { in FileUseMap() 319 long size() { in size() method in FileUseMap 353 void extend(long size) { in extend() 384 long locateFree(long size, long alignOffset, long align, @Nonnull PositionAlgorithm alg) { in locateFree()
|
D | ExtraField.java | 186 public int size() { in size() method in ExtraField 251 int size(); in size() method 322 public int size() { in size() method in ExtraField.RawDataSegment 397 public int size() { in size() method in ExtraField.AlignmentSegment
|
/tools/tradefederation/core/src/com/android/tradefed/util/ |
D | CircularByteArray.java | 29 public CircularByteArray(int size) { in CircularByteArray() 54 public int size() { in size() method in CircularByteArray
|
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/fat/ |
D | ClusterChain.java | 127 public long setSize(long size) throws IOException { in setSize() 210 int size = Math.min(len, in readData() local 222 int size = Math.min(clusterSize, len); in readData() local 259 int size = Math.min(len, in writeData() local 271 int size = Math.min(clusterSize, len); in writeData() local
|
D | SuperFloppyFormatter.java | 376 static private int sectorsPerCluster32FromSize(long size, int sectorSize) { in sectorsPerCluster32FromSize() 406 static private int sectorsPerCluster16FromSize(long size, int sectorSize) { in sectorsPerCluster16FromSize() 430 long size = device.getSize(); in sectorsPerCluster16() local 436 long size = device.getSize(); in defaultSectorsPerCluster() local 454 static private int sectorsPerCluster12(long size, int sectorSize) { in sectorsPerCluster12()
|
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/util/ |
D | RamDisk.java | 43 private final int size; field in RamDisk 89 public RamDisk(int size) { in RamDisk() 100 public RamDisk(int size, int sectorSize) { in RamDisk()
|
/tools/security/fuzzing/example_fuzzer/ |
D | example_fuzzer.cpp | 29 extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { in LLVMFuzzerTestOneInput()
|
/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/zip/ |
D | ZipToolsTest.java | 183 int size = Integer.parseInt(sizeTxt); in testReadZFile() local 213 private static void assertSize(String[] names, long size, Map<String, Integer> sizes) { in assertSize() 216 assertEquals((long) sizes.get(n), size); in assertSize() local
|
/tools/tradefederation/core/common_util/com/android/tradefed/result/ |
D | InputStreamSource.java | 63 public long size(); in size() method
|