Home
last modified time | relevance | path

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

/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/zip/
DAlignmentRules.java35 public static AlignmentRule constant(int alignment) { in constant() argument
36 Preconditions.checkArgument(alignment > 0, "alignment <= 0"); in constant()
38 return (String path) -> alignment; in constant()
49 public static AlignmentRule constantForSuffix(@Nonnull String suffix, int alignment) { in constantForSuffix() argument
51 Preconditions.checkArgument(alignment > 0, "alignment <= 0"); in constantForSuffix()
53 return (String path) -> path.endsWith(suffix) ? alignment : AlignmentRule.NO_ALIGNMENT; in constantForSuffix()
68 int align = r.alignment(path); in compose()
DExtraField.java344 private int alignment; field in ExtraField.AlignmentSegment
357 public AlignmentSegment(int alignment, int totalSize) { in AlignmentSegment() argument
358 Preconditions.checkArgument(alignment > 0, "alignment <= 0"); in AlignmentSegment()
365 this.alignment = alignment; in AlignmentSegment()
380 alignment = LittleEndianUtils.readUnsigned2Le(dataBuffer); in AlignmentSegment()
381 if (alignment <= 0) { in AlignmentSegment()
382 throw new IOException("Invalid alignment in alignment field: " + alignment); in AlignmentSegment()
392 LittleEndianUtils.writeUnsigned2Le(out, alignment); in write()
DAlignmentRule.java38 int alignment(@Nonnull String path); in alignment() method
DZFile.java1910 int alignment = chooseAlignment(entry); in positionInFile() local
1925 long newOffset = map.locateFree(size, localHeaderSize, alignment, algorithm); in positionInFile()
1950 return alignmentRule.alignment(cdh.getName()); in chooseAlignment()
/tools/dexter/slicer/export/slicer/
Dbuffer.h62 size_t Seal(size_t alignment) { in Seal() argument
64 Align(alignment); in Seal()
81 void Align(size_t alignment) { in Align() argument
82 assert(alignment > 0); in Align()
83 size_t rem = size_ % alignment; in Align()
85 Alloc(alignment - rem); in Align()
Dwriter.h58 dex::u4 AddItem(dex::u4 alignment = 1) {
60 Align(alignment);
/tools/apkzlib/src/test/resources/testData/packaging/text-files/
Drfc2460.txt362 order to retain 8-octet alignment for subsequent headers. Multi-
529 Individual options may have specific alignment requirements, to
531 natural boundaries. The alignment requirement of an option is
545 Pad1 option (alignment requirement: none)
567 PadN option (alignment requirement: none)
1298 alignment or more efficient parsing.
1767 no interior padding, then derive the alignment requirement for the
1768 entire option based on the alignment requirement of the largest field
1769 (up to a maximum alignment of 8 octets). This approach is
1799 Its alignment requirement is 8n+2, to ensure that the 8-octet field
[all …]
/tools/security/fuzzing/orphans/libffi/
Dfuzz_ffi.cc42 new_type->alignment = 0; in generateCustomType()
/tools/repohooks/tools/
Dspelling.txt82 aligment||alignment
83 alignement||alignment