Home
last modified time | relevance | path

Searched refs:lastPathComponent (Results 1 – 25 of 51) sorted by relevance

123

/external/webkit/Source/WebCore/loader/mac/
DLoaderNSURLExtras.mm54 // Get the filename from the URL. Try the lastPathComponent first.
55 NSString *lastPathComponent = [[url path] lastPathComponent];
56 NSString *filename = filenameByFixingIllegalCharacters(lastPathComponent);
59 if ([filename length] == 0 || [lastPathComponent isEqualToString:@"/"]) {
60 // lastPathComponent is no good, try the host.
68 … // Save the extension for later correction. Only correct the extension of the lastPathComponent.
/external/webkit/Source/WebKit/mac/Misc/
DWebNSFileManagerExtras.m158 NSString *filename = [[path lastPathComponent] _webkit_filenameByFixingIllegalCharacters];
165 NSString *lastPathComponent = [path lastPathComponent];
166 NSRange periodRange = [lastPathComponent rangeOfString:@"."];
171 extensions = [lastPathComponent substringFromIndex:periodRange.location + 1];
172 lastPathComponent = [lastPathComponent substringToIndex:periodRange.location];
173 …ions = [[path stringByDeletingLastPathComponent] stringByAppendingPathComponent:lastPathComponent];
/external/webkit/Source/WebCore/inspector/front-end/
DApplicationCacheItemsView.js151 var lastPathComponent = applicationCaches.lastPathComponent;
171 … this._treeElement.subtitle = WebInspector.UIString("%s (%s)", lastPathComponent, totalSizeString);
DResource.js132 this.lastPathComponent = "";
143 this.lastPathComponent = path.substring(lastSlashIndex + 1);
145 this.lastPathComponentLowerCase = this.lastPathComponent.toLowerCase();
162 this._displayName = this.lastPathComponent;
Dinspector.js1197 var lastPathComponent = WebInspector.mainResource.lastPathComponent;
1198 var index = WebInspector.mainResource.url.indexOf(lastPathComponent);
1199 if (index !== -1 && index + lastPathComponent.length === WebInspector.mainResource.url.length) {
/external/webkit/Source/WebKit/chromium/tests/
DKURLTest.cpp74 const char* lastPathComponent; in TEST() member
95 EXPECT_EQ(cases[i].lastPathComponent, kurl.lastPathComponent()); in TEST()
109 EXPECT_EQ(cases[i].lastPathComponent, kurl.lastPathComponent()); in TEST()
146 EXPECT_EQ(cases[i].lastPath, kurl.lastPathComponent()); in TEST()
/external/webkit/Tools/DumpRenderTree/win/
DDumpRenderTreeWin.h52 std::wstring lastPathComponent(const std::wstring&);
DResourceLoadDelegate.cpp342 printf("%S has MIME type %S\n", lastPathComponent(url).c_str(), mimeType.c_str()); in didReceiveResponse()
DDumpRenderTree.cpp171 wstring lastPathComponent(const wstring& urlString) in lastPathComponent() function
177 RetainPtr<CFStringRef> lastPathComponent(CFURLCopyLastPathComponent(url.get())); in lastPathComponent() local
179 return cfStringRefToWString(lastPathComponent.get()); in lastPathComponent()
DUIDelegate.cpp489 …newMessage = newMessage.substr(0, fileProtocol) + lastPathComponent(newMessage.substr(fileProtocol… in webViewAddMessageToConsole()
/external/webkit/Source/WebCore/inspector/
DInspectorApplicationCacheAgent.cpp94 value->setString("lastPathComponent", applicationCacheInfo.m_manifest.lastPathComponent()); in buildObjectForApplicationCache()
/external/webkit/Source/WebCore/platform/chromium/
DFileSystemChromiumMac.mm41 return [path lastPathComponent];
DPasteboardChromium.cpp114 title = url.lastPathComponent(); in writeURL()
/external/webkit/Source/WebKit2/UIProcess/Plugins/
DPluginInfoStore.cpp176 String filename = url.lastPathComponent(); in pathExtension()
/external/webkit/Source/WebKit2/WebProcess/WebCoreSupport/mac/
DWebDragClientMac.mm140 title = [[URL path] lastPathComponent];
302 return [NSArray arrayWithObject:[path lastPathComponent]];
/external/webkit/Source/WebCore/platform/
DKURL.h146 String lastPathComponent() const;
/external/webkit/Source/WebCore/platform/mac/
DWebCoreNSStringExtras.mm94 NSString *directoryName = [[path stringByDeletingPathExtension] lastPathComponent];
/external/webkit/Source/WebCore/platform/wince/
DPasteboardWinCE.cpp169 title = url.lastPathComponent(); in writeURL()
/external/webkit/Source/WebCore/platform/win/
DPasteboardWin.cpp177 title = url.lastPathComponent(); in writeURL()
DClipboardWin.cpp145 String lastComponent = kurl.lastPathComponent(); in filesystemPathFromUrlOrTitle()
385 title = url.lastPathComponent(); in writeURL()
/external/webkit/Source/WebCore/html/
DImageDocument.cpp162 String fileName = decodeURLEscapeSequences(document()->url().lastPathComponent()); in finish()
/external/webkit/Source/WebKit2/PluginProcess/mac/
DPluginProcessMac.mm225 … [[(NSString *)parameters.pluginPath lastPathComponent] stringByDeletingPathExtension],
/external/webkit/Source/WebKit/chromium/src/
DFrameLoaderClientImpl.cpp1131 int offset = url.lastPathComponent().toIntStrict(&ok); in shouldGoToHistoryItem()
1500 String filename = url.lastPathComponent(); in objectContentType()
/external/webkit/Tools/DumpRenderTree/mac/
DUIDelegate.mm67 …ation] stringByAppendingString:[[message substringFromIndex:NSMaxRange(range)] lastPathComponent]];
/external/webkit/Source/WebCore/loader/
DMainResourceLoader.cpp334 String filename = r.url().lastPathComponent(); in substituteMIMETypeFromPluginDatabase()

123