HomeSort by relevance Sort by last modified time
    Searched full:url_string (Results 1 - 25 of 39) sorted by null

1 2

  /system/connectivity/shill/
http_url.cc 44 bool HTTPURL::ParseFromString(const string& url_string) {
50 if (url_string.substr(0, http_url_prefix.length()) == http_url_prefix) {
55 url_string.substr(0, https_url_prefix.length()) == https_url_prefix) {
63 size_t host_end = url_string.find_first_of(kDelimiters, host_start);
65 host_end = url_string.length();
68 url_string.substr(host_start, host_end - host_start),
82 path_ = url_string.substr(host_end);
http_url.h 41 // Parse a URL from |url_string|.
42 bool ParseFromString(const std::string& url_string);
http_url_unittest.cc 29 : url_string(in_url_string),
37 : url_string(in_url_string),
43 string url_string; member in struct:shill::StringAndResult
57 bool result = url_.ParseFromString(GetParam().url_string);
mock_connection_health_checker.h 37 MOCK_METHOD1(AddRemoteURL, void(const std::string& url_string));
portal_detector.cc 79 bool PortalDetector::Start(const string& url_string) {
80 return StartAfterDelay(url_string, 0);
83 bool PortalDetector::StartAfterDelay(const string& url_string,
87 if (!connectivity_trial_->Start(url_string, delay_seconds * 1000)) {
portal_detector.h 93 // Start a portal detection test. Returns true if |url_string| correctly
94 // parses as a URL. Returns false (and does not start) if the |url_string|
103 virtual bool Start(const std::string& url_string);
104 virtual bool StartAfterDelay(const std::string& url_string,
connectivity_trial.cc 90 bool ConnectivityTrial::Start(const string& url_string,
94 if (!url_.ParseFromString(url_string)) {
95 LOG(ERROR) << "Failed to parse URL string: " << url_string;
connectivity_trial.h 108 // Returns trus if |url_string| correctly parses as a URL. Returns false (and
109 // does not start) if the |url_string| fails to parse.
113 virtual bool Start(const std::string& url_string,
connection_diagnostics.cc 178 bool ConnectionDiagnostics::Start(const string& url_string) {
179 SLOG(this, 3) << __func__ << "(" << url_string << ")"; local
187 if (!target_url_->ParseFromString(url_string)) {
188 LOG(ERROR) << "Failed to parse URL string: " << url_string;
193 if (!portal_detector_->Start(url_string)) {
204 const string& url_string, const PortalDetector::Result& result) {
205 SLOG(this, 3) << __func__ << "(" << url_string << ")"; local
213 if (!target_url_->ParseFromString(url_string)) {
214 LOG(ERROR) << "Failed to parse URL string: " << url_string;
    [all...]
connection_health_checker.cc 134 void ConnectionHealthChecker::AddRemoteURL(const string& url_string) {
138 if (!url.ParseFromString(url_string)) {
140 << url_string << "."; local
connectivity_trial_unittest.cc 129 bool StartTrialWithDelay(const string& url_string, int delay) {
130 bool ret = connectivity_trial_->Start(url_string, delay);
137 bool StartTrial(const string& url_string) {
138 return StartTrialWithDelay(url_string, 0);
  /external/chromium-trace/catapult/third_party/gsutil/gslib/
storage_url.py 100 def url_string(self): member in class:StorageUrl
101 raise NotImplementedError('url_string not overridden')
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):
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 class:_FileUrl
250 def url_string(self): member in class:_CloudUrl
    [all...]
bucket_listing_ref.py 45 def url_string(self): member in class: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
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)
104 url_string- Url string to iterate on. May include
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
progress_callback.py 88 def ConstructAnnounceText(operation_name, url_string):
98 url_string: String describing the file/object being processed.
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)
cat_helper.py 70 storage_url = StorageUrlFromString(blr.url_string)
name_expansion.py 260 expanded_url = StorageUrlFromString(blr.url_string)
282 def WildcardIterator(self, url_string):
289 url_string: URL string naming wildcard objects to iterate.
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(
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]
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):])
    [all...]
  /external/chromium-trace/catapult/third_party/gsutil/gslib/tests/
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})
    [all...]
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)
  /external/chromium-trace/catapult/third_party/gsutil/gslib/commands/
versioning.py 154 print '%s: Enabled' % blr.url_string.rstrip('/')
156 print '%s: Suspended' % blr.url_string.rstrip('/')
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))
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):
590 url_string: String URL to encode.
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('/\\'))
    [all...]
cp.py     [all...]

Completed in 783 milliseconds

1 2