/external/chromium_org/chrome/browser/sync_file_system/local/ |
syncable_file_operation_runner_unittest.cc | 73 file_system_.CreateDirectory(URL(kParent))); 85 FileSystemURL URL(const std::string& path) { 86 return file_system_.URL(path); 153 sync_status()->StartSyncing(URL(kFile)); 154 ASSERT_FALSE(sync_status()->IsWritable(URL(kFile))); 156 // The URL is in syncing so the write operations won't run. 159 URL(kFile), false /* exclusive */, 162 URL(kFile), 1, 169 URL(kFile), ExpectStatus(FROM_HERE, base::PLATFORM_FILE_ERROR_NOT_FOUND)); 174 sync_status()->EndSyncing(URL(kFile)) [all...] |
syncable_file_system_unittest.cc | 69 void VerifyAndClearChange(const FileSystemURL& url, 71 SCOPED_TRACE(testing::Message() << url.DebugString() << 73 // Get the changes for URL and verify. 75 change_tracker()->GetChangesForURL(url, &changes); 77 SCOPED_TRACE(testing::Message() << url.DebugString() << 81 // Clear the URL from the change tracker. 82 change_tracker()->ClearChangesForURL(url); 85 FileSystemURL URL(const std::string& path) { 86 return file_system_.URL(path); 119 file_system_.CreateDirectory(URL("dir"))) [all...] |
/libcore/luni/src/test/java/libcore/java/net/ |
URLStreamHandlerFactoryTest.java | 20 import java.net.URL; 33 for (Field field : URL.class.getDeclaredFields()) { 35 assertNull("URL declares multiple URLStreamHandlerFactory fields", factoryField); 43 fail("URL does not declare a URLStreamHandlerFactory field"); 48 URL.setURLStreamHandlerFactory(oldFactory); 55 URL.setURLStreamHandlerFactory(shf); 56 URL url = new URL("http://android.com/"); local 58 URLConnection connection = url.openConnection() [all...] |
OldURLClassLoaderTest.java | 26 import java.net.URL; 56 * java.net.URLClassLoader#URLClassLoader(java.net.URL[]) 59 URL[] u = new URL[0]; 65 URL [] urls = {new URL("http://foo.com/foo"), 66 new URL("jar:file://foo.jar!/foo.c"), 67 new URL("ftp://foo1/foo2/foo.c")}; 80 new URLClassLoader(new URL[] { null }); 90 Enumeration<URL> res = null 275 String url; local [all...] |
OldJarURLConnectionTest.java | 27 import java.net.URL; 46 private URL createContent(String jarFile, String inFile) 54 return new URL("jar:file:" + file.getPath() + "!/" + inFile); 58 URL u = createContent("lf.jar", "swt.dll"); 63 URL invURL = createContent("InvalidJar.jar", "Test.class"); 75 URL u = createContent("TestCodeSigners.jar", "Test.class"); 88 URL invURL = createContent("InvalidJar.jar", "Test.class"); 100 URL u = createContent("lf.jar", "swt.dll"); 108 URL invURL = createContent("InvalidJar.jar", "Test.class"); 120 URL u = createContent("lf.jar", "plus.bmp") 132 URL url = new URL("jar:file:\/\/\/bar.jar!\/foo.jar!\/Bugs\/HelloWorld.class"); local 160 URL url = createContent("lf.jar", "missing"); local 229 URL url = new URL("jar:file:" + file.getPath() + "!\/HasAttributes.txt"); local 261 URL url = new URL("jar:file:\/\/\/bar.jar!\/foo.jar!\/Bugs\/HelloWorld.class"); local 301 URL url = new URL("jar:file:" + jarFileName + "!\/" + entry); local 314 URL url = new URL("jar:file:" + jarFileName + "!\/" + entry); local [all...] |
/external/doclava/src/com/google/doclava/ |
FederatedSite.java | 24 import java.net.URL; 33 private final URL baseUrl; 36 public FederatedSite(String name, URL baseUrl) throws ApiParseException { 41 URL xmlUrl = new URL(baseUrl + "/xml/current.xml"); 52 public FederatedSite(String name, URL baseUrl, String api) throws ApiParseException { 70 public URL baseUrl() {
|
/libcore/libart/src/main/java/java/lang/ |
VMClassLoader.java | 20 import java.net.URL; 35 static URL getResource(String name) { 41 return new URL(urlStr); 54 static List<URL> getResources(String name) { 55 ArrayList<URL> list = new ArrayList<URL>(); 61 list.add(new URL(urlStr));
|
/libcore/libdvm/src/main/java/java/lang/ |
VMClassLoader.java | 20 import java.net.URL; 35 static URL getResource(String name) { 41 return new URL(urlStr); 54 static List<URL> getResources(String name) { 55 ArrayList<URL> list = new ArrayList<URL>(); 61 list.add(new URL(urlStr));
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/scripts/ |
Fingerprints.js | 4 var idx=document.URL.indexOf("php?"); 6 window.open(document.URL+"?fp_type="+type, "_self"); 8 window.open(document.URL.substring(0,idx)+"php?fp_type="+type, "_self"); 13 var idx=document.URL.indexOf("?"); 16 var typeStr=document.URL.substring(idx+1, document.URL.length);
|
/external/javassist/src/main/javassist/ |
ByteArrayClassPath.java | 19 import java.net.URL; 84 * Obtains the URL. 86 public URL find(String classname) { 91 return new URL("file:/ByteArrayClassPath/" + cname);
|
/libcore/luni/src/main/java/libcore/net/url/ |
FtpHandler.java | 18 package libcore.net.url; 22 import java.net.URL; 28 * Open a URLConnection on the given URL. 31 protected URLConnection openConnection(URL u) throws IOException { 37 * to the FTP server specified by this <code>URL</code>. If 41 * @param url 42 * the URL which the connection is pointing to 45 * @return a connection to the resource pointed by this url. 55 protected URLConnection openConnection(URL url, Proxy proxy) throws IOException [all...] |
FileHandler.java | 18 package libcore.net.url; 22 import java.net.URL; 33 * Returns a connection to the a file pointed by this <code>URL</code> in 36 * @return A connection to the resource pointed by this url. 37 * @param url 38 * URL The URL to which the connection is pointing to 42 public URLConnection openConnection(URL url) throws IOException { 43 return openConnection(url, null) [all...] |
/external/apache-harmony/luni/src/test/impl/common/org/apache/harmony/luni/tests/java/net/ |
URLClassLoaderImplTest.java | 21 import java.net.URL; 28 import libcore.net.url.JarHandler; 36 * @tests java.net.URLClassLoader#URLClassLoader(java.net.URL[], java.lang.ClassLoader, 52 final URL base = getClass().getResource("lf.jar"); 54 final URL[] urls = { base }; 57 final URL res = ucl.findResource("swt.dll");
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/ |
MalformedURLExceptionTest.java | 21 import java.net.URL; 33 new URL("notAProtocol://www.ibm.com");
|
ExcludedProxyTest.java | 27 import java.net.URL; 50 URL u1 = new URL("http://" + Support_Configuration.HomeAddress); 57 URL u3 = new URL("http://localhost"); 67 URL u2 = new URL("http://" 89 URL u4 = new URL("http://" 156 * @tests java.net.URL#openConnection(Proxy [all...] |
/external/chromium_org/third_party/WebKit/Source/core/html/ |
HTMLHtmlElement.idl | 22 [Reflect, TreatNullAs=NullString, URL, PerWorldBindings, ActivityLogging=SetterForIsolatedWorlds, MeasureAs=HTMLHtmlElementManifest] attribute DOMString manifest;
|
HTMLSourceElement.idl | 29 [Reflect, URL, PerWorldBindings, ActivityLogging=SetterForIsolatedWorlds] attribute DOMString src;
|
/external/chromium_org/third_party/WebKit/Source/modules/mediasource/ |
URLMediaSource.idl | 30 partial interface URL {
|
/external/chromium_org/third_party/libxml/src/include/libxml/ |
nanohttp.h | 26 xmlNanoHTTPScanProxy (const char *URL); 28 xmlNanoHTTPFetch (const char *URL, 32 xmlNanoHTTPMethod (const char *URL, 39 xmlNanoHTTPMethodRedir (const char *URL, 47 xmlNanoHTTPOpen (const char *URL, 50 xmlNanoHTTPOpenRedir (const char *URL,
|
/external/libxml2/include/libxml/ |
nanohttp.h | 26 xmlNanoHTTPScanProxy (const char *URL); 28 xmlNanoHTTPFetch (const char *URL, 32 xmlNanoHTTPMethod (const char *URL, 39 xmlNanoHTTPMethodRedir (const char *URL, 47 xmlNanoHTTPOpen (const char *URL, 50 xmlNanoHTTPOpenRedir (const char *URL,
|
/libcore/luni/src/test/java/tests/api/javax/net/ssl/ |
HttpsURLConnectionTest.java | 22 import java.net.URL; 50 new MyHttpsURLConnection(new URL("https://www.fortify.net/")); 58 URL url = new URL("https://localhost:55555"); local 59 HttpsURLConnection connection = (HttpsURLConnection) url.openConnection(); 66 HttpsURLConnection con = new MyHttpsURLConnection(new URL("https://www.fortify.net/")); 74 URL url = new URL("https://localhost:55555") local 126 URL url = new URL("https:\/\/localhost:55555"); local 144 URL url = new URL("https:\/\/localhost:55555"); local 167 URL url = new URL("https:\/\/localhost:55555"); local [all...] |
/libcore/support/src/test/java/tests/support/ |
Support_ClassLoader.java | 19 import java.net.URL; 31 public abstract ClassLoader getClassLoader(URL url, ClassLoader parent); 33 public static ClassLoader getInstance(URL url, ClassLoader parent) { 45 return factory.getClassLoader(url, parent); 68 public ClassLoader getClassLoader(URL url, ClassLoader parent) { 69 return new DexClassLoader(url.getPath(), tmp.getAbsolutePath(), 80 public ClassLoader getClassLoader(URL url, ClassLoader parent) [all...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/ |
PackageTest.java | 21 import java.net.URL; 35 URL resourceURL = new URL("file:/" + resPath + "/Package/" 38 URLClassLoader ucl = new URLClassLoader(new URL[] { resourceURL }, null); 275 * @tests java.lang.Package#isSealed(java.net.URL) 280 .isSealed(new URL("file:/" + resPath + "/"))); 282 .isSealed(new URL("file:/" + resPath + "/Package/hyts_c.jar"))); 300 URL resourceURL1 = new URL("file:/" + resPath + "/Package/hyts_c.jar"); 301 URL resourceURL2 = new URL("file:/" + resPath + "/Package/hyts_d.jar") [all...] |
/libcore/luni/src/main/java/java/net/ |
URLClassLoader.java | 52 * URLs contained in the URL search list. 57 ArrayList<URL> originalUrls; 59 List<URL> searchList; 61 Map<URL, URLHandler> handlerMap = new HashMap<URL, URLHandler>(); 67 private HashMap<String, ArrayList<URL>> map; 71 static IndexFile readIndexFile(JarFile jf, JarEntry indexEntry, URL url) { 76 String parentURLString = getParentURL(url).toExternalForm(); 80 HashMap<String, ArrayList<URL>> pre_map = new HashMap<String, ArrayList<URL>>() 146 URL url; field in class:URLClassLoader.URLHandler 1003 URL url = new URL(new URL(file), element); local [all...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/internal/net/www/protocol/file/ |
FileURLConnectionTest.java | 20 import java.net.URL; 25 import libcore.net.url.FileURLConnection; 34 URL url = ClassLoader.getSystemClassLoader().getResource(resourceName); local 35 assertNotNull("Cannot find test resource " + resourceName, url); 36 return new FileURLConnection(url).getContentType(); 53 URL url = ClassLoader.getSystemClassLoader().getResource(resourceName); local 54 URL anchorUrl = new URL(url,"#anchor") 70 URL url = ClassLoader.getSystemClassLoader().getResource(resourceName); local 91 URL url = ClassLoader.getSystemClassLoader().getResource(resourceName); local [all...] |