Home | History | Annotate | Download | only in python2.7

Lines Matching refs:remainder

270     blocks, remainder = divmod(length, BUFSIZE)
277 if remainder != 0:
278 buf = src.read(remainder)
279 if len(buf) < remainder:
551 blocks, remainder = divmod(pos - self.pos, self.bufsize)
554 self.read(remainder)
1134 blocks, remainder = divmod(len(payload), BLOCKSIZE)
1135 if remainder > 0:
1136 payload += (BLOCKSIZE - remainder) * NUL
1448 blocks, remainder = divmod(count, BLOCKSIZE)
1449 if remainder:
1780 blocks, remainder = divmod(self.offset, RECORDSIZE)
1781 if remainder > 0:
1782 self.fileobj.write(NUL * (RECORDSIZE - remainder))
2021 blocks, remainder = divmod(tarinfo.size, BLOCKSIZE)
2022 if remainder > 0:
2023 self.fileobj.write(NUL * (BLOCKSIZE - remainder))