Lines Matching refs:resumable_progress
208 def __init__(self, resumable_progress, total_size): argument
216 self.resumable_progress = resumable_progress
227 return float(self.resumable_progress) / float(self.total_size)
235 def __init__(self, resumable_progress, total_size): argument
242 self.resumable_progress = resumable_progress
253 return float(self.resumable_progress) / float(self.total_size)
830 self.resumable_progress = 0
997 data.seek(self.resumable_progress)
998 chunk_end = self.resumable.size() - self.resumable_progress - 1
1002 data, self.resumable_progress, self.resumable.chunksize()
1005 self.resumable_progress + self.resumable.chunksize() - 1,
1010 self.resumable_progress, self.resumable.chunksize()
1015 size = str(self.resumable_progress + len(data))
1017 chunk_end = self.resumable_progress + len(data) - 1
1021 % (self.resumable_progress, chunk_end, size),
1024 "Content-Length": str(chunk_end - self.resumable_progress + 1),
1068 self.resumable_progress = int(resp["range"].split("-")[1]) + 1
1071 self.resumable_progress = 0
1079 MediaUploadProgress(self.resumable_progress, self.resumable.size()),