Home
last modified time | relevance | path

Searched refs:src_url (Results 1 – 8 of 8) sorted by relevance

/external/chromium-trace/catapult/third_party/gsutil/gslib/
Dcopy_helper.py272 ret = _UploadFileToObject(args.src_url, fp, args.file_length,
495 def ConstructDstUrl(src_url, exp_src_url, src_url_names_container, argument
540 src_final_comp = exp_src_url.object_name.rpartition(src_url.delim)[-1]
610 exp_src_url.url_string[len(src_url.url_string):])
621 src_url_path_sans_final_dir = GetPathBeforeFinalDir(src_url)
623 len(src_url_path_sans_final_dir):].lstrip(src_url.delim)
626 dst_key_name = dst_key_name.partition(src_url.delim)[-1]
637 dst_key_name = exp_src_url.object_name.rpartition(src_url.delim)[-1]
654 new_exp_dst_url.object_name = dst_key_name.replace(src_url.delim,
701 def _CheckCloudHashes(logger, src_url, dst_url, src_obj_metadata, argument
[all …]
Ddaisy_chain_wrapper.py76 def __init__(self, src_url, src_obj_size, gsutil_api, progress_callback=None, argument
116 self.src_url = src_url
155 self.src_url.bucket_name, self.src_url.object_name,
158 generation=self.src_url.generation, object_size=self.src_obj_size,
160 provider=self.src_url.scheme, progress_callback=progress_callback)
167 self.src_url.bucket_name, self.src_url.object_name,
169 generation=self.src_url.generation, object_size=self.src_obj_size,
171 provider=self.src_url.scheme, progress_callback=progress_callback)
Dhashing_helper.py357 def __init__(self, stream, digesters, hash_algs, src_url, logger): argument
376 self._src_url = src_url
Dtracker_file.py116 def GetTrackerFilePath(dst_url, tracker_file_type, api_selector, src_url=None, argument
153 src_url, api_selector)))
/external/chromium-trace/catapult/third_party/gsutil/gslib/commands/
Dcompose.py133 src_url = blr.storage_url
134 self.CheckProvider(src_url)
136 if src_url.bucket_name != target_url.bucket_name:
141 first_src_url = src_url
144 name=src_url.object_name))
145 if src_url.HasGeneration():
146 src_obj_metadata.generation = src_url.generation
Dcp.py747 src_url = name_expansion_result.source_storage_url
752 if src_url.IsCloudUrl() and src_url.IsProvider():
755 (cmd_name, src_url))
789 if ContainsWildcard(src_url.url_string):
799 src_url, exp_src_url, src_url_names_container, have_multiple_srcs,
802 dst_url = copy_helper.FixWindowsNaming(src_url, dst_url)
849 % (src_url, dst_url))
859 message = 'Error copying %s: %s' % (src_url, str(e))
Drsync.py418 src_url = StorageUrlFromString(src_url_str)
420 if src_url.IsFileUrl():
424 with open(src_url.object_name, 'rb') as fp:
429 with open(src_url.object_name, 'rb') as fp:
895 src_url = StorageUrlFromString(src_url_str)
897 cls.logger.info('Would copy %s to %s', src_url, dst_url)
900 copy_helper.PerformCopy(cls.logger, src_url, dst_url, gsutil_api, cls,
905 src_url, e.unsupported_type)
986 src_url = self._InsistContainer(self.args[0], False)
1002 diff_iterator = _DiffIterator(self, src_url, dst_url)
/external/autotest/server/hosts/
Dadb_host.py1016 src_url = os.path.join(build_url, file)
1019 self.teststation.run('wget -q -O "%s" "%s"' % (dest_file, src_url))