Searched refs:url_idx (Results 1 – 3 of 3) sorted by relevance
332 result->download_url_idx = backoff_url_result.url_idx; in UpdateCanStart()681 result->url_idx = -1; in UpdateBackoffAndDownloadUrl()724 int url_idx = update_state.last_download_url_idx; in UpdateBackoffAndDownloadUrl() local725 if (url_idx < 0) in UpdateBackoffAndDownloadUrl()726 url_idx = -1; in UpdateBackoffAndDownloadUrl()749 if (is_first && url_idx >= 0 && used_url_idx != url_idx) { in UpdateBackoffAndDownloadUrl()751 << ") not as expected (" << url_idx << ")"; in UpdateBackoffAndDownloadUrl()754 url_idx = used_url_idx; in UpdateBackoffAndDownloadUrl()755 if (url_idx < 0 || url_idx >= num_urls) { in UpdateBackoffAndDownloadUrl()757 << url_idx << ")"; in UpdateBackoffAndDownloadUrl()[all …]
40 int url_idx; member
436 size_t url_idx = header->find(http_url_prefix); in ReadClientHostname() local437 if (url_idx != string::npos) { in ReadClientHostname()438 size_t host_start = url_idx + http_url_prefix.length(); in ReadClientHostname()445 header->erase(url_idx, host_end - url_idx); in ReadClientHostname()446 if ((*header)[url_idx] != '/') { in ReadClientHostname()447 header->insert(url_idx, "/"); in ReadClientHostname()