Home
last modified time | relevance | path

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

/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/gs/
Dkey.py167 def get_file(self, fp, headers=None, cb=None, num_cb=10, argument
173 self._get_file_internal(fp, headers=headers, cb=cb, num_cb=num_cb,
180 cb=None, num_cb=10, argument
228 res_download_handler.get_file(self, fp, headers, cb, num_cb,
233 self.get_file(fp, headers, cb, num_cb, torrent=torrent,
265 def send_file(self, fp, headers=None, cb=None, num_cb=10, argument
310 self._send_file_internal(fp, headers=headers, cb=cb, num_cb=num_cb,
405 cb=None, num_cb=10, policy=None, md5=None, argument
577 res_upload_handler.send_file(self, fp, headers, cb, num_cb)
580 self.send_file(fp, headers, cb, num_cb, size=size)
[all …]
Dresumable_upload_handler.py317 total_bytes_uploaded, cb, num_cb, headers): argument
330 if num_cb > 2:
331 cb_count = file_length / self.BUFFER_SIZE / (num_cb-2)
332 elif num_cb < 0:
411 num_cb): argument
488 total_bytes_uploaded, cb, num_cb,
571 def send_file(self, key, fp, headers, cb=None, num_cb=10, hash_algs=None): argument
652 headers, cb, num_cb))
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/services/
Dsubmit.py47 def submit_file(self, path, metadata=None, cb=None, num_cb=0, prefix='/'): argument
53 k.set_contents_from_filename(path, replace=False, cb=cb, num_cb=num_cb)
56 …def submit_path(self, path, tags=None, ignore_dirs=None, cb=None, num_cb=0, status=False, prefix='… argument
80 self.submit_file(fullpath, metadata, cb, num_cb, prefix)
83 self.submit_file(path, metadata, cb, num_cb)
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/s3/
Dkey.py709 def send_file(self, fp, headers=None, cb=None, num_cb=10, argument
748 self._send_file_internal(fp, headers=headers, cb=cb, num_cb=num_cb,
752 def _send_file_internal(self, fp, headers=None, cb=None, num_cb=10, argument
814 elif num_cb > 1:
816 math.ceil(cb_size / self.BufferSize / (num_cb - 1.0)))
817 elif num_cb < 0:
1032 cb=None, num_cb=10, policy=None, argument
1116 self.send_file(fp, headers, cb, num_cb, query_args,
1120 cb=None, num_cb=10, policy=None, md5=None, argument
1291 self.send_file(fp, headers=headers, cb=cb, num_cb=num_cb,
[all …]
Dresumable_download_handler.py175 def _attempt_resumable_download(self, key, fp, headers, cb, num_cb, argument
216 key.get_file(fp, headers, cb, num_cb, torrent, version_id,
219 key.get_file(fp, headers, cb, num_cb, torrent, version_id,
223 def get_file(self, key, fp, headers, cb=None, num_cb=10, torrent=False, argument
278 self._attempt_resumable_download(key, fp, headers, cb, num_cb,
298 key.get_file(fp, headers, cb, num_cb, torrent, version_id,
301 key.get_file(fp, headers, cb, num_cb, torrent, version_id,
Dmultipart.py229 cb=None, num_cb=10, md5=None, size=None): argument
258 cb=cb, num_cb=num_cb, md5=md5,
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/integration/s3/
Dtest_key.py173 k.set_contents_from_file(sfp, cb=callback, num_cb=10)
192 k.set_contents_from_file(sfp, cb=callback, num_cb=10)
211 k.set_contents_from_file(sfp, cb=callback, num_cb=-1)
218 s = k.get_contents_as_string(cb=callback, num_cb=-1).decode('utf-8')
230 k.set_contents_from_file(sfp, cb=callback, num_cb=1)
237 s = k.get_contents_as_string(cb=callback, num_cb=1).decode('utf-8')
249 k.set_contents_from_file(sfp, cb=callback, num_cb=2)
256 s = k.get_contents_as_string(cb=callback, num_cb=2).decode('utf-8')
268 k.set_contents_from_file(sfp, cb=callback, num_cb=3)
275 s = k.get_contents_as_string(cb=callback, num_cb=3).decode('utf-8')
[all …]
Dmock_storage_service.py81 cb=NOT_IMPL, num_cb=NOT_IMPL, argument
87 cb=NOT_IMPL, num_cb=NOT_IMPL, argument
93 def get_file(self, fp, headers=NOT_IMPL, cb=NOT_IMPL, num_cb=NOT_IMPL, argument
138 cb=NOT_IMPL, num_cb=NOT_IMPL, argument
147 cb=NOT_IMPL, num_cb=NOT_IMPL, policy=NOT_IMPL, argument
160 cb=NOT_IMPL, num_cb=NOT_IMPL, policy=NOT_IMPL, argument
169 num_cb=NOT_IMPL, policy=NOT_IMPL, argument
172 self.set_contents_from_file(fp, headers, replace, cb, num_cb,
578 cb=NOT_IMPL, num_cb=NOT_IMPL, policy=NOT_IMPL, argument
584 cb=NOT_IMPL, num_cb=NOT_IMPL, policy=NOT_IMPL, argument
[all …]
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/bin/
Ds3put148 source_path, offset, bytes, debug, cb, num_cb, argument
168 cb=cb, num_cb=num_cb)
188 reduced, debug, cb, num_cb, acl='private', headers={}, argument
220 debug, cb, num_cb])
255 num_cb = 0
287 num_cb = int(a)
429 reduced, debug, cb, num_cb,
433 singlepart_upload(b, key_name, fullpath, cb=cb, num_cb=num_cb,
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/file/
Dkey.py59 def get_file(self, fp, headers=None, cb=None, num_cb=10, torrent=False): argument
87 num_cb=10, policy=None, md5=None): argument
134 def get_contents_to_file(self, fp, headers=None, cb=None, num_cb=None, argument
163 def get_contents_as_string(self, headers=None, cb=None, num_cb=10, argument
/external/chromium-trace/catapult/third_party/gsutil/gslib/
Dboto_resumable_upload.py272 total_bytes_uploaded, cb, num_cb, headers): argument
299 if num_cb > 2:
300 cb_count = file_length / self.BUFFER_SIZE / (num_cb-2)
301 elif num_cb < 0:
375 num_cb): argument
439 total_bytes_uploaded, cb, num_cb,
507 num_cb=XML_PROGRESS_CALLBACKS): argument
562 headers, cb, num_cb))
Dboto_translation.py529 num_cb=num_progress_callbacks, headers=headers,
533 num_cb=num_progress_callbacks, headers=headers)
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/
Dstorage_uri.py205 def get_contents_to_file(self, fp, headers=None, cb=None, num_cb=10, argument
213 key.get_contents_to_file(fp, headers, cb, num_cb, torrent,
218 key.get_contents_to_file(fp, headers, cb, num_cb, torrent,
223 num_cb=10, torrent=False, version_id=None): argument
227 return key.get_contents_as_string(headers, cb, num_cb, torrent,
645 cb=None, num_cb=10, policy=None, md5=None, argument
655 s, headers, replace, cb, num_cb, policy, md5)
658 s, headers, replace, cb, num_cb, policy, md5,
664 num_cb=10, policy=None, md5=None, size=None, argument
670 fp, headers, replace, cb, num_cb, policy, md5, size=size,
[all …]