/external/chromium-trace/catapult/third_party/gsutil/gslib/ |
D | storage_url.py | 251 url_str = self.versionless_url_string 253 url_str += '#%s' % self.generation 254 return url_str 268 def _GetSchemeFromUrlString(url_str): argument 271 end_scheme_idx = url_str.find('://') 276 return url_str[0:end_scheme_idx].lower() 279 def _GetPathFromUrlString(url_str): argument 282 end_scheme_idx = url_str.find('://') 284 return url_str 286 return url_str[end_scheme_idx + 3:] [all …]
|
D | util.py | 639 def LookUpGsutilVersion(gsutil_api, url_str): argument 652 url = StorageUrlFromString(url_str) 714 url_str = bucket_listing_ref.url_string 715 storage_url = StorageUrlFromString(url_str) 722 url_str += '<DeleteMarker>' 727 print '%s:' % url_str.encode(UTF8) 917 for url_str in url_args: 918 url = StorageUrlFromString(url_str) 935 for url_str in args_to_check: 936 storage_url = StorageUrlFromString(url_str) [all …]
|
D | cat_helper.py | 59 for url_str in url_strings: 62 for blr in self.command_obj.WildcardIterator(url_str).IterObjects(): 80 raise CommandException('No URLs matched %s' % url_str)
|
D | name_expansion.py | 168 for url_str in self.url_strs: 169 storage_url = StorageUrlFromString(url_str) 190 self.WildcardIterator(url_str).IterBuckets( 197 self.WildcardIterator(url_str).IterAll( 223 raise CommandException('No URLs matched: %s' % url_str) 229 raise CommandException('No URLs matched: %s' % url_str)
|
D | command.py | 608 for url_str in url_strs: 609 url = StorageUrlFromString(url_str) 626 multi_threaded_url_args.append(url_str) 821 def GetAndPrintAcl(self, url_str): argument 827 blr = self.GetAclCommandBucketListingReference(url_str) 828 url = StorageUrlFromString(url_str) 849 'default object ACL.', url_str, url_str) 855 'OWNER permission on %s.' % url_str) 858 def GetAclCommandBucketListingReference(self, url_str): argument 873 wildcard_url = StorageUrlFromString(url_str) [all …]
|
D | ls_helper.py | 197 def _RecurseExpandUrlAndPrint(self, url_str, print_initial_newline=True): argument 213 '%s' % url_str, all_versions=self.all_versions).IterAll(
|
D | wildcard_iterator.py | 633 def CreateWildcardIterator(url_str, gsutil_api, all_versions=False, debug=0, argument 651 url = StorageUrlFromString(url_str)
|
D | copy_helper.py | 1089 def ExpandUrlToSingleBlr(url_str, gsutil_api, debug, project_id, argument 1113 if ContainsWildcard(url_str): 1114 blr_expansion = list(CreateWildcardIterator(url_str, gsutil_api, 1119 url_str) 1125 storage_url = StorageUrlFromString(url_str)
|
/external/chromium-trace/catapult/third_party/gsutil/gslib/commands/ |
D | stat.py | 122 for url_str in self.args: 124 url = StorageUrlFromString(url_str) 128 if ContainsWildcard(url_str): 129 blr_iter = self.WildcardIterator(url_str).IterObjects( 143 url_str) 149 sys.stderr.write('No URLs matched %s' % url_str)
|
D | rm.py | 237 for url_str in url_strs: 238 url = StorageUrlFromString(url_str) 240 for blr in self.WildcardIterator(url_str).IterBuckets( 243 bucket_strings_to_delete.append(url_str) 299 for url_str in url_strs: 300 url = StorageUrlFromString(url_str) 302 folder_object_wildcards.append('%s**_$folder$' % url_str)
|
D | ls.py | 317 url_str = bucket_listing_ref.url_string 323 url_str += '<DeleteMarker>' 344 'url': url_str.encode(UTF8), 392 for url_str in self.args: 393 storage_url = StorageUrlFromString(url_str) 414 for blr in self.WildcardIterator(url_str).IterBuckets( 416 if not ContainsWildcard(url_str) and not blr.root_object: 425 if not ContainsWildcard(url_str) and not total_buckets:
|
D | versioning.py | 123 for url_str in url_args: 124 bucket_iter = self.GetBucketUrlIterFromArg(url_str, bucket_fields=['id']) 148 for url_str in url_args: 149 bucket_iter = self.GetBucketUrlIterFromArg(url_str,
|
D | rb.py | 96 for url_str in self.args: 97 wildcard_url = StorageUrlFromString(url_str) 112 self.WildcardIterator(url_str).IterBuckets(bucket_fields=['id']))
|
D | logging.py | 192 for url_str in self.args: 193 bucket_iter = self.GetBucketUrlIterFromArg(url_str, bucket_fields=['id']) 213 for url_str in self.args: 214 bucket_iter = self.GetBucketUrlIterFromArg(url_str, bucket_fields=['id'])
|
D | hash.py | 162 for url_str in self.args: 163 if not StorageUrlFromString(url_str).IsFileUrl(): 166 for file_ref in self.WildcardIterator(url_str).IterObjects():
|
D | signurl.py | 273 for url_str in in_urls: 274 if ContainsWildcard(url_str): 275 ret.extend([blr.storage_url for blr in self.WildcardIterator(url_str)]) 277 ret.append(StorageUrlFromString(url_str))
|
D | du.py | 160 url_str = bucket_listing_ref.url_string 166 url_str += '<DeleteMarker>' 176 'url': url_str.encode(UTF8),
|
D | rsync.py | 732 def _WarnIfMissingCloudHash(self, url_str, crc32c, md5): argument 745 if (StorageUrlFromString(url_str).IsCloudUrl() 749 'hashes.', url_str) 956 def _InsistContainer(self, url_str, treat_nonexistent_object_as_subdir): argument 971 copy_helper.ExpandUrlToSingleBlr(url_str, self.gsutil_api, self.debug, 977 % url_str)
|
D | web.py | 206 for url_str in url_args: 207 bucket_iter = self.GetBucketUrlIterFromArg(url_str, bucket_fields=['id'])
|
D | lifecycle.py | 146 for url_str in url_args: 147 bucket_iter = self.GetBucketUrlIterFromArg(url_str,
|
D | cors.py | 156 for url_str in url_args: 157 bucket_iter = self.GetBucketUrlIterFromArg(url_str, bucket_fields=['id'])
|
/external/chromium-trace/catapult/third_party/gsutil/gslib/tests/ |
D | test_naming.py | 1043 url_str = 'abc:def' 1044 url = StorageUrlFromString(url_str) 1046 self.assertEqual('file://%s' % url_str, url.url_string)
|