Searched refs:recordSize (Results 1 – 5 of 5) sorted by relevance
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/tar/ |
D | TarArchiveInputStream.java | 54 private final int recordSize; field in TarArchiveInputStream 129 public TarArchiveInputStream(final InputStream is, final int blockSize, final int recordSize) { in TarArchiveInputStream() argument 130 this(is, blockSize, recordSize, null); in TarArchiveInputStream() 141 public TarArchiveInputStream(final InputStream is, final int blockSize, final int recordSize, in TarArchiveInputStream() argument 147 this.recordSize = recordSize; in TarArchiveInputStream() 166 return recordSize; in getRecordSize() 341 if (!isDirectory() && this.entrySize > 0 && this.entrySize % this.recordSize != 0) { in skipRecordPadding() 342 final long numRecords = (this.entrySize / this.recordSize) + 1; in skipRecordPadding() 343 final long padding = (numRecords * this.recordSize) - this.entrySize; in skipRecordPadding() 415 return record == null || ArchiveUtils.isArrayZero(record, recordSize); in isEOFRecord() [all …]
|
D | TarArchiveOutputStream.java | 173 final int recordSize) { in TarArchiveOutputStream() argument 174 this(os, blockSize, recordSize, null); in TarArchiveOutputStream() 190 final int recordSize, final String encoding) { in TarArchiveOutputStream() argument 192 if (recordSize != RECORD_SIZE) { in TarArchiveOutputStream() 194 "Tar record size must always be 512 bytes. Attempt to set size of " + recordSize); in TarArchiveOutputStream()
|
/external/fonttools/Lib/fontTools/ttLib/tables/ |
D | _h_d_m_x.py | 49 data = data[self.recordSize:] 56 self.recordSize = 4 * ((2 + numGlyphs + 3) // 4) 57 pad = (self.recordSize - 2 - numGlyphs) * b"\0"
|
D | otConverters.py | 101 self.reader.seek(self.pos + item[0] * self.recordSize) 139 recordSize = self.getRecordSize(reader) 140 if recordSize is NotImplemented: 153 l.recordSize = recordSize 155 reader.advance(count * recordSize)
|
/external/fonttools/Tests/ttLib/tables/ |
D | otConverters_test.py | 378 recordSize = converter.staticSize 384 l.recordSize = recordSize 386 reader.advance(count * recordSize)
|