/dports/databases/ldb15/ldb-1.5.6/tests/ |
H A D | ldb_tdb_test.c | 69 const char *dbpath; 99 test_ctx->dbpath = talloc_asprintf(test_ctx, 101 assert_non_null(test_ctx->dbpath); 131 ret = ldb_connect(test_ctx->ldb, test_ctx->dbpath, 0, NULL); 186 ret = ldb_connect(ldb1, test_ctx->dbpath, LDB_FLG_RDONLY, NULL); 190 ret = ldb_connect(ldb2, test_ctx->dbpath, LDB_FLG_RDONLY, NULL); 194 ret = ldb_connect(ldb3, test_ctx->dbpath, 0, NULL); 227 ret = ldb_connect(ldb1, test_ctx->dbpath, LDB_FLG_RDONLY, NULL); 231 ret = ldb_connect(ldb2, test_ctx->dbpath, LDB_FLG_RDONLY, NULL); 247 ret = ldb_connect(ldb3, test_ctx->dbpath, 0, NULL); [all …]
|
/dports/databases/ldb20/ldb-2.0.10/tests/ |
H A D | ldb_tdb_test.c | 70 const char *dbpath; member 100 test_ctx->dbpath = talloc_asprintf(test_ctx, in ldbtest_noconn_setup() 102 assert_non_null(test_ctx->dbpath); in ldbtest_noconn_setup() 132 ret = ldb_connect(test_ctx->ldb, test_ctx->dbpath, 0, NULL); in ldbtest_setup() 187 ret = ldb_connect(ldb1, test_ctx->dbpath, LDB_FLG_RDONLY, NULL); in test_multiple_opens() 191 ret = ldb_connect(ldb2, test_ctx->dbpath, LDB_FLG_RDONLY, NULL); in test_multiple_opens() 195 ret = ldb_connect(ldb3, test_ctx->dbpath, 0, NULL); in test_multiple_opens() 228 ret = ldb_connect(ldb1, test_ctx->dbpath, LDB_FLG_RDONLY, NULL); in test_multiple_opens_across_fork() 232 ret = ldb_connect(ldb2, test_ctx->dbpath, LDB_FLG_RDONLY, NULL); in test_multiple_opens_across_fork() 248 ret = ldb_connect(ldb3, test_ctx->dbpath, 0, NULL); in test_multiple_opens_across_fork() [all …]
|
/dports/databases/ldb22/ldb-2.2.1/tests/ |
H A D | ldb_tdb_test.c | 70 const char *dbpath; member 100 test_ctx->dbpath = talloc_asprintf(test_ctx, in ldbtest_noconn_setup() 102 assert_non_null(test_ctx->dbpath); in ldbtest_noconn_setup() 132 ret = ldb_connect(test_ctx->ldb, test_ctx->dbpath, 0, NULL); in ldbtest_setup() 187 ret = ldb_connect(ldb1, test_ctx->dbpath, LDB_FLG_RDONLY, NULL); in test_multiple_opens() 191 ret = ldb_connect(ldb2, test_ctx->dbpath, LDB_FLG_RDONLY, NULL); in test_multiple_opens() 195 ret = ldb_connect(ldb3, test_ctx->dbpath, 0, NULL); in test_multiple_opens() 228 ret = ldb_connect(ldb1, test_ctx->dbpath, LDB_FLG_RDONLY, NULL); in test_multiple_opens_across_fork() 232 ret = ldb_connect(ldb2, test_ctx->dbpath, LDB_FLG_RDONLY, NULL); in test_multiple_opens_across_fork() 248 ret = ldb_connect(ldb3, test_ctx->dbpath, 0, NULL); in test_multiple_opens_across_fork() [all …]
|
/dports/databases/mongodb36/mongodb-src-r3.6.23/src/mongo/db/ |
H A D | service_context_d.cpp | 86 _lockFile.reset(new StorageEngineLockFile(storageGlobalParams.dbpath)); in createLockFile() 90 << storageGlobalParams.dbpath in createLockFile() 122 const std::string dbpath = storageGlobalParams.dbpath; in initializeGlobalStorageEngine() local 123 if (auto existingStorageEngine = StorageEngineMetadata::getStorageEngineForPath(dbpath)) { in initializeGlobalStorageEngine() 134 str::stream() << "Cannot start server. Detected data files in " << dbpath in initializeGlobalStorageEngine() 146 log() << "Detected data files in " << dbpath << " created by the '" in initializeGlobalStorageEngine() 166 repairpath.empty() || repairpath == dbpath || storageGlobalParams.engine == "mmapv1"); in initializeGlobalStorageEngine() 184 std::unique_ptr<StorageEngineMetadata> metadata = StorageEngineMetadata::forPath(dbpath); in initializeGlobalStorageEngine() 214 metadata.reset(new StorageEngineMetadata(storageGlobalParams.dbpath)); in initializeGlobalStorageEngine()
|
/dports/textproc/sonic/sonic-1.3.0/cargo-crates/librocksdb-sys-6.7.4/rocksdb/utilities/options/ |
H A D | options_util.cc | 46 Status GetLatestOptionsFileName(const std::string& dbpath, in GetLatestOptionsFileName() argument 52 s = env->GetChildren(dbpath, &file_names); in GetLatestOptionsFileName() 73 Status LoadLatestOptions(const std::string& dbpath, Env* env, in LoadLatestOptions() argument 79 Status s = GetLatestOptionsFileName(dbpath, env, &options_file_name); in LoadLatestOptions() 83 return LoadOptionsFromFile(dbpath + "/" + options_file_name, env, db_options, in LoadLatestOptions() 88 const std::string& dbpath, Env* env, const DBOptions& db_options, in CheckOptionsCompatibility() argument 92 Status s = GetLatestOptionsFileName(dbpath, env, &options_file_name); in CheckOptionsCompatibility() 108 db_options, cf_names, cf_opts, dbpath + "/" + options_file_name, &fs, in CheckOptionsCompatibility()
|
/dports/databases/mariadb104-server/mariadb-10.4.24/storage/rocksdb/rocksdb/utilities/options/ |
H A D | options_util.cc | 47 Status GetLatestOptionsFileName(const std::string& dbpath, in GetLatestOptionsFileName() argument 53 s = env->GetChildren(dbpath, &file_names); in GetLatestOptionsFileName() 74 Status LoadLatestOptions(const std::string& dbpath, Env* env, in LoadLatestOptions() argument 80 Status s = GetLatestOptionsFileName(dbpath, env, &options_file_name); in LoadLatestOptions() 84 return LoadOptionsFromFile(dbpath + "/" + options_file_name, env, db_options, in LoadLatestOptions() 89 const std::string& dbpath, Env* env, const DBOptions& db_options, in CheckOptionsCompatibility() argument 93 Status s = GetLatestOptionsFileName(dbpath, env, &options_file_name); in CheckOptionsCompatibility() 109 db_options, cf_names, cf_opts, dbpath + "/" + options_file_name, &fs, in CheckOptionsCompatibility()
|
/dports/databases/mariadb104-client/mariadb-10.4.24/storage/rocksdb/rocksdb/utilities/options/ |
H A D | options_util.cc | 47 Status GetLatestOptionsFileName(const std::string& dbpath, in GetLatestOptionsFileName() argument 53 s = env->GetChildren(dbpath, &file_names); in GetLatestOptionsFileName() 74 Status LoadLatestOptions(const std::string& dbpath, Env* env, in LoadLatestOptions() argument 80 Status s = GetLatestOptionsFileName(dbpath, env, &options_file_name); in LoadLatestOptions() 84 return LoadOptionsFromFile(dbpath + "/" + options_file_name, env, db_options, in LoadLatestOptions() 89 const std::string& dbpath, Env* env, const DBOptions& db_options, in CheckOptionsCompatibility() argument 93 Status s = GetLatestOptionsFileName(dbpath, env, &options_file_name); in CheckOptionsCompatibility() 109 db_options, cf_names, cf_opts, dbpath + "/" + options_file_name, &fs, in CheckOptionsCompatibility()
|
/dports/databases/mariadb103-server/mariadb-10.3.34/storage/rocksdb/rocksdb/utilities/options/ |
H A D | options_util.cc | 47 Status GetLatestOptionsFileName(const std::string& dbpath, in GetLatestOptionsFileName() argument 53 s = env->GetChildren(dbpath, &file_names); in GetLatestOptionsFileName() 74 Status LoadLatestOptions(const std::string& dbpath, Env* env, in LoadLatestOptions() argument 80 Status s = GetLatestOptionsFileName(dbpath, env, &options_file_name); in LoadLatestOptions() 84 return LoadOptionsFromFile(dbpath + "/" + options_file_name, env, db_options, in LoadLatestOptions() 89 const std::string& dbpath, Env* env, const DBOptions& db_options, in CheckOptionsCompatibility() argument 93 Status s = GetLatestOptionsFileName(dbpath, env, &options_file_name); in CheckOptionsCompatibility() 109 db_options, cf_names, cf_opts, dbpath + "/" + options_file_name, &fs, in CheckOptionsCompatibility()
|
/dports/databases/mariadb103-client/mariadb-10.3.34/storage/rocksdb/rocksdb/utilities/options/ |
H A D | options_util.cc | 47 Status GetLatestOptionsFileName(const std::string& dbpath, in GetLatestOptionsFileName() argument 53 s = env->GetChildren(dbpath, &file_names); in GetLatestOptionsFileName() 74 Status LoadLatestOptions(const std::string& dbpath, Env* env, in LoadLatestOptions() argument 80 Status s = GetLatestOptionsFileName(dbpath, env, &options_file_name); in LoadLatestOptions() 84 return LoadOptionsFromFile(dbpath + "/" + options_file_name, env, db_options, in LoadLatestOptions() 89 const std::string& dbpath, Env* env, const DBOptions& db_options, in CheckOptionsCompatibility() argument 93 Status s = GetLatestOptionsFileName(dbpath, env, &options_file_name); in CheckOptionsCompatibility() 109 db_options, cf_names, cf_opts, dbpath + "/" + options_file_name, &fs, in CheckOptionsCompatibility()
|
/dports/databases/mariadb105-client/mariadb-10.5.15/storage/rocksdb/rocksdb/utilities/options/ |
H A D | options_util.cc | 47 Status GetLatestOptionsFileName(const std::string& dbpath, in GetLatestOptionsFileName() argument 53 s = env->GetChildren(dbpath, &file_names); in GetLatestOptionsFileName() 74 Status LoadLatestOptions(const std::string& dbpath, Env* env, in LoadLatestOptions() argument 80 Status s = GetLatestOptionsFileName(dbpath, env, &options_file_name); in LoadLatestOptions() 84 return LoadOptionsFromFile(dbpath + "/" + options_file_name, env, db_options, in LoadLatestOptions() 89 const std::string& dbpath, Env* env, const DBOptions& db_options, in CheckOptionsCompatibility() argument 93 Status s = GetLatestOptionsFileName(dbpath, env, &options_file_name); in CheckOptionsCompatibility() 109 db_options, cf_names, cf_opts, dbpath + "/" + options_file_name, &fs, in CheckOptionsCompatibility()
|
/dports/databases/mariadb105-server/mariadb-10.5.15/storage/rocksdb/rocksdb/utilities/options/ |
H A D | options_util.cc | 47 Status GetLatestOptionsFileName(const std::string& dbpath, in GetLatestOptionsFileName() argument 53 s = env->GetChildren(dbpath, &file_names); in GetLatestOptionsFileName() 74 Status LoadLatestOptions(const std::string& dbpath, Env* env, in LoadLatestOptions() argument 80 Status s = GetLatestOptionsFileName(dbpath, env, &options_file_name); in LoadLatestOptions() 84 return LoadOptionsFromFile(dbpath + "/" + options_file_name, env, db_options, in LoadLatestOptions() 89 const std::string& dbpath, Env* env, const DBOptions& db_options, in CheckOptionsCompatibility() argument 93 Status s = GetLatestOptionsFileName(dbpath, env, &options_file_name); in CheckOptionsCompatibility() 109 db_options, cf_names, cf_opts, dbpath + "/" + options_file_name, &fs, in CheckOptionsCompatibility()
|
/dports/deskutils/calibre/calibre-src-5.34.0/src/calibre/devices/paladin/ |
H A D | driver.py | 82 dbpath = self.normalize_path(prefix + DBPATH) 83 debug_print("SQLite DB Path: " + dbpath) 85 with closing(apsw.Connection(dbpath)) as connection: 183 dbpath = self.normalize_path(prefix + DBPATH) 184 debug_print("SQLite DB Path: " + dbpath) 188 with closing(apsw.Connection(dbpath)) as connection: 189 self.remove_orphaned_records(connection, dbpath) 191 plugboard, dbpath) 196 def remove_orphaned_records(self, connection, dbpath): argument 309 dbpath): argument [all …]
|
/dports/misc/libsolv/libsolv-0.7.19/tools/ |
H A D | rpmdb2solv.c | 72 const char *dbpath = 0; in main() local 102 dbpath = optarg; in main() 173 if (dbpath && *dbpath && (!nopacks || pubkeys)) in main() 175 if (dbpath && *dbpath && !nopacks) in main() 179 char *macro = solv_dupjoin("_dbpath ", dbpath, 0); in main()
|
/dports/news/golded+/golded-plus/golded+/goldlib/gcfg/ |
H A D | gxdb.cpp | 49 MakePathname(file1, dbpath, "dbridge.aa1"); in ReadDB130() 50 MakePathname(file2, dbpath, "dbridge.aa2"); in ReadDB130() 309 Path dbpath, file, badecho, netpath; in ReadDBridge() local 311 *dbpath = NUL; in ReadDBridge() 317 AddBackslash(strcpy(dbpath, ptr)); in ReadDBridge() 322 if(*dbpath == NUL) { in ReadDBridge() 327 AddBackslash(strcpy(dbpath, ptr)); in ReadDBridge() 329 if(*dbpath == NUL) in ReadDBridge() 330 strcpy(dbpath, areapath); in ReadDBridge() 332 MakePathname(file, dbpath, "dbridge.prm"); in ReadDBridge() [all …]
|
/dports/devel/global/global-6.6.7/libutil/ |
H A D | getdbpath.c | 147 gtagsexist(const char *candidate, char *dbpath, int size, int verbose) in gtagsexist() argument 168 snprintf(dbpath, size, "%s", candidate); in gtagsexist() 178 snprintf(dbpath, size, "%s/%s", candidate_without_slash, gtagsobjdir); in gtagsexist() 189 snprintf(dbpath, size, "%s%s", gtagsobjdirprefix, candidate_without_slash); in gtagsexist() 195 static char dbpath[MAXPATHLEN]; variable 261 strlimcpy(dbpath, getenv("GTAGSDBPATH"), MAXPATHLEN); in setupdbpath() 263 if (!gtagsexist(root, dbpath, MAXPATHLEN, verbose)) { in setupdbpath() 276 while (!gtagsexist(root, dbpath, MAXPATHLEN, verbose)) { in setupdbpath() 369 return (const char *)dbpath; in get_dbpath() 394 fprintf(stderr, "db path: %s\n", dbpath); in dump_dbpath()
|
H A D | defined.c | 43 const char *dbpath; in defined() local 48 if (!(dbpath = getenv("GTAGSDBPATH"))) in defined() 49 dbpath = "."; in defined() 50 dbop = dbop_open(makepath(dbpath, "GTAGS", NULL), 0, 0, 0); in defined()
|
/dports/databases/xapian-core12/xapian-core-1.2.25/tests/harness/ |
H A D | backendmanager_multi.cc | 74 string dbpath = dbdir + "/" + dbname; in createdb_multi() local 76 if (file_exists(dbpath)) return dbpath; in createdb_multi() 78 string tmpfile = dbpath; in createdb_multi() 126 rename(tmpfile.c_str(), dbpath.c_str()); in createdb_multi() 128 return dbpath; in createdb_multi()
|
/dports/ports-mgmt/pkg/pkg-1.17.5/libpkg/ |
H A D | pkg_status.c | 53 char dbpath[MAXPATHLEN]; in pkg_status() local 77 snprintf(dbpath, sizeof(dbpath), "%s/local.sqlite", ctx.dbdir); in pkg_status() 79 if (eaccess(dbpath, R_OK) == -1) in pkg_status() 86 dbsuccess = (sqlite3_open_v2(dbpath, &db, SQLITE_OPEN_READONLY, NULL) == SQLITE_OK); in pkg_status()
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/setup_native/scripts/ |
H A D | install_linux.sh | 191 rpm --dbpath `cd $RPM_DB_PATH; pwd` --query --all 238 rpm --initdb --dbpath $RPM_DB_PATH 250 rpm ${DEBIAN_FLAGS} --upgrade --ignoresize --dbpath $RPM_DB_PATH $FAKEDBRPM 276 …ion rpm ${DEBIAN_FLAGS} --nodeps $RPMCMD --ignoresize -vh $RELOCATIONS --dbpath $RPM_DB_PATH $RPML… 291 …BIAN_FLAGS} --erase -v --nodeps --dbpath $RPM_DB_PATH `rpm --query --queryformat "%{NAME} " --pack… 295 …rpm ${DEBIAN_FLAGS} --install --nodeps --ignoresize -vh $RELOCATIONS --dbpath $RPM_DB_PATH $RPMLIST
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/setup_native/scripts/ |
H A D | install_linux.sh | 191 rpm --dbpath `cd $RPM_DB_PATH; pwd` --query --all 238 rpm --initdb --dbpath $RPM_DB_PATH 250 rpm ${DEBIAN_FLAGS} --upgrade --ignoresize --dbpath $RPM_DB_PATH $FAKEDBRPM 276 …ion rpm ${DEBIAN_FLAGS} --nodeps $RPMCMD --ignoresize -vh $RELOCATIONS --dbpath $RPM_DB_PATH $RPML… 291 …BIAN_FLAGS} --erase -v --nodeps --dbpath $RPM_DB_PATH `rpm --query --queryformat "%{NAME} " --pack… 295 …rpm ${DEBIAN_FLAGS} --install --nodeps --ignoresize -vh $RELOCATIONS --dbpath $RPM_DB_PATH $RPMLIST
|
/dports/deskutils/calibre/calibre-src-5.34.0/src/calibre/devices/prst1/ |
H A D | driver.py | 168 dbpath = self.normalize_path(prefix + DBPATH) 169 debug_print("SQLite DB Path: " + dbpath) 171 with closing(sqlite.connect(dbpath)) as connection: 273 dbpath = self.normalize_path(prefix + DBPATH) 274 debug_print("SQLite DB Path: " + dbpath) 281 plugboard, dbpath) 286 def remove_orphaned_records(self, connection, dbpath): argument 441 dbpath): argument 621 source_id, dbpath): argument 728 dbpath = self.normalize_path(prefix + DBPATH) [all …]
|
/dports/databases/percona57-client/percona-server-5.7.36-39/storage/rocksdb/rocksdb/include/rocksdb/utilities/ |
H A D | options_util.h | 73 Status LoadLatestOptions(const std::string& dbpath, Env* env, 79 const std::string& dbpath, DBOptions* db_options, 104 Status GetLatestOptionsFileName(const std::string& dbpath, Env* env, 119 const std::string& dbpath, Env* env, const DBOptions& db_options, 123 const ConfigOptions& config_options, const std::string& dbpath,
|
/dports/databases/rocksdb-lite/rocksdb-6.26.1/include/rocksdb/utilities/ |
H A D | options_util.h | 73 Status LoadLatestOptions(const std::string& dbpath, Env* env, 79 const std::string& dbpath, DBOptions* db_options, 104 Status GetLatestOptionsFileName(const std::string& dbpath, Env* env, 119 const std::string& dbpath, Env* env, const DBOptions& db_options, 123 const ConfigOptions& config_options, const std::string& dbpath,
|
/dports/databases/rocksdb/rocksdb-6.26.1/include/rocksdb/utilities/ |
H A D | options_util.h | 73 Status LoadLatestOptions(const std::string& dbpath, Env* env, 79 const std::string& dbpath, DBOptions* db_options, 104 Status GetLatestOptionsFileName(const std::string& dbpath, Env* env, 119 const std::string& dbpath, Env* env, const DBOptions& db_options, 123 const ConfigOptions& config_options, const std::string& dbpath,
|
/dports/databases/percona57-server/percona-server-5.7.36-39/storage/rocksdb/rocksdb/include/rocksdb/utilities/ |
H A D | options_util.h | 73 Status LoadLatestOptions(const std::string& dbpath, Env* env, 79 const std::string& dbpath, DBOptions* db_options, 104 Status GetLatestOptionsFileName(const std::string& dbpath, Env* env, 119 const std::string& dbpath, Env* env, const DBOptions& db_options, 123 const ConfigOptions& config_options, const std::string& dbpath,
|