/external/chromium-trace/catapult/third_party/gsutil/gslib/ |
D | storage_url.py | 100 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 …]
|
D | ls_helper.py | 40 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
|
D | progress_callback.py | 88 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)
|
D | bucket_listing_ref.py | 45 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
|
D | name_expansion.py | 260 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(
|
D | wildcard_iterator.py | 56 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]
|
D | copy_helper.py | 542 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 …]
|
D | cat_helper.py | 70 storage_url = StorageUrlFromString(blr.url_string)
|
D | boto_translation.py | 1518 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,
|
D | command.py | 559 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
|
D | hashing_helper.py | 487 self._src_url.url_string)
|
D | util.py | 714 url_str = bucket_listing_ref.url_string 1125 url_str = url.url_string
|
/external/chromium-trace/catapult/third_party/gsutil/gslib/tests/ |
D | test_util.py | 171 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}):
|
D | test_copy_helper_funcs.py | 243 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)
|
D | test_wildcard_iterator.py | 129 uri_strs.add(blr.url_string) 145 actual_uri_strs.add(blr.url_string) 160 actual_uri_strs.add(blr.url_string)
|
D | test_naming.py | 1046 self.assertEqual('file://%s' % url_str, url.url_string)
|
/external/chromium-trace/catapult/third_party/gsutil/gslib/commands/ |
D | cp.py | 774 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 …]
|
D | rsync.py | 547 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
|
D | ls.py | 272 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))
|
D | versioning.py | 154 print '%s: Enabled' % blr.url_string.rstrip('/') 156 print '%s: Suspended' % blr.url_string.rstrip('/')
|
D | du.py | 160 url_str = bucket_listing_ref.url_string 276 self._PrintSummaryLine(exp_bytes, blr.url_string.rstrip('/'))
|
D | signurl.py | 314 print '{0}\t{1}\t{2}\t{3}'.format(url.url_string.encode(UTF8), method,
|
/external/jetty/src/java/org/eclipse/jetty/util/resource/ |
D | Resource.java | 106 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()
|