| /netbsd/src/lib/libc/db/btree/ |
| D | extern.h | 37 int __bt_cmp(BTREE *, const DBT *, EPG *); 39 int __bt_defcmp(const DBT *, const DBT *); 40 size_t __bt_defpfx(const DBT *, const DBT *); 41 int __bt_delete(const DB *, const DBT *, unsigned int); 42 int __bt_dleaf(BTREE *, const DBT *, PAGE *, unsigned int); 45 int __bt_get(const DB *, const DBT *, DBT *, unsigned int); 50 int __bt_put(const DB *dbp, DBT *, const DBT *, unsigned int); 52 int __bt_ret(BTREE *, EPG *, DBT *, DBT *, DBT *, DBT *, int); 53 EPG *__bt_search(BTREE *, const DBT *, int *); 54 int __bt_seq(const DB *, DBT *, DBT *, unsigned int); [all …]
|
| D | bt_utils.c | 69 __bt_ret(BTREE *t, EPG *e, DBT *key, DBT *rkey, DBT *data, DBT *rdata, int copy) in __bt_ret() 148 __bt_cmp(BTREE *t, const DBT *k1, EPG *e) in __bt_cmp() 152 DBT k2; in __bt_cmp() 208 __bt_defcmp(const DBT *a, const DBT *b) in __bt_defcmp() 237 __bt_defpfx(const DBT *a, const DBT *b) in __bt_defpfx()
|
| D | bt_put.c | 54 static EPG *bt_fast(BTREE *, const DBT *, const DBT *, int *); 70 __bt_put(const DB *dbp, DBT *key, const DBT *data, u_int flags) in __bt_put() 73 DBT tkey, tdata; in __bt_put() 268 bt_fast(BTREE *t, const DBT *key, const DBT *data, int *exactp) in bt_fast()
|
| D | btree.h | 327 DBT key; /* B: Saved key, or key.data == NULL. */ 374 DBT bt_rkey; /* returned key */ 375 DBT bt_rdata; /* returned data */ 388 int (*bt_cmp)(const DBT *, const DBT *); 390 size_t (*bt_pfx)(const DBT *, const DBT *);
|
| /netbsd/src/usr.sbin/sa/ |
| D | main.c | 66 static int cmp_usrsys(const DBT *, const DBT *); 67 static int cmp_avgusrsys(const DBT *, const DBT *); 68 static int cmp_dkio(const DBT *, const DBT *); 69 static int cmp_avgdkio(const DBT *, const DBT *); 70 static int cmp_cpumem(const DBT *, const DBT *); 71 static int cmp_avgcpumem(const DBT *, const DBT *); 72 static int cmp_calls(const DBT *, const DBT *); 404 cmp_usrsys(const DBT *d1, const DBT *d2) in cmp_usrsys() 425 cmp_avgusrsys(const DBT *d1, const DBT *d2) in cmp_avgusrsys() 449 cmp_dkio(const DBT *d1, const DBT *d2) in cmp_dkio() [all …]
|
| D | usrdb.c | 53 static int uid_compare(const DBT *, const DBT *); 74 DBT key, data; in usracct_init() 142 DBT key, data; in usracct_add() 193 DBT key, data; in usracct_update() 244 DBT key, data; in usracct_print() 293 uid_compare(const DBT *k1, const DBT *k2) in uid_compare()
|
| /netbsd/src/lib/libc/db/recno/ |
| D | extern.h | 37 int __rec_delete(const DB *, const DBT *, u_int); 43 int __rec_get(const DB *, const DBT *, DBT *, u_int); 44 int __rec_iput(BTREE *, recno_t, const DBT *, u_int); 45 int __rec_put(const DB *dbp, DBT *, const DBT *, u_int); 46 int __rec_ret(BTREE *, EPG *, recno_t, DBT *, DBT *); 48 int __rec_seq(const DB *, DBT *, DBT *, u_int);
|
| /netbsd/src/usr.sbin/rpc.statd/ |
| D | statd.c | 74 static DBT undefkey = { 81 static int walk_one(int (*fun )(DBT *, HostInfo *, void *), DBT *, DBT *, void *); 82 static int walk_db(int (*fun )(DBT *, HostInfo *, void *), void *); 83 static int reset_host(DBT *, HostInfo *, void *); 84 static int check_work(DBT *, HostInfo *, void *); 85 static int unmon_host(DBT *, HostInfo *, void *); 86 static int notify_one(DBT *, HostInfo *, void *); 211 DBT data; in sync_file() 240 DBT key, data; in change_host() 279 DBT key, data; in find_host() [all …]
|
| /netbsd/src/include/ |
| D | db.h | 57 } DBT; typedef 118 int (*del) (const struct __db *, const DBT *, unsigned int); 119 int (*get) (const struct __db *, const DBT *, DBT *, unsigned int); 120 int (*put) (const struct __db *, DBT *, const DBT *, unsigned int); 121 int (*seq) (const struct __db *, DBT *, DBT *, unsigned int); 139 (const DBT *, const DBT *); 141 (const DBT *, const DBT *);
|
| /netbsd/src/external/bsd/nvi/dist/common/ |
| D | vi_db.h | 81 typedef DBT DBT_v1; 82 #undef DBT 83 #define DBT DBT_new macro 93 } DBT; typedef 147 int (*get)(DB *, DB_TXN *, DBT *, DBT *, u_int32_t); 148 int (*put)(DB *, DB_TXN *, DBT *, DBT *, u_int32_t); 149 int (*del)(DB *, DB_TXN *, DBT *, u_int32_t); 172 int (*c_get)(DBC *, DBT *, DBT *, u_int32_t); 173 int (*c_put)(DBC *, DBT *, DBT *, u_int32_t);
|
| D | db1.c | 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); 187 db1_db_get(DB *db, DB_TXN *txnid, DBT *key, DBT *data, u_int32_t flags) { in db1_db_get() 211 db1_db_put(DB *db, DB_TXN *txnid, DBT *key, DBT *data, u_int32_t flags) { in db1_db_put() 214 DBT data1; in db1_db_put() 215 DBT key1; in db1_db_put() 236 db1_db_del(DB *db, DB_TXN *txnid, DBT *key, u_int32_t flags) { in db1_db_del() 283 static int db1_dbc_get(DBC *, DBT *, DBT *, u_int32_t); 284 static int db1_dbc_put(DBC *, DBT *, DBT *, u_int32_t); [all …]
|
| D | vi_auto.c | 34 DBT logrec; 73 ret = dbenv->log_put(dbenv, ret_lsnp, (DBT *)&logrec, flags); 79 (DBT *)&logrec, ret_lsnp, NULL, NULL); 92 DBT *rec; 125 DBT *dbtp; 205 DBT logrec; 254 ret = dbenv->log_put(dbenv, ret_lsnp, (DBT *)&logrec, flags); 260 (DBT *)&logrec, ret_lsnp, NULL, NULL); 273 DBT *rec; 306 DBT *dbtp; [all …]
|
| D | vi_rec.c | 32 DBT *dbtp; 59 DBT *dbtp; 104 DBT *dbtp; 136 DBT *dbtp; 197 __vi_log_dispatch(DB_ENV *dbenv, DBT *data, DB_LSN *lsn, db_recops ops) in __vi_log_dispatch() 208 vi_log_get(SCR *sp, DB_LOGC *logc, DBT *data, u_int32_t which) in vi_log_get() 245 DBT data; in __vi_log_traverse()
|
| /netbsd/src/lib/libc/db/hash/ |
| D | extern.h | 35 int __addel(HTAB *, BUFHEAD *, const DBT *, const DBT *); 37 int __big_insert(HTAB *, BUFHEAD *, const DBT *, const DBT *); 38 int __big_keydata(HTAB *, BUFHEAD *, DBT *, DBT *, int); 39 int __big_return(HTAB *, BUFHEAD *, int, DBT *, int);
|
| D | ndbmdatum.c | 70 DBT dbtkey, dbtretdata; in dbm_fetch() 94 DBT dbtretkey, dbtretdata; in dbm_firstkey() 114 DBT dbtretkey, dbtretdata; in dbm_nextkey() 133 DBT dbtkey; in dbm_delete() 153 DBT dbtkey, dbtdata; in dbm_store()
|
| D | hash.c | 61 static int hash_access(HTAB *, ACTION, DBT *, DBT *); 63 static int hash_delete(const DB *, const DBT *, uint32_t); 65 static int hash_get(const DB *, const DBT *, DBT *, uint32_t); 66 static int hash_put(const DB *, DBT *, const DBT *, uint32_t); 68 static int hash_seq(const DB *, DBT *, DBT *, uint32_t); 522 hash_get(const DB *dbp, const DBT *key, DBT *data, uint32_t flag) in hash_get() 535 hash_put(const DB *dbp, DBT *key, const DBT *data, uint32_t flag) in hash_put() 554 hash_delete(const DB *dbp, const DBT *key, uint32_t flag) in hash_delete() 574 hash_access(HTAB *hashp, ACTION action, DBT *key, DBT *val) in hash_access() 723 hash_seq(const DB *dbp, DBT *key, DBT *data, uint32_t flag) in hash_seq()
|
| /netbsd/src/lib/libc/db/db/ |
| D | db.c | 101 dbp->del = (int (*)(const DB *, const DBT *, u_int))__dberr; in __dbpanic() 103 dbp->get = (int (*)(const DB *, const DBT *, DBT *, u_int))__dberr; in __dbpanic() 104 dbp->put = (int (*)(const DB *, DBT *, const DBT *, u_int))__dberr; in __dbpanic() 105 dbp->seq = (int (*)(const DB *, DBT *, DBT *, u_int))__dberr; in __dbpanic()
|
| /netbsd/src/tests/lib/libc/db/ |
| D | h_db.c | 64 static void compare(DBT *, DBT *); 67 static void get(DB *, DBT *); 68 static void getdata(DB *, DBT *, DBT *); 69 static void put(DB *, DBT *, DBT *); 70 static void rem(DB *, DBT *); 74 static void seq(DB *, DBT *); 105 DBT data, key, keydata; in main() 351 compare(DBT *db1, DBT *db2) in compare() 370 get(DB *dbp, DBT *kp) in get() 372 DBT data; in get() [all …]
|
| /netbsd/src/crypto/external/bsd/heimdal/dist/lib/roken/ |
| D | ndbm_wrap.c | 61 #define DBT2DATUM(DBT, DATUM) do { (DATUM)->dptr = (DBT)->data; (DATUM)->dsize = (DBT)->size; } whi… argument 62 #define DATUM2DBT(DATUM, DBT) do { (DBT)->data = (DATUM)->dptr; (DBT)->size = (DATUM)->dsize; } whi… argument 85 DBT key; in dbm_delete() 98 DBT key, value; in dbm_fetch() 117 DBT key, value; in dbm_get() 202 DBT key, value;
|
| /netbsd/src/share/examples/refuse/dbfs/ |
| D | dbfs.c | 58 DBT k; in dbfs_getattr() 59 DBT v; in dbfs_getattr() 89 static DBT k; in dbfs_readdir() 91 DBT v; in dbfs_readdir() 119 DBT k; in dbfs_open() 120 DBT v; in dbfs_open() 140 DBT k; in dbfs_read() 141 DBT v; in dbfs_read()
|
| /netbsd/src/usr.sbin/services_mkdb/ |
| D | output_db.c | 67 static void store(DBT *, DBT *, int); 68 static void killproto(DBT *); 97 DBT data, key; in db_add() 131 killproto(DBT *key) in killproto() 142 store(DBT *key, DBT *data, int warndup) in store()
|
| /netbsd/src/external/bsd/pkg_install/dist/lib/ |
| D | pkgdb.c | 141 DBT keyd, vald; in pkgdb_store() 166 DBT keyd, vald; in pkgdb_retrieve() 199 DBT key; in pkgdb_dump() 200 DBT val; in pkgdb_dump() 225 DBT keyd; in pkgdb_remove() 247 DBT data; in pkgdb_remove_pkg() 248 DBT key; in pkgdb_remove_pkg()
|
| /netbsd/src/usr.sbin/ypserv/common/ |
| D | ypdb.c | 190 DBT nk, nd; in ypdb_fetch() 217 DBT nk, nd; in ypdb_firstkey() 241 DBT nk, nd; in ypdb_nextkey() 264 DBT nk, nd; in ypdb_setkey() 286 DBT nk; in ypdb_delete() 307 DBT nk, nd; in ypdb_store()
|
| /netbsd/src/crypto/external/bsd/heimdal/dist/lib/hdb/ |
| D | db3.c | 142 DBT key, value; in DB_seq() 147 memset(&key, 0, sizeof(DBT)); in DB_seq() 148 memset(&value, 0, sizeof(DBT)); in DB_seq() 230 DBT k, v; in DB__get() 233 memset(&k, 0, sizeof(DBT)); in DB__get() 234 memset(&v, 0, sizeof(DBT)); in DB__get() 254 DBT k, v; in DB__put() 257 memset(&k, 0, sizeof(DBT)); in DB__put() 258 memset(&v, 0, sizeof(DBT)); in DB__put() 302 DBT k; in DB__del() [all …]
|
| /netbsd/src/usr.bin/db/ |
| D | db.c | 74 static void db_print(DBT *, DBT *); 381 db_print(DBT *key, DBT *val) in db_print() 416 DBT key, val; in db_dump() 427 db_makekey(DBT *key, char *keystr, int downcase, int decode) in db_makekey() 452 DBT key; in db_del() 482 DBT key, val; in db_get() 512 DBT key, val, want; in db_seq() 563 DBT key, val; in db_put()
|