Home
last modified time | relevance | path

Searched refs:redirects (Results 1 – 25 of 86) sorted by relevance

1234

/external/chromium_org/chrome/browser/history/
Dredirect_browsertest.cc62 history::RedirectList* redirects) { in OnRedirectQueryComplete() argument
63 for (size_t i = 0; i < redirects->size(); ++i) in OnRedirectQueryComplete()
64 rv->push_back(redirects->at(i)); in OnRedirectQueryComplete()
82 std::vector<GURL> redirects = GetRedirects(first_url); in IN_PROC_BROWSER_TEST_F() local
84 ASSERT_EQ(1U, redirects.size()); in IN_PROC_BROWSER_TEST_F()
85 EXPECT_EQ(final_url.spec(), redirects[0].spec()); in IN_PROC_BROWSER_TEST_F()
100 std::vector<GURL> redirects = GetRedirects(first_url); in IN_PROC_BROWSER_TEST_F() local
102 ASSERT_EQ(1U, redirects.size()); in IN_PROC_BROWSER_TEST_F()
103 EXPECT_EQ(final_url.spec(), redirects[0].spec()); in IN_PROC_BROWSER_TEST_F()
150 std::vector<GURL> redirects = GetRedirects(first_url); in IN_PROC_BROWSER_TEST_F() local
[all …]
Dtop_sites_cache.cc13 most_visited_url_.redirects.push_back(url); in CanonicalURLQuery()
151 StoreRedirectChain(top_sites_[i].redirects, i); in GenerateCanonicalURLs()
154 void TopSitesCache::StoreRedirectChain(const RedirectList& redirects, in StoreRedirectChain() argument
160 for (size_t i = 0; i < redirects.size(); i++) { in StoreRedirectChain()
162 if (!IsKnownURL(redirects[i])) { in StoreRedirectChain()
179 return it->first.first->redirects[it->first.second]; in GetURLFromIterator()
Dhistory_backend.cc97 const RedirectList& redirects) { in MakeMostVisitedURL() argument
101 if (redirects.empty()) { in MakeMostVisitedURL()
103 mv.redirects.push_back(mv.url); in MakeMostVisitedURL()
105 mv.redirects = redirects; in MakeMostVisitedURL()
106 if (mv.redirects[mv.redirects.size() - 1] != mv.url) { in MakeMostVisitedURL()
108 mv.redirects.push_back(mv.url); in MakeMostVisitedURL()
385 DCHECK(request.redirects.empty() || in AddPage()
386 request.redirects.back() == request.url); in AddPage()
402 bool has_redirects = request.redirects.size() > 1; in AddPage()
407 request.redirects[0] : request.url); in AddPage()
[all …]
Dtop_sites_impl_unittest.cc237 RedirectList redirects; in AddPageToHistory() local
238 redirects.push_back(url); in AddPageToHistory()
241 redirects, content::PAGE_TRANSITION_TYPED, history::SOURCE_BROWSED, in AddPageToHistory()
247 RedirectList redirects; in AddPageToHistory() local
248 redirects.push_back(url); in AddPageToHistory()
251 redirects, content::PAGE_TRANSITION_TYPED, history::SOURCE_BROWSED, in AddPageToHistory()
259 const history::RedirectList& redirects, in AddPageToHistory() argument
263 redirects, content::PAGE_TRANSITION_TYPED, history::SOURCE_BROWSED, in AddPageToHistory()
350 mv.redirects.push_back(url); in AppendMostVisitedURL()
362 mv.redirects.push_back(url); in AppendForcedMostVisitedURL()
[all …]
Dtop_sites_database.cc83 std::vector<std::string> redirects; in GetRedirects() local
84 for (size_t i = 0; i < url.redirects.size(); i++) in GetRedirects()
85 redirects.push_back(url.redirects[i].spec()); in GetRedirects()
86 return JoinString(redirects, ' '); in GetRedirects()
90 void SetRedirects(const std::string& redirects, history::MostVisitedURL* url) { in SetRedirects() argument
92 base::SplitStringAlongWhitespace(redirects, &redirects_vector); in SetRedirects()
94 url->redirects.push_back(GURL(redirects_vector[i])); in SetRedirects()
463 std::string redirects = statement.ColumnString(4); in GetPageThumbnails() local
464 SetRedirects(redirects, &url); in GetPageThumbnails()
Dtop_sites_cache.h99 return CanonicalURLStringCompare(e1.first->redirects[e1.second].spec(), in operator()
100 e2.first->redirects[e2.second].spec()); in operator()
134 void StoreRedirectChain(const RedirectList& redirects, size_t destination);
Dhistory_tab_helper.cc62 params.referrer.url, params.redirects, params.transition, in CreateHistoryAddPageArgs()
73 if (!add_page_args.redirects.empty()) in CreateHistoryAddPageArgs()
74 add_page_args.redirects.back() = virtual_url; in CreateHistoryAddPageArgs()
Dtop_sites_impl.cc583 for (size_t i = 0; i < most_visited.redirects.size(); i++) { in GetRedirectDistanceForURL()
584 if (most_visited.redirects[i] == url) in GetRedirectDistanceForURL()
585 return static_cast<int>(most_visited.redirects.size() - i - 1); in GetRedirectDistanceForURL()
597 url.redirects.push_back(url.url); in GetPrepopulatePages()
626 new_url.redirects.push_back(url); in AddForcedURL()
661 for (size_t j = 0; j < (*new_list)[i].redirects.size(); j++) { in MergeCachedForcedURLs()
662 all_new_urls.insert((*new_list)[i].redirects[j]); in MergeCachedForcedURLs()
/external/llvm/utils/lit/lit/
DShCommands.py2 def __init__(self, args, redirects): argument
4 self.redirects = list(redirects)
7 return 'Command(%r, %r)' % (self.args, self.redirects)
13 return ((self.args, self.redirects) ==
14 (other.args, other.redirects))
32 for r in self.redirects:
DTestRunner.py64 redirects = [(0,), (1,), (2,)]
65 for r in j.redirects:
67 redirects[2] = [r[1], 'w', None]
69 redirects[2] = [r[1], 'a', None]
71 redirects[2] = redirects[int(r[1])]
73 redirects[1] = redirects[2] = [r[1], 'w', None]
75 redirects[1] = [r[1], 'w', None]
77 redirects[1] = [r[1], 'a', None]
79 redirects[0] = [r[1], 'r', None]
85 for index,r in enumerate(redirects):
DShUtil.py196 redirects = []
219 redirects.append((op, arg))
221 return Command(args, redirects)
/external/llvm/lib/Support/
DProgram.cpp30 const StringRef **redirects, unsigned secondsToWait, in ExecuteAndWait() argument
34 if (Execute(PI, Program, args, envp, redirects, memoryLimit, ErrMsg)) { in ExecuteAndWait()
49 const char **envp, const StringRef **redirects, in ExecuteNoWait() argument
55 if (!Execute(PI, Program, args, envp, redirects, memoryLimit, ErrMsg)) in ExecuteNoWait()
/external/chromium_org/content/test/
Dtest_render_frame_host.cc90 const std::vector<GURL>& redirects) { in SendNavigateWithRedirects() argument
92 page_id, url, PAGE_TRANSITION_LINK, url, 200, 0, redirects); in SendNavigateWithRedirects()
102 const std::vector<GURL>& redirects) { in SendNavigateWithParameters() argument
108 params.redirects = redirects; in SendNavigateWithParameters()
Dtest_render_frame_host.h51 const std::vector<GURL>& redirects);
59 const std::vector<GURL>& redirects);
/external/llvm/lib/Support/Unix/
DProgram.inc185 const char **envp, const StringRef **redirects,
206 if (redirects) {
209 if (redirects[I]) {
210 RedirectsStorage[I] = *redirects[I];
222 if (redirects[1] == nullptr || redirects[2] == nullptr ||
223 *redirects[1] != *redirects[2]) {
273 if (redirects) {
275 if (RedirectIO(redirects[0], 0, ErrMsg)) { return false; }
277 if (RedirectIO(redirects[1], 1, ErrMsg)) { return false; }
278 if (redirects[1] && redirects[2] &&
[all …]
/external/emma/core/java12/com/vladium/emma/
DEMMAProperties.java192 final Map redirects = new HashMap ();
193 redirects.put (IReportProperties.PREFIX.concat (IReportProperties.OUT_ENCODING), in IReportProperties.PREFIX.concat()
195 redirects.put (IReportProperties.PREFIX.concat (IReportProperties.OUT_DIR), in IReportProperties.PREFIX.concat()
198 SYSTEM_PROPERTY_REDIRECTS = Collections.unmodifiableMap (redirects);
/external/llvm/include/llvm/Support/
DProgram.h92 const StringRef **redirects = nullptr, ///< An optional array of pointers
122 const StringRef **redirects = nullptr, unsigned memoryLimit = 0,
/external/chromium_org/chrome/browser/thumbnails/
Dthumbnail_list_source.cc62 if (!mvurl.redirects.empty()) { in RenderMostVisitedURLList()
65 for (jt = mvurl.redirects.begin(); in RenderMostVisitedURLList()
66 jt != mvurl.redirects.end(); ++jt) { in RenderMostVisitedURLList()
/external/llvm/lib/Support/Windows/
DProgram.inc170 const char **envp, const StringRef **redirects,
249 if (redirects) {
252 si.hStdInput = RedirectIO(redirects[0], 0, ErrMsg);
257 si.hStdOutput = RedirectIO(redirects[1], 1, ErrMsg);
263 if (redirects[1] && redirects[2] && *(redirects[1]) == *(redirects[2])) {
276 si.hStdError = RedirectIO(redirects[2], 2, ErrMsg);
/external/chromium_org/chrome/browser/safe_browsing/
Dmalware_details_unittest.cc309 history::RedirectList* redirects) { in AddPageToHistory() argument
312 redirects->push_back(url); in AddPageToHistory()
315 *redirects, content::PAGE_TRANSITION_TYPED, history::SOURCE_BROWSED, in AddPageToHistory()
646 history::RedirectList redirects; in TEST_F() local
647 redirects.push_back(GURL(kFirstRedirectURL)); in TEST_F()
648 redirects.push_back(GURL(kSecondRedirectURL)); in TEST_F()
649 AddPageToHistory(baseurl, &redirects); in TEST_F()
Dmalware_details.cc273 const std::vector<safe_browsing::RedirectChain>& redirects = in OnRedirectionCollectionReady() local
276 for (size_t i = 0; i < redirects.size(); ++i) in OnRedirectionCollectionReady()
277 AddRedirectUrlList(redirects[i]); in OnRedirectionCollectionReady()
/external/chromium_org/content/public/common/
Dframe_navigate_params.h51 std::vector<GURL> redirects; member
/external/llvm/unittests/Support/
DProgramTest.cpp96 const StringRef *redirects[] = { &nul, &nul, nullptr }; in TEST() local
97 int rc = ExecuteAndWait(my_exe, argv, &envp[0], redirects, in TEST()
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/sdk/
DNetworkRequest.js474 if (this.redirects && this.redirects.length > 0)
475 return this.redirects[this.redirects.length - 1];
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/
DREADME2 entry points and redirects them to nacl_io implementations.

1234