Home
last modified time | relevance | path

Searched refs:dataSize (Results 1 – 4 of 4) sorted by relevance

/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/zip/
DExtraField.java151 int dataSize = LittleEndianUtils.readUnsigned2Le(buffer); in parseSegments() local
152 if (dataSize < 0) { in parseSegments()
157 + dataSize); in parseSegments()
160 byte[] data = new byte[dataSize]; in parseSegments()
161 if (buffer.remaining() < dataSize) { in parseSegments()
166 + dataSize in parseSegments()
/tools/apksig/src/main/java/com/android/apksig/internal/zip/
DLocalFileRecord.java70 long dataSize, in LocalFileRecord() argument
79 mDataSize = dataSize; in LocalFileRecord()
226 long dataSize; in getRecord() local
230 dataSize = compressedDataSizeFromCdRecord; in getRecord()
232 dataSize = uncompressedDataSizeFromCdRecord; in getRecord()
234 long dataEndOffset = dataStartOffset + dataSize; in getRecord()
291 dataSize, in getRecord()
/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DRunUtilFuncTest.java128 int dataSize = 1000000; in testRunTimedCmd_largeOutput() local
133 for (int i=0; i < dataSize; i++) { in testRunTimedCmd_largeOutput()
149 assertTrue(result.getStdout().length() == dataSize); in testRunTimedCmd_largeOutput()
/tools/apksig/src/main/java/com/android/apksig/
DApkSigner.java574 int dataSize = ZipUtils.getUnsignedInt16(extra); in getInputJarEntryDataAlignmentMultiple() local
575 if (dataSize > extra.remaining()) { in getInputJarEntryDataAlignmentMultiple()
581 extra.position(extra.position() + dataSize); in getInputJarEntryDataAlignmentMultiple()
589 if (dataSize < 2) { in getInputJarEntryDataAlignmentMultiple()
620 int dataSize = ZipUtils.getUnsignedInt16(original); in createExtraFieldToAlignData() local
621 if (dataSize > original.remaining()) { in createExtraFieldToAlignData()
625 if (((headerId == 0) && (dataSize == 0)) in createExtraFieldToAlignData()
629 original.position(original.position() + dataSize); in createExtraFieldToAlignData()
635 original.limit(original.position() + 4 + dataSize); in createExtraFieldToAlignData()