HomeSort by relevance Sort by last modified time
    Searched refs:URL (Results 376 - 400 of 1264) sorted by null

<<11121314151617181920>>

  /external/libxml2/
check-relaxng-test-suite.py 45 def resolver(URL, ID, ctxt):
48 if string.find(URL, '#') != -1:
49 URL = URL[0:string.find(URL, '#')]
50 if resources.has_key(URL):
51 return(StringIO.StringIO(resources[URL]))
52 log.write("Resolver failure: asked %s\n" % (URL))
207 # resource handling: keep a dictionary of URL->string mappings
xinclude.c 55 xmlChar *URI; /* the fully resolved resource URL */
78 xmlChar * url; /* the current URL processed */ member in struct:_xmlXIncludeCtxt
80 int urlMax; /* size of URL stack */
81 xmlChar * *urlTab; /* URL stack */
308 * @value: the url
310 * Pushes a new url on top of the url stack
329 xmlXIncludeErrMemory(ctxt, NULL, "adding URL");
340 xmlXIncludeErrMemory(ctxt, NULL, "adding URL");
    [all...]
  /external/okhttp/okhttp-android-support/src/test/java/com/squareup/okhttp/internal/huc/
CacheAdapterTest.java 32 import java.net.URL;
80 final URL serverUrl = configureServer(new MockResponse());
102 final URL serverUrl = configureHttpsServer(new MockResponse());
129 final URL serverUrl = configureServer(
169 final URL serverUrl = configureServer(
207 final URL serverUrl = configureHttpsServer(new MockResponse());
252 private URL configureServer(MockResponse mockResponse) throws Exception {
258 private URL configureHttpsServer(MockResponse mockResponse) throws Exception {
  /frameworks/base/packages/services/PacProcessor/src/com/android/pacprocessor/
PacService.java 29 import java.net.URL;
73 public String resolvePacFile(String host, String url) throws RemoteException {
78 if (url == null) {
79 throw new IllegalArgumentException("The URL must not be null");
82 new URL(url);
88 return mPacNative.makeProxyRequest(url, host);
90 throw new IllegalArgumentException("Invalid URL was passed");
  /frameworks/opt/car/setupwizard/library/tests/robotests/src/com/android/car/setupwizardlib/robolectric/
CarSetupWizardLibRobolectricTestRunner.java 28 import java.net.URL;
59 return new ResourcePath(null, Fs.fromURL(new URL(filePath)), null);
  /sdk/eclipse/plugins/com.android.ide.eclipse.ndk/src/com/android/ide/eclipse/ndk/internal/
Activator.java 28 import java.net.URL;
80 public static URL findFile(IPath path) {
  /external/curl/docs/cmdline-opts/
remote-name.d 12 The remote file name to use for saving is extracted from the given URL,
18 There is no URL decoding done on the file name. If it has %20 or other URL
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/serializable/
CompatibilityTest.java 20 import java.net.URL;
111 // Get the URL to an actual resource and then compute the URL to the directory just in
113 URL dataURL = getClass().getResource("data" + ACTUAL_RESOURCE);
115 dataURL = new URL(dataURL.toExternalForm().replace(ACTUAL_RESOURCE, ""));
131 private List<FileHolder> getFileList(URL dataURL) throws IOException {
162 private List<FileHolder> getJarList(URL jarURL) throws IOException {
177 jarURL = new URL(urlAsString.substring(0, ix + 2));
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/serializable/
CompatibilityTest.java 19 import java.net.URL;
108 // Get the URL to an actual resource and then compute the URL to the directory just in
110 URL dataURL = getClass().getResource("data" + ACTUAL_RESOURCE);
112 dataURL = new URL(dataURL.toExternalForm().replace(ACTUAL_RESOURCE, ""));
128 private List<FileHolder> getFileList(URL dataURL) throws IOException {
159 private List<FileHolder> getJarList(URL jarURL) throws IOException {
174 jarURL = new URL(urlAsString.substring(0, ix + 2));
  /external/tensorflow/tensorflow/go/
example_inception_inference_test.go 222 const URL = "https://storage.googleapis.com/download.tensorflow.org/models/inception5h.zip"
231 log.Println("Did not find model in", dir, "downloading from", URL)
235 if err := download(URL, zipfile); err != nil {
236 return "", "", fmt.Errorf("failed to download %v - %v", URL, err)
254 func download(URL, filename string) error {
255 resp, err := http.Get(URL)
  /frameworks/base/media/java/android/media/
Media2HTTPConnection.java 29 import java.net.URL;
49 private URL mURL = null;
77 mURL = new URL(uri);
149 private static final boolean isLocalHost(URL url) {
150 if (url == null) {
154 String host = url.getHost();
179 URL url = mURL; local
182 boolean noProxy = isLocalHost(url);
    [all...]
  /libcore/dom/src/test/java/org/w3c/domts/
DOMTest.java 20 import java.net.URL;
79 private URL resolveURI(String baseURI) throws DOMTestLoadException {
82 URL resolvedURI = null;
84 resolvedURI = new URL(docURI);
93 // build a URL for a test file in the JAR
105 resolvedURI = new URL(docURI);
176 URL url = tempFile.toURL(); local
177 return url.toString();
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/
GZIPInputStreamTest.java 26 import java.net.URL;
68 final URL gInput = new File(resources.toString() + "/hyts_gInput.txt.gz").toURL();
96 final URL gInput = new File(resources.toString() + "/hyts_gInput.txt.gz").toURL();
114 final URL jarInput = new File(resources.toString() + "/hyts_checkInput.txt").toURL();
138 final URL gInput = new File(resources.toString() + "/hyts_gInput.txt.gz").toURL();
254 final URL gInput = new File(resources.toString() + "/hyts_gInput.txt.gz").toURL();
  /libcore/luni/src/main/java/javax/xml/xpath/
XPathFactoryFinder.java 27 import java.net.URL;
200 for (URL resource : createServiceFileIterator()) {
326 private Iterable<URL> createServiceFileIterator() {
328 URL resource = XPathFactoryFinder.class.getClassLoader().getResource(SERVICE_ID);
332 Enumeration<URL> e = classLoader.getResources(SERVICE_ID);
367 URL it = loader.getResource(classnameAsResource);
  /libcore/luni/src/test/java/tests/org/w3c/dom/
DOMTestCase.java 4 import java.net.URL;
21 public Document load(URL url, DocumentBuilder builder) {
27 doc = builder.parse(url.openStream());
51 private URL resolveURI(String baseURI) {
54 URL resolvedURI = null;
56 resolvedURI = new URL(docURI);
64 // build a URL for a test file in the JAR
75 resolvedURI = new URL(docURI);
185 // Jar URL's will have any actual path like file:/c:/somedrive..
    [all...]
  /libcore/ojluni/src/main/java/sun/net/www/protocol/jar/
URLJarFile.java 45 /* URL jar file is a common JarFile subtype used for JarURLConnection */
64 static JarFile getJarFile(URL url) throws IOException {
65 return getJarFile(url, null);
68 static JarFile getJarFile(URL url, URLJarFileCloseController closeController) throws IOException {
69 if (isFileURL(url))
70 return new URLJarFile(url, closeController);
72 return retrieve(url, closeController);
93 private URLJarFile(URL url, URLJarFileCloseController closeController) throws IOException
    [all...]
  /packages/apps/Dialer/java/com/android/incallui/calllocation/impl/
HttpFetcher.java 35 import java.net.URL;
50 * Send a http request to the given url.
52 * @param urlString The url to request.
61 URL url = reWriteUrl(context, urlString); local
62 if (url == null) {
71 conn = (HttpURLConnection) url.openConnection();
92 handleBadResponse(url.toString(), baos.toByteArray());
113 * Send a http request to the given url.
123 URL url = reWriteUrl(context, urlString) local
    [all...]
  /prebuilts/go/darwin-x86/doc/articles/wiki/
final-template.go 34 title := r.URL.Path[len("/edit/"):]
43 title := r.URL.Path[len("/view/"):]
49 title := r.URL.Path[len("/save/"):]
part3-errorhandling.go 39 title := r.URL.Path[len("/view/"):]
49 title := r.URL.Path[len("/edit/"):]
58 title := r.URL.Path[len("/save/"):]
  /prebuilts/go/linux-x86/doc/articles/wiki/
final-template.go 34 title := r.URL.Path[len("/edit/"):]
43 title := r.URL.Path[len("/view/"):]
49 title := r.URL.Path[len("/save/"):]
part3-errorhandling.go 39 title := r.URL.Path[len("/view/"):]
49 title := r.URL.Path[len("/edit/"):]
58 title := r.URL.Path[len("/save/"):]
  /prebuilts/go/darwin-x86/src/net/http/
client_test.go 23 "net/url"
76 r, err := c.Get(ts.URL)
97 r, err := cst.c.Head(cst.ts.URL)
120 url := "http://dummy.faketld/"
121 client.Get(url) // Note: doesn't hit network
125 if tr.req.URL.String() != url {
126 t.Errorf("expected URL %q; got %q", url, tr.req.URL.String()
    [all...]
  /prebuilts/go/linux-x86/src/net/http/
client_test.go 23 "net/url"
76 r, err := c.Get(ts.URL)
97 r, err := cst.c.Head(cst.ts.URL)
120 url := "http://dummy.faketld/"
121 client.Get(url) // Note: doesn't hit network
125 if tr.req.URL.String() != url {
126 t.Errorf("expected URL %q; got %q", url, tr.req.URL.String()
    [all...]
  /prebuilts/go/darwin-x86/src/html/template/
url.go 14 // case it defangs the entire URL.
33 // explicitly indicate that such a URL is expected and safe by encapsulating it
34 // in a template.URL value.
46 // isSafeUrl is true if s is a relative URL or if URL has a protocol in
59 // urlEscaper produces an output that can be embedded in a URL query.
65 // urlNormalizer normalizes URL content so it can be embedded in a quote-delimited
66 // string or parenthesis delimited url(...).
75 // a valid hierarchical or opaque URL part.
88 // processUrlOnto appends a normalized URL corresponding to its input to
    [all...]
  /prebuilts/go/linux-x86/src/html/template/
url.go 14 // case it defangs the entire URL.
33 // explicitly indicate that such a URL is expected and safe by encapsulating it
34 // in a template.URL value.
46 // isSafeUrl is true if s is a relative URL or if URL has a protocol in
59 // urlEscaper produces an output that can be embedded in a URL query.
65 // urlNormalizer normalizes URL content so it can be embedded in a quote-delimited
66 // string or parenthesis delimited url(...).
75 // a valid hierarchical or opaque URL part.
88 // processUrlOnto appends a normalized URL corresponding to its input to
    [all...]

Completed in 903 milliseconds

<<11121314151617181920>>