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
111 pos = pos + self.chunksize
112 if pos < 0 or pos > self.chunksize:
130 if self.size_read >= self.chunksize:
133 size = self.chunksize - self.size_read
134 if size > self.chunksize - self.size_read:
135 size = self.chunksize - self.size_read
138 if self.size_read == self.chunksize and \
140 (self.chunksize & 1):
156 n = self.chunksize - self.size_read
158 if self.align and (self.chunksize & 1):
165 while self.size_read < self.chunksize:
166 n = min(8192, self.chunksize - self.size_read)