Home
last modified time | relevance | path

Searched refs:vfs (Results 1 – 25 of 62) sorted by relevance

123

/external/clang/unittests/Basic/
DVirtualFileSystemTest.cpp22 class DummyFileSystem : public vfs::FileSystem {
25 std::map<std::string, vfs::Status> FilesAndDirs;
35 ErrorOr<vfs::Status> status(const Twine &Path) { in status()
36 std::map<std::string, vfs::Status>::iterator I = in status()
43 std::unique_ptr<vfs::File> &Result) { in openFileForRead()
53 struct DirIterImpl : public clang::vfs::detail::DirIterImpl {
54 std::map<std::string, vfs::Status> &FilesAndDirs;
55 std::map<std::string, vfs::Status>::iterator I;
65 DirIterImpl(std::map<std::string, vfs::Status> &FilesAndDirs, in DirIterImpl()
85 CurrentEntry = vfs::Status(); in increment()
[all …]
/external/clang/include/clang/Basic/
DFileSystemStatCache.h25 namespace vfs {
72 std::unique_ptr<vfs::File> *F, FileSystemStatCache *Cache,
73 vfs::FileSystem &FS);
94 std::unique_ptr<vfs::File> *F,
95 vfs::FileSystem &FS) = 0;
98 std::unique_ptr<vfs::File> *F, vfs::FileSystem &FS) { in statChained()
123 std::unique_ptr<vfs::File> *F,
124 vfs::FileSystem &FS) override;
DFileManager.h73 mutable std::unique_ptr<vfs::File> File;
124 IntrusiveRefCntPtr<vfs::FileSystem> FS;
175 std::unique_ptr<vfs::File> *F);
183 IntrusiveRefCntPtr<vfs::FileSystem> FS = nullptr);
230 IntrusiveRefCntPtr<vfs::FileSystem> getVirtualFileSystem() const { in getVirtualFileSystem()
257 vfs::Status &Result);
/external/clang/lib/Basic/
DFileSystemStatCache.cpp33 static void copyStatusToFileData(const vfs::Status &Status, in copyStatusToFileData()
55 std::unique_ptr<vfs::File> *F, in get()
56 FileSystemStatCache *Cache, vfs::FileSystem &FS) { in get()
66 llvm::ErrorOr<vfs::Status> Status = FS.status(Path); in get()
81 std::unique_ptr<vfs::File> OwnedFile; in get()
91 llvm::ErrorOr<vfs::Status> Status = OwnedFile->status(); in get()
123 std::unique_ptr<vfs::File> *F, vfs::FileSystem &FS) { in getStat()
DVirtualFileSystem.cpp26 using namespace clang::vfs;
189 IntrusiveRefCntPtr<FileSystem> vfs::getRealFileSystem() { in getRealFileSystem()
195 class RealFSDirIter : public clang::vfs::detail::DirIterImpl {
267 clang::vfs::detail::DirIterImpl::~DirIterImpl() { } in ~DirIterImpl()
270 class OverlayFSDirIterImpl : public clang::vfs::detail::DirIterImpl {
413 class VFSFromYamlDirIterImpl : public clang::vfs::detail::DirIterImpl {
477 class VFSFromYAML : public vfs::FileSystem {
976 std::unique_ptr<vfs::File> &Result) { in openFileForRead()
996 vfs::getVFSFromYAML(MemoryBuffer *Buffer, SourceMgr::DiagHandlerTy DiagHandler, in getVFSFromYAML()
1002 UniqueID vfs::getNextVirtualUniqueID() { in getNextVirtualUniqueID()
[all …]
DFileManager.cpp48 IntrusiveRefCntPtr<vfs::FileSystem> FS) in FileManager()
57 this->FS = vfs::getRealFileSystem(); in FileManager()
256 std::unique_ptr<vfs::File> F; in getFile()
452 std::unique_ptr<vfs::File> *F) { in getStatValue()
466 vfs::Status &Result) { in getNoncachedStatValue()
470 llvm::ErrorOr<vfs::Status> S = FS->status(FilePath.c_str()); in getNoncachedStatValue()
/external/chromium_org/third_party/WebKit/Source/modules/webdatabase/sqlite/
DSQLiteFileSystemPosix.cpp44 int chromium_sqlite3_fill_in_unix_sqlite3_file(sqlite3_vfs* vfs, int fd, int dirfd, sqlite3_file* f…
62 int chromiumOpen(sqlite3_vfs* vfs, const char* fileName, in chromiumOpen() argument
92 result = chromium_sqlite3_fill_in_unix_sqlite3_file(vfs, fd, -1, id, fileName, noLock); in chromiumOpen()
146 int chromiumFullPathname(sqlite3_vfs* vfs, const char* relativePath, in chromiumFullPathname() argument
150 sqlite3_snprintf(vfs->mxPathname, absolutePath, "%s", relativePath); in chromiumFullPathname()
DSQLiteFileSystemWin.cpp118 int chromiumFullPathname(sqlite3_vfs* vfs, const char* relativePath, in chromiumFullPathname() argument
122 sqlite3_snprintf(vfs->mxPathname, absolutePath, "%s", relativePath); in chromiumFullPathname()
/external/chromium_org/third_party/webrtc/base/
Dunixfilesystem.cc518 struct statfs vfs; in GetDiskFreeSpace()
519 memset(&vfs, 0, sizeof(vfs)); in GetDiskFreeSpace()
520 if (0 != statfs(existing_path.pathname().c_str(), &vfs)) in GetDiskFreeSpace()
523 struct statvfs vfs; in GetDiskFreeSpace()
524 memset(&vfs, 0, sizeof(vfs)); in GetDiskFreeSpace()
525 if (0 != statvfs(existing_path.pathname().c_str(), &vfs)) in GetDiskFreeSpace()
529 *freebytes = static_cast<int64>(vfs.f_bsize) * vfs.f_bavail; in GetDiskFreeSpace()
531 *freebytes = static_cast<int64>(vfs.f_frsize) * vfs.f_bavail; in GetDiskFreeSpace()
/external/chromium_org/third_party/sqlite/src/test/
Dlock5.test22 if {[catch {sqlite3 db test.db -vfs unix-none} msg]} {
40 sqlite3 db test.db -vfs unix-dotfile
57 sqlite3 db2 test.db -vfs unix-dotfile
104 if {[catch {sqlite3 db test.db -vfs unix-flock} msg]} {
110 sqlite3 db test.db -vfs unix-flock
124 catch { sqlite3 db2 test.db -vfs unix-flock }
155 sqlite3 db test.db -vfs unix-none
156 sqlite3 db2 test.db -vfs unix-none
Dwalnoshm.test109 sqlite3 db3 test2.db -vfs tvfsshm
122 sqlite3 db4 test2.db -vfs tvfsshm
132 sqlite3 db4 test2.db -vfs tvfsshm
154 sqlite3 db test.db -vfs tvfsshm
162 sqlite3 db2 test.db -vfs tvfsshm
168 sqlite3 db test.db -vfs tvfsshm
175 sqlite3 db2 test.db -vfs tvfsshm
Dasync4.test59 sqlite3 db test.db -vfs sqlite3async
90 sqlite3 db test.db -vfs sqlite3async
129 sqlite3 db test.db -vfs sqlite3async
Dsysfault.test95 foreach vfs {unix unix-excl} {
111 set body [string map [list %VFS% $vfs] {
120 sqlite3 db test.db -vfs %VFS%
126 do_faultsim_test 1.3.$vfs.$tn -faults vfsfault-* -prep {
Dunixexcl.test45 sqlite3 db test.db -vfs unix-excl
74 sqlite3 db test.db -readonly yes -vfs unix-excl
/external/strace/m4/
Dstatfs.m43 [AC_MSG_CHECKING(for statfs64 in sys/vfs.h)
7 #include <sys/vfs.h>
13 [Define if statfs64 is available in sys/vfs.h.])
/external/clang/test/Modules/
Ddependency-dump.m5 // RUN: %clang_cc1 -fmodules -fmodules-cache-path=%t/cache -module-dependency-dir %t/vfs -F %S/Inpu…
8 // RUN: FileCheck %s -check-prefix=VFS -input-file %t/vfs/vfs.yaml
Ddependency-dump-dependent-module.m5 // RUN: %clang_cc1 -fmodules -fmodules-cache-path=%t/cache -module-dependency-dir %t/vfs -F %S/Inpu…
8 // RUN: FileCheck %s -check-prefix=VFS < %t/vfs/vfs.yaml
/external/javasqlite/src/main/java/SQLite/
DJDBCDriver.java12 public static String vfs = null; field in JDBCDriver
73 vfs = tvfs;
107 args[4] = vfs; in connect()
136 pp = new DriverPropertyInfo("vfs", vfs); in getPropertyInfo()
DDatabase.java56 public void open(String filename, int mode, String vfs) in open() argument
66 _open4(filename, mode, vfs, false); in open()
86 public void open(String filename, int mode, String vfs, boolean ver2) in open() argument
96 _open4(filename, mode, vfs, ver2); in open()
118 private native void _open4(String filename, int mode, String vfs, in _open4() argument
/external/chromium_org/third_party/sqlite/
Dwebdb.patch1 The WebDatabase implementation in the renderer users a custom vfs to
2 broker file open and other requests. This modifies the built-in vfs
25 sqlite3_vfs *pVfs, /* Pointer to vfs object */
38 +int chromium_sqlite3_fill_in_unix_sqlite3_file(sqlite3_vfs* vfs,
45 + return fillInUnixFile(vfs, fd, dirfd, file, fileName, noLock, isDelete, 0);
/external/clang/test/Driver/
Dcrash-report-modules.m32 // CHECKSH: -ivfsoverlay crash-report-modules-{{[^ ]*}}.cache/vfs/vfs.yaml
/external/chromium_org/third_party/sqlite/src/ext/async/
DREADME.txt47 Asynchronous I/O works by creating a special SQLite "vfs" structure
49 this vfs are written to (using the vfs xWrite() method), the data is not
53 When files opened with the asynchronous vfs are read from
54 (using the vfs xRead() method), the data is read from the file on
56 the vfs reader the xWrite() appears to have already completed.
58 The special vfs is registered (and unregistered) by calls to the
/external/javasqlite/src/main/java/SQLite/JDBC2z/
DJDBCConnection.java27 protected String vfs; field in JDBCConnection
114 SQLite.Constants.SQLITE_OPEN_CREATE), vfs); in open()
145 String vfs) in JDBCConnection() argument
156 this.vfs = vfs; in JDBCConnection()
/external/clang/include/clang/Frontend/
DCompilerInvocation.h209 namespace vfs {
213 IntrusiveRefCntPtr<vfs::FileSystem>
/external/clang/tools/libclang/
DBuildSystem.cpp30 DEFINE_SIMPLE_CONVERSION_FUNCTIONS(clang::vfs::YAMLVFSWriter, in DEFINE_SIMPLE_CONVERSION_FUNCTIONS()
34 return wrap(new clang::vfs::YAMLVFSWriter()); in DEFINE_SIMPLE_CONVERSION_FUNCTIONS()

123