Home
last modified time | relevance | path

Searched refs:url_string (Results 1 – 23 of 23) sorted by relevance

/external/chromium-trace/catapult/third_party/gsutil/gslib/
Dstorage_url.py100 def url_string(self): member in StorageUrl
108 return isinstance(other, StorageUrl) and self.url_string == other.url_string
111 return hash(self.url_string)
125 def __init__(self, url_string, is_stream=False): argument
128 match = FILE_OBJECT_REGEX.match(url_string)
132 self.object_name = url_string
138 return _FileUrl(self.url_string)
153 return self.url_string
156 def url_string(self): member in _FileUrl
161 return self.url_string
[all …]
Dls_helper.py40 print '%s:' % bucket_listing_ref.url_string.encode(UTF8)
60 print bucket_listing_ref.url_string.encode(UTF8)
83 print bucket_listing_ref.url_string.encode(UTF8)
158 return self._RecurseExpandUrlAndPrint(url.url_string,
185 blr.url_string).CreatePrefixUrl(wildcard_suffix='*')
230 blr.url_string).CreatePrefixUrl(wildcard_suffix='*')
257 tomatch = blr.url_string
Dprogress_callback.py88 def ConstructAnnounceText(operation_name, url_string): argument
110 if (start_len + len(url_string) + end_len >
113 url_string = '...%s' % url_string[
115 base_announce_text = '%s%s:' % (justified_op_string, url_string)
Dbucket_listing_ref.py45 def url_string(self): member in BucketListingRef
77 self._url_string = storage_url.url_string
94 self._url_string = storage_url.url_string
111 self._url_string = storage_url.url_string
Dname_expansion.py260 expanded_url = StorageUrlFromString(blr.url_string)
282 def WildcardIterator(self, url_string): argument
295 url_string, self.gsutil_api, debug=self.debug,
468 expanded_url = StorageUrlFromString(blr.url_string)
476 desc, blr.url_string, self.command_name)
478 self.logger.info('Omitting %s "%s".', desc, blr.url_string)
514 prefix_url = StorageUrlFromString(blr.url_string).CreatePrefixUrl(
Dwildcard_iterator.py56 return 'WildcardIterator(%s)' % self.wildcard_url.url_string
137 bucket_url_string = bucket_listing_ref.url_string
158 if (not ContainsWildcard(self.wildcard_url.url_string) and
180 url_string = '%s%s#%s' % (bucket_url_string,
186 url_string = '%s%s' % (bucket_url_string,
189 urls_needing_expansion = [url_string]
Dcopy_helper.py542 exp_dst_url.url_string.rstrip(exp_dst_url.delim),
559 and not exp_dst_url.url_string.endswith(exp_dst_url.delim)):
560 exp_dst_url = StorageUrlFromString('%s%s' % (exp_dst_url.url_string,
610 exp_src_url.url_string[len(src_url.url_string):])
855 (exp_src_url.url_string, final_dir))
859 (exp_src_url.url_string, dst_path))
1123 return (StorageUrlFromString(blr.url_string), not blr.IsObject())
1190 trans_url_str = re.sub(r'\\', '/', dst_url.url_string)
1213 return (src_url.url_string == dst_url.url_string and
1235 logger.info('Copying %s%s...', src_url.url_string, content_type_msg)
[all …]
Dcat_helper.py70 storage_url = StorageUrlFromString(blr.url_string)
Dboto_translation.py1518 storage_url.url_string, suppress_consec_slashes=False,
1533 storage_url.url_string, suppress_consec_slashes=False,
1573 storage_url.url_string, suppress_consec_slashes=False,
1583 storage_url.url_string, suppress_consec_slashes=False,
1599 storage_url.url_string, suppress_consec_slashes=False,
1627 storage_url.url_string, suppress_consec_slashes=False,
1638 storage_url.url_string, suppress_consec_slashes=False,
1651 storage_url.url_string, suppress_consec_slashes=False,
Dcommand.py559 def WildcardIterator(self, url_string, all_versions=False): argument
575 url_string, self.gsutil_api, all_versions=all_versions,
616 multi_threaded_url_args.append(url.url_string)
620 for blr in self.WildcardIterator(url.url_string).IterBuckets(
934 return StorageUrlFromString(blr.url_string), blr.root_object
Dhashing_helper.py487 self._src_url.url_string)
Dutil.py714 url_str = bucket_listing_ref.url_string
1125 url_str = url.url_string
/external/chromium-trace/catapult/third_party/gsutil/gslib/tests/
Dtest_util.py171 for url_string in ['hostname', 'http://hostname', 'https://hostname']:
172 with SetEnvironmentForTest({env_var: url_string}):
184 for url_string in ['1.2.3.4:50', 'http://1.2.3.4:50',
186 with SetEnvironmentForTest({env_var: url_string}):
191 for url_string in ['foo:bar@1.2.3.4:50', 'http://foo:bar@1.2.3.4:50',
193 with SetEnvironmentForTest({env_var: url_string}):
199 for url_string in ['bar@1.2.3.4:50', 'http://bar@1.2.3.4:50',
201 with SetEnvironmentForTest({env_var: url_string}):
207 for url_string in ['1.2.3.4:50', 'http://1.2.3.4:50']:
208 with SetEnvironmentForTest({env_var: url_string}):
Dtest_copy_helper_funcs.py243 self.assertEqual(args_uploaded_correctly.dst_url.url_string,
244 uploaded_components[0].url_string)
248 self.assertEqual(no_longer_used_url.url_string,
249 existing_objects_to_delete[0].url_string)
338 self.assertEqual(args_uploaded_correctly.dst_url.url_string,
339 uploaded_components[0].url_string)
Dtest_wildcard_iterator.py129 uri_strs.add(blr.url_string)
145 actual_uri_strs.add(blr.url_string)
160 actual_uri_strs.add(blr.url_string)
Dtest_naming.py1046 self.assertEqual('file://%s' % url_str, url.url_string)
/external/chromium-trace/catapult/third_party/gsutil/gslib/commands/
Dcp.py774 exp_src_url.url_string):
789 if ContainsWildcard(src_url.url_string):
818 exp_src_url.url_string, dst_url.url_string)
827 self.manifest.Set(exp_src_url.url_string, 'md5', md5)
829 exp_src_url.url_string, bytes_transferred, 'OK')
838 self.manifest.SetResult(exp_src_url.url_string, 0, 'skip', message)
841 (exp_src_url.url_string, e.unsupported_type))
844 self.manifest.SetResult(exp_src_url.url_string, 0, 'skip', message)
857 exp_src_url.url_string, 0, 'skip', message)
864 exp_src_url.url_string, 0, 'error',
[all …]
Drsync.py547 str_to_check = url.url_string[len(base_url_str):]
581 return '%s %d %s %s\n' % (_EncodeUrl(url.url_string), size, crc32c, md5)
584 def _EncodeUrl(url_string): argument
595 return urllib.quote_plus(url_string.encode(UTF8))
690 (self.base_src_url.url_string, self.sorted_list_src_file_name,
692 (self.base_dst_url.url_string, self.sorted_list_dst_file_name,
803 base_src_url_len = len(self.base_src_url.url_string.rstrip('/\\'))
804 base_dst_url_len = len(self.base_dst_url.url_string.rstrip('/\\'))
821 self.base_dst_url, False, self.recursion_requested).url_string
Dls.py272 fields = {'bucket': bucket_blr.url_string,
317 url_str = bucket_listing_ref.url_string
389 print '%s:' % blr.url_string.encode(UTF8)
431 print '%-33s%s' % ('', blr.url_string.encode(UTF8))
Dversioning.py154 print '%s: Enabled' % blr.url_string.rstrip('/')
156 print '%s: Suspended' % blr.url_string.rstrip('/')
Ddu.py160 url_str = bucket_listing_ref.url_string
276 self._PrintSummaryLine(exp_bytes, blr.url_string.rstrip('/'))
Dsignurl.py314 print '{0}\t{1}\t{2}\t{3}'.format(url.url_string.encode(UTF8), method,
/external/jetty/src/java/org/eclipse/jetty/util/resource/
DResource.java106 String url_string=url.toExternalForm(); in newResource()
107 if( url_string.startsWith( "file:")) in newResource()
120 else if( url_string.startsWith( "jar:file:")) in newResource()
124 else if( url_string.startsWith( "jar:")) in newResource()