Home
last modified time | relevance | path

Searched refs:getLocalHeaderOffset (Results 1 – 5 of 5) sorted by relevance

/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DZipUtilTest.java236 new LocalFileHeader(partialZipFile, (int) zipEntry.getLocalHeaderOffset()); in testPartipUnzip()
242 zipEntry.getLocalHeaderOffset()); in testPartipUnzip()
256 new LocalFileHeader(partialZipFile, (int) zipEntry.getLocalHeaderOffset()); in testPartipUnzip()
262 zipEntry.getLocalHeaderOffset()); in testPartipUnzip()
287 new LocalFileHeader(partialZipFile, (int) zipEntry.getLocalHeaderOffset()); in testPartipUnzip()
293 zipEntry.getLocalHeaderOffset()); in testPartipUnzip()
306 new LocalFileHeader(partialZipFile, (int) zipEntry.getLocalHeaderOffset()); in testPartipUnzip()
312 zipEntry.getLocalHeaderOffset()); in testPartipUnzip()
325 new LocalFileHeader(partialZipFile, (int) zipEntry.getLocalHeaderOffset()); in testPartipUnzip()
331 zipEntry.getLocalHeaderOffset()); in testPartipUnzip()
[all …]
DZipUtilFuncTest.java167 Long.toHexString(entry.getLocalHeaderOffset()).equals(OVERFLOW)); in validateCentralDirectoryInfo()
/tools/tradefederation/core/common_util/com/android/tradefed/util/zip/
DMergedZipEntryCollection.java45 return mZipEntries.get(0).getLocalHeaderOffset(); in getStartOffset()
50 return lastEntry.getLocalHeaderOffset() + lastEntry.getCompressedSize() + HEADER_SIZE; in getEndOffset()
75 .sorted(Comparator.comparing(CentralDirectoryInfo::getLocalHeaderOffset)) in createCollections()
83 long newGap = entry.getLocalHeaderOffset() - endOffset + totalGap; in createCollections()
85 entry.getLocalHeaderOffset() in createCollections()
88 - group.get(0).getLocalHeaderOffset(); in createCollections()
90 if (endOffset < entry.getLocalHeaderOffset() - MAX_GAP in createCollections()
98 if (group.size() > 1 && entry.getLocalHeaderOffset() > endOffset) { in createCollections()
99 totalGap += entry.getLocalHeaderOffset() - endOffset; in createCollections()
101 endOffset = entry.getLocalHeaderOffset() + HEADER_SIZE + entry.getCompressedSize(); in createCollections()
DCentralDirectoryInfo.java93 public long getLocalHeaderOffset() { in getLocalHeaderOffset() method in CentralDirectoryInfo
/tools/tradefederation/core/src/com/android/tradefed/util/
DRemoteZip.java188 (entry.getLocalHeaderOffset() in downloadFiles()
195 entry.getLocalHeaderOffset() - collection.getStartOffset()); in downloadFiles()