Home
last modified time | relevance | path

Searched refs:DOMFilePath (Results 1 – 21 of 21) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/modules/filesystem/
DDOMFilePath.cpp40 const char DOMFilePath::separator = '/';
41 const char DOMFilePath::root[] = "/";
43 String DOMFilePath::append(const String& base, const String& components) in append()
48 String DOMFilePath::ensureDirectoryPath(const String& path) in ensureDirectoryPath()
50 if (!DOMFilePath::endsWithSeparator(path)) in ensureDirectoryPath()
51 return path + DOMFilePath::separator; in ensureDirectoryPath()
55 String DOMFilePath::getName(const String& path) in getName()
57 int index = path.reverseFind(DOMFilePath::separator); in getName()
63 String DOMFilePath::getDirectory(const String& path) in getDirectory()
65 int index = path.reverseFind(DOMFilePath::separator); in getDirectory()
[all …]
DDOMFileSystemBase.cpp134 ASSERT(DOMFilePath::isAbsolute(fullPath)); in createFileSystemURL()
161 if (!DOMFilePath::isAbsolute(path)) in pathToAbsolutePath()
162 path = DOMFilePath::append(base->fullPath(), path); in pathToAbsolutePath()
163 absolutePath = DOMFilePath::removeExtraParentReferences(path); in pathToAbsolutePath()
165 …return (type != FileSystemTypeTemporary && type != FileSystemTypePersistent) || DOMFilePath::isVal… in pathToAbsolutePath()
202 if (!newName.isEmpty() && !DOMFilePath::isValidName(newName)) in verifyAndGetDestinationPathForCopyOrMove()
208 …if (source->isDirectory() && isSameFileSystem && DOMFilePath::isParentOf(source->fullPath(), paren… in verifyAndGetDestinationPathForCopyOrMove()
212 …if (isSameFileSystem && (newName.isEmpty() || source->name() == newName) && DOMFilePath::getDirect… in verifyAndGetDestinationPathForCopyOrMove()
217 destinationPath = DOMFilePath::append(destinationPath, newName); in verifyAndGetDestinationPathForCopyOrMove()
219 destinationPath = DOMFilePath::append(destinationPath, source->name()); in verifyAndGetDestinationPathForCopyOrMove()
[all …]
DDOMFilePath.h39 class DOMFilePath {
61 return path.startsWith(DOMFilePath::root); in isAbsolute()
66 return path[path.length() - 1] == DOMFilePath::separator; in endsWithSeparator()
79 DOMFilePath() { } in DOMFilePath() function
DEntryBase.cpp43 , m_name(DOMFilePath::getName(fullPath)) in EntryBase()
DDataTransferItemFileSystem.cpp70 String virtualPath = DOMFilePath::append("/", toFile(file)->name()); in webkitGetAsEntry()
DHTMLInputElementFileSystem.cpp70 String virtualPath = DOMFilePath::append("/", file->name()); in webkitEntries()
DEntrySync.cpp84 String parentPath = DOMFilePath::getDirectory(fullPath()); in getParent()
DFileSystemCallbacks.cpp159 …m_entries.append(DirectoryEntry::create(m_directoryReader->filesystem(), DOMFilePath::append(m_bas… in didReadDirectoryEntry()
161 …m_entries.append(FileEntry::create(m_directoryReader->filesystem(), DOMFilePath::append(m_basePath… in didReadDirectoryEntry()
DDOMFileSystem.cpp98 return DirectoryEntry::create(this, DOMFilePath::root); in root()
DDOMFileSystemSync.cpp75 return DirectoryEntrySync::create(this, DOMFilePath::root); in root()
/external/chromium_org/third_party/WebKit/Source/modules/
Dmodules.gypi370 'filesystem/DOMFilePath.cpp',
371 'filesystem/DOMFilePath.h',
Dmodules.target.linux-x86.mk196 third_party/WebKit/Source/modules/filesystem/DOMFilePath.cpp \
Dmodules.target.darwin-arm64.mk196 third_party/WebKit/Source/modules/filesystem/DOMFilePath.cpp \
Dmodules.target.linux-mips.mk196 third_party/WebKit/Source/modules/filesystem/DOMFilePath.cpp \
Dmodules.target.linux-x86_64.mk196 third_party/WebKit/Source/modules/filesystem/DOMFilePath.cpp \
Dmodules.target.darwin-x86.mk196 third_party/WebKit/Source/modules/filesystem/DOMFilePath.cpp \
Dmodules.target.darwin-mips.mk196 third_party/WebKit/Source/modules/filesystem/DOMFilePath.cpp \
Dmodules.target.darwin-x86_64.mk196 third_party/WebKit/Source/modules/filesystem/DOMFilePath.cpp \
Dmodules.target.linux-arm64.mk196 third_party/WebKit/Source/modules/filesystem/DOMFilePath.cpp \
Dmodules.target.darwin-arm.mk196 third_party/WebKit/Source/modules/filesystem/DOMFilePath.cpp \
Dmodules.target.linux-arm.mk196 third_party/WebKit/Source/modules/filesystem/DOMFilePath.cpp \