/external/webkit/WebCore/bindings/v8/custom/ |
V8LocationCustom.cpp | 73 KURL url = frame->loader()->url(); 74 String oldRef = url.fragmentIdentifier(); 80 url.setFragmentIdentifier(hash); 82 navigateIfAllowed(frame, url, false, false); 96 KURL url = frame->loader()->url(); 99 url.setHost(newHost); 100 url.setPort(newPort.toUInt()); 102 navigateIfAllowed(frame, url, false, false) [all...] |
V8HistoryCustom.cpp | 52 String url; 54 url = toWebCoreStringWithNullOrUndefinedCheck(args[2]); 61 history->stateObjectAdded(historyState.release(), title, url, History::StateObjectPush, ec); 73 String url; 75 url = toWebCoreStringWithNullOrUndefinedCheck(args[2]); 82 history->stateObjectAdded(historyState.release(), title, url, History::StateObjectReplace, ec);
|
/external/webkit/WebCore/platform/chromium/ |
PasteboardChromium.cpp | 86 KURL url = selectedRange->startContainer(ec)->document()->url(); local 93 ChromiumBridge::clipboardWriteSelection(html, url, plainText, canSmartCopyOrDelete); 107 void Pasteboard::writeURL(const KURL& url, const String& titleStr, Frame* frame) 109 ASSERT(!url.isEmpty()); 113 title = url.lastPathComponent(); 115 title = url.host(); 118 ChromiumBridge::clipboardWriteURL(url, title); 132 // If the image is wrapped in a link, |url| points to the target of the 133 // link. This isn't useful to us, so get the actual image URL 145 KURL url = urlString.isEmpty() ? KURL() : node->document()->completeURL(deprecatedParseURL(urlString)); local [all...] |
/external/webkit/WebKitTools/DumpRenderTree/win/ |
HistoryDelegate.cpp | 87 if (FAILED(navigationData->url(&urlBSTR))) 89 wstring url; 91 url = urlSuitableForTestResult(wstringFromBSTR(urlBSTR)); 141 printf("WebView navigated to url \"%S\" with title \"%S\" with HTTP equivalent method \"%S\". The navigation was %s and was %s%S.\n", 142 url.c_str(), 191 wstring url; 193 url = urlSuitableForTestResult(wstringFromBSTR(urlBSTR)); 199 printf("WebView updated the title for history URL \"%S\" to \"%S\".\n", url.c_str(), title.c_str()); 212 wstring url; [all...] |
/external/webkit/WebCore/bindings/js/ |
JSHTMLInputElementCustom.cpp | 42 const KURL& url = document->url(); local 43 if (url.host() != "mail.google.com") 62 DEFINE_STATIC_LOCAL(const AtomicString, url, ("url")); 65 if (type == url && needsGmailQuirk(input))
|
JSDOMApplicationCacheCustom.cpp | 52 const KURL& url = frame->loader()->completeURL(args.at(0).toString(exec)); local 55 bool result = impl()->hasItem(url, ec); 65 const KURL& url = frame->loader()->completeURL(args.at(0).toString(exec)); local 68 impl()->add(url, ec); 78 const KURL& url = frame->loader()->completeURL(args.at(0).toString(exec)); local 81 impl()->remove(url, ec);
|
/external/webkit/WebCore/platform/mac/ |
CookieJar.mm | 77 String cookies(const Document*, const KURL& url) 81 NSURL *cookieURL = url; 89 String cookieRequestHeaderFieldValue(const Document*, const KURL& url) 93 NSURL *cookieURL = url; 101 void setCookies(Document* document, const KURL& url, const String& cookieStr) 114 NSURL *cookieURL = url; 132 bool getRawCookies(const Document*, const KURL& url, Vector<Cookie>& rawCookies) 137 NSURL *cookieURL = url; 159 void deleteCookie(const Document*, const KURL& url, const String& cookieName) 163 NSURL *cookieURL = url; [all...] |
/external/webkit/WebCore/platform/network/ |
ResourceHandle.cpp | 49 shouldContentSniff = shouldContentSniffURL(request.url()); 53 if (!request.url().isValid()) { 58 if (!portAllowed(request.url())) { 120 bool ResourceHandle::shouldContentSniffURL(const KURL& url) 127 return !url.protocolIs("file");
|
/external/webkit/WebKit/chromium/src/ |
WebDataSourceImpl.cpp | 150 void WebDataSourceImpl::appendRedirect(const KURL& url) 152 m_redirectChain.append(url); 167 // empty document. Then it is navigated to the source URL of the 170 if (!request.url().isEmpty()) { 171 ASSERT(m_nextPluginLoadObserver->url() == request.url());
|
/cts/tests/tests/webkit/src/android/webkit/cts/ |
WebIconDatabaseTest.java | 141 String url = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); local 142 assertLoadUrlSuccessfully(mWebView, url); 146 webIconDatabase.retainIconForPageUrl(url); 148 webIconDatabase.requestIconForPageUrl(url, listener); 155 webIconDatabase.releaseIconForPageUrl(url); 158 webIconDatabase.requestIconForPageUrl(url, listener); 179 String url = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); local 180 assertLoadUrlSuccessfully(mWebView, url); 184 webIconDatabase.retainIconForPageUrl(url); 186 webIconDatabase.requestIconForPageUrl(url, listener) [all...] |
WebHistoryItemTest.java | 81 String url = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); local 82 assertLoadUrlSuccessfully(view, url); 88 assertEquals(url, item.getUrl()); 94 url = mWebServer.getAssetUrl(TestHtmlConstants.BR_TAG_URL); 95 assertLoadUrlSuccessfully(view, url); 110 @ToBeFixed(explanation = "History item does not have the original URL set after a redirect.") 119 String url = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); local 134 assertEquals(url, item.getUrl()); 149 private void assertLoadUrlSuccessfully(final WebView view, String url) { 150 view.loadUrl(url); [all...] |
CacheManagerTest.java | 97 final String url = mWebServer.getAssetUrl(TestHtmlConstants.EMBEDDED_IMG_URL); local 104 CacheManager.getCacheFile(url, null); 108 loadUrl(url); 109 CacheResult result = CacheManager.getCacheFile(url, null); 129 private void loadUrl(String url){ 130 mWebView.loadUrl(url);
|
/external/webkit/WebCore/page/ |
XSSAuditor.cpp | 73 String XSSAuditor::CachingURLCanonicalizer::canonicalizeURL(const String& url, const TextEncoding& encoding, bool decodeEntities, 77 && encoding == m_encoding && url == m_inputURL) 80 m_cachedCanonicalizedURL = canonicalize(decodeURL(url, encoding, decodeEntities, decodeURLEscapeSequencesTwice)); 81 m_inputURL = url; 155 bool XSSAuditor::canLoadExternalScriptFromSrc(const String& context, const String& url) const 160 if (isSameOriginResource(url)) 165 task.string = url; 175 bool XSSAuditor::canLoadObject(const String& url) const 180 if (isSameOriginResource(url)) 184 task.string = url; 224 String url = string; local [all...] |
/external/webkit/WebCore/loader/appcache/ |
ApplicationCacheGroup.cpp | 90 KURL url(request.url()); 91 if (url.hasFragmentIdentifier()) 92 url.removeFragmentIdentifier(); 94 if (ApplicationCacheGroup* group = cacheStorage().cacheGroupForURL(url)) { 109 KURL url(request.url()); 110 if (url.hasFragmentIdentifier()) 111 url.removeFragmentIdentifier(); 113 if (ApplicationCacheGroup* group = cacheStorage().fallbackCacheGroupForURL(url)) { 215 KURL url = loader->url(); local [all...] |
/external/webkit/WebCore/platform/win/ |
ClipboardUtilitiesWin.cpp | 48 static bool getWebLocData(IDataObject* dataObject, String& url, String* title) 66 if (_wcsicmp(PathFindExtensionW(filename), L".url")) 69 if (!GetPrivateProfileStringW(L"InternetShortcut", L"url", 0, urlBuffer, ARRAYSIZE(urlBuffer), filename)) 77 url = String((UChar*)urlBuffer); 89 String url = inURL; local 90 int splitLoc = url.find('\n'); 93 *title = url.substring(splitLoc+1); 94 url.truncate(splitLoc); 96 *title = url; 97 return url; 306 String url; local [all...] |
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/internal/net/www/protocol/ftp/ |
FtpURLConnection.java | 35 import java.net.URL; 107 * @param url 109 protected FtpURLConnection(URL url) { 110 super(url); 111 hostName = url.getHost(); 112 String parse = url.getUserInfo(); 124 uri = url.toURI(); 133 * @param url 136 protected FtpURLConnection(URL url, Proxy proxy) [all...] |
/dalvik/libcore/sql/src/main/java/java/sql/ |
DriverManager.java | 143 * Attempts to establish a connection to the given database URL. 145 * @param url 146 * a URL string representing the database target to connect with. 147 * @return a {@code Connection} to the database identified by the URL. 151 * database identified by the URL. 153 public static Connection getConnection(String url) throws SQLException { 154 return getConnection(url, new Properties()); 158 * Attempts to establish a connection to the given database URL. 160 * @param url 161 * a URL string representing the database target to connect wit [all...] |
/development/tools/axl/ |
chewie.py | 20 def add(self, url, time): 21 self.queue.append([url, time]) 23 def get(self, url): 26 if rec[0] == url: 94 time, url = x[0], x[3] 95 queued.add(url, time) 102 time, thread, url = x[0], x[1], x[3] 104 qtime = queued.get(url) 105 record = [thread, qtime, opentime, time, None, None, None, url, host, connection]
|
/external/webkit/WebKit/android/jni/ |
WebIconDatabase.cpp | 158 static jobject IconForPageUrl(JNIEnv* env, jobject obj, jstring url) 160 LOG_ASSERT(url, "No url given to iconForPageUrl"); 161 WebCore::String urlStr = to_string(env, url); 169 static void RetainIconForPageUrl(JNIEnv* env, jobject obj, jstring url) 171 LOG_ASSERT(url, "No url given to retainIconForPageUrl"); 172 WebCore::String urlStr = to_string(env, url); 178 static void ReleaseIconForPageUrl(JNIEnv* env, jobject obj, jstring url) 180 LOG_ASSERT(url, "No url given to releaseIconForPageUrl") [all...] |
/frameworks/base/core/java/android/content/ |
ContentProviderNative.java | 77 Uri url = Uri.CREATOR.createFromParcel(data); local 111 IBulkCursor bulkCursor = bulkQuery(url, projection, selection, 132 Uri url = Uri.CREATOR.createFromParcel(data); local 133 String type = getType(url); 143 Uri url = Uri.CREATOR.createFromParcel(data); local 146 Uri out = insert(url, values); 155 Uri url = Uri.CREATOR.createFromParcel(data); local 158 int count = bulkInsert(url, values); 182 Uri url = Uri.CREATOR.createFromParcel(data); local 186 int count = delete(url, selection, selectionArgs) 196 Uri url = Uri.CREATOR.createFromParcel(data); local 211 Uri url = Uri.CREATOR.createFromParcel(data); local 230 Uri url = Uri.CREATOR.createFromParcel(data); local [all...] |
/frameworks/base/core/java/android/webkit/ |
Network.java | 146 * Request a url from either the network or the file system. 147 * @param url The url to load. 159 String url = loader.url(); local 161 // Not a valid url, return false because we won't service the request! 162 if (!URLUtil.isValidUrl(url)) { 168 if (URLUtil.isAssetUrl(url) || URLUtil.isResourceUrl(url) 169 || URLUtil.isFileUrl(url) || URLUtil.isDataUrl(url)) [all...] |
/packages/apps/Browser/tests/src/com/android/browser/ |
BrowserProviderTests.java | 103 private void assertInsertQuery(String url, String title, String query) { 104 addBookmark(url, title); 105 assertQueryReturns(url, title, query); 108 private void assertQueryReturns(String url, String title, String query) { 121 assertEquals("Bad URL", url, data); 131 Cursor c = getContext().getContentResolver().query(suggestUri, null, "url LIKE ?", 137 private void addBookmark(String url, String title) { 138 Uri uri = insertBookmark(url, title); 144 private Uri insertBookmark(String url, String title) [all...] |
/external/webkit/WebCore/platform/network/win/ |
CookieJarCFNetWin.cpp | 67 void setCookies(Document* document, const KURL& url, const String& value) 77 RetainPtr<CFURLRef> urlCF(AdoptCF, url.createCFURL()); 95 String cookies(const Document* /*document*/, const KURL& url) 101 RetainPtr<CFURLRef> urlCF(AdoptCF, url.createCFURL()); 103 bool secure = url.protocolIs("https"); 109 String cookieRequestHeaderFieldValue(const Document* /*document*/, const KURL& url) 115 RetainPtr<CFURLRef> urlCF(AdoptCF, url.createCFURL()); 117 bool secure = url.protocolIs("https"); 131 bool getRawCookies(const Document*, const KURL& url, Vector<Cookie>& rawCookies) 138 RetainPtr<CFURLRef> urlCF(AdoptCF, url.createCFURL()) [all...] |
/dalvik/libcore/xml/src/main/java/javax/xml/validation/ |
SecuritySupport.java | 26 import java.net.URL; 81 static InputStream getURLInputStream(final URL url) 88 return url.openStream(); 96 static URL getResourceAsURL(final ClassLoader cl, 99 return (URL) 102 URL url; 104 url = ClassLoader.getSystemResource(name); 107 url = cl.getResource(name) [all...] |
/dalvik/libcore/xml/src/main/java/javax/xml/xpath/ |
SecuritySupport.java | 26 import java.net.URL; 81 static InputStream getURLInputStream(final URL url) 88 return url.openStream(); 96 static URL getResourceAsURL(final ClassLoader cl, 99 return (URL) 102 URL url; 104 url = ClassLoader.getSystemResource(name); 107 url = cl.getResource(name) [all...] |