Home
last modified time | relevance | path

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

/external/webkit/Source/WebCore/fileapi/
DDOMFilePath.cpp42 const char DOMFilePath::separator = '/';
43 const char DOMFilePath::root[] = "/";
45 String DOMFilePath::append(const String& base, const String& components) in append()
50 String DOMFilePath::ensureDirectoryPath(const String& path) in ensureDirectoryPath()
52 if (!DOMFilePath::endsWithSeparator(path)) { in ensureDirectoryPath()
54 newPath.append(DOMFilePath::separator); in ensureDirectoryPath()
60 String DOMFilePath::getName(const String& path) in getName()
62 int index = path.reverseFind(DOMFilePath::separator); in getName()
68 String DOMFilePath::getDirectory(const String& path) in getDirectory()
70 int index = path.reverseFind(DOMFilePath::separator); in getDirectory()
[all …]
DDOMFileSystemBase.cpp120 if (!newName.isEmpty() && !DOMFilePath::isValidName(newName)) in verifyAndGetDestinationPathForCopyOrMove()
124 if (source->isDirectory() && DOMFilePath::isParentOf(source->fullPath(), parent->fullPath())) in verifyAndGetDestinationPathForCopyOrMove()
128 …if ((newName.isEmpty() || source->name() == newName) && DOMFilePath::getDirectory(source->fullPath… in verifyAndGetDestinationPathForCopyOrMove()
133 destinationPath = DOMFilePath::append(destinationPath, newName); in verifyAndGetDestinationPathForCopyOrMove()
135 destinationPath = DOMFilePath::append(destinationPath, source->name()); in verifyAndGetDestinationPathForCopyOrMove()
144 if (!DOMFilePath::isAbsolute(path)) in pathToAbsolutePath()
145 path = DOMFilePath::append(base->fullPath(), path); in pathToAbsolutePath()
146 absolutePath = DOMFilePath::removeExtraParentReferences(path); in pathToAbsolutePath()
148 if (!DOMFilePath::isValidPath(absolutePath)) in pathToAbsolutePath()
181 if (entry->fullPath() == String(DOMFilePath::root)) in remove()
[all …]
DDOMFilePath.h41 class DOMFilePath {
63 return path.startsWith(DOMFilePath::root); in isAbsolute()
68 return path[path.length() - 1] == DOMFilePath::separator; in endsWithSeparator()
81 DOMFilePath() { } in DOMFilePath() function
DEntryBase.cpp49 , m_name(DOMFilePath::getName(fullPath)) in EntryBase()
DFileSystemCallbacks.cpp159 …m_entries->append(DirectoryEntry::create(m_directoryReader->filesystem(), DOMFilePath::append(m_ba… in didReadDirectoryEntry()
161 …m_entries->append(FileEntry::create(m_directoryReader->filesystem(), DOMFilePath::append(m_basePat… in didReadDirectoryEntry()
DEntrySync.cpp101 String parentPath = DOMFilePath::getDirectory(fullPath()); in getParent()
DDOMFileSystem.cpp61 return DirectoryEntry::create(this, DOMFilePath::root); in root()
DDOMFileSystemSync.cpp70 return DirectoryEntrySync::create(this, DOMFilePath::root); in root()
/external/webkit/Source/WebCore/
DWebCore.pro2839 fileapi/DOMFilePath.h \
2879 fileapi/DOMFilePath.cpp \
DCMakeLists.txt1515 fileapi/DOMFilePath.cpp
DGNUmakefile.list.am1431 Source/WebCore/fileapi/DOMFilePath.cpp \
1432 Source/WebCore/fileapi/DOMFilePath.h \
DGNUmakefile.am1478 Source/WebCore/fileapi/DOMFilePath.cpp \
1479 Source/WebCore/fileapi/DOMFilePath.h \
DWebCore.gypi2706 'fileapi/DOMFilePath.cpp',
2707 'fileapi/DOMFilePath.h',
DChangeLog-2010-12-0664411 * fileapi/DOMFilePath.cpp: Renamed from WebCore/storage/DOMFilePath.cpp.
64412 * fileapi/DOMFilePath.h: Renamed from WebCore/storage/DOMFilePath.h.
72073 … No new tests; tests will be added later. (Each DOMFilePath's method is briefly tested locally.)
72081 * storage/DOMFilePath.cpp: Added.
72082 * storage/DOMFilePath.h: Added.
/external/webkit/Source/WebCore/WebCore.xcodeproj/
Dproject.pbxproj2714 …78556122CA064003AABDA /* DOMFilePath.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 8987853D12…
2715 …878557122CA064003AABDA /* DOMFilePath.h in Headers */ = {isa = PBXBuildFile; fileRef = 8987853E122…
9277DOMFilePath.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp…
9278 …/* DOMFilePath.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.…
16221 8987853D122CA064003AABDA /* DOMFilePath.cpp */,
16222 8987853E122CA064003AABDA /* DOMFilePath.h */,
20332 89878557122CA064003AABDA /* DOMFilePath.h in Headers */,
23625 89878556122CA064003AABDA /* DOMFilePath.cpp in Sources */,