/libcore/luni/src/main/java/org/apache/harmony/luni/internal/net/www/protocol/jar/ |
JarURLConnectionImpl.java | 30 import java.net.URL; 48 * file which can be anywhere that can be referred to by an URL. 52 static HashMap<URL, JarFile> jarCache = new HashMap<URL, JarFile>(); 54 private URL jarFileURL; 65 * @param url 66 * the URL of the JAR 68 * if the URL is malformed 72 public JarURLConnectionImpl(URL url) throws MalformedURLException [all...] |
/libcore/luni/src/main/java/org/apache/xpath/ |
SourceTreeManager.java | 85 * Given a document, find the URL associated with that document. 203 String url = source.getSystemId(); local 205 if (null == url) 215 // System.out.println("getNode - url: "+url); 217 if (url.equals(sTree.m_url)) 226 * Get the source tree from the a base URL and a URL string. 229 * @param urlString An absolute or relative URL string. 235 * @throws TransformerException If the URL can not resolve to a node [all...] |
/libcore/luni/src/test/java/tests/api/java/security/ |
PermissionCollectionTest.java | 23 import java.net.URL; 82 URL classURL = codeSource.getLocation(); 88 URL signedBKS = getResourceURL("PermissionCollection/signedBKS.jar"); 89 URL keystoreBKS = getResourceURL("PermissionCollection/keystore.bks"); 272 public static URL getResourceURL(String name) { 274 URL url = ClassLoader.getSystemClassLoader().getResource(name); local 276 if (url == null) { 277 throw new RuntimeException("Failed to get resource url: " + name); 280 return url; [all...] |
/packages/apps/Launcher2/src/com/android/launcher2/ |
LauncherProvider.java | [all...] |
/external/webkit/WebCore/inspector/front-end/ |
inspector.js | [all...] |
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/net/ |
URLConnectionTest.java | 54 import java.net.URL; 91 private URL fileURL; 95 private URL jarURL; 99 private URL gifURL; 126 MockURLConnection u = new MockURLConnection(new URL( 161 MockURLConnection u = new MockURLConnection(new URL( 200 MockURLConnection u = new MockURLConnection(new URL( 224 MockURLConnection u = new MockURLConnection(new URL( 237 public MockURLConnection(URL url) { [all...] |
/external/nist-sip/java/gov/nist/javax/sip/parser/ |
StringMsgParser.java | 55 * when you have an entire SIP message or SIPHeader or SIP URL in memory and you 488 * Parse a SIP url from a string and return a URI structure for it. 490 * @param url 497 public SipUri parseSIPUrl(String url) throws ParseException { 499 return new URLParser(url).sipURL(true); 501 throw new ParseException(url + " Not a SIP URL ", 0); 508 * @param url 515 public GenericURI parseUrl(String url) throws ParseException { 516 return new URLParser(url).parse() [all...] |
/external/webkit/WebCore/bindings/v8/ |
V8DOMWindowShell.cpp | 357 // Note: we check the loader URL here instead of the document URL 358 // because we might be currently loading an URL into a blank page. 360 if (extensions[i].scheme.length() > 0 && (extensions[i].scheme != m_frame->loader()->activeDocumentLoader()->url().protocol() || extensions[i].scheme != m_frame->page()->mainFrame()->loader()->activeDocumentLoader()->url().protocol())) 572 KURL url = completeURL(relativeURL); 573 if (url.isNull()) 579 navigateIfAllowed(frame, url, false, false);
|
/external/webkit/WebKit/chromium/src/ |
WebPageSerializerImpl.cpp | 49 // "document.write('<base href="http://www.yahoo.com/"...');" to setup base URL 65 // URL. Based on this behavior, when we encounter a base tag, we comment it and 67 // The new added base tag can help engine to locate correct base URL for 75 // override the incorrect base URL and make sure we alway load correct local 455 KURL url = links[i]; local 456 ASSERT(!m_localLinks.contains(url.string())); 457 m_localLinks.set(url.string(), localPaths[i]); 500 KURL mainPageURL = m_specifiedWebFrameImpl->frame()->loader()->url(); 509 // Get current frame's URL. 510 const KURL& currentFrameURL = currentFrame->frame()->loader()->url(); [all...] |
/external/webkit/WebKitTools/Scripts/ |
bisect-builds | 101 print STDERR "Usage: " . basename($0) . " [options] [url]\n"; 206 my ($url) = @_; 208 return undef if !$url; 216 print $fh "<meta http-equiv=\"refresh\" content=\"0; $url\">\n"; 316 my ($revision, $timestamp, $url) = split(/,/, $line); 317 my $nightly = basename($url);
|
/external/webkit/WebCore/bindings/js/ |
JSDOMBinding.cpp | 597 JSValue jsString(ExecState* exec, const KURL& url) 599 return jsString(exec, url.string()); 602 JSValue jsStringOrNull(ExecState* exec, const KURL& url) 604 if (url.isNull()) 606 return jsString(exec, url.string()); 609 JSValue jsStringOrUndefined(ExecState* exec, const KURL& url) 611 if (url.isNull()) 613 return jsString(exec, url.string()); 616 JSValue jsStringOrFalse(ExecState* exec, const KURL& url) 618 if (url.isNull() [all...] |
JSDOMWindowCustom.cpp | 507 KURL url = completeURL(exec, value.toString(exec)); local 508 if (url.isNull()) 514 if (!protocolIsJavaScript(url) || allowsAccessFrom(exec)) { 516 frame->redirectScheduler()->scheduleLocationChange(url, lexicalFrame->loader()->outgoingReferrer(), !lexicalFrame->script()->anyPageIsProcessingUserGesture(), false, processingUserGesture(exec)); 663 Frame* openerFrame, const String& url, const String& frameName, 684 // FIXME: It's much better for client API if a new window starts with a URL, here where we 685 // know what URL we are going to open. Unfortunately, this code passes the empty string 686 // for the URL, but there's a reason for that. Before loading we have to set up the opener, 687 // openedByDOM, and dialogArguments values. Also, to decide whether to use the URL we currently 689 // We'd have to resolve all those issues to pass the URL instead of "" 805 String url = valueToStringWithUndefinedOrNullCheck(exec, args.at(0)); local [all...] |
/external/webkit/WebKit/win/WebCoreSupport/ |
WebFrameLoaderClient.cpp | 293 void WebFrameLoaderClient::dispatchWillPerformClientRedirect(const KURL& url, double delay, double fireDate) 298 frameLoadDelegate->willPerformClientRedirectToURL(webView, BString(url.string()), delay, MarshallingHelpers::CFAbsoluteTimeToDATE(fireDate), m_webFrame); 660 void WebFrameLoaderClient::setTitle(const String& title, const KURL& url) 667 BString urlBSTR(url.string()); 685 if (FAILED(history->itemForURL(BString(url.string()), &item))) 731 PassRefPtr<Frame> WebFrameLoaderClient::createFrame(const KURL& url, const String& name, HTMLFrameOwnerElement* ownerElement, 734 RefPtr<Frame> result = createFrame(url, name, ownerElement, referrer); 740 PassRefPtr<Frame> WebFrameLoaderClient::createFrame(const KURL& URL, const String& name, HTMLFrameOwnerElement* ownerElement, const String& referrer) 753 coreFrame->loader()->loadURLIntoChildFrame(URL, referrer, childFrame.get()); 815 ResourceError resourceError(String(WebKitErrorDomain), errorCode, pluginView->url().string(), String()) [all...] |
/external/webkit/WebCore/loader/archive/cf/ |
LegacyWebArchive.cpp | 90 // Resource URL cannot be null 91 RetainPtr<CFStringRef> cfURL(AdoptCF, resource->url().string().createCFString()); 95 LOG(Archives, "LegacyWebArchive - NULL resource URL is invalid - returning null property list"); 206 CFStringRef url = static_cast<CFStringRef>(CFDictionaryGetValue(dictionary, LegacyWebArchiveResourceURLKey)); local 207 if (url && CFGetTypeID(url) != CFStringGetTypeID()) { 208 LOG(Archives, "LegacyWebArchive - URL is not of type CFString, cannot create invalid resource"); 236 return ArchiveResource::create(SharedBuffer::create(CFDataGetBytePtr(resourceData), CFDataGetLength(resourceData)), KURL(ParsedURLString, url), mimeType, textEncoding, frameName, response); 487 KURL responseURL = response.url(); 489 // it's possible to have a response without a URL her [all...] |
/frameworks/base/media/libmedia/ |
mediaplayer.cpp | 134 const char *url, const KeyedVector<String8, String8> *headers) 136 LOGV("setDataSource(%s)", url); 138 if (url != NULL) { 142 service->create(getpid(), this, url, headers, mAudioSessionId)); 658 /*static*/ sp<IMemory> MediaPlayer::decode(const char* url, uint32_t *pSampleRate, int* pNumChannels, int* pFormat) 660 LOGV("decode(%s)", url); 664 p = service->decode(url, pSampleRate, pNumChannels, pFormat);
|
/libcore/luni/src/main/java/org/apache/xml/utils/ |
DOMHelper.java | 1131 String url = ""; local [all...] |
/external/webkit/WebKit/chromium/src/js/ |
Tests.js | 296 if (!resource || !resource.url) 298 if (resource.url.search("image.html$") !== -1) { 305 } else if (resource.url.search("image.png") !== -1) { 504 var url = parsed[id].getUrl(); 505 if (url && url.search("debugger_test_page.html$") !== -1) { 613 function(view, url) { 617 test.waitForSetBreakpointResponse_(url, breakpointLine, 786 test.assertTrue(-1 !== pageScriptIndex, "Script with url " + scriptName + " not found among " + test.optionsToString_(options)); 796 test.assertTrue(!!scriptResource.url, "Resource URL is null.") [all...] |
/external/libxml2/ |
xinclude.c | 53 xmlChar *URI; /* the fully resolved resource URL */ 76 xmlChar * url; /* the current URL processed */ member in struct:_xmlXIncludeCtxt 78 int urlMax; /* size of URL stack */ 79 xmlChar * *urlTab; /* URL stack */ 306 * @value: the url 308 * Pushes a new url on top of the url stack 327 xmlXIncludeErrMemory(ctxt, NULL, "adding URL"); 338 xmlXIncludeErrMemory(ctxt, NULL, "adding URL"); [all...] |
/external/webkit/WebCore/platform/graphics/win/ |
QTMovieWin.cpp | 659 void QTMovieWin::load(const UChar* url, int len, bool preservesPitch) 661 CFStringRef urlStringRef = CFStringCreateWithCharacters(kCFAllocatorDefault, reinterpret_cast<const UniChar*>(url), len); 670 void QTMovieWin::load(CFURLRef url, bool preservesPitch) 672 if (!url) 694 CFStringRef scheme = CFURLCopyScheme(url); 704 if (m_private->m_currentURL != url) { 706 m_private->m_currentURL = url; 707 CFRetain(url); 710 m_private->m_currentURL = url; 711 CFRetain(url); [all...] |
/external/webkit/WebKit/mac/WebView/ |
WebDataSource.mm | 169 - (NSFileWrapper *)_fileWrapperForURL:(NSURL *)URL 171 if ([URL isFileURL]) { 172 NSString *path = [[URL path] stringByResolvingSymlinksInPath]; 176 WebResource *resource = [self subresourceForURL:URL]; 180 NSCachedURLResponse *cachedResponse = [[self _webView] _cachedResponseForURL:URL]; 288 DOMDocumentFragment *fragment = [[self webFrame] _documentFragmentWithMarkupString:markupString baseURLString:[[mainResource URL] _web_originalDataAsString]]; 318 // FIXME: calling _web_originalDataAsString on a file URL returns an absolute path. Workaround this. 319 NSURL *URL = [resource URL]; 320 [imageElement setAttribute:@"src" value:[URL isFileURL] ? [URL absoluteString] : [URL _web_originalDataAsString]] [all...] |
/external/webkit/WebKitTools/DumpRenderTree/gtk/ |
DumpRenderTree.cpp | 101 static gchar* autocorrectURL(const gchar* url) 103 if (strncmp("http://", url, 7) != 0 && strncmp("https://", url, 8) != 0) { 105 g_string_append(string, url); 109 return g_strdup(url); 447 // Look for "'" as a separator between the path or URL, and the pixel dump hash that follows. 457 gchar* url = autocorrectURL(pathOrURL.c_str()); local 458 const string testURL(url); 498 webkit_web_view_open(webView, url); 500 g_free(url); [all...] |
/frameworks/base/media/libstagefright/rtsp/ |
MyHandler.h | 94 MyHandler(const char *url, const sp<ALooper> &looper) 99 mSessionURL(url), 552 // XXX should use aggregate url from SDP here... 945 CHECK(GetAttribute((*it).c_str(), "url", &val)); 1039 AString url; local [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/descriptors/ |
DescriptorsUtils.java | 53 * This is NOT a complete URL. To be used, it needs to be appended 478 * @param androidDocBaseUrl The base URL for the documentation. Cannot be null. Should be 535 // TODO specialize with a base URL for views, menus & other resources 537 // by the element SDK URL if it exists. 542 String url = null; 545 // If base looks an URL, use it, with the optional anchor 546 url = base; 548 // If the base URL already has an anchor, it needs to be 550 int pos = url.lastIndexOf('#'); 552 url += "#"; //$NON-NLS-1 [all...] |
/external/emma/core/java12/com/vladium/emma/data/ |
DataFactory.java | 26 import java.net.URL; 116 public static IMetaData readMetaData (final URL url) 123 oin = new ObjectInputStream (new BufferedInputStream (url.openStream (), 32 * 1024)); 140 public static void writeMetaData (final IMetaData data, final URL url) 143 final URLConnection connection = url.openConnection (); 160 public static ICoverageData readCoverageData (final URL url) 167 oin = new ObjectInputStream (new BufferedInputStream (url.openStream (), 32 * 1024)) [all...] |
/external/qemu/distrib/sdl-1.2.12/src/main/macosx/ |
SDLMain.m | 90 CFURLRef url = CFBundleCopyBundleURL(CFBundleGetMainBundle()); 91 CFURLRef url2 = CFURLCreateCopyDeletingLastPathComponent(0, url); 95 CFRelease(url);
|