Home
last modified time | relevance | path

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

/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/zip/
DFileUseMap.java384 long locateFree(long size, long alignOffset, long align, @Nonnull PositionAlgorithm alg) { in locateFree() argument
416 if (align == 0) { in locateFree()
419 extraSize = (align - ((curr.getStart() + alignOffset) % align)) % align; in locateFree()
430 Ints.checkedCast((mMinFreeSize - extraSize + align - 1) / align); in locateFree()
431 extraSize += addAlignBlocks * align; in locateFree()
489 long extra = (align - ((firstFree + alignOffset) % align)) % align; in locateFree()
497 extra += align * (((mMinFreeSize - extra) + (align - 1)) / align); in locateFree()
DAlignmentRules.java68 int align = r.alignment(path); in compose()
69 if (align != AlignmentRule.NO_ALIGNMENT) { in compose()
70 return align; in compose()
/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/zip/
DZipToolsTest.java145 private void testReadZFile(boolean align) throws Exception { in testReadZFile() argument
150 if (align) { in testReadZFile()
/tools/apkzlib/src/test/resources/testData/packaging/text-files/
Drfc2460.txt540 There are two padding options which are used when necessary to align