Home
last modified time | relevance | path

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

1234

/tools/apksig/src/main/java/com/android/apksig/internal/util/
DByteArrayDataSink.java111 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 …]
DByteBufferDataSource.java50 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()
DFileChannelDataSource.java56 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()
DChainedDataSource.java38 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/
DDataSource.java58 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()
DDataSources.java55 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/
DZFileDataSource.java48 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/
DChainedDataSourceTest.java53 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
DDirectByteBufferSinkTest.java26 protected ByteBuffer createBuffer(int size) { in createBuffer()
DArrayBackedByteBufferSinkTest.java26 protected ByteBuffer createBuffer(int size) { in createBuffer()
/tools/dexter/slicer/export/slicer/
Dmemview.h31 MemView(const void* ptr, size_t size) : ptr_(ptr), size_(size) { in MemView()
42 size_t size() const { return size_; } in size() function
Dbuffer.h89 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()
Dindex_map.h30 const auto size = indexes_map_.size(); in AllocateIndex() local
/tools/apksig/src/test/java/com/android/apksig/util/
DDataSourceTestBase.java223 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 …]
DDataSourceFromRAFFactory.java27 @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/
DDataDescriptorType.java48 public int size; field in DataDescriptorType
55 DataDescriptorType(int size) { in DataDescriptorType()
DFileUseMap.java55 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()
DExtraField.java186 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/
DCircularByteArray.java29 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/
DClusterChain.java127 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
DSuperFloppyFormatter.java376 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/
DRamDisk.java43 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/
Dexample_fuzzer.cpp29 extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { in LLVMFuzzerTestOneInput()
/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/zip/
DZipToolsTest.java183 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/
DInputStreamSource.java63 public long size(); in size() method

1234