Searched refs:dbfile (Results 1 - 25 of 25) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/db-4.7.25.NC/test/
H A Drecdscript.tcl8 # Usage: recdscript op dir envcmd dbfile cmd
12 # dbfile: name of database file
19 set usage "recdscript op dir envcmd dbfile gidfile cmd"
31 set dbfile [ lindex $argv 3 ]
35 op_recover_prep $op $dir $envcmd $dbfile $gidfile $cmd
H A Drecd014.tcl76 proc ext_recover_create { dir env_cmd method opts dbfile txncmd } {
91 set init_file $dir/$dbfile.init
92 set noenvflags "-create $method -mode 0644 -pagesize 512 $opts $dbfile"
120 catch { file copy -force $dir/$dbfile $dir/$dbfile.afterop } res
121 copy_extent_file $dir $dbfile afterop
128 set dbq [make_ext_filename $dir $dbfile $extnum]
143 catch { file copy -force $dir/$dbfile $init_file } res
144 copy_extent_file $dir $dbfile init
170 ext_create_check $dir $txncmd $init_file $dbfile
[all...]
H A Drecd007.tcl151 proc file_recover_create { dir env_cmd method opts dbfile cmd msg } {
158 do_file_recover_create $dir $env_cmd $method $opts $dbfile \
165 do_file_recover_create $dir $env_cmd $method $opts $dbfile \
168 do_file_recover_create $dir $env_cmd $method $opts $dbfile \
173 proc do_file_recover_create { dir env_cmd method opts dbfile sub cmd msg } {
208 -env $env $opts $dbfile"
212 -env $env $opts $dbfile sub0"
220 -env $env $opts $dbfile sub0"
224 set init_file $dir/$dbfile.init
225 catch { file copy -force $dir/$dbfile
[all...]
H A Drecd15scr.tcl10 # dbfile: name of database file
18 set usage "recd15script envcmd dbfile gidfile numtxns"
28 set dbfile [ lindex $argv 1 ]
37 if { $dbfile != "NULL" } {
39 set db [berkdb_open -auto_commit -env $dbenv $dbfile]
H A Dtxnscript.tcl10 # dbfile: name of database file
19 set usage "txnscript envcmd dbfile gidfile key data"
29 set dbfile [ lindex $argv 1 ]
38 set db [berkdb_open -auto_commit -env $dbenv $dbfile]
H A Drecd008.tcl21 set dbfile recd008.db
24 set db [eval {berkdb_open -create} $args $omethod $testdir/$dbfile]
74 op_recover abort $testdir $env_cmd $dbfile $cmd $msg
75 recd008_setkval $dbfile $p1
76 op_recover commit $testdir $env_cmd $dbfile $cmd $msg
77 recd008_setkval $dbfile $p1
88 proc recd008_setkval { dbfile p1 } {
92 set db [berkdb_open $testdir/$dbfile]
H A Drep045script.tcl84 set dbfile db.$version
87 if {[catch {berkdb_open -rdonly -env $clientenv $dbfile} db]} {
123 set dbfile db.$version
125 {berkdb_open -env $clientenv -rdonly $dbfile} db]} {
H A Drep018script.tcl11 # Usage: rep018script clientdir dbfile
14 # dbfile: name of database file
23 set usage "repscript clientdir niter dbfile method rep_verbose verbose_type"
34 set dbfile [ lindex $argv 2 ]
62 set db [eval "berkdb_open -env $clientenv $dbfile"]
90 set db [eval "berkdb_open -env $clientenv $dbfile"]
H A Drep078script.tcl11 # Usage: rep078script masterdir dbfile method
13 # dbfile: name of database file
21 set usage "repscript masterdir dbfile method"
31 set dbfile [ lindex $argv 1 ]
77 $omethod $args $dbfile"]
H A Drecd006.tcl32 set dbfile recd006.db
33 set testfile $testdir/$dbfile
133 op_recover abort $testdir $env_cmd $dbfile $cmd $msg
134 op_recover commit $testdir $env_cmd $dbfile $cmd $msg
H A Dtestutils.tcl1426 proc op_recover { encodedop dir env_cmd dbfile cmd msg } {
1444 # $op $dir $env_cmd $dbfile $gidf $cmd"
1446 $testdir/recdout $op $dir $env_cmd $dbfile $gidf $cmd &]
1455 op_recover_prep $op $dir $env_cmd $dbfile $gidf $cmd
1457 op_recover_rec $op $op2 $dir $env_cmd $dbfile $gidf
1460 proc op_recover_prep { op dir env_cmd dbfile gidf cmd } {
1467 #puts "op_recover: $op $dir $env $dbfile $cmd"
1479 catch { file copy -force $dir/$dbfile $dir/$dbfile.init } res
1480 copy_extent_file $dir $dbfile ini
[all...]
H A Dupgrade.tcl614 foreach dbfile $dbfiles {
615 set basename [string range $dbfile \
622 $dbfile > $dir/$newbasename.dump} res] } {
627 upgrade_dump $dbfile $dir/$newbasename.tcldump
629 # Rename dbfile and any dbq files.
630 file rename $dbfile $dir/$newbasename-$en.db
H A Dtest116.tcl248 proc getlsns { dbfile pgsize lsns } {
250 set fid [open $dbfile r]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/openssl-0.9.8e/apps/
H A Dapps.c1681 CA_DB *load_index(char *dbfile, DB_ATTR *db_attr) argument
1695 if (BIO_read_filename(in,dbfile) <= 0)
1697 perror(dbfile);
1698 BIO_printf(bio_err,"unable to open '%s'\n",dbfile);
1708 BIO_snprintf(buf[0], sizeof buf[0], "%s.attr", dbfile);
1710 BIO_snprintf(buf[0], sizeof buf[0], "%s-attr", dbfile);
1787 int save_index(const char *dbfile, const char *suffix, CA_DB *db) argument
1799 j = strlen(dbfile) + strlen(suffix);
1807 j = BIO_snprintf(buf[2], sizeof buf[2], "%s.attr", dbfile);
1809 j = BIO_snprintf(buf[2], sizeof buf[2], "%s-attr", dbfile);
1854 rotate_index(const char *dbfile, const char *new_suffix, const char *old_suffix) argument
[all...]
H A Dapps.h311 CA_DB *load_index(char *dbfile, DB_ATTR *dbattr);
313 int save_index(const char *dbfile, const char *suffix, CA_DB *db);
314 int rotate_index(const char *dbfile, const char *new_suffix, const char *old_suffix);
H A Dca.c302 char *dbfile=NULL; local
706 if ((dbfile=NCONF_get_string(conf,section,ENV_DATABASE)) == NULL)
711 db = load_index(dbfile,&db_attr);
874 if ((dbfile=NCONF_get_string(conf,section,ENV_DATABASE)) == NULL)
879 db = load_index(dbfile, &db_attr);
950 dbfile);
965 if (!save_index(dbfile,"new",db)) goto err;
967 if (!rotate_index(dbfile,"new","old")) goto err;
1265 if (!save_index(dbfile, "new", db)) goto err;
1329 if (!rotate_index(dbfile,"ne
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl/apps/
H A Dapps.c1842 CA_DB *load_index(char *dbfile, DB_ATTR *db_attr) argument
1855 if (BIO_read_filename(in, dbfile) <= 0) {
1856 perror(dbfile);
1857 BIO_printf(bio_err, "unable to open '%s'\n", dbfile);
1864 BIO_snprintf(buf[0], sizeof buf[0], "%s.attr", dbfile);
1866 BIO_snprintf(buf[0], sizeof buf[0], "%s-attr", dbfile);
1937 int save_index(const char *dbfile, const char *suffix, CA_DB *db) argument
1948 j = strlen(dbfile) + strlen(suffix);
1954 j = BIO_snprintf(buf[2], sizeof buf[2], "%s.attr", dbfile);
1956 j = BIO_snprintf(buf[2], sizeof buf[2], "%s-attr", dbfile);
2000 rotate_index(const char *dbfile, const char *new_suffix, const char *old_suffix) argument
[all...]
H A Dsrp.c290 char *dbfile = NULL; local
333 dbfile = *(++argv);
379 if (dbfile && configfile) {
381 "-dbfile and -configfile cannot be specified together.\n");
423 if (!dbfile) {
497 if ((dbfile = NCONF_get_string(conf, section, ENV_DATABASE)) == NULL) {
509 dbfile);
511 db = load_index(dbfile, &db_attr);
736 if (!save_index(dbfile, "new", db))
740 if (!rotate_index(dbfile, "ne
[all...]
H A Dapps.h307 CA_DB *load_index(char *dbfile, DB_ATTR *dbattr);
309 int save_index(const char *dbfile, const char *suffix, CA_DB *db);
310 int rotate_index(const char *dbfile, const char *new_suffix,
H A Dca.c304 char *dbfile = NULL; local
688 if ((dbfile = NCONF_get_string(conf, section, ENV_DATABASE)) == NULL) {
692 db = load_index(dbfile, &db_attr);
839 if ((dbfile = NCONF_get_string(conf, section, ENV_DATABASE)) == NULL) {
843 db = load_index(dbfile, &db_attr);
909 BIO_printf(bio_err, "Updating %s ...\n", dbfile);
919 if (!save_index(dbfile, "new", db))
922 if (!rotate_index(dbfile, "new", "old"))
1222 if (!save_index(dbfile, "new", db))
1283 if (!rotate_index(dbfile, "ne
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl-1.0.2h/apps/
H A Dapps.c1842 CA_DB *load_index(char *dbfile, DB_ATTR *db_attr) argument
1855 if (BIO_read_filename(in, dbfile) <= 0) {
1856 perror(dbfile);
1857 BIO_printf(bio_err, "unable to open '%s'\n", dbfile);
1864 BIO_snprintf(buf[0], sizeof buf[0], "%s.attr", dbfile);
1866 BIO_snprintf(buf[0], sizeof buf[0], "%s-attr", dbfile);
1937 int save_index(const char *dbfile, const char *suffix, CA_DB *db) argument
1948 j = strlen(dbfile) + strlen(suffix);
1954 j = BIO_snprintf(buf[2], sizeof buf[2], "%s.attr", dbfile);
1956 j = BIO_snprintf(buf[2], sizeof buf[2], "%s-attr", dbfile);
2000 rotate_index(const char *dbfile, const char *new_suffix, const char *old_suffix) argument
[all...]
H A Dsrp.c290 char *dbfile = NULL; local
333 dbfile = *(++argv);
379 if (dbfile && configfile) {
381 "-dbfile and -configfile cannot be specified together.\n");
423 if (!dbfile) {
497 if ((dbfile = NCONF_get_string(conf, section, ENV_DATABASE)) == NULL) {
509 dbfile);
511 db = load_index(dbfile, &db_attr);
736 if (!save_index(dbfile, "new", db))
740 if (!rotate_index(dbfile, "ne
[all...]
H A Dapps.h307 CA_DB *load_index(char *dbfile, DB_ATTR *dbattr);
309 int save_index(const char *dbfile, const char *suffix, CA_DB *db);
310 int rotate_index(const char *dbfile, const char *new_suffix,
H A Dca.c304 char *dbfile = NULL; local
688 if ((dbfile = NCONF_get_string(conf, section, ENV_DATABASE)) == NULL) {
692 db = load_index(dbfile, &db_attr);
839 if ((dbfile = NCONF_get_string(conf, section, ENV_DATABASE)) == NULL) {
843 db = load_index(dbfile, &db_attr);
909 BIO_printf(bio_err, "Updating %s ...\n", dbfile);
919 if (!save_index(dbfile, "new", db))
922 if (!rotate_index(dbfile, "new", "old"))
1222 if (!save_index(dbfile, "new", db))
1283 if (!rotate_index(dbfile, "ne
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/db-4.7.25.NC/test/scr016/src/com/sleepycat/db/test/
H A DHashCompareTest.java43 java.io.File dbfile = new File(HASHCOMPARETEST_DBNAME);
44 dbfile.delete();

Completed in 196 milliseconds