| /src/external/bsd/blocklist/bin/ |
| state.h | 37 #include <db.h> 39 #error "no db.h" 53 DB *state_open(const char *, int, mode_t); 54 int state_close(DB *); 55 int state_get(DB *, const struct conf *, struct dbinfo *); 56 int state_put(DB *, const struct conf *, const struct dbinfo *); 57 int state_del(DB *, const struct conf *); 58 int state_iterate(DB *, struct conf *, struct dbinfo *, unsigned int); 59 int state_sync(DB *);
|
| state.c | 65 state_close(DB *db) 67 if (db == NULL) 69 if ((*db->close)(db) == -1) { 70 (*lfun)(LOG_ERR, "%s: can't close db (%m)", __func__); 76 DB * 79 DB *db; local 85 db = dbopen(dbname, flags, perm, DB_HASH, &openinfo) [all...] |
| /src/lib/libc/db/recno/ |
| extern.h | 36 int __rec_close(DB *); 37 int __rec_delete(const DB *, const DBT *, u_int); 39 int __rec_fd(const DB *); 43 int __rec_get(const DB *, const DBT *, DBT *, u_int); 45 int __rec_put(const DB *dbp, DBT *, const DBT *, u_int); 48 int __rec_seq(const DB *, DBT *, DBT *, u_int); 49 int __rec_sync(const DB *, u_int);
|
| /src/usr.sbin/kvm_mkdb/ |
| extern.h | 100 void create_knlist(const char *, DB *); 105 int create_knlist_aout(const char *, DB *); 108 int create_knlist_coff(const char *, DB *); 111 int create_knlist_ecoff(const char *, DB *); 114 int create_knlist_elf32(const char *, DB *); 117 int create_knlist_elf64(const char *, DB *);
|
| nlist.c | 76 #include <db.h> 90 int (*knlist)(const char *, DB *); 110 create_knlist(const char *name, DB *db) 115 if ((*knlist_fmts[i].knlist)(name, db) != -1)
|
| /src/external/bsd/nvi/dist/common/ |
| dbinternal.h | 5 int db_create(DB **, DB_ENV *, u_int32_t);
|
| vi_db.h | 3 #include <db.h> 21 #define db_open(db,file,type,flags,mode) \ 22 (db)->open(db, file, NULL, type, flags, mode) 23 #define db_get_low(db,key,data,flags) \ 24 (db)->get(db, key, data, flags) 25 #define db_close(db) \ 26 (db)->close(db) 168 DB *db; member in struct:__dbc_new [all...] |
| db1.c | 79 * DB emulation 81 static int db1_db_close(DB *, u_int32_t); 82 static int db1_db_open(DB *, const char *, const char *, DBTYPE, u_int32_t, int); 83 static int db1_db_sync(DB *, u_int32_t); 84 static int db1_db_get(DB *, DB_TXN *, DBT *, DBT *, u_int32_t); 85 static int db1_db_put(DB *, DB_TXN *, DBT *, DBT *, u_int32_t); 86 static int db1_db_del(DB *, DB_TXN *, DBT *, u_int32_t); 87 static int db1_db_set_flags(DB *, u_int32_t); 88 static int db1_db_set_pagesize(DB *, u_int32_t); 89 static int db1_db_set_re_delim(DB *, int) 316 DB *db = cursor->db; local 350 DB *db = cursor->db; local [all...] |
| dldb.c | 21 RELOC(db_create,int,(a,b,c),(DB **, DB_ENV *, u_int32_t), 22 DB**a;DB_ENV*b;u_int32_t c;)
|
| /src/lib/libc/db/btree/ |
| extern.h | 36 int __bt_close(DB *); 41 int __bt_delete(const DB *, const DBT *, unsigned int); 43 int __bt_fd(const DB *); 45 int __bt_get(const DB *, const DBT *, DBT *, unsigned int); 50 int __bt_put(const DB *dbp, DBT *, const DBT *, unsigned int); 54 int __bt_seq(const DB *, DBT *, DBT *, unsigned int); 58 int __bt_sync(const DB *, unsigned int); 66 void __bt_dnpage(DB *, pgno_t); 68 void __bt_dump(DB *); 71 void __bt_stat(DB *); [all...] |
| /src/lib/libc/db/db/ |
| db.c | 1 /* $NetBSD: db.c,v 1.21 2024/01/20 14:52:46 christos Exp $ */ 37 __RCSID("$NetBSD: db.c,v 1.21 2024/01/20 14:52:46 christos Exp $"); 47 #include <db.h> 48 static int __dberr(const DB *, ...); 58 DB * 86 __dberr(const DB *dbp, ...) 95 * dbp: pointer to the DB structure. 98 __dbpanic(DB *dbp) 101 dbp->del = (int (*)(const DB *, const DBT *, u_int))__dberr; 102 dbp->fd = (int (*)(const DB *))__dberr [all...] |
| /src/crypto/external/bsd/heimdal/dist/lib/kadm5/ |
| check-cracklib.pl | 64 my %DB; 73 dbmopen(%DB,$historydb,0600) or die "Internal: Could not open $historydb"; 74 if (!$DB{$key} || ($timenow - $DB{$key} < $reusetime)) { 76 $DB{$key}=$timenow; 78 dbmclose(%DB) or die "Internal: Could not close $historydb";
|
| /src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/ |
| BDCE.cpp | 44 static void clearAssumptionsOfUsers(Instruction *I, DemandedBits &DB) { 56 !DB.getDemandedBits(J).isAllOnesValue()) { 87 !DB.getDemandedBits(K).isAllOnesValue()) 93 static bool bitTrackingDCE(Function &F, DemandedBits &DB) { 105 if (DB.isInstructionDead(&I) || 107 DB.getDemandedBits(&I).isNullValue() && 118 APInt Demanded = DB.getDemandedBits(SE); 123 clearAssumptionsOfUsers(SE, DB); 142 if (!DB.isUseDead(&U)) 147 clearAssumptionsOfUsers(&I, DB); [all...] |
| /src/external/apache2/llvm/dist/clang/include/clang/Basic/ |
| PartialDiagnostic.h | 62 const StreamingDiagnostic &DB = *this; 63 DB << V; 73 const StreamingDiagnostic &DB = *this; 74 DB << std::move(V); 147 void Emit(const DiagnosticBuilder &DB) const { 155 DB.AddString(DiagStorage->DiagArgumentsStr[i]); 157 DB.AddTaggedVal(DiagStorage->DiagArgumentsVal[i], 163 DB.AddSourceRange(Range); 167 DB.AddFixItHint(Fix); 174 DiagnosticBuilder DB(Diags.Report(getDiagID())) [all...] |
| Diagnostic.h | 1336 const StreamingDiagnostic &DB = *this; 1337 DB << V; 1348 const StreamingDiagnostic &DB = *this; 1349 DB << std::move(V); 1377 inline const DiagnosticBuilder &operator<<(const DiagnosticBuilder &DB, 1379 DB.addFlagValue(V.Val); 1380 return DB; 1383 inline const StreamingDiagnostic &operator<<(const StreamingDiagnostic &DB, 1385 DB.AddString(S); 1386 return DB; [all...] |
| /src/usr.sbin/netgroup_mkdb/ |
| netgroup_mkdb.c | 40 #include <db.h> 71 static DB *ng_insert(DB *, const char *); 72 static void ng_reventry(DB *, DB *, struct nentry *, char *, 75 static void ng_rprint(DB *, struct string *); 76 static DB *ng_reverse(DB *, size_t); 77 static DB *ng_load(const char *); 78 static void ng_write(DB *, DB *, int) 98 DB *db, *ndb, *hdb, *udb; local 203 DB *db; local [all...] |
| /src/usr.bin/finger/ |
| extern.h | 37 extern DB *db; /* Database. */
|
| /src/external/gpl2/mkhybrid/dist/ |
| desktop.c | 2 ** make_desktop: create "Desktop DB" and "Desktop DF" files. 10 ** Desktop DB: Initial size == volume's clump size 31 #define DB "Desktop DB" 62 /* clear the DB file */ 69 /* create "Desktop DB" (if it doesn't exist) */ 70 if(hfs_create(vol, DB, ent.type, ent.creator) == 0) 72 /* DB file size from hce_mem info */ 73 /* set up "Desktop DB" data - following found by od'ing 74 the "Desktop DB" file * [all...] |
| /src/external/mpl/bind/dist/bin/tests/system/geoip2/data/ |
| write-test-data.pl | 25 use MaxMind::DB::Writer::Serializer 0.100004; 26 use MaxMind::DB::Writer::Tree 0.100004; 27 use MaxMind::DB::Writer::Util qw( key_for_data ); 29 use Test::MaxMind::DB::Common::Util qw( standard_test_metadata ); 134 my $writer = MaxMind::DB::Writer::Tree->new(
|
| /src/sys/arch/luna68k/dev/xplx/ |
| xplx.asm | 401 DEBUG0:: .DB 0 402 DEBUG1:: .DB 0 403 DEBUG2:: .DB 0 404 DEBUG3:: .DB 0 405 DEBUG4:: .DB 0 406 DEBUG5:: .DB 0 407 DEBUG6:: .DB 0 408 DEBUG7:: .DB 0 409 DEBUG8:: .DB 0 410 DEBUG9:: .DB [all...] |
| /src/crypto/external/bsd/openssl.old/dist/crypto/rsa/ |
| rsa_pss.c | 40 unsigned char *DB = NULL; 93 DB = OPENSSL_malloc(maskedDBLen); 94 if (DB == NULL) { 98 if (PKCS1_MGF1(DB, maskedDBLen, H, hLen, mgf1Hash) < 0) 101 DB[i] ^= EM[i]; 103 DB[0] &= 0xFF >> (8 - MSBits); 104 for (i = 0; DB[i] == 0 && i < (maskedDBLen - 1); i++) ; 105 if (DB[i++] != 0x1) { 118 if (!EVP_DigestUpdate(ctx, DB + i, maskedDBLen - i)) 131 OPENSSL_free(DB); [all...] |
| /src/include/ |
| db.h | 1 /* $NetBSD: db.h,v 1.27 2016/09/24 20:11:43 christos Exp $ */ 31 * @(#)db.h 8.7 (Berkeley) 6/16/94 116 DBTYPE type; /* Underlying db type. */ 125 } DB; 230 DB *dbopen(const char *, int, mode_t, DBTYPE, const void *); 236 DB *__bt_open(const char *, int, mode_t, const BTREEINFO *, int); 237 DB *__hash_open(const char *, int, mode_t, const HASHINFO *, int); 238 DB *__rec_open(const char *, int, mode_t, const RECNOINFO *, int); 239 void __dbpanic(DB *);
|
| /src/usr.sbin/ypserv/common/ |
| ypdb.h | 11 * This code is derived from ndbm module of BSD4.4 db (hash) by 43 #include <db.h> 46 #define YPDB_SUFFIX ".db" 60 typedef DB DBM;
|
| /src/external/gpl2/gmake/dist/ |
| debug.h | 38 #define DB(_l,_x) do{ if(ISDB(_l)) {printf _x; fflush (stdout);} }while(0)
|
| /src/tests/lib/libc/db/ |
| t_db_hash_seq.c | 36 #include <db.h> 92 state_close(DB *db) 94 if (db == NULL) 96 if ((*db->close)(db) == -1) 97 DO_ERR("%s: can't close db", __func__); 101 static DB * 104 DB *db; local 248 DB *db; local [all...] |