Home
last modified time | relevance | path

Searched refs:getSize (Results 1 – 24 of 24) sorted by relevance

/tools/external/fat32lib/src/main/java/de/waldheinz/fs/util/
DRamDisk.java110 public long getSize() { in getSize() method in RamDisk
119 if (devOffset > getSize()){ in read()
122 sb.append(" is off size (").append(getSize()).append(")"); in read()
137 if (devOffset + src.remaining() > getSize()) throw new in write()
141 ", size=" + getSize()); in write()
DFileDisk.java103 public long getSize() throws IOException { in getSize() method in FileDisk
114 if ((devOffset + toRead) > getSize()) throw new IOException( in read()
133 if ((devOffset + toWrite) > getSize()) throw new IOException( in write()
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/fat/
DAbstractDirectory.java178 public int getSize() { in getSize() method in AbstractDirectory
271 if (getSize() == getCapacity()) { in addEntry()
281 if (getSize() + entries.length > getCapacity()) { in addEntries()
282 changeSize(getSize() + entries.length); in addEntries()
292 changeSize(getSize()); in removeEntry()
367 changeSize(getSize() - 1); in setLabel()
375 changeSize(getSize() + 1); in setLabel()
DSuperFloppyFormatter.java190 final int totalSectors = (int)(device.getSize() / sectorSize); in format()
295 return fatTypeFromSize(device.getSize()); in fatTypeFromDevice()
396 final long sectors = device.getSize() / device.getSectorSize(); in sectorsPerCluster32()
401 return sectorsPerCluster32FromSize(device.getSize(), device.getSectorSize()); in sectorsPerCluster32()
430 long size = device.getSize(); in sectorsPerCluster16()
436 long size = device.getSize(); in defaultSectorsPerCluster()
DBootSector.java155 setSectorCount(getDevice().getSize() / getDevice().getSectorSize()); in init()
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/zip/
DFileUseMapEntry.java48 (o1, o2) -> Ints.saturatedCast(o1.getSize() - o2.getSize());
131 long getSize() { in getSize() method in FileUseMapEntry
DCompressionResult.java83 public long getSize() { in getSize() method in CompressionResult
DFileUseMap.java437 if (curr.getSize() < (size + extraSize)) { in locateFree()
446 long emptySpaceLeft = curr.getSize() - (size + extraSize); in locateFree()
458 if (best != null && best.getSize() < curr.getSize()) { in locateFree()
DZFile.java848 if (centralDirectoryEnd > eocdEntry.getSize()) { in readCentralDirectory()
1049 storedEntry.getLocalExtra().size() + Ints.checkedCast(before.getSize()); in update()
1058 long newSize = entry.getSize() + before.getSize(); in update()
1093 before.getSize() in update()
1145 int size = Ints.checkedCast(fileUseMapEntry.getSize()); in update()
1215 storedEntry.getLocalExtra().size() + Ints.checkedCast(before.getSize()); in packIfNecessary()
1477 dirSize = directoryEntry.getSize(); in computeEocd()
1715 result.getSize())); in createSources()
2143 mapEntry.getSize(), in realign()
2531 return directoryEntry.getSize(); in getCentralDirectorySize()
[all …]
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/zip/compress/
DBestAndDefaultDeflateExecutorCompressor.java82 double sizeRatio = bestResult.getSize() / (double) defaultResult.getSize(); in immediateCompress()
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/multi/
DMixImageZipPreparer.java153 long getSize(); in getSize() method
172 public long getSize() { in getSize() method in MixImageZipPreparer.FileInputStreamFactory
350 if (entry.getSize() < 0) { in getInputStreamFactoriesFromImageZip()
366 public long getSize() { in getInputStreamFactoriesFromImageZip()
367 return entry.getSize(); in getInputStreamFactoriesFromImageZip()
394 public long getSize() { in createDummyInputStreamFactories()
432 entry.setCompressedSize(factory.getSize()); in initStoredZipEntry()
433 entry.setSize(factory.getSize()); in initStoredZipEntry()
468 if (factory.getValue().getSize() != (1L << 32) - 1) { in createZip()
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/
DBlockDevice.java39 public abstract long getSize() throws IOException; in getSize() method
/tools/tradefederation/core/invocation_interfaces/com/android/tradefed/result/
DLogFile.java104 public long getSize() { in getSize() method in LogFile
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/multi/
DMixImageZipPreparerTest.java117 public long getSize() { in getSize() method in MixImageZipPreparerTest.ByteArrayInputStreamFactory
448 Assert.assertEquals(expected.getSize(), actual.getSize()); in runCreateZipTest()
451 Assert.assertEquals(expected.getSize(), actual.getCompressedSize()); in runCreateZipTest()
453 Assert.assertTrue(expected.getSize() > actual.getCompressedSize()); in runCreateZipTest()
/tools/apksig/src/main/java/com/android/apksig/internal/zip/
DLocalFileRecord.java107 public long getSize() { in getSize() method in LocalFileRecord
300 long size = getSize(); in outputRecord()
326 long remainingRecordSize = getSize() - mDataStartOffset; in outputRecordWithModifiedExtra()
DCentralDirectoryRecord.java82 public int getSize() { in getSize() method in CentralDirectoryRecord
/tools/tradefederation/core/tests/src/com/android/tradefed/result/proto/
DProtoResultParserTest.java230 assertEquals(logFile.getSize(), capturedFile.getSize()); in testEvents()
637 assertEquals(logFile.getSize(), capturedFile.getSize()); in testEvents_subprocess()
/tools/apksig/src/main/java/com/android/apksig/
DApkSigner.java380 inputOffset += inputLocalFileRecord.getSize(); in sign()
556 outputCentralDirSizeBytes += record.getSize(); in sign()
/tools/tradefederation/core/src/com/android/tradefed/result/proto/
DProtoResultReporter.java520 .setSize(logFile.getSize()); in createFileProto()
DProtoResultParser.java513 info.getSize()); in handleLogs()
/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/zip/
DZFileTest.java296 assertEquals(2, fooEntry.getSize());
/tools/tradefederation/core/res/jacoco/
Djacocoagent.jarMETA-INF/MANIFEST.MF META-INF/ org/ org/jacoco/ org/ ...
Djacocoant.jarMETA-INF/MANIFEST.MF META-INF/ org/ org/jacoco/ org/ ...
/tools/tradefederation/core/tests/res/testdata/
Dtradefed-prebuilt-cts-8.0_r21.jarMETA-INF/ META-INF/MANIFEST.MF jline/ jline/CompletionHandler.class CompletionHandler ...