Home | History | Annotate | Download | only in sql

Lines Matching refs:fileName

49 int SQLiteFileSystem::openDatabase(const String& fileName, sqlite3** database)
52 String path = fileName;
73 String fileName;
76 fileName = pathByAppendingComponent(dbDir, String::format("%016llx.db", seq));
77 } while (fileExists(fileName));
82 String SQLiteFileSystem::appendDatabaseFileNameToPath(const String& path, const String& fileName)
84 return pathByAppendingComponent(path, fileName);
94 bool SQLiteFileSystem::ensureDatabaseFileExists(const String& fileName, bool checkPathOnly)
96 if (fileName.isEmpty())
100 String dir = directoryName(fileName);
104 return fileExists(fileName);
112 bool SQLiteFileSystem::deleteDatabaseFile(const String& fileName)
114 return deleteFile(fileName);
117 long long SQLiteFileSystem::getDatabaseFileSize(const String& fileName)
120 return getFileSize(fileName, size) ? size : 0;