/external/icu4c/i18n/ |
vzone.cpp | 52 vzone_getTZURL(VZone* zone, UChar* & url, int32_t & urlLength) { 57 memcpy(url,s.getBuffer(),urlLength); 63 vzone_setTZURL(VZone* zone, UChar* url, int32_t urlLength) { 64 UnicodeString s(urlLength==-1, url, urlLength); 65 return ((VTimeZone*)zone)->VTimeZone::setTZURL(url);
|
/external/webkit/WebCore/loader/ |
SubresourceLoader.cpp | 77 && !SecurityOrigin::canLoad(request.url(), String(), frame->document())) { 78 FrameLoader::reportLocalLoadFailed(frame, request.url().string()); 82 if (SecurityOrigin::shouldHideReferrer(request.url(), fl->outgoingReferrer())) 114 // Store the previous URL because the call to ResourceLoader::willSendRequest will modify it. 115 KURL previousURL = request().url(); 118 if (!previousURL.isNull() && !newRequest.isNull() && previousURL != newRequest.url() && m_client)
|
/external/webkit/WebCore/platform/ |
KURL.h | 66 // Generates a URL which contains a null string. 69 // The argument is an absolute URL string. The string is assumed to be output of KURL::string() called on a valid 75 // Resolves the relative URL with the given base URL. If provided, the 76 // TextEncoding is used to encode non-ASCII characers. The base URL can be 77 // null or empty, in which case the relative URL will be interpreted as 79 // FIXME: If the base URL is invalid, this always creates an invalid 80 // URL. Instead I think it would be better to treat all invalid base URLs 88 // canonicalized the URL. The input must be exactly what KURL would have 107 // Returns true if this URL has a path. Note that "http://foo.com/" has [all...] |
KURLGoogle.cpp | 201 // per HTML5 2.5.3 (resolving URL). The URL canonicalizer will be 222 // When KURL encounters an error such that the URL is invalid and empty 223 // (for example, resolving a relative URL on a non-hierarchical base), it 224 // will produce an isNull URL, and calling setUtf8 will produce an empty 225 // non-null URL. This is unlikely to affect anything, but we preserve this 228 // Without ref, the whole url is guaranteed to be ASCII-only. 296 // KURL returns a NULL string if the URL is itself a NULL string, and an 347 // Creates with NULL-terminated string input representing an absolute URL. 350 KURL::KURL(ParsedURLStringTag, const char *url) 355 m_url.init(KURL(), url, strlen(url), 0); local 371 m_url.init(KURL(), url, 0); local [all...] |
/external/webkit/WebCore/platform/graphics/wince/ |
ImageBufferWince.cpp | 239 Vector<char> url; local 240 url.append(header, strlen(header)); 241 url.append(base64); 243 return String(url.data(), url.size());
|
/external/webkit/WebCore/wml/ |
WMLPageState.cpp | 81 static inline String hostFromURL(const KURL& url) 84 String host = normalizedHostName(url.host()); 94 return item->url(); 108 return childItem->url(); 112 return item->url();
|
/external/webkit/WebKit/mac/WebView/ |
WebResource.mm | 118 - (id)initWithData:(NSData *)data URL:(NSURL *)URL MIMEType:(NSString *)MIMEType textEncodingName:(NSString *)textEncodingName frameName:(NSString *)frameName 120 return [self _initWithData:data URL:URL MIMEType:MIMEType textEncodingName:textEncodingName frameName:frameName response:nil copyData:YES]; 132 NSURL *url = nil; 142 url = object; 160 _private = [[WebResourcePrivate alloc] initWithCoreResource:ArchiveResource::create(SharedBuffer::wrapNSData(data), url, mimeType, textEncoding, frameName, response)]; 170 NSURL *url = nil; 177 url = resource->url(); [all...] |
/frameworks/base/core/java/android/content/ |
ContentResolver.java | 190 * Return the MIME type of the given content URL. 192 * @param url A Uri identifying content (either a list or specific type), 194 * @return A MIME type for the content, or null if the URL is invalid or the type is unknown 196 public final String getType(Uri url) { 197 IContentProvider provider = acquireExistingProvider(url); 200 return provider.getType(url); 210 if (!SCHEME_CONTENT.equals(url.getScheme())) { 215 String type = ActivityManagerNative.getDefault().getProviderMimeType(url); 587 * Inserts a row into a table at the given URL. 591 * @param url The URL of the table to insert into [all...] |
/frameworks/base/media/libstagefright/httplive/ |
M3UParser.cpp | 79 static bool MakeURL(const char *baseURL, const char *url, AString *out) { 84 // Base URL must be absolute 88 if (!strncasecmp("http://", url, 7)) { 89 // "url" is already an absolute URL, ignore base URL. 90 out->setTo(url); 97 out->append(url); 108 out->append(url);
|
/packages/apps/Browser/src/com/android/browser/ |
BrowserProvider.java | 69 "_id", "url", "title", "bookmark", "user_entered" 72 "(url LIKE ? OR url LIKE ? OR url LIKE ? OR url LIKE ?" 235 "url TEXT," + 253 db.execSQL("INSERT INTO bookmarks (title, url, visits, " + 282 db.execSQL("DELETE FROM bookmarks WHERE (bookmark = 0 AND url LIKE \"%.google.%client=ms-%\")"); 369 "bookmark = 1 AND url = ?", new String[] { PICASA_URL }); 373 db.execSQL("INSERT INTO bookmarks (title, url, visits, " 861 c.setNotificationUri(getContext().getContentResolver(), url); local [all...] |
/external/webkit/WebKitTools/DumpRenderTree/win/ |
DumpRenderTree.cpp | 113 void setPersistentUserStyleSheetLocation(CFStringRef url) 115 persistentUserStyleSheetLocation = url; 137 wstring urlSuitableForTestResult(const wstring& url) 139 if (!url.c_str() || url.find(L"file://") == wstring::npos) 140 return url; 142 return PathFindFileNameW(url.c_str()); 473 BSTR url; local 474 if (FAILED(item->URLString(&url))) 477 if (wcsstr(url, L"file:/") == url) 780 BSTR url = SysAllocStringLen(urlCharacters.data(), urlCharacters.size()); local 871 CFURLRef url = CFURLCreateWithString(0, str, 0); local [all...] |
/external/chromium/net/tools/flip_server/ |
loadtime_measurement.h | 36 // of urls in the urls file, get each url, report the loadtime for 37 // each url, and the test is completed. 75 std::vector<std::string> url; local 77 split_string(params[1], '=', &url); 79 loadtimes_[url[1]] = atoi(loadtime[1].c_str());
|
/external/chromium/net/websockets/ |
websocket.h | 64 Request(const GURL& url, const std::string protocol, 67 : url_(url), 76 const GURL& url() const { return url_; } function in class:net::WebSocket::Request
|
/external/webkit/WebCore/bindings/v8/ |
V8Utilities.cpp | 111 // For histoical reasons, we need to complete the URL using the dynamic frame. 118 void navigateIfAllowed(Frame* frame, const KURL& url, bool lockHistory, bool lockBackForwardList) 124 if (!protocolIsJavaScript(url) || ScriptController::isSafeScript(frame)) 125 frame->redirectScheduler()->scheduleLocationChange(url.string(), callingFrame->loader()->outgoingReferrer(), lockHistory, lockBackForwardList, processingUserGesture());
|
/external/webkit/WebCore/bindings/v8/custom/ |
V8WebSocketCustom.cpp | 93 return throwError("Empty URL", V8Proxy::SyntaxError); 100 const KURL& url = context->completeURL(toWebCoreString(urlstring)); local 106 webSocket->connect(url, ec); 112 webSocket->connect(url, toWebCoreString(protocol), ec);
|
/external/webkit/WebCore/platform/network/qt/ |
ResourceHandleQt.cpp | 131 // If credentials were specified for this request, add them to the url, 133 KURL urlWithCredentials(d->m_request.url()); 168 QNetworkCacheMetaData data = cache->metaData(request.url()); 198 // If credentials were specified for this request, add them to the url, 200 KURL urlWithCredentials(d->m_request.url());
|
/external/webkit/WebCore/platform/qt/ |
PasteboardQt.cpp | 140 QString url = _url.string(); local 141 md->setText(url); 142 md->setUrls(QList<QUrl>() << QUrl(url));
|
/external/webkit/WebKit/win/WebCoreSupport/ |
WebDesktopNotificationsDelegate.cpp | 104 *result = BString(m_inner->url()).release(); 175 NotificationPresenter::Permission WebDesktopNotificationsDelegate::checkPermission(const KURL& url, Document*) 178 BString org(SecurityOrigin::create(url)->toString());
|
/external/webkit/WebKit/win/ |
WebError.cpp | 109 /* [in] */ BSTR url) 111 m_error = ResourceError(String(domain, SysStringLen(domain)), code, String(url, SysStringLen(url)), String());
|
/external/webkit/WebKitTools/DumpRenderTree/qt/ |
LayoutTestControllerQt.h | 103 void queueLoad(const QString& url, const QString& target = QString()); 112 QString pathToLocalResource(const QString& url); 148 void setUserStyleSheetLocation(const QString& url);
|
/frameworks/base/media/libmediaplayerservice/ |
StagefrightPlayer.cpp | 35 const char *url, const KeyedVector<String8, String8> *headers) { 36 LOGI("setDataSource('%s')", url); 37 return mPlayer->setDataSource(url, headers);
|
/frameworks/base/media/libstagefright/rtsp/ |
ARTSPConnection.cpp | 54 void ARTSPConnection::connect(const char *url, const sp<AMessage> &reply) { 56 msg->setString("url", url); 117 const char *url, AString *host, unsigned *port, AString *path) { 122 if (strncasecmp("rtsp://", url, 7)) { 126 const char *slashPos = strchr(&url[7], '/'); 129 host->setTo(&url[7]); 132 host->setTo(&url[7], slashPos - &url[7]); 182 AString url; local [all...] |
/frameworks/base/services/java/com/android/server/location/ |
GpsXtraDownloader.java | 109 protected static byte[] doDownload(String url, boolean isProxySet, 111 if (DEBUG) Log.d(TAG, "Downloading XTRA data from " + url); 116 HttpUriRequest req = new HttpGet(url);
|
/libcore/dom/src/test/java/org/w3c/domts/ |
JAXPDOMTestDocumentBuilderFactory.java | 117 public Document load(java.net.URL url) throws DOMTestLoadException { 123 doc = builder.parse(url.openStream(), url.toString());
|
/libcore/luni/src/main/java/java/util/ |
ServiceLoader.java | 22 import java.net.URL; 76 private final Set<URL> services; 86 this.services = new HashSet<URL>(); 193 private final Set<URL> services; 226 for (URL url : services) { 229 reader = new BufferedReader(new InputStreamReader(url.openStream(), "UTF-8")); 250 throw new ServiceConfigurationError("Couldn't read " + url, e);
|