Searched refs:alignment (Results 1 – 9 of 9) sorted by relevance
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/zip/ |
D | AlignmentRules.java | 35 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()
|
D | ExtraField.java | 344 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()
|
D | AlignmentRule.java | 38 int alignment(@Nonnull String path); in alignment() method
|
D | ZFile.java | 1910 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/ |
D | buffer.h | 62 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()
|
D | writer.h | 58 dex::u4 AddItem(dex::u4 alignment = 1) { 60 Align(alignment);
|
/tools/apkzlib/src/test/resources/testData/packaging/text-files/ |
D | rfc2460.txt | 362 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/ |
D | fuzz_ffi.cc | 42 new_type->alignment = 0; in generateCustomType()
|
/tools/repohooks/tools/ |
D | spelling.txt | 82 aligment||alignment 83 alignement||alignment
|