Home
last modified time | relevance | path

Searched refs:url_str (Results 1 – 22 of 22) sorted by relevance

/external/chromium-trace/catapult/third_party/gsutil/gslib/
Dstorage_url.py251 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 …]
Dutil.py639 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 …]
Dcat_helper.py59 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)
Dname_expansion.py168 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)
Dcommand.py608 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 …]
Dls_helper.py197 def _RecurseExpandUrlAndPrint(self, url_str, print_initial_newline=True): argument
213 '%s' % url_str, all_versions=self.all_versions).IterAll(
Dwildcard_iterator.py633 def CreateWildcardIterator(url_str, gsutil_api, all_versions=False, debug=0, argument
651 url = StorageUrlFromString(url_str)
Dcopy_helper.py1089 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/
Dstat.py122 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)
Drm.py237 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)
Dls.py317 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:
Dversioning.py123 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,
Drb.py96 for url_str in self.args:
97 wildcard_url = StorageUrlFromString(url_str)
112 self.WildcardIterator(url_str).IterBuckets(bucket_fields=['id']))
Dlogging.py192 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'])
Dhash.py162 for url_str in self.args:
163 if not StorageUrlFromString(url_str).IsFileUrl():
166 for file_ref in self.WildcardIterator(url_str).IterObjects():
Dsignurl.py273 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))
Ddu.py160 url_str = bucket_listing_ref.url_string
166 url_str += '<DeleteMarker>'
176 'url': url_str.encode(UTF8),
Drsync.py732 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)
Dweb.py206 for url_str in url_args:
207 bucket_iter = self.GetBucketUrlIterFromArg(url_str, bucket_fields=['id'])
Dlifecycle.py146 for url_str in url_args:
147 bucket_iter = self.GetBucketUrlIterFromArg(url_str,
Dcors.py156 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/
Dtest_naming.py1043 url_str = 'abc:def'
1044 url = StorageUrlFromString(url_str)
1046 self.assertEqual('file://%s' % url_str, url.url_string)