Home
last modified time | relevance | path

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

/freebsd/crypto/heimdal/lib/hdb/
H A Dkeytab.c39 char *dbname; member
70 d->dbname = NULL; in hdb_resolve()
72 d->dbname = strdup(name); in hdb_resolve()
73 if(d->dbname == NULL) { in hdb_resolve()
81 d->dbname = malloc(mkey - db + 1); in hdb_resolve()
82 if(d->dbname == NULL) { in hdb_resolve()
87 memmove(d->dbname, db, mkey - db); in hdb_resolve()
88 d->dbname[mkey - db] = '\0'; in hdb_resolve()
92 free(d->dbname); in hdb_resolve()
107 free(d->dbname); in hdb_close()
[all …]
H A Ddbinfo.c39 char *dbname; member
68 di->dbname = strdup(p); in get_dbinfo()
147 if(di->dbname == NULL) { in hdb_get_dbinfo()
148 di->dbname = strdup(default_dbname); in hdb_get_dbinfo()
153 p = strrchr(di->dbname, '.'); in hdb_get_dbinfo()
156 asprintf(&di->mkey_file, "%s.mkey", di->dbname); in hdb_get_dbinfo()
161 (int)(p - di->dbname), di->dbname); in hdb_get_dbinfo()
195 return dbp->dbname; in hdb_dbinfo_get_dbname()
231 free (di->dbname); in hdb_free_dbinfo()
/freebsd/contrib/blocklist/bin/
H A Dblacklistctl.c82 const char *dbname = _PATH_BLSTATE; in main() local
110 dbname = optarg; in main()
128 db = state_open(dbname, O_RDONLY, 0); in main()
130 err(EXIT_FAILURE, "Can't open `%s'", dbname); in main()
H A Dstate.c75 state_open(const char *dbname, int flags, mode_t perm) in state_open() argument
83 db = dbopen(dbname, flags, perm, DB_HASH, &openinfo); in state_open()
87 (*lfun)(LOG_ERR, "%s: can't open `%s' (%m)", __func__, dbname); in state_open()
/freebsd/crypto/heimdal/lib/kadm5/
H A Dcontext_s.c101 ctx->config.dbname = strdup(p); in find_db_spec()
121 if (ctx->config.dbname == NULL) in find_db_spec()
122 ctx->config.dbname = strdup(hdb_default_db(context)); in find_db_spec()
157 (*ctx)->config.dbname = strdup(params->dbname); in _kadm5_s_init_context()
H A Dinit_s.c54 assert(ctx->config.dbname != NULL); in kadm5_s_init_with_context()
64 ret = hdb_create(ctx->context, &ctx->db, ctx->config.dbname); in kadm5_s_init_with_context()
H A Ddestroy_s.c46 free (c->dbname); in destroy_config()
H A Dipropd_slave.c353 char *dbname; in receive_everything() local
358 asprintf(&dbname, "%s-NEW", server_context->db->hdb_name); in receive_everything()
359 ret = hdb_create(context, &mydb, dbname); in receive_everything()
362 free(dbname); in receive_everything()
H A Dmarshall.c377 ret = krb5_ret_string(sp, &params->dbname); in _kadm5_unmarshal_params()
378 if (params->dbname == NULL) { in _kadm5_unmarshal_params()
H A Dadmin.h213 char *dbname; member
H A DChangeLog1183 * context_s.c (_kadm5_s_init_context): get dbname, acl_file, and
/freebsd/tools/tools/commitsdb/
H A Dquery_commit_db11 my $dbname = "commitsdb";
19 open DB, "< $dbname" or die "$!\n";
47 open DB, "< $dbname" or die "$!\n";
H A Dmake_commit_db10 my $dbname = "commitsdb";
11 open DB, "> $dbname" or die "$!\n";
/freebsd/usr.sbin/sa/
H A Ddb.c56 db_copy_in(DB **mdb, const char *dbname, const char *uname, BTREEINFO *bti, in db_copy_in() argument
69 if ((ddb = dbopen(dbname, O_RDONLY, 0, DB_BTREE, bti)) == NULL) { in db_copy_in()
148 db_copy_out(DB *mdb, const char *dbname, const char *uname, BTREEINFO *bti) in db_copy_out() argument
154 if ((ddb = dbopen(dbname, O_RDWR|O_CREAT|O_TRUNC, 0644, in db_copy_out()
H A Dextern.h68 int db_copy_in(DB **mdb, const char *dbname, const char *name,
70 int db_copy_out(DB *mdb, const char *dbname, const char *name,
/freebsd/lib/libc/iconv/
H A Dcitrus_aliasname_local.h35 __unaliasname(const char *dbname, const char *alias, in __unaliasname() argument
39 return (_lookup_simple(dbname, alias, in __unaliasname()
/freebsd/usr.sbin/services_mkdb/
H A Dservices_mkdb.c85 const char *dbname = _PATH_SERVICES_DB; in main() local
112 dbname = optarg; in main()
141 (void)snprintf(tname, sizeof(tname), "%s.tmp", dbname); in main()
172 if (rename(tname, dbname) == -1 || in main()
173 (dbname_dirbuf = strdup(dbname)) == NULL || in main()
179 err(1, "Cannot rename `%s' to `%s'", tname, dbname); in main()
/freebsd/contrib/nvi/ex/
H A Dex_cscope.c200 char *dbname, *path; in cscope_add() local
250 dbname = CSCOPE_DBFILE; in cscope_add()
251 } else if ((dbname = strrchr(np, '/')) != NULL) in cscope_add()
252 *dbname++ = '\0'; in cscope_add()
254 dbname = np; in cscope_add()
278 if (run_cscope(sp, csc, dbname)) in cscope_add()
377 run_cscope(SCR *sp, CSC *csc, char *dbname) in run_cscope() argument
417 if ((dbn = quote(dbname)) == NULL) { in run_cscope()
/freebsd/contrib/file/src/
H A Dapprentice.c3302 char *dbname = NULL; in apprentice_map() local
3313 dbname = mkdbname(ms, fn, 0); in apprentice_map()
3314 if (dbname == NULL) in apprentice_map()
3317 if ((fd = open(dbname, O_RDONLY|O_BINARY)) == -1) in apprentice_map()
3321 file_error(ms, errno, "cannot stat `%s'", dbname); in apprentice_map()
3325 file_error(ms, 0, "file `%s' is too %s", dbname, in apprentice_map()
3335 file_error(ms, errno, "cannot map `%s'", dbname); in apprentice_map()
3352 if (check_buffer(ms, map, dbname) != 0) { in apprentice_map()
3357 file_error(ms, errno, "cannot mprotect `%s'", dbname); in apprentice_map()
3362 free(dbname); in apprentice_map()
[all …]
/freebsd/contrib/kyua/integration/
H A Dcmd_db_migrate_test.sh52 local dbname="results.$(utils_test_suite_id)-20140718-173200-123456.db"
53 cat "${@}" | sqlite3 "${HOME}/.kyua/store/${dbname}"
/freebsd/contrib/netbsd-tests/lib/libc/db/
H A Dt_db_hash_seq.c102 state_open(const char *dbname, int flags, mode_t perm) in state_open() argument
106 db = dbopen(dbname, flags, perm, DB_HASH, &openinfo); in state_open()
110 DO_ERR("%s: can't open `%s'", __func__, dbname); in state_open()
/freebsd/crypto/heimdal/kdc/
H A Dconfig.c42 char *dbname; member
/freebsd/crypto/heimdal/
H A DChangeLog.2004640 * lib/krb5/krb5.conf.5: some text about dbname and realm
/freebsd/crypto/heimdal/doc/
H A Dsetup.texi1108 dbname = ldap:ou=KerberosPrincipals,dc=example,dc=com
/freebsd/contrib/tzdata/
H A Dasia299 # http://oversea.cnki.net/kns55/detail.aspx?dbname=CJFD2014&filename=NJSH201402020
476 # http://oversea.cnki.net/kcms/detail/detail.aspx?filename=ZGKS200301000&dbname=CJFD2003