Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Dtarfile.py68 BLOCKSIZE = 512 # length of processing blocks variable
69 RECORDSIZE = BLOCKSIZE * 20 # length of records
621 self.buf = self.fileobj.read(BLOCKSIZE)
1122 buf = struct.pack("%ds" % BLOCKSIZE, "".join(parts))
1123 chksum = calc_chksums(buf[-BLOCKSIZE:])[0]
1132 blocks, remainder = divmod(len(payload), BLOCKSIZE)
1134 payload += (BLOCKSIZE - remainder) * NUL
1192 if len(buf) != BLOCKSIZE:
1194 if buf.count(NUL) == BLOCKSIZE:
1237 buf = tarfile.fileobj.read(BLOCKSIZE)
[all …]