Lines Matching refs:alignment
118 uint32_t alignment = 0; in StartEntry() local
121 alignment = 4; in StartEntry()
123 return StartAlignedEntryWithTime(path, flags, time_t(), alignment); in StartEntry()
126 int32_t ZipWriter::StartAlignedEntry(const char* path, size_t flags, uint32_t alignment) { in StartAlignedEntry() argument
127 return StartAlignedEntryWithTime(path, flags, time_t(), alignment); in StartAlignedEntry()
131 uint32_t alignment = 0; in StartEntryWithTime() local
134 alignment = 4; in StartEntryWithTime()
136 return StartAlignedEntryWithTime(path, flags, time, alignment); in StartEntryWithTime()
161 time_t time, uint32_t alignment) { in StartAlignedEntryWithTime() argument
170 if (powerof2(alignment) == 0) { in StartAlignedEntryWithTime()
210 if (alignment != 0 && (offset & (alignment - 1))) { in StartAlignedEntryWithTime()
212 uint16_t padding = alignment - (offset % alignment); in StartAlignedEntryWithTime()