Home
last modified time | relevance | path

Searched refs:dbname (Results 1 – 25 of 26) sorted by relevance

12

/external/chromium_org/third_party/leveldatabase/src/db/
Dfilename.cc42 std::string DescriptorFileName(const std::string& dbname, uint64_t number) { in DescriptorFileName() argument
47 return dbname + buf; in DescriptorFileName()
50 std::string CurrentFileName(const std::string& dbname) { in CurrentFileName() argument
51 return dbname + "/CURRENT"; in CurrentFileName()
54 std::string LockFileName(const std::string& dbname) { in LockFileName() argument
55 return dbname + "/LOCK"; in LockFileName()
58 std::string TempFileName(const std::string& dbname, uint64_t number) { in TempFileName() argument
60 return MakeFileName(dbname, number, "dbtmp"); in TempFileName()
63 std::string InfoLogFileName(const std::string& dbname) { in InfoLogFileName() argument
64 return dbname + "/LOG"; in InfoLogFileName()
[all …]
Dfilename.h33 extern std::string LogFileName(const std::string& dbname, uint64_t number);
38 extern std::string TableFileName(const std::string& dbname, uint64_t number);
43 extern std::string SSTTableFileName(const std::string& dbname, uint64_t number);
48 extern std::string DescriptorFileName(const std::string& dbname,
54 extern std::string CurrentFileName(const std::string& dbname);
58 extern std::string LockFileName(const std::string& dbname);
62 extern std::string TempFileName(const std::string& dbname, uint64_t number);
65 extern std::string InfoLogFileName(const std::string& dbname);
68 extern std::string OldInfoLogFileName(const std::string& dbname);
79 extern Status SetCurrentFile(Env* env, const std::string& dbname,
Dc_test.c15 static char dbname[200]; variable
171 snprintf(dbname, sizeof(dbname), in main()
202 leveldb_destroy_db(options, dbname, &err); in main()
206 db = leveldb_open(options, dbname, &err); in main()
211 db = leveldb_open(options, dbname, &err); in main()
218 db = leveldb_open(options, dbname, &err); in main()
327 leveldb_repair_db(options, dbname, &err); in main()
329 db = leveldb_open(options, dbname, &err); in main()
352 leveldb_destroy_db(options, dbname, &err); in main()
354 db = leveldb_open(options, dbname, &err); in main()
Dbuilder.cc17 Status BuildTable(const std::string& dbname, in BuildTable() argument
27 std::string fname = TableFileName(dbname, meta->number); in BuildTable()
Ddb_impl.cc90 Options SanitizeOptions(const std::string& dbname, in SanitizeOptions() argument
102 src.env->CreateDir(dbname); // In case it does not exist in SanitizeOptions()
103 src.env->RenameFile(InfoLogFileName(dbname), OldInfoLogFileName(dbname)); in SanitizeOptions()
104 Status s = src.env->NewLogger(InfoLogFileName(dbname), &result.info_log); in SanitizeOptions()
116 DBImpl::DBImpl(const Options& raw_options, const std::string& dbname) in DBImpl() argument
120 options_(SanitizeOptions(dbname, &internal_comparator_, in DBImpl()
124 dbname_(dbname), in DBImpl()
1445 Status DB::Open(const Options& options, const std::string& dbname, in Open() argument
1449 DBImpl* impl = new DBImpl(options, dbname); in Open()
1456 s = options.env->NewWritableFile(LogFileName(dbname, new_log_number), in Open()
[all …]
Drepair.cc47 Repairer(const std::string& dbname, const Options& options) in Repairer() argument
48 : dbname_(dbname), in Repairer()
52 options_(SanitizeOptions(dbname, &icmp_, &ipolicy_, options)), in Repairer()
456 Status RepairDB(const std::string& dbname, const Options& options) { in RepairDB() argument
457 Repairer repairer(dbname, options); in RepairDB()
Dtable_cache.cc32 TableCache::TableCache(const std::string& dbname, in TableCache() argument
36 dbname_(dbname), in TableCache()
Dbuilder.h25 extern Status BuildTable(const std::string& dbname,
Dtable_cache.h23 TableCache(const std::string& dbname, const Options* options, int entries);
Ddb_test.cc1481 std::string dbname = test::TmpDir() + "/db_options_test"; in TEST() local
1482 DestroyDB(dbname, Options()); in TEST()
1488 Status s = DB::Open(opts, dbname, &db); in TEST()
1494 s = DB::Open(opts, dbname, &db); in TEST()
1504 s = DB::Open(opts, dbname, &db); in TEST()
1511 s = DB::Open(opts, dbname, &db); in TEST()
2066 std::string dbname = test::TmpDir() + "/leveldb_test_benchmark"; in BM_LogAndApply() local
2067 DestroyDB(dbname, Options()); in BM_LogAndApply()
2072 Status s = DB::Open(opts, dbname, &db); in BM_LogAndApply()
2086 VersionSet vset(dbname, &options, NULL, &cmp); in BM_LogAndApply()
Ddb_impl.h28 DBImpl(const Options& options, const std::string& dbname);
Dversion_set.h167 VersionSet(const std::string& dbname,
Dversion_set.cc766 VersionSet::VersionSet(const std::string& dbname, in VersionSet() argument
771 dbname_(dbname), in VersionSet()
/external/chromium_org/content/test/data/indexeddb/
Dtransaction_run_forever.js8 var dbname = "doesnt-hang-test";
10 var request = indexedDB.deleteDatabase(dbname);
14 var request = indexedDB.open(dbname, 1);
Dtransaction_not_blocked.js8 var dbname = "doesnt-hang-test";
9 var request = indexedDB.open(dbname);
Dcommon.js136 dbname = self.location.pathname.substring(
138 var deleteRequest = indexedDB.deleteDatabase(dbname);
142 var openRequest = indexedDB.open(dbname);
/external/nist-sip/java/gov/nist/javax/sip/parser/ims/
DPUserDatabaseParser.java95 StringBuffer dbname = new StringBuffer(); in parseheader() local
103 dbname.append(next); in parseheader()
107 userDatabase.setDatabaseName(dbname.toString()); in parseheader()
/external/chromium_org/third_party/sqlite/src/test/
Dmanydb.test53 unset -nocomplain dbname
59 set dbname($i) $name
69 sqlite3 db$i $dbname($i)
95 file delete -force $dbname($i)
Dtester.tcl1143 proc dbcksum {db dbname} { argument
1152 append txt [$db eval "SELECT * FROM $dbname.$tab"]\n
De_expr.test662 ATTACH 'test.db2' AS dbname;
663 CREATE TABLE dbname.tblname(cname);
690 17 dbname.tblname.cname
765 81 "EXPR NOT IN dbname.tblname"
770 86 "EXPR IN dbname.tblname"
824 CREATE TRIGGER dbname.tr$tn BEFORE DELETE ON tblname BEGIN
De_createtable.test50 set dbname $a(name)
52 if {$dbname == "temp"} { set master sqlite_temp_master }
53 lappend res $dbname [
/external/javasqlite/src/main/java/SQLite/
DShell.java536 String dbname = null, sql = null; in main() local
557 } else if (dbname == null) { in main()
558 dbname = args[i]; in main()
566 if (dbname == null) { in main()
571 s.db.open(dbname, 0); in main()
/external/chromium_org/third_party/leveldatabase/src/include/leveldb/
Ddb.h157 Status RepairDB(const std::string& dbname, const Options& options);
/external/iproute2/misc/
Darpd.c43 char *dbname = "/var/lib/arpd/arpd.db"; variable
599 dbname = optarg; in main()
678 dbase = dbopen(dbname, O_CREAT|O_RDWR, 0644, DB_HASH, NULL); in main()
/external/javasqlite/src/main/native/
Dsqlite_jni.c4351 jstring dbname, jstring table, in Java_SQLite_Database__1open_1blob() argument
4375 trans2iso(env, h->haveutf, h->enc, dbname, &dbn); in Java_SQLite_Database__1open_1blob()

12