Home
last modified time | relevance | path

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

/packages/modules/Virtualization/tests/pvmfw/helper/java/com/android/pvmfw/test/host/
DPvmfw.java95 int headerSize = alignTo(getHeaderSize(), SIZE_8B); in serialize()
103 entryOffsets[i] = alignTo(entryOffsets[i - 1] + entrySizes[i - 1], SIZE_8B); in serialize()
107 int totalSize = alignTo(entryOffsets[mEntryCnt - 1] + entrySizes[mEntryCnt - 1], SIZE_8B); in serialize()
148 for (int i = streamSize; i < alignTo(streamSize, size); i++) { in padTo()
158 private static int alignTo(int x, int size) { in alignTo() method in Pvmfw