/freebsd/contrib/sendmail/libsmdb/ |
H A D | smdb.c | 204 smdb_open_database(database, db_name, mode, mode_mask, sff, type, user_info, in smdb_open_database() argument 207 char *db_name; 234 result = (*smdb_open_fun)(database, db_name, mode, mode_mask, sff, 270 smdb_add_extension(full_name, max_full_name_len, db_name, extension) in smdb_add_extension() argument 273 char *db_name; 279 if (full_name == NULL || db_name == NULL || extension == NULL) 283 db_name_len = strlen(db_name); 289 db_name[db_name_len - extension_len - 1] != '.' || 290 strcmp(&db_name[db_name_len - extension_len], extension) != 0) 292 db_name, extension); [all …]
|
H A D | smdb2.c | 452 smdb_db_open_internal(db_name, db_type, db_flags, db_params, db) in smdb_db_open_internal() argument 453 char *db_name; in smdb_db_open_internal() 473 return db_open(db_name, db_type, db_flags, DBMMODE, NULL, params, db); 499 smdb_db_open_internal(db_name, db_type, db_flags, db_params, db) in smdb_db_open_internal() argument 500 char *db_name; in smdb_db_open_internal() 535 db_name, NULL, db_type, db_flags, DBMMODE); 575 smdb_db_open(database, db_name, mode, mode_mask, sff, type, user_info, db_params) in smdb_db_open() argument 577 char *db_name; 605 db_name, SMDB2_FILE_EXTENSION); 609 result = smdb_setup_file(db_name, SMDB2_FILE_EXTENSION, [all …]
|
H A D | smndbm.c | 488 smdb_ndbm_open(database, db_name, mode, mode_mask, sff, type, user_info, in smdb_ndbm_open() argument 491 char *db_name; 514 result = smdb_setup_file(db_name, SMNDB_DIR_FILE_EXTENSION, mode_mask, 519 result = smdb_setup_file(db_name, SMNDB_PAG_FILE_EXTENSION, mode_mask, 530 result = smdb_lock_file(&lock_fd, db_name, mode, sff, 540 result = smdb_lock_file(&pag_fd, db_name, mode, sff, 567 dbm = dbm_open(db_name, mode, DBMMODE); 588 result = smdb_filechanged(db_name, SMNDB_DIR_FILE_EXTENSION, 592 result = smdb_filechanged(db_name,
|
H A D | smcdb.c | 428 smdb_cdb_open(database, db_name, mode, mode_mask, sff, type, user_info, db_params) in smdb_cdb_open() argument 430 char *db_name; 449 db_name, SMCDB_FILE_EXTENSION); 453 result = smdb_setup_file(db_name, SMCDB_FILE_EXTENSION, 464 result = smdb_lock_file(&lock_fd, db_name, mode, sff, 531 result = smdb_filechanged(db_name, SMCDB_FILE_EXTENSION, db_fd,
|
H A D | smdb1.c | 446 smdb_db_open(database, db_name, mode, mode_mask, sff, type, user_info, in smdb_db_open() argument 449 char *db_name; 477 db_name, SMDB1_FILE_EXTENSION); 481 result = smdb_setup_file(db_name, SMDB1_FILE_EXTENSION, mode_mask, 491 result = smdb_lock_file(&lock_fd, db_name, mode, sff, 538 result = smdb_filechanged(db_name, SMDB1_FILE_EXTENSION, db_fd,
|
/freebsd/contrib/sendmail/praliases/ |
H A D | praliases.c | 244 char *db_name; local 255 db_name = filename; 261 db_name = colon + 1; 268 while (isascii(*db_name) && isspace(*db_name)) 269 db_name++; 271 if (*db_name != '-') 273 while (*db_name != '\0' && 274 !(isascii(*db_name) && isspace(*db_name))) 275 db_name++; 291 if (*db_name == '\0' || (db_type != NULL && *db_type == '\0')) [all …]
|
/freebsd/contrib/kyua/drivers/ |
H A D | scan_results_test.cpp | 140 populate_results_file(const char* db_name, const int count) in populate_results_file() argument 143 fs::path(db_name)); in populate_results_file()
|
/freebsd/crypto/heimdal/lib/hdb/ |
H A D | ndbm.c | 136 open_lock_file(krb5_context context, const char *db_name, int *fd) in open_lock_file() argument 141 asprintf(&lock_file, "%s.lock", db_name); in open_lock_file()
|
/freebsd/contrib/lib9p/ |
H A D | utils.c | 58 const char *db_name; /* name for matched value */ member 275 for (; db->db_name != NULL; db++) { in l9p_describe_bits() 277 sbuf_printf(sb, "%s%s", sep, db->db_name); in l9p_describe_bits() 288 db[1].db_name != NULL) in l9p_describe_bits()
|
/freebsd/contrib/sqlite3/ |
H A D | sqlite3ext.h | 359 const char *(*db_name)(sqlite3*,int); member 692 #define sqlite3_db_name sqlite3_api->db_name
|
H A D | sqlite3.c | 136792 const char *(*db_name)(sqlite3*,int); 137125 #define sqlite3_db_name sqlite3_api->db_name
|
/freebsd/contrib/sendmail/src/ |
H A D | map.c | 233 smdb_add_extension(full_name, max_full_name_len, db_name, extension) in smdb_add_extension() argument 236 char *db_name; 242 if (full_name == NULL || db_name == NULL || extension == NULL) 246 db_name_len = strlen(db_name); 252 db_name[db_name_len - extension_len - 1] != '.' || 253 strcmp(&db_name[db_name_len - extension_len], extension) != 0) 255 db_name, extension); 257 (void) sm_strlcpy(full_name, db_name, max_full_name_len);
|