Searched refs:dbname (Results 1 - 18 of 18) sorted by relevance

/freebsd-11-stable/lib/libc/iconv/
H A Dcitrus_aliasname_local.h34 __unaliasname(const char *dbname, const char *alias, argument
38 return (_lookup_simple(dbname, alias,
/freebsd-11-stable/crypto/heimdal/lib/hdb/
H A Dkeytab.c39 char *dbname; member in struct:hdb_data
70 d->dbname = NULL;
72 d->dbname = strdup(name);
73 if(d->dbname == NULL) {
81 d->dbname = malloc(mkey - db + 1);
82 if(d->dbname == NULL) {
87 memmove(d->dbname, db, mkey - db);
88 d->dbname[mkey - db] = '\0';
92 free(d->dbname);
107 free(d->dbname);
134 find_db(krb5_context context, char **dbname, char **mkey, krb5_const_principal principal) argument
183 const char *dbname = d->dbname; local
268 const char *dbname = d->dbname; local
[all...]
H A Ddbinfo.c39 char *dbname; member in struct:hdb_dbinfo
58 p = krb5_config_get_string(context, db_binding, "dbname", NULL);
68 di->dbname = strdup(p);
147 if(di->dbname == NULL) {
148 di->dbname = strdup(default_dbname);
153 p = strrchr(di->dbname, '.');
156 asprintf(&di->mkey_file, "%s.mkey", di->dbname);
161 (int)(p - di->dbname), di->dbname);
195 return dbp->dbname;
[all...]
/freebsd-11-stable/tools/tools/commitsdb/
H A Dquery_commit_db13 my $dbname = "commitsdb";
21 open DB, "< $dbname" or die "$!\n";
49 open DB, "< $dbname" or die "$!\n";
H A Dmake_commit_db12 my $dbname = "commitsdb";
13 open DB, "> $dbname" or die "$!\n";
/freebsd-11-stable/contrib/blacklist/bin/
H A Dblacklistctl.c73 const char *dbname = _PATH_BLSTATE; local
101 dbname = optarg;
120 db = state_open(dbname, O_RDONLY, 0);
122 err(EXIT_FAILURE, "Can't open `%s'", dbname);
H A Dstate.c75 state_open(const char *dbname, int flags, mode_t perm) argument
83 db = dbopen(dbname, flags, perm, DB_HASH, &openinfo);
87 (*lfun)(LOG_ERR, "%s: can't open `%s' (%m)", __func__, dbname);
/freebsd-11-stable/crypto/heimdal/lib/kadm5/
H A Dcontext_s.c101 ctx->config.dbname = strdup(p);
121 if (ctx->config.dbname == NULL)
122 ctx->config.dbname = strdup(hdb_default_db(context));
157 (*ctx)->config.dbname = strdup(params->dbname);
H A Ddestroy_s.c46 free (c->dbname);
H A Dinit_s.c54 assert(ctx->config.dbname != NULL);
64 ret = hdb_create(ctx->context, &ctx->db, ctx->config.dbname);
H A Dadmin.h213 char *dbname; member in struct:_kadm5_config_params
H A Dipropd_slave.c353 char *dbname; local
358 asprintf(&dbname, "%s-NEW", server_context->db->hdb_name);
359 ret = hdb_create(context, &mydb, dbname);
362 free(dbname);
/freebsd-11-stable/usr.sbin/sa/
H A Ddb.c54 * database dbname.
59 db_copy_in(DB **mdb, const char *dbname, const char *uname, BTREEINFO *bti, argument
72 if ((ddb = dbopen(dbname, O_RDONLY, 0, DB_BTREE, bti)) == NULL) {
147 * Save the in-memory database mdb to the disk database dbname.
151 db_copy_out(DB *mdb, const char *dbname, const char *uname, BTREEINFO *bti) argument
157 if ((ddb = dbopen(dbname, O_RDWR|O_CREAT|O_TRUNC, 0644,
H A Dextern.h70 int db_copy_in(DB **mdb, const char *dbname, const char *name,
72 int db_copy_out(DB *mdb, const char *dbname, const char *name,
/freebsd-11-stable/usr.sbin/services_mkdb/
H A Dservices_mkdb.c89 const char *dbname = _PATH_SERVICES_DB; local
116 dbname = optarg;
145 (void)snprintf(tname, sizeof(tname), "%s.tmp", dbname);
176 if (rename(tname, dbname) == -1 ||
177 (dbname_dirbuf = strdup(dbname)) == NULL ||
183 err(1, "Cannot rename `%s' to `%s'", tname, dbname);
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/db/
H A Dt_db_hash_seq.c102 state_open(const char *dbname, int flags, mode_t perm) argument
106 db = dbopen(dbname, flags, perm, DB_HASH, &openinfo);
110 DO_ERR("%s: can't open `%s'", __func__, dbname);
/freebsd-11-stable/contrib/nvi/ex/
H A Dex_cscope.c204 char *dbname, *path; local
254 dbname = CSCOPE_DBFILE;
255 } else if ((dbname = strrchr(np, '/')) != NULL)
256 *dbname++ = '\0';
258 dbname = np;
275 if (run_cscope(sp, csc, dbname))
377 run_cscope(SCR *sp, CSC *csc, char *dbname) argument
417 if ((dbn = quote(dbname)) == NULL) {
/freebsd-11-stable/crypto/heimdal/kdc/
H A Dconfig.c42 char *dbname; member in struct:dbinfo

Completed in 96 milliseconds