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

Lines Matching refs:chunksize

65             self.chunksize = struct.unpack(strflag+'L', file.read(4))[0]
69 self.chunksize = self.chunksize - 8 # subtract header
84 return self.chunksize
109 pos = pos + self.chunksize
110 if pos < 0 or pos > self.chunksize:
128 if self.size_read >= self.chunksize:
131 size = self.chunksize - self.size_read
132 if size > self.chunksize - self.size_read:
133 size = self.chunksize - self.size_read
136 if self.size_read == self.chunksize and \
138 (self.chunksize & 1):
154 n = self.chunksize - self.size_read
156 if self.align and (self.chunksize & 1):
163 while self.size_read < self.chunksize:
164 n = min(8192, self.chunksize - self.size_read)