Home
last modified time | relevance | path

Searched refs:dbfilename (Results 1 – 4 of 4) sorted by relevance

/titanic_50/usr/src/lib/libnisdb/
H A Ddb.cc66 dbfilename = new char[len+1]; in db()
67 if (dbfilename == NULL) in db()
71 delete dbfilename; in db()
76 delete dbfilename; in db()
80 sprintf(dbfilename, "%s", dbname); in db()
98 delete dbfilename; in ~db()
630 dbfilename); in load()
634 if ((load_status = internal_db.load(dbfilename)) != 0) { in load()
636 syslog(LOG_ERR, "Load of db '%s' failed", dbfilename); in load()
711 if (rename(tmpfilename, dbfilename) < 0){ /* rename permanently */ in checkpoint()
[all …]
H A Ddb_c.x53 char* dbfilename; member
68 % char* dbfilename;
/titanic_50/usr/src/lib/libkmf/libkmf/common/
H A Dpolicy.c1140 kmf_delete_policy_from_db(char *policy_name, char *dbfilename) in kmf_delete_policy_from_db() argument
1147 if (policy_name == NULL || dbfilename == NULL) in kmf_delete_policy_from_db()
1154 if (strcmp(dbfilename, KMF_DEFAULT_POLICY_FILE) == 0 && in kmf_delete_policy_from_db()
1159 if (access(dbfilename, R_OK | W_OK)) in kmf_delete_policy_from_db()
1167 doc = xmlCtxtReadFile(ctxt, dbfilename, NULL, in kmf_delete_policy_from_db()
1184 ret = update_policyfile(doc, dbfilename); in kmf_delete_policy_from_db()
1341 kmf_add_policy_to_db(KMF_POLICY_RECORD *policy, char *dbfilename, in kmf_add_policy_to_db() argument
1349 if (policy == NULL || dbfilename == NULL) in kmf_add_policy_to_db()
1358 if (!access(dbfilename, R_OK)) { in kmf_add_policy_to_db()
1365 doc = xmlCtxtReadFile(ctxt, dbfilename, NULL, in kmf_add_policy_to_db()
[all …]
/titanic_50/usr/src/cmd/ypcmd/
H A Dypxfr.c1318 char dbfilename[MAXNAMLEN + 1]; local
1324 strcpy(dbfilename, basename);
1325 strcat(dbfilename, dbm_pag);
1326 unlink(dbfilename);
1327 strcpy(dbfilename, basename);
1328 strcat(dbfilename, dbm_dir);
1329 unlink(dbfilename);