/external/lldb/source/Host/macosx/cfcpp/ |
CFCBundle.cpp | 23 CFCBundle::CFCBundle(CFURLRef url) : 24 CFCReleaser<CFBundleRef>(url ? CFBundleCreate(NULL, url) : NULL) 42 // Release our old bundle and URL 50 // Make our Bundle URL
|
/external/okhttp/benchmarks/src/main/java/com/squareup/okhttp/benchmarks/ |
NettyHttpClient.java | 44 import java.net.URL; 57 private final Deque<URL> backlog = new ArrayDeque<>(); 92 @Override public void enqueue(URL url) throws Exception { 100 backlog.add(url); // Enqueue this for later, to be picked up when another request completes. 105 Channel channel = bootstrap.connect(url.getHost(), Util.getEffectivePort(url)) 109 httpChannel.sendRequest(url); 122 URL url; local [all...] |
/external/okhttp/samples/guide/src/main/java/com/squareup/okhttp/guide/ |
PostExample.java | 16 String post(String url, String json) throws IOException { 19 .url(url)
|
/external/okhttp/samples/guide/src/main/java/com/squareup/okhttp/recipes/ |
LoggingInterceptors.java | 35 request.url(), chain.connection(), request.headers())); 40 request.url(), (t2 - t1) / 1e6d, response.headers())); 48 .url("https://publicobject.com/helloworld.txt")
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
CookieManagerTest.java | 23 String url = "http://www.google.com"; local 25 cookieManager.setCookie(url, value); 26 assertThat(cookieManager.getCookie(url), is(value));
|
/frameworks/av/media/libstagefright/httplive/ |
HTTPDownloader.cpp | 70 * | `url` file |<--------- buffer size --------->|<--- `block_size` -->| | | 80 const char *url, sp<ABuffer> *out, 92 if (!strncasecmp(url, "file://", 7)) { 93 mDataSource = new FileSource(url + 7); 94 } else if (strncasecmp(url, "http://", 7) 95 && strncasecmp(url, "https://", 8)) { 111 status_t err = mHTTPDataSource->connect(url, &headers); 203 *actualUrl = url; 211 const char *url, sp<ABuffer> *out, String8 *actualUrl) { 212 ssize_t err = fetchBlock(url, out, 0, -1, 0, actualUrl, true /* reconnect */) [all...] |
/frameworks/base/core/java/android/content/ |
ContentProviderNative.java | 83 Uri url = Uri.CREATOR.createFromParcel(data); local 112 Cursor cursor = query(callingPkg, url, projection, selection, selectionArgs, 148 Uri url = Uri.CREATOR.createFromParcel(data); local 149 String type = getType(url); 160 Uri url = Uri.CREATOR.createFromParcel(data); local 163 Uri out = insert(callingPkg, url, values); 173 Uri url = Uri.CREATOR.createFromParcel(data); local 176 int count = bulkInsert(callingPkg, url, values); 202 Uri url = Uri.CREATOR.createFromParcel(data); local 206 int count = delete(callingPkg, url, selection, selectionArgs) 217 Uri url = Uri.CREATOR.createFromParcel(data); local 233 Uri url = Uri.CREATOR.createFromParcel(data); local 256 Uri url = Uri.CREATOR.createFromParcel(data); local 293 Uri url = Uri.CREATOR.createFromParcel(data); local 306 Uri url = Uri.CREATOR.createFromParcel(data); local 339 Uri url = Uri.CREATOR.createFromParcel(data); local 351 Uri url = Uri.CREATOR.createFromParcel(data); local [all...] |
/frameworks/opt/bitmap/sample/src/com/example/bitmapsample/ |
BitmapRequestKeyImpl.java | 24 import java.net.URL; 28 public final URL mUrl; 34 URL url = null; local 36 url = new URL(uriString); 40 mUrl = url;
|
/libcore/luni/src/test/java/libcore/java/net/ |
OldURLStreamHandlerTest.java | 24 import java.net.URL; 35 URL url1 = new URL("ftp://test_url/test?a=b&c=%D0+%D1"); 36 URL url2 = new URL("http://test_url/test?a=b&c=%D0+%D1"); 39 new URL("http://test_url+/test?a=b&c=%D0+%D1"); 55 URL url1 = new URL("ftp://test_url/test?a=b&c=%D0+%D1"); 58 URL url2 = new URL("http://test:pwd@fakehostname.fakedomain/test?a=b&c=%D0+%D1") 108 URL url = new URL("http:\/\/test.org"); local 134 URL url = new URL("http:\/\/test.org"); local 144 URL url = new URL("http:\/\/test.org"); local [all...] |
/packages/apps/Browser/src/com/android/browser/ |
UrlInputView.java | 49 * url/search input view 226 private void finishInput(String url, String extra, String source) { 230 if (TextUtils.isEmpty(url)) { 233 if (mIncognitoMode && isSearch(url)) { 242 url = engineInfo.getSearchUriForQuery(url); 245 mListener.onAction(url, extra, source); 250 String url = UrlUtils.fixUrl(inUrl).trim(); local 251 if (TextUtils.isEmpty(url)) return false; 253 if (Patterns.WEB_URL.matcher(url).matches( [all...] |
PreloadRequestReceiver.java | 97 String url = UrlUtils.smartUrlFilter(i.getData()); local 111 if (LOGD_ENABLED) Log.d(LOGTAG, "Got " + id + " preload request for " + url); 112 if (url != null && url.startsWith("http")) { 124 if (url != null) { 126 Log.d(LOGTAG, "Preload request(" + id + ", " + url + ", " + 129 Preloader.getInstance().handlePreloadRequest(id, url, headers, sbQuery);
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
PlainTextEditText.java | 56 // of code looks for that edge case and replaces it with the url for the image. 67 final String url = item.getText().toString(); local 68 sb.replace(selectionStartPrePaste, selectionStart, url); 70 selectionStart = selectionStartPrePaste + url.length();
|
/external/chromium-trace/trace-viewer/third_party/Paste/paste/ |
request.py | 17 * resolve_relative_url(url, environ) 209 """Reconstructs the URL from the WSGI environment. 215 url = environ['wsgi.url_scheme']+'://' 228 url += host 230 url += ':%s' % port 232 url += environ['SERVER_NAME'] 235 url += ':' + environ['SERVER_PORT'] 238 url += ':' + environ['SERVER_PORT'] 241 url += quote(environ.get('SCRIPT_NAME','')) 243 url += quote(script_name [all...] |
/cts/tests/tests/webkit/src/android/webkit/cts/ |
WebChromeClientTest.java | 78 String url = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); local 79 mOnUiThread.loadUrlAndWaitForCompletion(url); 97 String url = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); local 98 mOnUiThread.loadUrlAndWaitForCompletion(url); 132 String url = mWebServer.getAssetUrl(TestHtmlConstants.HELLO_WORLD_URL); local 133 mOnUiThread.loadUrlAndWaitForCompletion(url); 240 String url = mWebServer.getAssetUrl(TestHtmlConstants.JS_ALERT_URL); local 241 mOnUiThread.loadUrlAndWaitForCompletion(url); 265 String url = mWebServer.getAssetUrl(TestHtmlConstants.JS_CONFIRM_URL); local 266 mOnUiThread.loadUrlAndWaitForCompletion(url); 292 String url = mWebServer.getAssetUrl(TestHtmlConstants.JS_PROMPT_URL); local [all...] |
/external/clang/tools/scan-view/ |
scan-view | 25 def url_is_up(url): 27 o = urllib.urlopen(url) 36 url = 'http://%s:%d'%(options.host, port) 43 if url_is_up(url): 54 webbrowser.open(url)
|
/external/deqp/scripts/khr_util/ |
registry_cache.py | 61 def fetchUrl (url): 62 req = urllib2.urlopen(url) 66 def fetchFile (dstPath, url, checksum): 75 print "Fetching %s" % url 76 data = fetchUrl(url)
|
/external/libvpx/libvpx/test/android/ |
get_files.py | 25 url = '' variable 43 # Downloads a file from a url, and then checks the sha against the passed 45 def download_and_check_sha(url, filename, sha): 49 curl.setopt(pycurl.URL, url + "/" + filename) 68 "u:i:o:", ["url=", "input_csv=", "output_dir="]) 70 print 'get_files.py -u <url> -i <input_csv> -o <output_dir>' 75 url = arg variable 82 print "Expects two paths and a url!" 115 if not download_and_check_sha(url, filename, sha) [all...] |
/external/oauth/core/src/main/java/net/oauth/client/ |
URLConnectionClient.java | 23 import java.net.URL; 49 final URL url = request.url; local 50 final URLConnection connection = url.openConnection(); 59 headers.append(" ").append(url.getPath()); 60 String query = url.getQuery();
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/test/android/ |
get_files.py | 25 url = '' variable 43 # Downloads a file from a url, and then checks the sha against the passed 45 def download_and_check_sha(url, filename, sha): 49 curl.setopt(pycurl.URL, url + "/" + filename) 68 "u:i:o:", ["url=", "input_csv=", "output_dir="]) 70 print 'get_files.py -u <url> -i <input_csv> -o <output_dir>' 75 url = arg variable 82 print "Expects two paths and a url!" 115 if not download_and_check_sha(url, filename, sha) [all...] |
/prebuilts/misc/darwin-x86/analyzer/tools/scan-view/ |
scan-view | 25 def url_is_up(url): 27 o = urllib.urlopen(url) 36 url = 'http://%s:%d'%(options.host, port) 43 if url_is_up(url): 54 webbrowser.open(url)
|
/prebuilts/misc/linux-x86/analyzer/tools/scan-view/ |
scan-view | 25 def url_is_up(url): 27 o = urllib.urlopen(url) 36 url = 'http://%s:%d'%(options.host, port) 43 if url_is_up(url): 54 webbrowser.open(url)
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/ |
CallTest.java | 36 import java.net.URL; 113 .url(server.getUrl("/")) 134 .url("foo://bar?baz") 137 .url(server.getUrl("/")) 149 .url("ftp://hostname/path") 159 .url("http://localhost:65536/") 162 callback.await(request.url()) 170 .url(server.getUrl("/")) 202 .url(server.getUrl("/")) 232 .url(server.getUrl("/") [all...] |
/external/javasqlite/src/main/java/SQLite/ |
JDBCDriver.java | 85 public boolean acceptsURL(String url) throws SQLException { 86 return url.startsWith("sqlite:/") || 87 url.startsWith("jdbc:sqlite:/"); 90 public Connection connect(String url, Properties info) 92 if (!acceptsURL(url)) { 96 args[0] = url; 127 public DriverPropertyInfo[] getPropertyInfo(String url, Properties info)
|
/packages/apps/Browser/tests/src/com/android/browser/ |
IntentHandlerTests.java | 108 * Simulate clicking a link by loading a URL directly on the WebView, 112 private void directlyLoadUrl(final Tab tab, final String url) throws Throwable { 117 web.loadUrl(url); 120 waitForLoadStart(tab, url); 123 void waitForLoadStart(final Tab tab, final String url) throws InterruptedException { 125 while (!TextUtils.equals(tab.getOriginalUrl(), url)) { 153 String url = intent.getDataString(); local 155 waitForLoadStart(tab, url);
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/distutils/tests/ |
test_upload.py | 44 def __init__(self, url): 45 self.url = url 46 if not isinstance(url, str): 47 self.req = url 68 def _urlopen(self, url): 69 self.last_open = FakeOpen(url)
|