Home
last modified time | relevance | path

Searched refs:DBT (Results 1 – 25 of 90) sorted by relevance

1234

/freebsd/lib/libc/db/btree/
H A Dextern.h33 int __bt_cmp(BTREE *, const DBT *, EPG *);
35 int __bt_defcmp(const DBT *, const DBT *);
36 size_t __bt_defpfx(const DBT *, const DBT *);
37 int __bt_delete(const DB *, const DBT *, u_int);
41 int __bt_get(const DB *, const DBT *, DBT *, u_int);
46 int __bt_put(const DB *dbp, DBT *, const DBT *, u_int);
47 int __bt_ret(BTREE *, EPG *, DBT *, DBT *, DBT *, DBT *, int);
48 EPG *__bt_search(BTREE *, const DBT *, int *);
49 int __bt_seq(const DB *, DBT *, DBT *, u_int);
52 const DBT *, const DBT *, int, size_t, u_int32_t);
[all …]
H A Dbt_utils.c61 __bt_ret(BTREE *t, EPG *e, DBT *key, DBT *rkey, DBT *data, DBT *rdata, int copy) in __bt_ret()
140 __bt_cmp(BTREE *t, const DBT *k1, EPG *e) in __bt_cmp()
144 DBT k2; in __bt_cmp()
200 __bt_defcmp(const DBT *a, const DBT *b) in __bt_defcmp()
229 __bt_defpfx(const DBT *a, const DBT *b) in __bt_defpfx()
H A Dbt_search.c42 static int __bt_snext(BTREE *, PAGE *, const DBT *, int *);
43 static int __bt_sprev(BTREE *, PAGE *, const DBT *, int *);
60 __bt_search(BTREE *t, const DBT *key, int *exactp) in __bt_search()
142 __bt_snext(BTREE *t, PAGE *h, const DBT *key, int *exactp) in __bt_snext()
177 __bt_sprev(BTREE *t, PAGE *h, const DBT *key, int *exactp) in __bt_sprev()
H A Dbtree.h273 DBT key; /* B: Saved key, or key.data == NULL. */
320 DBT bt_rkey; /* returned key */
321 DBT bt_rdata; /* returned data */
334 int (*bt_cmp)(const DBT *, const DBT *);
336 size_t (*bt_pfx)(const DBT *, const DBT *);
H A Dbt_put.c45 static EPG *bt_fast(BTREE *, const DBT *, const DBT *, int *);
61 __bt_put(const DB *dbp, DBT *key, const DBT *data, u_int flags) in __bt_put()
64 DBT tkey, tdata; in __bt_put()
260 bt_fast(BTREE *t, const DBT *key, const DBT *data, int *exactp) in bt_fast()
/freebsd/contrib/ncurses/include/
H A Dhashed_db.h62 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 */);
/freebsd/lib/libc/db/recno/
H A Dextern.h35 int __rec_delete(const DB *, const DBT *, u_int);
41 int __rec_get(const DB *, const DBT *, DBT *, u_int);
42 int __rec_iput(BTREE *, recno_t, const DBT *, u_int);
43 int __rec_put(const DB *dbp, DBT *, const DBT *, u_int);
44 int __rec_ret(BTREE *, EPG *, recno_t, DBT *, DBT *);
46 int __rec_seq(const DB *, DBT *, DBT *, u_int);
/freebsd/usr.sbin/sa/
H A Dmain.c54 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 *);
387 cmp_usrsys(const DBT *d1, const DBT *d2) in cmp_usrsys()
408 cmp_avgusrsys(const DBT *d1, const DBT *d2) in cmp_avgusrsys()
432 cmp_dkio(const DBT *d1, const DBT *d2) in cmp_dkio()
449 cmp_avgdkio(const DBT *d1, const DBT *d2) in cmp_avgdkio()
470 cmp_cpumem(const DBT *d1, const DBT *d2) in cmp_cpumem()
487 cmp_avgcpumem(const DBT *d1, const DBT *d2) in cmp_avgcpumem()
[all …]
H A Dusrdb.c47 static int uid_compare(const DBT *, const DBT *);
66 v1_to_v2(DBT *key, DBT *data) in v1_to_v2()
119 DBT key, data; in usracct_add()
182 DBT key, data; in usracct_print()
225 uid_compare(const DBT *k1, const DBT *k2) in uid_compare()
H A Dextern.h65 typedef int (*cmpf_t)(const DBT *, const DBT *);
69 BTREEINFO *bti, int (*v1_to_v2)(DBT *key, DBT *data));
/freebsd/include/
H A Ddb.h55 } DBT; typedef
99 int (*del)(const struct __db *, const DBT *, unsigned int);
100 int (*get)(const struct __db *, const DBT *, DBT *, unsigned int);
101 int (*put)(const struct __db *, DBT *, const DBT *, unsigned int);
102 int (*seq)(const struct __db *, DBT *, DBT *, unsigned int);
120 (const DBT *, const DBT *);
122 (const DBT *, const DBT *);
/freebsd/usr.sbin/ypserv/
H A Dyp_extern.h76 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 Dyp_dblookup.c198 DBT key = { NULL, 0 }, data = { NULL, 0 }; in yp_setflags()
446 yp_get_record(DB *dbp, const DBT *key, DBT *data, int allow) in yp_get_record()
450 const DBT *key, DBT *data, int allow) in yp_get_record()
511 yp_first_record(const DB *dbp, DBT *key, DBT *data, int allow) in yp_first_record()
563 yp_next_record(const DB *dbp, DBT *key, DBT *data, int all, int allow) in yp_next_record()
565 static DBT lkey = { NULL, 0 }; in yp_next_record()
566 static DBT ldata = { NULL, 0 }; in yp_next_record()
672 DBT db_key = { NULL, 0 }, db_val = { NULL, 0 }; in yp_getbykey()
692 DBT db_key = { NULL, 0 }, db_val = { NULL, 0 }; in yp_firstbykey()
710 DBT db_key = { NULL, 0 }, db_val = { NULL, 0 }; in yp_nextbykey()
/freebsd/lib/libc/db/hash/
H A Dextern.h33 int __addel(HTAB *, BUFHEAD *, const DBT *, const DBT *);
35 int __big_insert(HTAB *, BUFHEAD *, const DBT *, const DBT *);
36 int __big_keydata(HTAB *, BUFHEAD *, DBT *, DBT *, int);
37 int __big_return(HTAB *, BUFHEAD *, int, DBT *, int);
H A Dhash.c57 static int hash_access(HTAB *, ACTION, DBT *, DBT *);
59 static int hash_delete(const DB *, const DBT *, u_int32_t);
61 static int hash_get(const DB *, const DBT *, DBT *, u_int32_t);
62 static int hash_put(const DB *, DBT *, const DBT *, u_int32_t);
64 static int hash_seq(const DB *, DBT *, DBT *, u_int32_t);
517 hash_get(const DB *dbp, const DBT *key, DBT *data, u_int32_t flag) in hash_get()
530 hash_put(const DB *dbp, DBT *key, const DBT *data, u_int32_t flag) in hash_put()
544 HASH_PUTNEW : HASH_PUT, (DBT *)key, (DBT *)data)); in hash_put()
548 hash_delete(const DB *dbp, const DBT *key, in hash_delete()
569 hash_access(HTAB *hashp, ACTION action, DBT *key, DBT *val) in hash_access()
[all …]
H A Dndbm.c92 DBT dbtkey, dbtretdata; in dbm_fetch()
116 DBT dbtretkey, dbtretdata; in dbm_firstkey()
136 DBT dbtretkey, dbtretdata; in dbm_nextkey()
155 DBT dbtkey; in dbm_delete()
175 DBT dbtkey, dbtdata; in dbm_store()
/freebsd/lib/libc/db/db/
H A Ddb.c94 dbp->del = (int (*)(const struct __db *, const DBT*, u_int))__dberr; in __dbpanic()
96 dbp->get = (int (*)(const struct __db *, const DBT*, DBT *, u_int))__dberr; in __dbpanic()
97 dbp->put = (int (*)(const struct __db *, DBT *, const DBT *, u_int))__dberr; in __dbpanic()
98 dbp->seq = (int (*)(const struct __db *, DBT *, DBT *, u_int))__dberr; in __dbpanic()
/freebsd/contrib/ncurses/ncurses/tinfo/
H A Dhashed_db.c205 _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()
/freebsd/crypto/heimdal/lib/roken/
H A Dndbm_wrap.c57 #define DBT2DATUM(DBT, DATUM) do { (DATUM)->dptr = (DBT)->data; (DATUM)->dsize = (DBT)->size; } whi… argument
58 #define DATUM2DBT(DATUM, DBT) do { (DBT)->data = (DATUM)->dptr; (DBT)->size = (DATUM)->dsize; } whi… argument
81 DBT key; in dbm_delete()
94 DBT key, value; in dbm_fetch()
113 DBT key, value; in dbm_get()
198 DBT key, value;
/freebsd/contrib/netbsd-tests/lib/libc/db/
H A Dh_db.c64 static void compare(DBT *, DBT *);
68 static void getdata(DB *, DBT *, DBT *);
69 static void put(DB *, DBT *, DBT *);
357 compare(DBT *db1, DBT *db2) in compare()
376 get(DB *dbp, DBT *kp) in get()
378 DBT data; in get()
404 getdata(DB *dbp, DBT *kp, DBT *dp) in getdata()
419 put(DB *dbp, DBT *kp, DBT *dp) in put()
434 rem(DB *dbp, DBT *kp) in rem()
473 DBT data; in seq()
[all …]
/freebsd/libexec/ypxfr/
H A Dypxfr_extern.h55 extern int yp_put_record(DB *, DBT *, DBT *, int);
56 extern int yp_get_record(const char *, const char *, const DBT *, DBT *, int);
/freebsd/lib/libc/db/test/
H A Ddbtest.c48 void compare(DBT *, DBT *);
53 void getdata(DB *, DBT *, DBT *);
54 void put(DB *, DBT *, DBT *);
350 DBT *kp;
352 DBT data;
378 DBT *kp, *dp;
395 DBT *kp, *dp;
412 DBT *kp;
451 DBT *kp;
453 DBT data;
[all …]
/freebsd/lib/libc/db/test/btree.tests/
H A Dmain.c69 void keydata(DBT *, DBT *);
271 DBT key, data;
301 DBT data, key;
341 DBT key;
376 DBT data, key;
399 DBT data, key;
441 DBT key, data;
471 DBT key, data;
502 DBT data, key;
531 DBT data, key;
[all …]
/freebsd/crypto/heimdal/lib/hdb/
H A Ddb3.c98 DBT key, value; in DB_seq()
103 memset(&key, 0, sizeof(DBT)); in DB_seq()
104 memset(&value, 0, sizeof(DBT)); in DB_seq()
176 DBT k, v; in DB__get()
179 memset(&k, 0, sizeof(DBT)); in DB__get()
180 memset(&v, 0, sizeof(DBT)); in DB__get()
202 DBT k, v; in DB__put()
205 memset(&k, 0, sizeof(DBT)); in DB__put()
206 memset(&v, 0, sizeof(DBT)); in DB__put()
228 DBT k; in DB__del()
[all …]
/freebsd/contrib/blocklist/bin/
H A Dstate.c93 state_sizecheck(const DBT *t) in state_sizecheck()
117 DBT k; in state_del()
143 DBT k, v; in state_get()
171 DBT k, v; in state_put()
201 DBT k, v; in state_iterate()

1234