| /onnv-gate/usr/src/lib/libnisdb/yptol/ |
| H A D | shim_ancil.c | 222 char dbfile[MAXNAMLEN + sizeof (TTL_POSTFIX) + 1]; in ypcheck_map_existence_yptol() local 228 sizeof (dbfile)) { in ypcheck_map_existence_yptol() 235 (void) strcpy(dbfile, pname); in ypcheck_map_existence_yptol() 236 (void) strcat(dbfile, dbm_dir); in ypcheck_map_existence_yptol() 238 if (stat64(dbfile, &filestat) == -1) { in ypcheck_map_existence_yptol() 242 dbfile); in ypcheck_map_existence_yptol() 248 (void) strcpy(dbfile, pname); in ypcheck_map_existence_yptol() 249 (void) strcat(dbfile, dbm_pag); in ypcheck_map_existence_yptol() 251 if (stat64(dbfile, &filestat) == -1) { in ypcheck_map_existence_yptol() 255 dbfile); in ypcheck_map_existence_yptol() [all …]
|
| /onnv-gate/usr/src/cmd/ypcmd/shared/ |
| H A D | utils.c | 193 char dbfile[MAXNAMLEN + 1]; local 203 (void) strcpy(dbfile, pname); 204 (void) strcat(dbfile, dbm_dir); 206 if (stat64(dbfile, &filestat) != -1) { 207 (void) strcpy(dbfile, pname); 208 (void) strcat(dbfile, dbm_pag); 210 if (stat64(dbfile, &filestat) != -1) { 217 dbfile); 228 dbfile);
|
| /onnv-gate/usr/src/common/openssl/apps/ |
| H A D | apps.c | 1681 CA_DB *load_index(char *dbfile, DB_ATTR *db_attr) in load_index() argument 1695 if (BIO_read_filename(in,dbfile) <= 0) in load_index() 1697 perror(dbfile); in load_index() 1698 BIO_printf(bio_err,"unable to open '%s'\n",dbfile); in load_index() 1708 BIO_snprintf(buf[0], sizeof buf[0], "%s.attr", dbfile); in load_index() 1710 BIO_snprintf(buf[0], sizeof buf[0], "%s-attr", dbfile); in load_index() 1787 int save_index(const char *dbfile, const char *suffix, CA_DB *db) in save_index() argument 1799 j = strlen(dbfile) + strlen(suffix); in save_index() 1807 j = BIO_snprintf(buf[2], sizeof buf[2], "%s.attr", dbfile); in save_index() 1809 j = BIO_snprintf(buf[2], sizeof buf[2], "%s-attr", dbfile); in save_index() [all …]
|
| H A D | apps.h | 311 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 D | ca.c | 309 char *dbfile=NULL; in MAIN() local 713 if ((dbfile=NCONF_get_string(conf,section,ENV_DATABASE)) == NULL) in MAIN() 718 db = load_index(dbfile,&db_attr); in MAIN() 881 if ((dbfile=NCONF_get_string(conf,section,ENV_DATABASE)) == NULL) in MAIN() 886 db = load_index(dbfile, &db_attr); in MAIN() 957 dbfile); in MAIN() 972 if (!save_index(dbfile,"new",db)) goto err; in MAIN() 974 if (!rotate_index(dbfile,"new","old")) goto err; in MAIN() 1272 if (!save_index(dbfile, "new", db)) goto err; in MAIN() 1336 if (!rotate_index(dbfile,"new","old")) goto err; in MAIN() [all …]
|
| /onnv-gate/usr/src/cmd/ypcmd/ |
| H A D | ypxfr.c | 1342 char dbfile[MAXNAMLEN + 1]; local 1352 (void) strcpy(dbfile, pname); 1353 (void) strcat(dbfile, dbm_dir); 1355 if ((f = open(dbfile, (O_WRONLY | O_CREAT | O_TRUNC), 0600)) >= 0) { 1357 (void) strcpy(dbfile, pname); 1358 (void) strcat(dbfile, dbm_pag); 1360 if ((f = open(dbfile, (O_WRONLY | O_CREAT | O_TRUNC),
|
| /onnv-gate/usr/src/cmd/wbem/provider/com/sun/wbem/solarisprovider/srm/ |
| H A D | DataModel.java | 137 String dbfile = null; in open() local
|