/dragonfly/lib/libc/db/btree/ |
H A 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); 45 int __bt_get(const DB *, const DBT *, DBT *, unsigned int); 50 int __bt_put(const DB *dbp, DBT *, const DBT *, unsigned int); 51 int __bt_ret(BTREE *, EPG *, DBT *, DBT *, DBT *, DBT *, int); 52 EPG *__bt_search(BTREE *, const DBT *, int *); 53 int __bt_seq(const DB *, DBT *, DBT *, unsigned int); 56 const DBT *, const DBT *, int, size_t, uint32_t); [all …]
|
H A D | bt_utils.c | 62 __bt_ret(BTREE *t, EPG *e, DBT *key, DBT *rkey, DBT *data, DBT *rdata, int copy) in __bt_ret() 141 __bt_cmp(BTREE *t, const DBT *k1, EPG *e) in __bt_cmp() 145 DBT k2; in __bt_cmp() 201 __bt_defcmp(const DBT *a, const DBT *b) in __bt_defcmp() 230 __bt_defpfx(const DBT *a, const DBT *b) in __bt_defpfx()
|
H A D | btree.h | 276 DBT key; /* B: Saved key, or key.data == NULL. */ 323 DBT bt_rkey; /* returned key */ 324 DBT bt_rdata; /* returned data */ 337 int (*bt_cmp)(const DBT *, const DBT *); 339 size_t (*bt_pfx)(const DBT *, const DBT *);
|
H A D | bt_search.c | 43 static int __bt_snext(BTREE *, PAGE *, const DBT *, int *); 44 static int __bt_sprev(BTREE *, PAGE *, const DBT *, int *); 61 __bt_search(BTREE *t, const DBT *key, int *exactp) in __bt_search() 143 __bt_snext(BTREE *t, PAGE *h, const DBT *key, int *exactp) in __bt_snext() 178 __bt_sprev(BTREE *t, PAGE *h, const DBT *key, int *exactp) in __bt_sprev()
|
H A D | bt_put.c | 46 static EPG *bt_fast(BTREE *, const DBT *, const DBT *, int *); 62 __bt_put(const DB *dbp, DBT *key, const DBT *data, unsigned int flags) in __bt_put() 65 DBT tkey, tdata; in __bt_put() 260 bt_fast(BTREE *t, const DBT *key, const DBT *data, int *exactp) in bt_fast()
|
H A D | bt_seq.c | 46 static int __bt_first(BTREE *, const DBT *, EPG *, int *); 48 static int __bt_seqset(BTREE *, EPG *, DBT *, int); 72 __bt_seq(const DB *dbp, DBT *key, DBT *data, unsigned int flags) in __bt_seq() 144 __bt_seqset(BTREE *t, EPG *ep, DBT *key, int flags) in __bt_seqset() 327 __bt_first(BTREE *t, const DBT *key, EPG *erval, int *exactp) in __bt_first()
|
/dragonfly/contrib/ncurses/include/ |
H A D | hashed_db.h | 62 extern NCURSES_EXPORT(bool) _nc_db_have_data(DBT * /* key */, DBT * /* data */, char ** /* buffer *… 63 extern NCURSES_EXPORT(bool) _nc_db_have_index(DBT * /* key */, DBT * /* data */, char ** /* buffer … 65 extern NCURSES_EXPORT(int) _nc_db_first(DB * /* db */, DBT * /* key */, DBT * /* data */); 66 extern NCURSES_EXPORT(int) _nc_db_next(DB * /* db */, DBT * /* key */, DBT * /* data */); 67 extern NCURSES_EXPORT(int) _nc_db_get(DB * /* db */, DBT * /* key */, DBT * /* data */); 68 extern NCURSES_EXPORT(int) _nc_db_put(DB * /* db */, DBT * /* key */, DBT * /* data */);
|
/dragonfly/usr.sbin/sa/ |
H A D | main.c | 54 static int cmp_usrsys(const DBT *, const DBT *); 56 static int cmp_dkio(const DBT *, const DBT *); 58 static int cmp_cpumem(const DBT *, const DBT *); 60 static int cmp_calls(const DBT *, const DBT *); 398 cmp_usrsys(const DBT *d1, const DBT *d2) in cmp_usrsys() 419 cmp_avgusrsys(const DBT *d1, const DBT *d2) in cmp_avgusrsys() 443 cmp_dkio(const DBT *d1, const DBT *d2) in cmp_dkio() 460 cmp_avgdkio(const DBT *d1, const DBT *d2) in cmp_avgdkio() 481 cmp_cpumem(const DBT *d1, const DBT *d2) in cmp_cpumem() 498 cmp_avgcpumem(const DBT *d1, const DBT *d2) in cmp_avgcpumem() [all …]
|
H A D | usrdb.c | 46 static int uid_compare(const DBT *, const DBT *); 66 DBT key, data; in usracct_init() 123 DBT key, data; in usracct_add() 174 DBT key, data; in usracct_update() 225 DBT key, data; in usracct_print() 269 uid_compare(const DBT *k1, const DBT *k2) in uid_compare()
|
/dragonfly/lib/libc/db/db/ |
H A D | db.c | 43 static int __dberr_del(const struct __db *, const DBT *, unsigned int); 45 static int __dberr_get(const struct __db *, const DBT *, DBT *, unsigned int); 46 static int __dberr_put(const struct __db *, DBT *, const DBT *, unsigned int); 47 static int __dberr_seq(const struct __db *, DBT *, DBT *, unsigned int); 82 __dberr_del(const struct __db *dbp __unused, const DBT *key __unused, in __dberr_del() 95 __dberr_get(const struct __db *dbp __unused, const DBT *key __unused, in __dberr_get() 96 DBT *data __unused, unsigned int flag __unused) in __dberr_get() 102 __dberr_put(const struct __db *dbp __unused, DBT *key __unused, in __dberr_put() 103 const DBT *data __unused, unsigned int flag __unused) in __dberr_put() 109 __dberr_seq(const struct __db *dbp __unused, DBT *key __unused, in __dberr_seq() [all …]
|
/dragonfly/lib/libc/db/recno/ |
H A D | extern.h | 36 int __rec_delete(const DB *, const DBT *, unsigned int); 42 int __rec_get(const DB *, const DBT *, DBT *, unsigned int); 43 int __rec_iput(BTREE *, recno_t, const DBT *, unsigned int); 44 int __rec_put(const DB *dbp, DBT *, const DBT *, unsigned int); 45 int __rec_ret(BTREE *, EPG *, recno_t, DBT *, DBT *); 47 int __rec_seq(const DB *, DBT *, DBT *, unsigned int);
|
H A D | rec_get.c | 58 __rec_get(const DB *dbp, const DBT *key, DBT *data, unsigned int flags) in __rec_get() 115 DBT data; in __rec_fpipe() 167 DBT data; in __rec_vpipe() 222 DBT data; in __rec_fmap() 268 DBT data; in __rec_vmap()
|
H A D | rec_put.c | 57 __rec_put(const DB *dbp, DBT *key, const DBT *data, unsigned int flags) in __rec_put() 60 DBT fdata, tdata; in __rec_put() 186 __rec_iput(BTREE *t, recno_t nrec, const DBT *data, unsigned int flags) in __rec_iput() 188 DBT tdata; in __rec_iput()
|
/dragonfly/include/ |
H A D | db.h | 56 } DBT; typedef 100 int (*del)(const struct __db *, const DBT *, unsigned int); 101 int (*get)(const struct __db *, const DBT *, DBT *, unsigned int); 102 int (*put)(const struct __db *, DBT *, const DBT *, unsigned int); 103 int (*seq)(const struct __db *, DBT *, DBT *, unsigned int); 124 (const DBT *, const DBT *); 126 (const DBT *, const DBT *);
|
/dragonfly/usr.sbin/ypserv/ |
H A D | yp_extern.h | 76 extern int yp_get_record(DB *, const DBT *, DBT *, int); 78 extern int yp_get_record(const char *, const char *, const DBT *, DBT *, int); 80 extern int yp_first_record(const DB *, DBT *, DBT *, int); 81 extern int yp_next_record(const DB *, DBT *, DBT *, int, int);
|
H A D | yp_dblookup.c | 196 DBT key = { NULL, 0 }, data = { NULL, 0 }; in yp_setflags() 444 yp_get_record(DB *dbp, const DBT *key, DBT *data, int allow) in yp_get_record() 447 yp_get_record(const char *domain, const char *map, const DBT *key, in yp_get_record() 448 DBT *data, int allow) in yp_get_record() 509 yp_first_record(const DB *dbp, DBT *key, DBT *data, int allow) in yp_first_record() 561 yp_next_record(const DB *dbp, DBT *key, DBT *data, int all, int allow) in yp_next_record() 563 static DBT lkey = { NULL, 0 }; in yp_next_record() 564 static DBT ldata = { NULL, 0 }; in yp_next_record() 670 DBT db_key = { NULL, 0 }, db_val = { NULL, 0 }; in yp_getbykey() 690 DBT db_key = { NULL, 0 }, db_val = { NULL, 0 }; in yp_firstbykey() [all …]
|
/dragonfly/lib/libc/db/hash/ |
H A D | extern.h | 34 int __addel(HTAB *, BUFHEAD *, const DBT *, const DBT *); 36 int __big_insert(HTAB *, BUFHEAD *, const DBT *, const DBT *); 37 int __big_keydata(HTAB *, BUFHEAD *, DBT *, DBT *, int); 38 int __big_return(HTAB *, BUFHEAD *, int, DBT *, int);
|
H A D | hash.c | 58 static int hash_access(HTAB *, ACTION, DBT *, DBT *); 60 static int hash_delete(const DB *, const DBT *, uint32_t); 62 static int hash_get(const DB *, const DBT *, DBT *, uint32_t); 63 static int hash_put(const DB *, DBT *, const DBT *, uint32_t); 65 static int hash_seq(const DB *, DBT *, DBT *, uint32_t); 515 hash_get(const DB *dbp, const DBT *key, DBT *data, uint32_t flag) in hash_get() 528 hash_put(const DB *dbp, DBT *key, const DBT *data, uint32_t flag) in hash_put() 542 HASH_PUTNEW : HASH_PUT, (DBT *)key, (DBT *)data)); in hash_put() 546 hash_delete(const DB *dbp, const DBT *key, in hash_delete() 567 hash_access(HTAB *hashp, ACTION action, DBT *key, DBT *val) in hash_access() [all …]
|
H A D | ndbm.c | 102 DBT dbtkey, dbtretdata; in dbm_fetch() 129 DBT dbtretkey, dbtretdata; in dbm_firstkey() 152 DBT dbtretkey, dbtretdata; in dbm_nextkey() 174 DBT dbtkey; in dbm_delete() 199 DBT dbtkey, dbtdata; in dbm_store()
|
H A D | hash_page.c | 77 static void putpair(char *, const DBT *, const DBT *); 78 static void squeeze_key(uint16_t *, const DBT *, const DBT *); 93 putpair(char *p, const DBT *key, const DBT *val) in putpair() 185 DBT key, val; in __split_page() 287 DBT key, val; in ugly_split() 395 __addel(HTAB *hashp, BUFHEAD *bufp, const DBT *key, const DBT *val) in __addel() 876 squeeze_key(uint16_t *sp, const DBT *key, const DBT *val) in squeeze_key()
|
/dragonfly/contrib/ncurses/ncurses/tinfo/ |
H A D | hashed_db.c | 205 _nc_db_put(DB * db, DBT * key, DBT * data) in _nc_db_put() 224 _nc_db_get(DB * db, DBT * key, DBT * data) in _nc_db_get() 243 _nc_db_first(DB * db, DBT * key, DBT * data) in _nc_db_first() 265 _nc_db_next(DB * db, DBT * key, DBT * data) in _nc_db_next() 287 _nc_db_have_index(DBT * key, DBT * data, char **buffer, int *size) in _nc_db_have_index() 310 _nc_db_have_data(DBT * key, DBT * data, char **buffer, int *size) in _nc_db_have_data()
|
/dragonfly/lib/libc/db/test/ |
H A D | dbtest.c | 49 void compare(DBT *, DBT *); 53 void get(DB *, DBT *); 54 void getdata(DB *, DBT *, DBT *); 55 void put(DB *, DBT *, DBT *); 56 void rem(DB *, DBT *); 327 compare(DBT *db1, DBT *db2) in compare() 348 DBT data; in get() 372 getdata(DB *dbp, DBT *kp, DBT *dp) in getdata() 387 put(DB *dbp, DBT *kp, DBT *dp) in put() 440 DBT data; in seq() [all …]
|
/dragonfly/lib/libc/db/test/btree.tests/ |
H A D | main.c | 70 void keydata(DBT *, DBT *); 265 DBT key, data; in append() 293 DBT data, key; in cursor() 329 DBT key; in delete() 360 DBT data, key; in first() 381 DBT data, key; in get() 419 DBT key, data; in iafter() 447 DBT key, data; in ibefore() 476 DBT data, key; in icursor() 503 DBT data, key; in insert() [all …]
|
/dragonfly/libexec/ypxfr/ |
H A D | ypxfr_extern.h | 54 extern int yp_put_record(DB *, DBT *, DBT *, int); 55 extern int yp_get_record(const char *, const char *, const DBT *, DBT *, int);
|
/dragonfly/contrib/nvi2/common/ |
H A D | line.c | 83 DBT data, key; in db_get() 201 DBT key; in db_delete() 255 DBT data, key; in db_append() 326 DBT data, key; in db_insert() 389 DBT data, key; in db_set() 478 DBT data, key; in db_last() 551 DBT data, key; in db_rget() 576 DBT data, key; in db_rset()
|