Home
last modified time | relevance | path

Searched refs:dbfile (Results 1 – 5 of 5) sorted by relevance

/external/openssl/apps/
Dapps.c1796 CA_DB *load_index(char *dbfile, DB_ATTR *db_attr) in load_index() argument
1810 if (BIO_read_filename(in,dbfile) <= 0) in load_index()
1812 perror(dbfile); in load_index()
1813 BIO_printf(bio_err,"unable to open '%s'\n",dbfile); in load_index()
1820 BIO_snprintf(buf[0], sizeof buf[0], "%s.attr", dbfile); in load_index()
1822 BIO_snprintf(buf[0], sizeof buf[0], "%s-attr", dbfile); in load_index()
1899 int save_index(const char *dbfile, const char *suffix, CA_DB *db) in save_index() argument
1911 j = strlen(dbfile) + strlen(suffix); in save_index()
1919 j = BIO_snprintf(buf[2], sizeof buf[2], "%s.attr", dbfile); in save_index()
1921 j = BIO_snprintf(buf[2], sizeof buf[2], "%s-attr", dbfile); in save_index()
[all …]
Dsrp.c291 char *dbfile=NULL; in MAIN() local
337 dbfile= *(++argv); in MAIN()
389 if (dbfile && configfile) in MAIN()
433 if (!dbfile) in MAIN()
500 if ((dbfile=NCONF_get_string(conf,section,ENV_DATABASE)) == NULL) in MAIN()
512 VERBOSE BIO_printf(bio_err,"Trying to read SRP verifier file \"%s\"\n",dbfile); in MAIN()
514 db = load_index(dbfile, &db_attr); in MAIN()
727 if (!save_index(dbfile, "new", db)) goto err; in MAIN()
730 if (!rotate_index(dbfile, "new", "old")) goto err; in MAIN()
Dapps.h301 CA_DB *load_index(char *dbfile, DB_ATTR *dbattr);
303 int save_index(const char *dbfile, const char *suffix, CA_DB *db);
304 int rotate_index(const char *dbfile, const char *new_suffix, const char *old_suffix);
Dca.c305 char *dbfile=NULL; in MAIN() local
727 if ((dbfile=NCONF_get_string(conf,section,ENV_DATABASE)) == NULL) in MAIN()
732 db = load_index(dbfile,&db_attr); in MAIN()
890 if ((dbfile=NCONF_get_string(conf,section,ENV_DATABASE)) == NULL) in MAIN()
895 db = load_index(dbfile, &db_attr); in MAIN()
966 dbfile); in MAIN()
981 if (!save_index(dbfile,"new",db)) goto err; in MAIN()
983 if (!rotate_index(dbfile,"new","old")) goto err; in MAIN()
1299 if (!save_index(dbfile, "new", db)) goto err; in MAIN()
1363 if (!rotate_index(dbfile,"new","old")) goto err; in MAIN()
[all …]
/external/javasqlite/src/main/java/SQLite/JDBC2z/
DJDBCConnection.java53 private String dbfile = null; field in JDBCConnection
112 dbx.open(dbfile, readonly ? SQLite.Constants.SQLITE_OPEN_READONLY : in open()
148 dbfile = url.substring(8); in JDBCConnection()
150 dbfile = url.substring(13); in JDBCConnection()